Skip to content

design: live-read witness classification — masking-class root - #6560

Merged
briansrls merged 16 commits into
mainfrom
session/keen-ram-460-live-read-classification-design
Jul 14, 2026
Merged

briansrls merged 16 commits into
mainfrom
session/keen-ram-460-live-read-classification-design

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • Design doc only — no runtime behavior change
  • Operator review of classification grades and phase ordering

Made with Cursor

briansrls and others added 2 commits July 14, 2026 02:07
…time tree reads invisible to import-closure attribution

Documents the #6530/#6533 receipts, carrier taxonomy, G0–G3 classification grades, selection axis (iv), and dissolution path for accumulator_copy_roster_gate + lever_a EX-notes. Points v2.std.live_tree stamp provenance at the new authority.

Co-authored-by: Cursor <cursoragent@cursor.com>
@gunbai-bot

gunbai-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

Review response (dashboard relay / artifact stdout.log)

Verified against current branch at 284c9f06 (the commit the bot evaluated).

The finding is correct and requires no design-doc changes. It is an APPROVE with explicitly no blocking findings — not a change request.

Spot-check against that commit:

Scope note: a follow-on commit (6d707474, P0 substrate) landed on this branch after the review artifact — LiveReadCarrier types + v2.lens.live_read_classification + fixture witnesses per design §9 P0. That is implementation, not part of the design-only verdict above; CI + claim_batch receipts apply to that commit separately.

@gunbai-bot

gunbai-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

CI fix (feb4b49 → 9fdb731)

Root cause: P0 initially added import v2.std.collection { List } to v2.std.live_tree. That module is imported by hundreds of witness entries; pulling collection into it disturbed whole-tree compile-clean (dag_compile_clean_gate_passes) with Outcome/Present/Absent mismatches (files=0, 39 hard diagnostics) even though per-entry gunbc compile looked fine.

Fix (9fdb731):

Verification: compile-clean receipt ok=true locally; GitHub ci job pass on 9fdb731. All 12 live_read_classification_test witnesses green.

— sent from keen-ram-460

@gunbai-bot

gunbai-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

Verified both dashboard relay reviews against 9fdb731 (current HEAD after merge with origin/main).

cursor/composer-2.5 (37740) — APPROVE: Confirmed. Findings none is correct: P0 is design doc + v2.std.live_read coproducts + G1 lens reusing witness_cost_locality.import_closure + fixture witnesses with RED controls (severed_mid_hop, roster_gate_severed). No code change required.

claude/claude-opus-4-7 (37739) — APPROVE: Confirmed. The two minor observations are accurate and already tracked in-design:

  • Predicate helpers (classification_is_local, classification_has_*) mirror the witness_cost_locality lane pattern today; a canonical fold is the right P1 move if a second consumer appears.
  • live_read_carrier_homes_v0 is explicit v0 scaffold debt with named G2 dissolve-on — as stated in live_read_classification_law and live_read_classification_authority_note.

CI fix landed (9fdb731): compile-clean was red at feb4b49 because import v2.std.collection in the widely-imported v2.std.live_tree module disturbed whole-tree emit. Fix: move LiveReadClassification / carrier registry to import-bearing v2.std.live_read.dag; keep live_tree.dag import-free (disposition-only). Removed accidental debug_floor_compile_clean_emit_failure_diagnostics hand-Rust test from an earlier debug pass. Local floor receipt: compile-clean receipt ok=true.

— sent from keen-ram-460

@briansrls
briansrls merged commit 32079e2 into main Jul 14, 2026
3 checks passed
@briansrls
briansrls deleted the session/keen-ram-460-live-read-classification-design branch July 14, 2026 06:03
briansrls added a commit that referenced this pull request Jul 14, 2026
…ffected-set-precompute-pruning): #6560 landed it with only non-bind: inline .dag mentions — zero doc-graph roots — so doc_graph_has_no_orphan_docs redded on the merged tree (masking receipt #7: the live-read design's own PR predict-skipped the live-read doc witness)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
gunbai-bot Bot pushed a commit that referenced this pull request Jul 14, 2026
The nightly affected-set-falsifier's whole-corpus cold sweep (gunbc_falsifier_batches,
SelectionPredictOnly) surfaced 4 red live-tree witnesses = 2 real drift debts of the
documented masking class (PRs landed changes the per-PR affected-set selection did not
run these live-tree witnesses for, so the red surfaced on the next cold sweep, not the
landing PR — 4th instance, siblings to #6530/#6533):

1. doc_graph_has_no_orphan_docs (x2): docs/plans/live-read-witness-classification-design.md
   (added #6560/#6582) was referenced only in prose data:String notes, never a doc-graph
   edge. Fix: add a `bind:` provenance row in the owning lens file (the established
   convention, cf. commit_workflow_plan_doc_provenance) -> doc-graph root, orphans 1->0.

2. non_fold_residue_clean_holds (x2): resolved report = 3 unrostered, 0 stale.
   Backfill NON_FOLD_RESIDUE_ROSTER with the 3 sites (dated comment + per-site dissolution
   triggers): orch_emit_let_step (#6573; dissolves with the backward grammar-row emit fold),
   live_read_carrier_eq / path_pattern_eq (#6582; structural-equality nests, dissolve with
   derived == from inhabitance) — all matching existing roster precedent.

Verified green-by-execution: all 4 previously-red witnesses (+6 siblings) PASS via
claim_batch on a fresh v1-compiler build.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
briansrls added a commit that referenced this pull request Jul 14, 2026
* WIP: affected sest falsifier

* Affected-set falsifier burn-down: link orphan doc + backfill 3 nfr sites

The nightly affected-set-falsifier's whole-corpus cold sweep (gunbc_falsifier_batches,
SelectionPredictOnly) surfaced 4 red live-tree witnesses = 2 real drift debts of the
documented masking class (PRs landed changes the per-PR affected-set selection did not
run these live-tree witnesses for, so the red surfaced on the next cold sweep, not the
landing PR — 4th instance, siblings to #6530/#6533):

1. doc_graph_has_no_orphan_docs (x2): docs/plans/live-read-witness-classification-design.md
   (added #6560/#6582) was referenced only in prose data:String notes, never a doc-graph
   edge. Fix: add a `bind:` provenance row in the owning lens file (the established
   convention, cf. commit_workflow_plan_doc_provenance) -> doc-graph root, orphans 1->0.

2. non_fold_residue_clean_holds (x2): resolved report = 3 unrostered, 0 stale.
   Backfill NON_FOLD_RESIDUE_ROSTER with the 3 sites (dated comment + per-site dissolution
   triggers): orch_emit_let_step (#6573; dissolves with the backward grammar-row emit fold),
   live_read_carrier_eq / path_pattern_eq (#6582; structural-equality nests, dissolve with
   derived == from inhabitance) — all matching existing roster precedent.

Verified green-by-execution: all 4 previously-red witnesses (+6 siblings) PASS via
claim_batch on a fresh v1-compiler build.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Brian Searls <briansearls1@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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