DUNIN7 · LOOMWORKS · RECORD
record.dunin7.com
Status Current
Path phases/phase-52-jurisdiction-routing/loomworks-phase-52-step-0-inspection-brief-v0_1.md

Loomworks — Phase 52 Step 0 Inspection Brief

Version. 0.1 Date. 2026-05-10 Status. Pre-CR scoping evidence brief. Hands to CC. Mirrors loomworks-phase-51-step-0-inspection-brief-v0_1.md. Author. Claude.ai. Operator: Marvin Percival. Companion document. loomworks-phase-52-scoping-note-v0_1.md (parent — the brief presupposes its sketches and §10 candidate verification list).


1. What this is

Pre-CR live-codebase verification for Phase 52 — Authority-side jurisdiction routing logic (Item 3 of the Phase 51 §19 carry-forward) as the unconditional substrate core. Items 1 and 2 stay deferred-pending-trigger; operational items (engine deployment, mailbox provisioning, cloudflared upgrade) proceed as a parallel non-CR track.

Phase 52 scoping note v0.1 records the build shape and architectural decisions (Option A; P52-D1 through P52-D8). Several of those decisions rest on assumptions about what the Phase 51 seam, the Phase 50 endpoint, the Phase 38 declare-and-register pattern, and the engine settings module look like as actually shipped. The scoping note carries [CC verifies] markers across the substrate touch-points. This brief enumerates those verifications, gives CC a paste-ready way to run them, and defines what CC produces as a result.

CC verifies, evidence-cites, and reports verdicts. CC does not propose remediation, does not edit the scoping note, does not draft the CR, does not start build.

The brief assumes Option A is the working shape (Phase 52 = engine substrate sub-arc 1 only by default; sub-arcs 2 and 3 empty). If P52-D2 redirects after V1 reports, scoping v0.2 reshapes around the actual seam shape. v0.1 of this brief is right for Option A.

One verification (V6) is a documentation read rather than a code verification: CC reads phase-51-implementation-notes-v0_2.md §11 addendum and reports the verbatim phrasing of the findings 7 and 8 family. v0.2 of the scoping note absorbs the verbatim text into §13 trajectory note and §4 P52-D5.


2. Reading order before running

CC reads in this order before starting verifications:

  1. loomworks-phase-52-scoping-note-v0_1.md (parent document; in project knowledge).
  2. Highest-versioned current-status manifest in project knowledge (v0.36 at session open; v0.37 if absorbed).
  3. phase-51-cr-marketing-site-and-companion-email-v0_1.md (engine repo docs/phase-crs/; the CR Phase 52 extends — especially §5 Companion-driven email composition, §10 e2e test posture).
  4. phase-51-implementation-notes-v0_2.md (engine repo docs/phase-impl-notes/; for §11 addendum read in V6 and §8 build findings as context).
  5. phase-50-cr-companion-as-authority-and-public-form-v0_1.md (engine repo docs/phase-crs/; especially §10.3 endpoint body shape — the jurisdiction field flow V5 confirmed in Phase 51).
  6. phase-38-cr-specification-grammar-declaration-v0_1.md (engine repo docs/phase-crs/; the declare-and-register pattern V3 verifies).
  7. This brief.

3. Baseline state to verify

Before running verifications, CC confirms the substrate is at the expected baseline. Phase 51 close per session prompt:

If the live baseline diverges (test count off by more than ±2 routine noise, Alembic head different from expected, working tree dirty, tag missing, marketing site not live), CC stops at the start and reports before running any verifications.


4. Six verifications

Each verification has four parts: ask (what to verify), look at (where to read), evidence expected (what the finding should cite), verdict criteria (when each verdict applies).

4.1 Verification 1 — Email composition seam current shape (post-Phase-51)

Ask. Confirm the as-shipped Phase 51 email composition seam — module location, current shape, exact location of the context-prep step (where recipient + grant context are assembled), and exact location of the claim_url construction. Phase 52 P52-D2 inserts a new routing-decision step between context-prep and claim_url construction so the destination-instance URL is available when claim_url is built. The scoping note §5.1.2 frames this insertion as a single new step in an existing sequence; v0.2 settles definitively against this verification's report.

Look at.

Evidence expected.

Verdict criteria.

4.2 Verification 2 — jurisdiction field flow from form submission to seam

Ask. Confirm the Phase 51 V5-implemented additive optional jurisdiction: str | None = None field on POST /authority/grant-request flows through to where the routing-decision step needs it. Phase 51 records the value in the form-submission Memory event payload (per Phase 51 P51-D7 / V5); Phase 52's routing-decision step reads it. The scoping note §5.1.2 assumes the value is available at the seam's routing-decision-step location either via direct-call payload propagation or via Memory event read.

Look at.

Evidence expected.

Verdict criteria.

4.3 Verification 3 — Phase 38 declare-and-register pattern

Ask. Confirm the Phase 38 specification grammar declaration pattern (or its closest in-substrate kin — Phase 49's ensure_reconciliation_specialists_declared is the noted alternative reference). Phase 52's P52-D1 mirrors the pattern: a registry that accepts register_jurisdiction_route(jurisdiction, destination_instance) calls and exposes resolve_destination(jurisdiction) -> DestinationInstance. The scoping note assumes the existing registry mechanism gives Phase 52 a clean template; v0.2 settles definitively against the verbatim signatures CC reports.

Look at.

Evidence expected.

Verdict criteria.

4.4 Verification 4 — Memory event schema registration

Ask. Confirm the registration mechanism for new Memory event types — specifically, the schema and call site Phase 52's jurisdiction_routing_decided event mirrors. The closest sibling is Phase 50's grant_request_received form-submission event. The scoping note §5.1.3 assumes the registration shape is reusable; v0.2 confirms against the verbatim phrasing CC reports.

Look at.

Evidence expected.

Verdict criteria.

4.5 Verification 5 — Settings field shape for the Authority instance URL

Ask. Confirm whether a settings field for the Authority instance URL exists today, and if so, where it lives and what its naming convention is. Phase 52's routing-skill default registration (P52-D1: all jurisdictions → Authority) uses the field as the destination-instance URL source. The scoping note §5.1.1 sketches loomworks_authority_instance_url provisionally; v0.2 settles definitively against what V5 reports.

Look at.

Evidence expected.

Verdict criteria.

4.6 Verification 6 — Phase 51 impl notes v0.2 §11 addendum (findings 7 and 8 family)

Ask. Phase 52 scoping note v0.1 paraphrases the deploy-target-named-in-scoping cascade language based on the session prompt's framing; v0.2 sharpens against the actual finding text. CC reads phase-51-implementation-notes-v0_2.md §11 addendum and reports the verbatim phrasing of the findings 7 and 8 family (and any sibling findings in the same §11 addendum if more than two are present).

Look at.

Evidence expected.

Verdict criteria.


5. After verification

CC produces phase-52-step-0-findings-v0_1.md at /Users/dunin7/loomworks-engine/docs/phase-impl-notes/. One section per verification. Each section: verdict (HOLDS / PARTIALLY HOLDS / BREAKS / INCONCLUSIVE; verifications 1, 2, 3, 4, 5 also accept the per-option HOLDS variants; verification 6 also accepts NOT NEEDED, DIVERGES), evidence (file paths, line numbers, function signatures, exact strings as found, verbatim addendum text for V6), implication for scoping note (carry / naming-only divergence / architectural amendment).

CC then tells Marvin which of three states the findings put Phase 52 in:

CC does not propose remediation in the findings document. CC does not edit the scoping note. CC does not start CR drafting. CC does not start implementation. CC reports.


6. CC kickoff prompt — paste-ready

Place this brief at /Users/dunin7/loomworks-engine/docs/phase-impl-notes/loomworks-phase-52-step-0-inspection-brief-v0_1.md (or wherever you prefer; adjust the first line of the kickoff accordingly). Then open a new CC session on DUNIN7-M4 and paste:


Read /Users/dunin7/loomworks-engine/docs/phase-impl-notes/loomworks-phase-52-step-0-inspection-brief-v0_1.md

Run all six verifications against the live codebase at /Users/dunin7/loomworks-engine. Phase 51 tags for reference: phase-51-marketing-site-and-companion-email at engine 876ff66 / frontend e4c09e0 (marker) / marketing bf2f694. Engine main is at 25294ca (one commit ahead of tag, carrying impl notes v0.2 §11 addendum). Verification 6 reads the §11 addendum verbatim.

Reading order before running: loomworks-phase-52-scoping-note-v0_1.md (in project knowledge); current-status-manifest-v0_36.md (or v0.37 if available, in project knowledge); phase-51-cr-marketing-site-and-companion-email-v0_1.md (engine repo docs/phase-crs/); phase-51-implementation-notes-v0_2.md (engine repo docs/phase-impl-notes/); phase-50-cr-companion-as-authority-and-public-form-v0_1.md (engine repo docs/phase-crs/); phase-38-cr-specification-grammar-declaration-v0_1.md (engine repo docs/phase-crs/); this brief.

Produce findings at /Users/dunin7/loomworks-engine/docs/phase-impl-notes/phase-52-step-0-findings-v0_1.md.

One section per verification. Each section: verdict (HOLDS / PARTIALLY HOLDS / BREAKS / INCONCLUSIVE; verifications 1-5 also accept per-option HOLDS variants; verification 6 also accepts NOT NEEDED, DIVERGES), evidence (file paths, line numbers, function signatures, exact strings as found; for V6, verbatim addendum text), implication for scoping note (carry / naming-only divergence / architectural amendment).

Do not propose remediation. Do not edit the scoping note. Do not start CR drafting or implementation.

Report back with the findings document.

The receiving CC session reads the brief, runs the verifications, produces the findings document, and reports.


7. Companion documents


DUNIN7 — Done In Seven LLC — Miami, Florida Loomworks Phase 52 Step 0 Inspection Brief — v0.1 — 2026-05-10