Skip to main content
bijection.lock sits beside bijection/app.ts. It is derived from the app tree, never written by hand, and committed with the source. A change to who may call what, under which label, through which guard, shows up as a diff in review.
Deploy derives the lock again and refuses when it differs from the committed file, so no authority change reaches an installation unreviewed.

What it lists

bijection.lock
The Public reads section lists public tables read by entries that a class grant enters. It includes reads through calls the source analysis can resolve. Rights print as <verb>{<object>[@<scope>|…],…}, one token per verb; an objectless issue or revoke prints as the bare verb. A right without @ holds at installation scope and at every member; - is no right. Other lines record route and reaction entries, releases, secrets and label retirements. Each is a fact the host enforces.

View read plans

A generated view read has one derived plan. Check prints changes classified by mechanism, disclosure, cost and coherence. A missing or changed line refuses PlanStale in check and deploy. Run bijection check --write-lock, review the classified changes, and commit the lock. Deploying to a branch stages its reviewed plan lines with the candidate Program. Branch deploy and write review show the plan diff against the installed Program. Landing the branch promotes its candidate Program and writes together.
bijection.lock
The statement bound describes source acquisition needed by the read plan. A query answers from its landed state and frame. The load describes the standing requests implied by declared serve populations. The owning lookup plan records each materialized population under acquisition=, including its maintainer and any standing worker, cadence, and volume bound. Check and deploy require this evidence for a standing population or copy. If the receiver cannot fund the standing load, check refuses FreshnessInfeasible and shows the load and budget. Views

Compiled statements

Warehouse statements and pipeline programs are part of the lock. Each virtual table prints a plan line with its compile request digest (request=), dialect, compiler revision (compiler=semantics@…), key and origin (relation, typed ir=… for a typed relation, native template=… source=… for native text). Each of its shapes prints a plan line with the statement digest, the dialect’s settings profile, the row bound, the committed file and the binds it sends. The clock bind prints at:instant(cut) on a dated statement and at:instant(observed) otherwise: the source instant the answer reflects. A fused route prints plan <driver> fused and one line per variant. Pipelines add pipeline, program and producer lines.
bijection.lock

Committed statements

bijection check --write-lock also writes every rendered statement under bijection.statements/ beside app.ts, one file per statement, and removes stale ones. Commit the tree with the lock: a change to a statement shows up as a diff in review. Plain bijection check refuses a committed file that differs from what the source compiles. Deploy refuses a file that does not hash to a digest the lock names, or a lock program without its file (StatementStale), and a compiler revision the release’s gateway does not carry (CompilerMissing). Rewrite with bijection check --write-lock and review the diff. bijection describe <tree path> prints a declaration’s contract followed by its committed statements. bijection describe sha256:<hex> prints the committed statement with that digest; add --format json for JSON.

Review it

A function-contract line records a deferred calling contract. A function-migration line records the declared change, and function-chain records an accepted boundary. Check compares these declarations with the previous lock. The lock records relabel releases and history endings alongside drops. Deployment trial includes the numeric generation and its history verdict. Read the diff as a change in authority:
  • a new allow exposes a function, and a new grant class: entry opens it to every caller or every signed-in person;
  • a new right on a role line, or a new issue, widens what every holder of the role may do;
  • a changed under changes what the function may read and where it commits;
  • a new entry in acts gives a path a grave act;
  • an upward relabel adds the previous commit label to the path’s onceScopes chain. Retries read earlier bindings at those scopes. New identities bind at the new commit label without a release;
  • a removed guards entry, or a where guard turned when, weakens what is proved.
bijection check prints the same content as a summary, and, with a solver on PATH, the acts the change newly forbids or allows. See bijection check.