Skip to content

P5: busbar-plane-decisions leaves for its own repo, pinned (/status rows 106/107; stacked on #838) - #888

Merged
MattJackson merged 14 commits into
predevfrom
lane-p5-extract-plane-decisions
Oct 15, 2026
Merged

MattJackson merged 14 commits into
predevfrom
lane-p5-extract-plane-decisions

Conversation

@MattJackson

Copy link
Copy Markdown
Collaborator

P5 extraction for /status rows 106 (no busbar-plane-* crate under crates/) and 107 (crates down to 14). The decisions plane is the second of the five. Crates go 23 -> 22 on top of #838.

Stacked on #838. This branch is lane-p5-extract-plane-mcp plus one commit, and it uses #838's base layer (ARCHITECT row 106 (A)) unchanged. Once #838 lands, this diff is that one commit.

Spec:

What

Every reference
Every gate, test and script that reads crates/busbar-plane-decisions/... goes through #838's base layer (Ctx::workspace, kind_isolation::plane_base) or crates/busbar/tests/common/pinned_planes.rs. Both lay a pinned plane at crates/<package> from its checkout, and neither names a plane. So no xtask, test or ledger line changes, and the measured bytes are the same bytes.

Ledgers: none touched, per #838's ruling condition 6.

  • The plane is measured at the path it had, from the pinned checkout.
  • Nothing moves out of a gate's view except the twin's three files: tests/conformance.rs, tests/conformance.json and examples/decisions_door.rs, the cdylib export the twin replaces.

Not changed (same state as #838 leaves mcp)

  • scripts/plane-delete-test.sh is the manual strong-form harness and is not in .ci. It deletes a plane with a literal git rm -r crates/busbar-<P>, and its roster check tests [ -d crates/busbar-plane-decisions ]. For a pinned plane, deletion is the root's pin row. That rewrite is the same for mcp and decisions, and it belongs to whichever lane owns that harness.

…p, pulled at a pinned rev; every gate reads the pinned planes as its base layer (P5, rows 106/107)

- crates/busbar-plane-mcp is deleted. GetBusbar/busbar-plane-mcp holds it, history imported with
  filter-repo; its logic crate is predev 00555bd's crate and its -plugin cdylib runs busbar's
  published conformance suite. The root pins it as one git row; the root's two edges take the
  workspace row; deny.toml allows the repo; plugins.yaml drops pending_crate and checks busbar out
  (its tests read the battery and qa/method-inventory.json at the pin).
- THE BASE LAYER (ARCHITECT row 106 (A)): Ctx gains a base beneath the overlay and above the disk.
  Ctx::workspace lays every pinned package of the plane kind at crates/<package>, read from the
  checkout cargo metadata resolves for the rev Cargo.lock pins (kind_isolation::plane_base), never
  written into the tree. with_overlay keeps it, so a plant still wins. Generic over the kind, no
  plane named. Fails closed: a pinned plane cargo cannot resolve is an Err naming it and its rev.
  kind-isolation's own mount is unchanged. No ledger row moves.
- RED arms: xtask/tests/pinned_planes_base.rs (the base is laid from the checkout and nothing of it
  is on disk; a plant wins over it; structure-lint, config-schema, no-float-money, plane-purity and
  reachability each lose a passing row without it); declared_classes reads the pinned planes and
  none without the base.
- The tests that read the filesystem resolve a pinned plane through the same rule
  (crates/busbar/tests/common/pinned_planes.rs): capability-equality's proven mcp-server cells and
  its five-plane floor (with a RED arm that the evidence is not on disk and is read from the
  checkout); the kernel trust and core-admin plane-key ratchets take the pinned planes' keys;
  proto-deletion-gate.sh reads the door crate from its checkout.
- plugin-ci.yml: a plane repo runs plane-purity, structure-lint and config-schema at its busbar pin
  over its own change (scripts/fleet/plane-gates.sh, BUSBAR_PLANE_SOURCE): no row that passes over
  busbar's pinned plane may fail over the change.
… take the pinned planes too (tests/common/pinned.rs, fail-closed), and the sibling set is every plane the roster registers, with its five-plane floor (ARCHITECT row 106 (A))
…a door home; the plane step is an xtask plugin-gate; the pin moves to the merged plugin head

- Ctx::exists and Ctx::is_dir answer a directory the base layer lays (a pinned plane's crate and
  every directory in it), and Ctx::base_children lists what it lays under a directory: qa-names,
  plane-purity:roots, plane-pricing-blindness and structure-lint's scope rows read the pinned plane
  where it lived. construction's glob_dirs lists the laid crate beside the disk's, so the census's
  plane glob still matches its five crates.
- workspace-deps: a manifest the base lays is a pinned git dependency, never a crate on disk.
- PlaneRoots::over(cx): a door crate the base lays is its plane's door home (settings-leak,
  response-header, blocking-ffi).
- plugin-ci's plane step is `xtask plugin-gates plane` (the busbar gates over busbar's pinned plane
  and over the change, a row that stops passing is a finding), with selftest cases; the shell
  script is gone (script-allowlist: product checks are cargo xtask).
- busbar-plane-mcp pinned at a5e2ae355c, the head GetBusbar/busbar-plane-mcp#10 merged.
…oml keeps predev's store-memory row (no fixture-store: the kernel links an in-crate store double) beside this lane's busbar-plane-mcp pin
…s; the root pins it (/status rows 106/107)

BUSBAR-1.6.0.md l.2220 (#39): "plugin SOURCE never re-enters busbar". l.3962: extract each
plugin crate to its repo, pinned back as a git dependency in the root manifest's linked rows.
This takes the same shape as #838 for mcp and stacks on its base layer (ARCHITECT row 106 (A)).
Crates go 23 -> 22.

- crates/busbar-plane-decisions is deleted. GetBusbar/busbar-plane-decisions#13 carries predev
  5c99bef's crate byte for byte, with tests/conformance.{rs,json} in its -plugin twin, at
  busbar pin 5c99bef. The root pins that PR's head d78c070da4 with one git row. The
  `plane-decisions` edge in crates/busbar takes the workspace row.
- deny.toml allow-git gains the repo. plugins.yaml drops pending_crate. The decisions tests read
  none of busbar's files, so it needs no busbar_checkout.
- Cargo.lock: busbar-plane-decisions resolves from git. busbar-contract stays patched to the path
  crate, and the plugin-loader dev edge leaves with tests/conformance.rs.
- Every gate, test and script that reads crates/busbar-plane-decisions reads it through #838's
  base layer and pinned_planes resolver: Ctx::workspace lays every pinned plane at
  crates/<package> from its checkout, and nothing in it names a plane. So no reference in xtask,
  the tests or the ledgers changes. Ledgers: none touched (#838's ruling condition 6). The
  pinned plane is measured at the path it had, from the same bytes.
- .ci/default.yaml already builds the pinned busbar-plane-decisions-plugin cdylib ("plugin
  busbar-plane-decisions busbar-plane-decisions-plugin optional").
… pinned-plane helper by reference (root is a PathBuf; E0308 at :1233)
…ut (dirs_for_globs filters with Ctx::is_dir, disk then base layer); RED: a plane present only in the base layer is counted
…dirs_for_globs counts a pinned plane from the base layer) into lane-p5-extract-plane-decisions
…er the scan roots (a pinned plane's crate), so rules that read lines read a pinned plane; RED: forbid-unsafe finds the attribute in a base-laid plane's lib and reports its absence MISSING
… scan carries pinned-plane sources; forbid-unsafe MISSING fix) into lane-p5-extract-plane-decisions
…s tools type leaves the secret inventory, and the architecture page names only paths on disk

- kind_isolation: plane_kind_src_roots unions the root manifest's pinned plane rows
  (pinned::pinned_plane_dirs), so a context without the base lists the pinned plane's root and
  plane-purity:roots refuses it by name; plane_kind_crates refuses a pinned plane the census
  cannot read, so reachability:plane-crates is red without the base (pinned_planes_base's two
  RED arms).
- secret_refs: TokenExchangeCfg left the tree with the plane; its references are read at the
  door's declared paths through the DoorSection row, so the stale inventory entry is removed.
- docs/architecture.md: the in-tree plane directories, and the MCP plane's own repository.
… and is pinned; the page names only the in-tree plane directories
@MattJackson
MattJackson merged commit bb8596e into predev Oct 15, 2026
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant