Skip to content

About

Local-first bowtie risk and opportunity workbench for sociotechnical safety, human factors and organisational learning: browser UI with IndexedDB storage and an AffineScript/WebAssembly policy kernel.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Bowtie Workbench

A local-first risk and opportunity workbench for understanding how work succeeds, how control can be lost, and how organisations learn. Owned by metadatastician.

Start here

Open the supplied interface in a modern browser, or run just run (Bun 1.3.14) and visit http://127.0.0.1:8080. It includes bowties, causal chains, harm domains, barriers, opportunities, appetite decisions, review history and learning records. Data stays in browser IndexedDB; use the interface’s JSON export to keep a portable backup. Browser storage belongs to the URL/origin; opening the file and serving it use different stores. The imported HTML is byte-for-byte the supplied Downloads file.

Working implementation and its limits

  • Implemented: supplied HTML/CSS/JavaScript interface and browser persistence.

  • Implemented: small AffineScript policy kernel in src/core/policy.affine. just test type-checks it, compiles actual WebAssembly and executes its exports against boundary cases. Bun is the host/test runtime.

  • The interface still executes its original JavaScript policy. Replacing that boundary with the AffineScript module is the next integration milestone.

  • AnyType and System ET are pinned architectural dependencies, not linked runtime libraries or completed proofs. No database server, collaboration service, quantitative risk engine, certification or production deployment is claimed.

To build the policy kernel, build the compiler at the revision in dependencies.json, then set AFFINESCRIPT_BIN=/path/to/affinescript/_build/default/bin/main.exe. A sibling ../affinescript checkout is the local default. Run just test and just validate-rsr. The compiler is required: missing tooling fails the build. Build outputs go to BOWTIE_BUILD_DIR, defaulting under the developer estate’s llm-coding-configs/codex/bowtie-workbench-build (CI supplies its temporary path).

The programme of work

This application uses AffineScript. AnyType supplies the proposed graded kernel; System ET owns its theory and invariants. Bowtie Workbench owns the domain model and user workflow, and does not redefine the upstream type theory. It was instantiated using the authoritative RSR template and just repo-init. Its descriptive metadata lives in .machine_readable/descriptiles/.

Licence

Code: MPL-2.0; documentation: CC-BY-SA-4.0. Existing per-file notices and licence texts are retained. The original prototype already carries MPL-2.0 notices.

About

Local-first bowtie risk and opportunity workbench for sociotechnical safety, human factors and organisational learning: browser UI with IndexedDB storage and an AffineScript/WebAssembly policy kernel.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages