Stage_5R3_Pass_2_Ratification_Patch.md
Memory Rebuild Docs/Flattening/Execution Ledger/Stage_5R3/Stage_5R3_Pass_2_Ratification_Patch.md
# Stage 5R3 Pass 2 — Ratification Patch (paste-ready)
**Purpose:** Will pastes the blocks below into the three target files to ratify Pass 2 outputs. After ratification, Pass 2's V4 candidate is ready to publish as live `OPA_V4.md`.
**Architect resolutions ratified herein:**
- ADQ-PASS2-01: PBEClusterDetectionResult schema home → **DOC73**
- ADQ-PASS2-02: Corpus/library identity mapping owner → **DOC87**; dup question → **NOT A DUP** (already resolved at V3.8 landing)
---
## Patch 1 — `Architect Decision Queue/Architect_Decision_Queue.md`
### Patch 1a — Update header block (replace existing)
Find this block (currently at lines 5-16):
```
**Last updated:** 2026-05-28 (Stage 5R2c — tier distribution count corrected `architect_stop: 5 → 6` (D-SEED-1, D-SEED-2, D-SEED-3, D-SEED-4, ADQ-310, ADQ-220); ADQ-312 trigger owners reframed `DAMS V5 → DOC84 (DAMS substrate)` per SM-020 and `DOC8` purged per Stage 5R2 synthesis #5 + ADQ-221; ADQ-222 framing clarified — see status distribution and row note. Prior: 2026-05-27 (Stage 5R2b — ADQ-219 text updated with `SourceBoundSynthesisAdapter` rename + OPA-035 cross-ref. Stage 5R2 had earlier opened ADQ-222 — network/sharing forward-compatibility — per synthesis must-fix #11.))
**Rows:** 44 (43 resolved + 1 open)
```
Replace with:
```
**Last updated:** 2026-05-28 (Stage 5R3 Pass 2 ratification — ADQ-PASS2-01 + ADQ-PASS2-02 added and resolved at landing per Bucket C; both `batch_for_architect`. Prior: Stage 5R2c — tier distribution count corrected `architect_stop: 5 → 6` (D-SEED-1, D-SEED-2, D-SEED-3, D-SEED-4, ADQ-310, ADQ-220); ADQ-312 trigger owners reframed `DAMS V5 → DOC84 (DAMS substrate)` per SM-020 and `DOC8` purged per Stage 5R2 synthesis #5 + ADQ-221; ADQ-222 framing clarified. 2026-05-27 (Stage 5R2b — ADQ-219 text updated with `SourceBoundSynthesisAdapter` rename + OPA-035 cross-ref).)
**Rows:** 46 (45 resolved + 1 open)
```
Then find this block (currently lines 10-16):
```
**Tier distribution:**
- `architect_stop`: 6
- `batch_for_architect`: 38
**Status distribution:**
- `resolved`: 43
- `open`: 1 (ADQ-222 — opened at Stage 5R2 per synthesis must-fix #11; tier = `batch_for_architect`. **Blocking scope (Stage 5R2c clarification):** does NOT block any Stage 6 charter — `blocks_slices = None`. **Conditionally gates Stage 7 schema-body work**: IF architect resolves "draft Phase-1 schemas now," then `PublishedViewEnvelope` / `TaskSharedMemoryExposureContract` / `PublishedLibraryCorpusExposureContract` schemas are drafted at Stage 7. The §11.4 `default_if_no_response = (none)` reflects this Stage 7 gating — the "blocking" word in the row note refers to that conditional Stage 7 schema-body gate, NOT to any Stage 6 charter.)
```
Replace with:
```
**Tier distribution:**
- `architect_stop`: 6
- `batch_for_architect`: 40
**Status distribution:**
- `resolved`: 45
- `open`: 1 (ADQ-222 — opened at Stage 5R2 per synthesis must-fix #11; tier = `batch_for_architect`. **Blocking scope (Stage 5R2c clarification):** does NOT block any Stage 6 charter — `blocks_slices = None`. **Conditionally gates Stage 7 schema-body work**: IF architect resolves "draft Phase-1 schemas now," then `PublishedViewEnvelope` / `TaskSharedMemoryExposureContract` / `PublishedLibraryCorpusExposureContract` schemas are drafted at Stage 7. The §11.4 `default_if_no_response = (none)` reflects this Stage 7 gating — the "blocking" word in the row note refers to that conditional Stage 7 schema-body gate, NOT to any Stage 6 charter.)
```
### Patch 1b — Append two new resolved rows
Find the last resolved row in the resolved batch_for_architect table (currently `| ADQ-221 | batch_for_architect | ... |` on line 64).
Insert these two rows immediately after that line (and immediately before the line `## Open decisions (batch for architect)`):
```
| ADQ-PASS2-01 | batch_for_architect | Does `PBEClusterDetectionResult` live in DOC72 as the superset read-model (DOC73 consumes a minimum projection), or in DOC73 as the owner (DOC72 stores a denormalized copy)? | **DOC73 owns the schema; DOC72 stores graph payload; EC writes durably.** PBE is the producer; the schema lives with the producer. This follows the existing pattern in the post-flatten architecture: DOC73 owns ConsolidatedUnderstanding as source-bound synthesis; DOC72 stores graph payload; EC writes. Cluster detection results are PBE-mechanism output (source-bound), not standalone graph features. If PBE design later proves cluster membership to be pure graph-derived state (i.e. changes only when graph edges change, not when PBE state changes), reopen as a follow-up ADQ. Unblocks E3 (DOC82 knowledge) cluster-detection read-model consumption + the DOC72 graph-schema freeze. OP-A V4 candidate: `OBL-D72-NEW-PBE-CLUSTER-01` retargets DOC72 → DOC73; DOC72 referenced as storage executor in the row body. | Stage 5R3 Pass 2 Bucket C item 1; OPA V3.18 line 534 + line 2437; mirrors OPA-001 (Assertion: DOC82 schema + DOC72 storage + EC write) and ADQ-219 (CU: DOC73 schema + source-bound); resolved by Will, Stage 5R3 Pass 2 ratification, 2026-05-28 |
| ADQ-PASS2-02 | batch_for_architect | Who owns the canonical corpus↔'library' identity mapping: DOC24 (search/onboarding), DOC87 (E_org membership identity), or DOC25 (ingestion)? And is `OBL-D24-CORPUS-LIB-MAP-01` the same obligation as `OBL-D7-NEW-LIBRARY-NAMING-01` (merge) or distinct (keep both)? | **(a) Identity authority: DOC87 owns the canonical corpus↔library identity mapping.** Library lives at DOC87 as organizational container per ADQ-220 (Owner Map: `Library-as-organizational-container` → DOC87); identity-authority stays where the container lives. DOC25 owns the corpus storage side (CorpusIndex / SourceCollection); DOC24 consumes the mapping at search/onboarding time but does not own it. **(b) Dup question: NOT a dup.** The merge question was already resolved at the V3.8 landing — see OPA V3.18 line 3431 ("Architect merge decision: see Appendix A — V3.7 row is UI rendering; V3.8 row is schema-level reconciliation gate. Both should remain."). The two rows are distinct: OBL-D7-NEW-LIBRARY-NAMING-01 is the UI rendering rule (retargets cleanly DOC7 → DOC86 in OP-A V4); OBL-D24-CORPUS-LIB-MAP-01 is the schema-level identity reconciliation gate (retargets DOC24 → DOC87 in OP-A V4 per this resolution). Both remain in V4. Unblocks E1 (DOC81 scope) corpus/library vocabulary + E_org (DOC87) membership identity; ties to SM-040 + OPA-032 TopicIdentityContract. | Stage 5R3 Pass 2 Bucket C item 2; OPA V3.18 line 3426 (V3.8 row), line 3431 (architect merge decision pointer recording the dup resolution); ADQ-220 (DOC87 organization/membership identity); Owner Map row `Library-as-organizational-container` (DOC87); resolved by Will, Stage 5R3 Pass 2 ratification, 2026-05-28 |
```
---
## Patch 2 — `Current Specs/DOC73/DOC73 Helper Home and Deferral List/DOC73_V1_6_DEFERRAL_INVENTORY_R1.1.md`
Append at the end of the file (new §X — pick the next numbered section, likely §6 or §7):
```
---
## §X. Stage 5R3 Pass 2 deferrals (2026-05-28)
Per Stage 5R3 Pass 1 architect decisions D3b + D6 (see `Memory Rebuild Docs/Flattening/Execution Ledger/Stage_5R3/PASS_1_ARCHITECT_DECISIONS_RESOLVED.md`).
### §X.1 DOC23 Addenda B obligation deferral (D3b)
**33 explicit OBL-* IDs from DOC23 Addenda B current sources are deferred from OP-A V4 entirely. Out of scope until the DOC80 flatten completes.**
Source files containing the deferred IDs:
- `Current Specs/DOC23/DOC23 Addenda B/DOC23_ADDB_OUTCOME_EVALUATOR_REVISOR_V3_3_1.md` — 29 IDs
- `Current Specs/DOC23/DOC23 Addenda B/DOC23_ADDB_SUBSYS_SOURCE_WORKSPACE_V1_0_1.md` — 3 IDs
- `Current Specs/DOC23/DOC23 Addenda B/DOC23_ADDB_SUBSYS_TASK_FORUM_RUN_BOARD_V1_0_1.md` — 1 ID
Total: 33 IDs.
Per architect decision: these are NOT minted as Pass 2 Bucket A / B / C rows. They re-enter OP-A consideration after Stage 6 charter authoring completes and DOC80 family schemas are operative. The enumerated IDs are preserved in `Memory Rebuild Docs/Flattening/Execution Ledger/Stage_5R3/PASS_1_SELF_AUDIT.md` "Missing Explicit ID Summary" section for re-entry.
### §X.2 RecentActivityRollup consumer/orchestration deferral (D6)
Per Pass 1 D6 architect decision: the Running Brief consumer/orchestration story is DEPRECATED-with-capture; the CSA extraction report §6.1/§6.2/§6.3 verbatim disposition applies. Specific consumer/orchestration deferrals are tracked here as a single line item; mechanism details live in the CSA extraction audit (`Memory Rebuild Docs/Flattening/Execution Ledger/DOC73_V1_6_CSA_EXTRACTION_AUDIT.md`). Re-entry occurs at DOC85 E9 charter authoring.
```
(Note: the exact section number depends on what's currently the last section in your file — use the next available number. If the file currently ends at §5, this becomes §6; etc.)
---
## Patch 3 — `Stage_5R3/Stage_5R3_Source_Package.md` re-pin
Two cross-reference trackers drifted since the Pass 0 pin. The Self-Audit confirmed every anchor Pass 2 cited is still present in both files, so no semantic drift — just re-pin.
Find these two rows (currently in Section C):
```
| Architect Decision Queue | ... | uncommitted | `dcf1f25f15c1` | ... | ... |
| Supersession Matrix | ... | uncommitted | `5c58e08c276f` | ... | ... |
```
Replace the hash with the post-Pass-2-ratification hash. After you apply Patches 1 and 2 above, run:
```bash
shasum -a 256 "/Users/OpenClaw1/Elnor/Elnor Specs/Memory Rebuild Docs/Flattening/Execution Ledger/Architect Decision Queue/Architect_Decision_Queue.md" | cut -c1-12
shasum -a 256 "/Users/OpenClaw1/Elnor/Elnor Specs/Memory Rebuild Docs/Flattening/Supersession Matrix/Supersession_Matrix.md" | cut -c1-12
```
Paste the resulting hashes into the corresponding rows of the Source Package, replacing the old ones. Add a note in the affected rows: `(Stage 5R3 Pass 2 ratification re-pin 2026-05-28; was <old hash> at Pass 0 freeze)`.
(I can run those shasum commands for you and tell you the new values — just say `give me the new hashes` after you apply Patches 1 and 2.)
---
## After ratification — publish V4 + open Stage 6
Once Patches 1, 2, 3 are committed:
1. **Publish V4 as live OP-A.** Copy `Stage_5R3/OPA_V4_CANDIDATE.md` → `OP-A and Operations and Trackers/OPA_V4.md` and confirm the two RESERVED rows (`OBL-D72-NEW-PBE-CLUSTER-01`, `OBL-D24-CORPUS-LIB-MAP-01`) have been retargeted per the ADQ resolutions above. Update the V4 header `Last updated` line to record the Pass 2 ratification + the two RESERVED resolutions applied.
2. **Archive V3.18.** Move `OPA_V3_18.md` to `Archived DOC OP-A and Operations DOCS/` per the no-version-suffix convention (the operative file is now `OPA_V4.md`; V3.18 becomes lineage).
3. **Update dashboard and SPEC_STATE.** Note the V3.18 → V4 transition.
4. **Open Stage 6 charters.** Each E-slice charter author starts by reading `STAGE_6_CHARTER_INPUT_INDEX.md` for their charter's input deck (OPA V4 rows, ADQs, conflicts, fold-ins, AC obligations).
I'll guide you through steps 1-4 step-by-step after you confirm Patches 1-3 are committed.