Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
cc00c9a
docs: add Lane A lens PREFIX brief (T-23 driver + T-12 cost + CI gate)
briansrls May 18, 2026
54190cc
WIP: Lane A — compiler pipeline manager (CP-1 front-end / CP-2 infer …
briansrls May 18, 2026
d0174bb
docs(briefs): PREFIX CI — P5 receipts and harness vs merge-gate split
briansrls May 18, 2026
c969cd6
WIP: Lane A — compiler pipeline manager (CP-1 front-end / CP-2 infer …
briansrls May 18, 2026
10b0c3e
docs(briefs): PREFIX — interface keystone, acceptance batches, witnes…
briansrls May 18, 2026
3af249c
WIP: Lane A — compiler pipeline manager (CP-1 front-end / CP-2 infer …
briansrls May 18, 2026
db8e371
docs+v4: T-23 Interface-Freeze pin + application.dag header broadcast
briansrls May 18, 2026
20c33d2
fix(v4): trim application.dag header per review (Owns + pin pointer)
briansrls May 18, 2026
a88fa0e
WIP: Lane A — compiler pipeline manager (CP-1 front-end / CP-2 infer …
briansrls May 18, 2026
71d3f73
fix(docs): reconcile TASKS T-23 with three-parameter EnforcedApplication
briansrls May 18, 2026
209c3fa
docs(briefs): PREFIX lens — Acceptance-authoring umbrella index
briansrls May 18, 2026
92a4425
WIP: PREFIX lens program — Acceptance authoring umbrella (batches a–d…
briansrls May 18, 2026
79e40b9
docs(briefs): defer runnable-AC rule to interface pin — no abbreviate…
briansrls May 18, 2026
f58d45f
Merge remote-tracking branch 'origin/main' into session/witty-eagle-676
briansrls May 18, 2026
fb64bb6
Merge remote-tracking branch 'origin/main' into session/witty-eagle-676
briansrls May 19, 2026
695f1f3
Merge remote-tracking branch 'origin/main' into session/witty-eagle-676
briansrls May 19, 2026
3649483
Merge remote-tracking branch 'origin/main' into session/witty-eagle-676
briansrls May 19, 2026
9b3ec3b
Merge remote-tracking branch 'origin/main' into session/witty-eagle-676
briansrls May 19, 2026
5d39bbc
Merge remote-tracking branch 'origin/main' into session/witty-eagle-676
briansrls May 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions docs/briefs/r4-lane-a-lens-acceptance-authoring-index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Lane A PREFIX — Acceptance-authoring index (umbrella)

> **What this is:** the *index only* for the PREFIX lens Acceptance-authoring
> program. It invents no spec prose — it points at the three canonical
> authorities and tracks the sibling Acceptance/keystone PRs for coherence.
> Authored by the umbrella coordination lane (`witty-eagle-676`,
> `node://adhoc-382bf89d-041`) under Lane A manager `fierce-cat-31`.
>
> **Umbrella scope:** program coherence — one interface pin, one witness
> discipline. Batches author and land *their own* Acceptance/keystone PRs as
> siblings; this lane tracks, de-duplicates, and escalates drift. It does
> **not** ship a `src/v4/lens` acceptance harness (that is impl-side /
> T-PB-B census territory).

## Canonical authorities (consume — do not re-spec here)

| Path | Role |
|------|------|
| `docs/briefs/r4-lane-a-lens-prefix-t23-t12-ci.md` | Source brief `PREFIX-LENS-CI-1` — slices A–C, Acceptance-PR batches, `DISPATCH_HOLD`, P5/SG-0, TEST SURFACE. |
| `docs/briefs/r4-lane-a-lens-interface-freeze-pin.md` | **Interface pin** — single authority batches author against: frozen carrier digest (`SectionRef`, `EnforcedApplication`, `IntrospectApplication`, `LensEnforcement`/`EnforceableLens`), CLI v0 template, `LENS_ID` registry, §5.1 synthesis default. |
| `docs/briefs/r4-lane-a-lens-prefix-acceptance.md` | Acceptance artifact home — runnable AC table + red/green witnesses; evolves per batch, operator-signed. |

These three briefs are the canonical authorities for the PREFIX lens
Acceptance program; this index re-specs none of them. Any §1–§3 revision of
the interface pin requires an **operator-signed** amendment.

## Program map — batches under one interface pin

| Batch | Acceptance scope | Sibling session | Work-item node |
|------:|------------------|-----------------|----------------|
| 1 | Interface-Freeze keystone — pin doc + `application.dag` header + CLI/registry | `swift-crane-263` | `node://adhoc-74ae2595-731` |
| 2 | PREFIX driver / registry + whole-corpus gate (slices A–C) | `crisp-carp-224` | `node://adhoc-3f9728c1-fb6` |
| 3 | Cost + complexity — Wave-1 #1 complexity + §5.1 synthesis (shared `SymbolicCost` algebra) | `smart-ferret-44` | `node://adhoc-a404640e-b00` |
| 4 | Wave-1 remainder — parallelism / effect_enumeration / idempotency + structural readers | `keen-carp-354` | `node://adhoc-b7c5718a-730` |
| 5–6 | Wave-2 dissolution L1.1–L1.12 — coherent sub-batches; coordinate `jolly-ibex-599` | `warm-koi-304` | `node://adhoc-55718e90-2af` |

Batches may split into linked PRs but must stay coherent with the interface
pin + source brief. Implementation dispatch stays `DISPATCH_HOLD` per batch:
workers touch impl only after that batch's Acceptance PR is operator-signed.

## Coherence discipline (the umbrella's standing checks)

- **One interface pin.** Any row asserting v4 parse-tree / field-name shape
for `EnforcedApplication` / `SectionRef` cites
`r4-lane-a-lens-interface-freeze-pin.md` §1 — no batch re-specs carriers.
- **Runnable-AC column.** The pre-driver-binary convention is owned by
`r4-lane-a-lens-interface-freeze-pin.md` §3 (and the source brief's
§Witness-parallelism / Fork A). This index defers to it verbatim and
restates no part of it: no batch claims the CLI is live without a receipt.
- **Witness immutability.** Red/green witness blocks and expectation rows in
`r4-lane-a-lens-prefix-acceptance.md` are immutable except red→green
transitions with an operator-signed amendment. Implementation workers do
not edit witnesses.
- **Red witness ≠ unmergeable CI.** Negative behavior is a *passing* test
asserting `DimensionFail` / `Violates`; the whole-corpus job never doubles
as a "prove diagnostics by failing the job" harness.
- **No parallel spec prose.** New Acceptance substance extends the three
paths above; this index stays an index.

## Status legend

`Pending` — not yet on `main`. `Signed` — operator-signed Acceptance PR.
`Merged` — landed on `main`. Update this index as batch PRs land so the
program's coherence state has one rendering.
44 changes: 44 additions & 0 deletions docs/briefs/r4-lane-a-lens-prefix-acceptance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Lane A PREFIX — Acceptance artifact (**operator-signed gate for `DISPATCH_HOLD`**)

> **Companion:** `docs/briefs/r4-lane-a-lens-prefix-t23-t12-ci.md` (`PREFIX-LENS-CI-1`). **Authority:** `docs/design-lens-framework.md` §2 (`Witness<C>`, `DimensionOk` / `DimensionFail`, `DimensionReport`).

## Purpose

Immutable **witness + runnable acceptance table** for the PREFIX lens-CI slice. **`DISPATCH_HOLD`** on the worker brief lifts when this document is **committed on the Acceptance PR branch** and **signed by the operator** (per witty-cat methodology).

**Immutability:** implementation workers **do not** edit witness blocks or expectation rows except **red→green** transitions accompanied by an **operator-signed** amendment to **this** file on the Acceptance PR.

## Issue class (one sentence)

Real **lens application** over **v4 `.dag` programs** is **fail-closed** on typed **`Witness` / `DimensionFail`** outcomes, with **CI merge gates staying green** while **negative behavior** is proven by **passing** tests that **assert** those outcomes (never by requiring a failing workflow job for a diagnostic fixture).

## Runnable acceptance table (map every row to §2)

| ID | Runnable command / surface | Expected **§2** outcome | Notes |
|----|-----------------------------|-------------------------|--------|
| AC-0 | `v2-compiler compile --source-root src/v4` | Compile succeeds; **0** `Diagnostic`s | Spine bar; unchanged repo contract. |
| AC-1 | Whole-corpus driver step (Slice C — workflow) | **`DimensionOk`** aggregate per enumerated **green** corpus contract (driver completes; **exit 0** on policy match) | Thresholds / file sets listed below when operator fills **green corpus** pin. |
| AC-2 | `cargo test …` (PREFIX harness — **T-PB-B** receipt if new `EXPECTED_HAND_AUTHORED_TEST` path) | **`DimensionFail` / `Violates`** on **red** snippet; **test passes** (asserted structured failure) | **≥1 red** witness row in §Witnesses. |
| AC-3 | Same harness family on **green** snippet | **`DimensionOk` / `Inhabits`**; **test passes** | **≥1 green** witness row in §Witnesses. |

## Witnesses (**≥1 red + ≥1 green** — operator fills snippets)

### Red witness (expected `DimensionFail` / `Violates`)

- **Fixture id:** `_TODO_OPERATOR_`
- **Snippet / path:** `_TODO_OPERATOR_`
- **Asserted outcome (§2):** `_TODO_OPERATOR_`

### Green witness (expected `DimensionOk` / `Inhabits`)

- **Fixture id:** `_TODO_OPERATOR_`
- **Snippet / path:** `_TODO_OPERATOR_`
- **Asserted outcome (§2):** `_TODO_OPERATOR_`

## Green corpus pin (for AC-1)

Operator enumerates which `.dag` paths (or glob-derived sets) the **whole-corpus job** treats as **must-pass** for merge, and any explicit **allowlist / staging** markers. Until filled: reference the brief’s **Slice C** whole-tree glob story and **O(1) applications** citation (`docs/design-lens-application-surface.md` §5).

## P5 receipt note

Any **new** `src/v3/compiler/tests/**` integration file added to support AC-2/AC-3 MUST land with **INVARIANTS.md** §P5 **Mechanism (b)** row + **`ROADMAP.md`** **`T-PB-B`** / `pb_rust_tests_outside_residual_zero` citation + **`sg0_census_test.rs`** line in the **same PR** — see worker brief **§P5 / SG-0**.
Loading
Loading