Skip to content

brief: wire Context back-refs into 15 governed decisions (close doctor active-unwired)#131

Merged
vu1n merged 1 commit into
mainfrom
brief/wire-decision-refs
Jul 3, 2026
Merged

brief: wire Context back-refs into 15 governed decisions (close doctor active-unwired)#131
vu1n merged 1 commit into
mainfrom
brief/wire-decision-refs

Conversation

@vu1n

@vu1n vu1n commented Jul 3, 2026

Copy link
Copy Markdown
Owner

What

brief doctor (the new advisory lint in the brief repo) flagged 15 active decisions as active-unwired: the backfill reconstructed the decision layer from code but never wired the // Context: back-refs — in a couple of cases a conforms sign-off was recorded without the ref actually landing (e.g. dx-zero-config-local claimed an events/log.rs ref that points to session-event-log-spine). A code reader had no pointer from governed source to the decision that binds it.

This adds each decision its own pinned back-ref (// Context: doc://pillbox/<id>@0001#<anchor>) in the most representative governed source file.

Why it's a bigger diff than 15 lines

Adding a ref is itself a governed edit, so the touched files pull in conforms sign-offs for every active decision that globs them — 18 anchors total (15 wired + 3 collateral: substrate-plane-livesession, workspace-ingest-sovereignty, session-event-log-spine, which co-govern files the edits touch). All are comment-only; every invariant is untouched.

Verification

  • brief check → green (18 conforms satisfied)
  • brief doctor0 warnings / 1 info (the info is workspace-cow-fork, an intentional unpublished draft)
  • cargo check → clean
  • All new refs are pinned to @0001 (not @latest). The only @latest left in the tree is the two CoW draft files, correct-by-exception (nothing to pin to until that decision is published).

@vu1n vu1n force-pushed the brief/wire-decision-refs branch from 1826801 to d4148a5 Compare July 3, 2026 09:55
…r active-unwired)

brief doctor flagged 15 active decisions as active-unwired: the backfill
reconstructed the decision layer from code but never wired the // Context:
back-refs. A code reader had no pointer from governed source to the decision
that binds it.

This adds each decision its own pinned back-ref (// Context:
doc://pillbox/<id>@0001#<anchor>) in the most representative governed source
file. These are comment-only, ref-only edits — the gate exempts them from
needs-conformance (a pointer cannot violate a behavioral invariant), so no
sign-offs are needed.

Verified: brief check green, brief doctor 0 warnings / 1 info (workspace-cow-fork,
an intentional draft), clippy (default + libkrun) + cargo check clean.
@vu1n vu1n force-pushed the brief/wire-decision-refs branch from d4148a5 to c69bacf Compare July 3, 2026 10:27
@vu1n vu1n merged commit 26b8722 into main Jul 3, 2026
4 checks passed
@vu1n vu1n deleted the brief/wire-decision-refs branch July 3, 2026 11:21
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