DD-469 #6 child 2/7: Logical archive exporter and readable staging #30

Closed
opened 2026-11-19 13:45:33 +00:00 by svc-agent-writer · 13 comments

Parent and authority

Child 2/7 of #6 (DD-469 Attention 4/6). Parent epic: #1. Reviewed scope: decomposition decomposition.md SHA-256 a51ac56839bcd81e6a34166e71ce677ba443a9d92b88423f772f3d84bbe39daa, spec PASS with zero findings in disposition 4598e30997b235ab493c1067cb636b8612abb5eb53780323ee7f4c5cd179c531. Binds frozen docs/planning/issue-6-transition-protocol-v2.md SHA-256 1aaab9cb149d2575879428eaa9ce42d9b401a582a2ffa9bb44c31d4b2ac82cc2 (design PASS 0, #6 comment 42606) and the paired #6 body f771415735c3a9238f03e7e9c4dacd259cb62e55e9a7839c20378a46a83f5b61 and acceptance matrix a02eb1136bcd60f6dec7395e2a2ff337a189af64d0927a9d6f363b8d03003054, both ratified. Contract: mind-spec 3da6a263e6aeb3f37d25590d6ab755045ff53786. Standing grant: #6 comment 42500.

Blocked by

  • #29 — child 1/7 (Bounds)

Fixed write set

src/attention_mind_mcp/recovery_archive.py, src/attention_mind_mcp/recovery_staging.py, tests/test_recovery_archive.py, tests/test_recovery_staging.py

Expanding this write set, or changing reviewed guarantee semantics, goes back to spec review before dispatch.

Interface and responsibility

Export one consistent logical snapshot under the caller's release barrier, validate its framed schema against managed_profile.py, and manage owned staging reservation, inspection and durable retirement. Use allowlisted current records from SQLite, header/counter and footer/digest checks, class accounting and sensitive field exclusion. Store, principal and suppression key material is separately recovered under the key custody rules. Refuse unknown/inconsistent data and prevent partial archives from registering. Hold the readiness/acknowledgement barrier if readable staged files cannot be classified or retired. Tests exercise raw synthetic markers including free pages and impossible framing, interrupted export, fsync/permission failures and restart inventory. Transition wires the barrier, Forget removes obsolete readable copies before success, and Restore uses the checked reader and runs actual round trips. No production delivery integration is part of #6. Reject unclassified delivery-intent data, and require any later persisted record to have a reviewed class and charge before managed export.

Evidence served

E04, E06, E08, E10, E11. Staging/format evidence is local. Restore eligibility depends on manifest coverage, authenticated decryption and reconciliation with independent authority.

Completing this child does not discharge E09, E12 or E13. Those stay owed against the real production custodian under the ratified owner-attested, sample-labelled standard. E15 stays with #6 reconciliation.

Gates

  • Fresh SVD Half-A specification with delegated auto-gate and default caps. Concrete interface signatures, persisted schema and encoded charges, premise freshness rules and exact test schedules belong in that specification under the bound protocol.
  • Merge requires independent Standards and Spec PASS with zero findings, green CI on the exact head, and a raw CI log audit for command not found, errors during collection, = not found and "is_error":true.
  • Existing local mode, attention/1.0, binding 1.1 and compatible schema-2 stores stay supported. New or migrated persisted records need named P09 classes and encoded bounds.
  • Offline only. No provider request, credential, IAM, bucket or configuration change, claim, reservation or live run. Frozen fence/harness/protocol bytes stay unchanged. Balances 57 / 1,943 / 1,504 unchanged.

Filed under: operator word "file tickets" sha256:d982c2768589

## Parent and authority Child 2/7 of #6 (DD-469 Attention 4/6). Parent epic: #1. Reviewed scope: decomposition `decomposition.md` SHA-256 `a51ac56839bcd81e6a34166e71ce677ba443a9d92b88423f772f3d84bbe39daa`, spec PASS with zero findings in disposition `4598e30997b235ab493c1067cb636b8612abb5eb53780323ee7f4c5cd179c531`. Binds frozen `docs/planning/issue-6-transition-protocol-v2.md` SHA-256 `1aaab9cb149d2575879428eaa9ce42d9b401a582a2ffa9bb44c31d4b2ac82cc2` (design PASS 0, #6 comment 42606) and the paired #6 body `f771415735c3a9238f03e7e9c4dacd259cb62e55e9a7839c20378a46a83f5b61` and acceptance matrix `a02eb1136bcd60f6dec7395e2a2ff337a189af64d0927a9d6f363b8d03003054`, both ratified. Contract: mind-spec `3da6a263e6aeb3f37d25590d6ab755045ff53786`. Standing grant: #6 comment 42500. ## Blocked by - #29 — child 1/7 (Bounds) ## Fixed write set `src/attention_mind_mcp/recovery_archive.py`, `src/attention_mind_mcp/recovery_staging.py`, `tests/test_recovery_archive.py`, `tests/test_recovery_staging.py` Expanding this write set, or changing reviewed guarantee semantics, goes back to spec review before dispatch. ## Interface and responsibility Export one consistent logical snapshot under the caller's release barrier, validate its framed schema against `managed_profile.py`, and manage owned staging reservation, inspection and durable retirement. Use allowlisted current records from SQLite, header/counter and footer/digest checks, class accounting and sensitive field exclusion. Store, principal and suppression key material is separately recovered under the key custody rules. Refuse unknown/inconsistent data and prevent partial archives from registering. Hold the readiness/acknowledgement barrier if readable staged files cannot be classified or retired. Tests exercise raw synthetic markers including free pages and impossible framing, interrupted export, fsync/permission failures and restart inventory. Transition wires the barrier, Forget removes obsolete readable copies before success, and Restore uses the checked reader and runs actual round trips. No production delivery integration is part of #6. Reject unclassified delivery-intent data, and require any later persisted record to have a reviewed class and charge before managed export. ## Evidence served E04, E06, E08, E10, E11. Staging/format evidence is local. Restore eligibility depends on manifest coverage, authenticated decryption and reconciliation with independent authority. Completing this child does not discharge E09, E12 or E13. Those stay owed against the real production custodian under the ratified owner-attested, sample-labelled standard. E15 stays with #6 reconciliation. ## Gates - Fresh SVD Half-A specification with delegated auto-gate and default caps. Concrete interface signatures, persisted schema and encoded charges, premise freshness rules and exact test schedules belong in that specification under the bound protocol. - Merge requires independent Standards and Spec PASS with zero findings, green CI on the exact head, and a raw CI log audit for `command not found`, `errors during collection`, `= not found` and `"is_error":true`. - Existing local mode, attention/1.0, binding 1.1 and compatible schema-2 stores stay supported. New or migrated persisted records need named P09 classes and encoded bounds. - Offline only. No provider request, credential, IAM, bucket or configuration change, claim, reservation or live run. Frozen fence/harness/protocol bytes stay unchanged. Balances 57 / 1,943 / 1,504 unchanged. Filed under: operator word "file tickets" sha256:d982c2768589
Author
Member

This was generated by AI during triage.

State: ready-for-agent. The issue body is the agent brief. Its scope, fixed write set, dependencies, E-row debt and gates come verbatim from the decomposition that mind-spec passed with zero findings (disposition 4598e30997b235ab493c1067cb636b8612abb5eb53780323ee7f4c5cd179c531).

CONV-40 walk (advisory): branch 2 proposed ready-for-agent. Bounded: four named files, local SQLite export and staging; no network or credential surface.

Dispatch rule: start only when every issue under ## Blocked by has merged. Children #33, #34 and #35 overlap on shared files, so they run one at a time.

> *This was generated by AI during triage.* **State:** `ready-for-agent`. The issue body is the agent brief. Its scope, fixed write set, dependencies, E-row debt and gates come verbatim from the decomposition that mind-spec passed with zero findings (disposition `4598e30997b235ab493c1067cb636b8612abb5eb53780323ee7f4c5cd179c531`). **CONV-40 walk (advisory):** branch 2 proposed `ready-for-agent`. Bounded: four named files, local SQLite export and staging; no network or credential surface. **Dispatch rule:** start only when every issue under `## Blocked by` has merged. Children #33, #34 and #35 overlap on shared files, so they run one at a time.
Collaborator

⏸ SVD architect gate: dev/attention-mind-mcp#30 dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta

Status: CLEAN after 0 rework round(s) · 0 blocking defect(s) · 0 lens(es) INCONCLUSIVE (could not run) · 0 lens(es) DEGRADED (deterministic denial) · complexity substrate · dispatch effort high

Run: 20261120T013029Z-c2366702

Held because: CLEAN but 8 open risk(s) (2 verification · 6 decision) — HOLD-ALL parks everything. The risks, verbatim:

Open risks:

  1. Should principals.credential_digest be excluded from the archive, as the spec does? The spec reads the issue's 'principal key material is separately recovered' as covering it, which means Restore must re-provision principal credentials from separate custody. If the architect wants the digest archived, add it to the HEADER principals and remove it from EXCLUDED_COLUMNS. [decision]
  2. Should export refuse when any prepared_transitions row exists or the queue's quarantined flag is set, rather than archive a PREPARED-class record? Refusal follows P02 (prepared records are temporary recovery state, not an archive), and format 1 defines no PREPARED payload. Confirm that child 5 always settles before it snapshots. [decision]
  3. Should the startup sweep retire every readable staging file, including a complete, validated 'staged' archive whose encryption or registration was interrupted? The spec does, reading P11 and the HOLD row 'readiness fenced until interrupted staging is classified and retired'. Confirm that 'interrupted' includes 'staged but not yet encrypted'. [decision]
  4. A corrupt staging inventory leaves the area QUARANTINED (staging_inventory_invalid) on every restart, after the regular plaintext files are unlinked, and the inventory is never rewritten. Is permanent quarantine acceptable until child 7's admin CLI exists, or should the empty inventory be rewritten once every readable file is retired? [decision]
  5. Maximum-scale E04/E06 evidence stays owed to child 7: a full ~86 MiB profile export, measured staging, disk and RAM, and an encrypt→decrypt→restore success. This child tests only the class boundaries (512/513 LIVE items, the lifetime cap, the 64 KiB command cap). Post-merge check: child 7's tests/test_recovery_profile_integration.py runs export_archive at every class maximum and asserts success. [verification]
  6. CI runs in a python:3.12-slim container as root, so the real chmod-denied unlink variant is skipped there. Check: the raw CI log for the merge head shows the injected-PermissionError and OSError tests in tests/test_recovery_staging.py passing, not skipped, under uv run python3 -m pytest -m unit. [verification]
  7. read_archive uses the header's lifetime_admitted as ArchiveOccupancy's unverified high-water bound (managed_profile.py:4-12). Restore must reconcile against the frontier (P13) and never treat that value as authority. Should the reader instead take this bound as a caller-supplied argument? [decision]
  8. Commands with deadline_us <= identity.created_us are left out as not current, so a restore from the archive loses replay outcomes for commands already expired at snapshot time. Confirm that created_us is the intended cutoff, rather than the effective clock floor. [decision]

Change: recovery_archive.py:

  • Follow the fixed-code and frozen-dataclass style of recovery_budget.py:109-183 (_fail, __post_init__ validation).
  • Export runs inside one Store.transaction() (store.py:264-279, BEGIN IMMEDIATE) as a consistent read under the caller's barrier.
  • Check user_version is 2 and every sqlite_master object against an exact allowlist taken from store.py:199-243. Unknown tables (including future delivery intents), columns and indexes are refused.
  • Refuse when prepared_transitions has rows or the queue is quarantined.
  • Validate items with custody._valid_item (custody.py:75-120).
  • Stream canonical_record lines (managed_profile.py:127-142) charged through ArchiveOccupancy (managed_profile.py:256-308), in the order HEADER → LIVE → OCCURRENCE → COMMAND → FOOTER.
  • queue.secret and principals.credential_digest are excluded.
  • The FOOTER carries the counts, byte total and sha256 of everything before it.
  • The checked reader read_archive enforces bounded readline, exact class and key order, payload schema, an exact match between header and expected ArchiveIdentity, and footer/digest equality. It refuses EVIDENCE, ARTIFACT and PREPARED records as unknown in format 1.

recovery_staging.py:

  • Mirror the durable I/O of proofs/recovery/staging/stagingproof/staging.py:22-93,135-212 (sync_fd, private_directory, flock, temp+O_EXCL+fsync+replace+dirsync, one-shot quarantine) without importing it.
  • The inventory holds at most 1 ARTIFACT-class canonical record.
  • reserve calls recovery_budget.reserve_copy(STAGING_PLAINTEXT) before any bytes exist.
  • stage = export → fsync → dirsync → read_archive re-validation → mark staged. Any failure retires the partial file or quarantines.
  • Startup sweep is bounded to 64 entries. It unlinks every readable regular file before READY, and non-regular, unsafe or invalid state quarantines.
  • retire = unlink → dirsync → inventory → release_copy.
  • barrier_held() is the seam that later children wire in.

Files: src/attention_mind_mcp/recovery_archive.py · src/attention_mind_mcp/recovery_staging.py · tests/test_recovery_archive.py · tests/test_recovery_staging.py

Decision: accept the 8 open risk(s) above and dispatch this spec (svd:go), or park (svd:skip) / re-spec (svd:respec)?

Your call (when this issue is held at the gate via svd:hold):

  • add label svd:go — approve; Half-B dispatch accepts exactly this spec (open risks accepted)
  • add label svd:fire beside svd:go — approve AND authorise the Half-B fire from the phone; never on its own
  • add label svd:skip — park it; dispatch refuses it and the issue stays for a human
  • add label svd:respec — discard this spec; the next Half-A run re-produces it with this record as prior-attempt context

Spec: /Users/piers/src/attention-mind-mcp/data/svd30-31/specs-30/2026-11-20-dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta.md — next: codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/src/attention-mind-mcp/data/svd30-31/specs-30/2026-11-20-dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta.md

label flip withheld (--no-label-writes); gate label is the orchestrator's act — attention

### ⏸ SVD architect gate: dev/attention-mind-mcp#30 dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta **Status:** CLEAN after 0 rework round(s) · 0 blocking defect(s) · 0 lens(es) INCONCLUSIVE (could not run) · 0 lens(es) DEGRADED (deterministic denial) · complexity `substrate` · dispatch effort `high` **Run:** `20261120T013029Z-c2366702` **Held because:** CLEAN but 8 open risk(s) (2 verification · 6 decision) — HOLD-ALL parks everything. The risks, verbatim: **Open risks:** 1. Should principals.credential_digest be excluded from the archive, as the spec does? The spec reads the issue's 'principal key material is separately recovered' as covering it, which means Restore must re-provision principal credentials from separate custody. If the architect wants the digest archived, add it to the HEADER principals and remove it from EXCLUDED_COLUMNS. [decision] 2. Should export refuse when any prepared_transitions row exists or the queue's quarantined flag is set, rather than archive a PREPARED-class record? Refusal follows P02 (prepared records are temporary recovery state, not an archive), and format 1 defines no PREPARED payload. Confirm that child 5 always settles before it snapshots. [decision] 3. Should the startup sweep retire every readable staging file, including a complete, validated 'staged' archive whose encryption or registration was interrupted? The spec does, reading P11 and the HOLD row 'readiness fenced until interrupted staging is classified and retired'. Confirm that 'interrupted' includes 'staged but not yet encrypted'. [decision] 4. A corrupt staging inventory leaves the area QUARANTINED (staging_inventory_invalid) on every restart, after the regular plaintext files are unlinked, and the inventory is never rewritten. Is permanent quarantine acceptable until child 7's admin CLI exists, or should the empty inventory be rewritten once every readable file is retired? [decision] 5. Maximum-scale E04/E06 evidence stays owed to child 7: a full ~86 MiB profile export, measured staging, disk and RAM, and an encrypt→decrypt→restore success. This child tests only the class boundaries (512/513 LIVE items, the lifetime cap, the 64 KiB command cap). Post-merge check: child 7's tests/test_recovery_profile_integration.py runs export_archive at every class maximum and asserts success. [verification] 6. CI runs in a python:3.12-slim container as root, so the real chmod-denied unlink variant is skipped there. Check: the raw CI log for the merge head shows the injected-PermissionError and OSError tests in tests/test_recovery_staging.py passing, not skipped, under `uv run python3 -m pytest -m unit`. [verification] 7. read_archive uses the header's lifetime_admitted as ArchiveOccupancy's unverified high-water bound (managed_profile.py:4-12). Restore must reconcile against the frontier (P13) and never treat that value as authority. Should the reader instead take this bound as a caller-supplied argument? [decision] 8. Commands with deadline_us <= identity.created_us are left out as not current, so a restore from the archive loses replay outcomes for commands already expired at snapshot time. Confirm that created_us is the intended cutoff, rather than the effective clock floor. [decision] **Change:** recovery_archive.py: - Follow the fixed-code and frozen-dataclass style of recovery_budget.py:109-183 (`_fail`, `__post_init__` validation). - Export runs inside one Store.transaction() (store.py:264-279, BEGIN IMMEDIATE) as a consistent read under the caller's barrier. - Check user_version is 2 and every sqlite_master object against an exact allowlist taken from store.py:199-243. Unknown tables (including future delivery intents), columns and indexes are refused. - Refuse when prepared_transitions has rows or the queue is quarantined. - Validate items with custody._valid_item (custody.py:75-120). - Stream canonical_record lines (managed_profile.py:127-142) charged through ArchiveOccupancy (managed_profile.py:256-308), in the order HEADER → LIVE → OCCURRENCE → COMMAND → FOOTER. - queue.secret and principals.credential_digest are excluded. - The FOOTER carries the counts, byte total and sha256 of everything before it. - The checked reader read_archive enforces bounded readline, exact class and key order, payload schema, an exact match between header and expected ArchiveIdentity, and footer/digest equality. It refuses EVIDENCE, ARTIFACT and PREPARED records as unknown in format 1. recovery_staging.py: - Mirror the durable I/O of proofs/recovery/staging/stagingproof/staging.py:22-93,135-212 (sync_fd, private_directory, flock, temp+O_EXCL+fsync+replace+dirsync, one-shot quarantine) without importing it. - The inventory holds at most 1 ARTIFACT-class canonical record. - reserve calls recovery_budget.reserve_copy(STAGING_PLAINTEXT) before any bytes exist. - stage = export → fsync → dirsync → read_archive re-validation → mark staged. Any failure retires the partial file or quarantines. - Startup sweep is bounded to 64 entries. It unlinks every readable regular file before READY, and non-regular, unsafe or invalid state quarantines. - retire = unlink → dirsync → inventory → release_copy. - barrier_held() is the seam that later children wire in. **Files:** `src/attention_mind_mcp/recovery_archive.py` · `src/attention_mind_mcp/recovery_staging.py` · `tests/test_recovery_archive.py` · `tests/test_recovery_staging.py` **Decision:** accept the 8 open risk(s) above and dispatch this spec (`svd:go`), or park (`svd:skip`) / re-spec (`svd:respec`)? **Your call** (when this issue is held at the gate via `svd:hold`): - add label `svd:go` — approve; Half-B dispatch accepts exactly this spec (open risks accepted) - add label `svd:fire` **beside** `svd:go` — approve AND authorise the Half-B fire from the phone; never on its own - add label `svd:skip` — park it; dispatch refuses it and the issue stays for a human - add label `svd:respec` — discard this spec; the next Half-A run re-produces it with this record as prior-attempt context <sub>Spec: `/Users/piers/src/attention-mind-mcp/data/svd30-31/specs-30/2026-11-20-dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta.md` — next: `codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/src/attention-mind-mcp/data/svd30-31/specs-30/2026-11-20-dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta.md`</sub> label flip withheld (--no-label-writes); gate label is the orchestrator's act — attention
Author
Member

This was generated by AI during the SVD architect gate (minds-guide@voyager).

Architect-gate dispositions for the #30 Half-A spec

The spec is from run 20261120T013029Z-c2366702, rebaselined onto main 9af46b3e: 2026-11-20-dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta.md, sha256 5e5bc649…15a8. mind-spec checked the decision risks for canonical fit, and the operator ruled the open ones on 2026-11-20.

Risk Disposition Source
D1: principals.credential_digest is left out of the archive; Restore re-provisions principal credentials from separate custody Keep as specified Operator ruling. mind-spec: compatible with P11 and the child 2 scope
D2: export refuses when a prepared transition is pending or the queue is quarantined Settled mind-spec: P02–P03, P11
D3: the startup sweep retires a complete plaintext archive whose encryption or registration was interrupted Settled mind-spec: P11, acceptance-matrix HOLD row
D4: a corrupt staging inventory leaves the area quarantined until child 7's admin CLI exists Keep as specified Operator ruling. mind-spec: quarantine is required while completeness is unknown (P10, P11)
D5: the archive reader uses the header's lifetime_admitted as an unverified, profile-capped bound; Restore reconciles against the frontier Keep as specified Operator ruling. mind-spec: compatible with P09 and P13
D6: commands with deadline_us <= identity.created_us are left out of the archive Canonical clash. The spec must change mind-spec: attention-v1 time and replay (contracts/attention-v1/README.md:55), P11

D6 change. The archive cutoff must be the provider's effective time at the snapshot. It is bounded below by the persisted clock floor. The draft checks only created_us >= effective_floor_us, so a future created_us could leave out a command outcome that is still valid. created_us may stay as the cutoff only if it is bound to the provider's effective time for that snapshot.

Next. Revise the spec for D6 only, run the Half-A verify again, and have mind-spec re-check D6. svd:go follows under the standing ruling. #31 dispatches first. #30 is rebaselined after #31 merges.

Filed under: operator-word-d982c2768589

> *This was generated by AI during the SVD architect gate (minds-guide@voyager).* ## Architect-gate dispositions for the #30 Half-A spec The spec is from run 20261120T013029Z-c2366702, rebaselined onto main 9af46b3e: `2026-11-20-dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta.md`, sha256 `5e5bc649…15a8`. mind-spec checked the decision risks for canonical fit, and the operator ruled the open ones on 2026-11-20. | Risk | Disposition | Source | | --- | --- | --- | | D1: `principals.credential_digest` is left out of the archive; Restore re-provisions principal credentials from separate custody | **Keep as specified** | Operator ruling. mind-spec: compatible with P11 and the child 2 scope | | D2: export refuses when a prepared transition is pending or the queue is quarantined | **Settled** | mind-spec: P02–P03, P11 | | D3: the startup sweep retires a complete plaintext archive whose encryption or registration was interrupted | **Settled** | mind-spec: P11, acceptance-matrix HOLD row | | D4: a corrupt staging inventory leaves the area quarantined until child 7's admin CLI exists | **Keep as specified** | Operator ruling. mind-spec: quarantine is required while completeness is unknown (P10, P11) | | D5: the archive reader uses the header's `lifetime_admitted` as an unverified, profile-capped bound; Restore reconciles against the frontier | **Keep as specified** | Operator ruling. mind-spec: compatible with P09 and P13 | | D6: commands with `deadline_us <= identity.created_us` are left out of the archive | **Canonical clash. The spec must change** | mind-spec: attention-v1 time and replay (`contracts/attention-v1/README.md:55`), P11 | **D6 change.** The archive cutoff must be the provider's effective time at the snapshot. It is bounded below by the persisted clock floor. The draft checks only `created_us >= effective_floor_us`, so a future `created_us` could leave out a command outcome that is still valid. `created_us` may stay as the cutoff only if it is bound to the provider's effective time for that snapshot. **Next.** Revise the spec for D6 only, run the Half-A verify again, and have mind-spec re-check D6. svd:go follows under the standing ruling. #31 dispatches first. #30 is rebaselined after #31 merges. Filed under: operator-word-d982c2768589
Collaborator

🛑 SVD architect gate: dev/attention-mind-mcp#30 dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta

Status: NEEDS ARCHITECT JUDGEMENT after 0 rework round(s) · 1 blocking defect(s) · 0 lens(es) INCONCLUSIVE (could not run) · 0 lens(es) DEGRADED (deterministic denial) · complexity unclassified · dispatch effort unclassified

Run: 20261120T030007Z-9a59d383

Blocking defects (verbatim, with evidence):

  1. [invariant-audit] The spec contradicts itself on what HEADER floor_us holds. The reader-side cutoff invariant therefore does not enforce the exporter's cutoff, and the spec cites an Invariant 10 that does not exist.
    Evidence: Spec line 117 (COMMAND row): "Only rows with deadline_us > snapshot_effective_us (= HEADER floor_us)". Spec line 124 (step 1): "Set snapshot_effective_us = max(clock_sample_us, queue.effective_floor_us) ... floor_us carries the persisted floor read from SQLite. Export leaves that floor intact." Test 6 uses persisted floor 100 with provider clock 150 and excludes the deadline-150 command. Line 141 has the reader check deadline_us > header.floor_us and call it 'Invariant 10 (cutoff invariant)'; the Invariants section lists only 1-9. If floor_us is the persisted floor (100), the reader accepts a deadline-150 or deadline-120 command that the exporter would have dropped at cutoff 150. The snapshot_effective_us value is never persisted in the archive. The reader half of the claimed cutoff invariant is therefore vacuous when the clock exceeds the floor, and the spec does not say which reading the header holds. Fix: define one header field for snapshot_effective_us, or drop the reader-enforcement claim, and add a numbered invariant for it.

Files: src/attention_mind_mcp/recovery_archive.py · src/attention_mind_mcp/recovery_staging.py · tests/test_recovery_archive.py · tests/test_recovery_staging.py

Write-set divergence: present table wins. 0 sourceHashes vs 20-row table.

Decision: 1 blocking defect(s) stand after 0 rework round(s) — discard and re-spec (svd:respec), or park for a human (svd:skip)?

Your call (when this issue is held at the gate via svd:hold):

  • add label svd:go — approve; Half-B dispatch accepts exactly this spec (open risks accepted)
  • add label svd:fire beside svd:go — approve AND authorise the Half-B fire from the phone; never on its own
  • add label svd:skip — park it; dispatch refuses it and the issue stays for a human
  • add label svd:respec — discard this spec; the next Half-A run re-produces it with this record as prior-attempt context

Spec: /Users/piers/src/attention-mind-mcp/data/svd30-31/evidence-30-d6/spec-v2/2026-11-20-dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta.md — next: codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/src/attention-mind-mcp/data/svd30-31/evidence-30-d6/spec-v2/2026-11-20-dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta.md

### 🛑 SVD architect gate: dev/attention-mind-mcp#30 dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta **Status:** NEEDS ARCHITECT JUDGEMENT after 0 rework round(s) · 1 blocking defect(s) · 0 lens(es) INCONCLUSIVE (could not run) · 0 lens(es) DEGRADED (deterministic denial) · complexity `unclassified` · dispatch effort `unclassified` **Run:** `20261120T030007Z-9a59d383` **Blocking defects (verbatim, with evidence):** 1. [invariant-audit] The spec contradicts itself on what HEADER `floor_us` holds. The reader-side cutoff invariant therefore does not enforce the exporter's cutoff, and the spec cites an `Invariant 10` that does not exist. Evidence: Spec line 117 (COMMAND row): "Only rows with `deadline_us > snapshot_effective_us` (= HEADER `floor_us`)". Spec line 124 (step 1): "Set `snapshot_effective_us = max(clock_sample_us, queue.effective_floor_us)` ... `floor_us` carries the persisted floor read from SQLite. Export leaves that floor intact." Test 6 uses persisted floor 100 with provider clock 150 and excludes the deadline-150 command. Line 141 has the reader check `deadline_us > header.floor_us` and call it 'Invariant 10 (cutoff invariant)'; the Invariants section lists only 1-9. If `floor_us` is the persisted floor (100), the reader accepts a deadline-150 or deadline-120 command that the exporter would have dropped at cutoff 150. The snapshot_effective_us value is never persisted in the archive. The reader half of the claimed cutoff invariant is therefore vacuous when the clock exceeds the floor, and the spec does not say which reading the header holds. Fix: define one header field for snapshot_effective_us, or drop the reader-enforcement claim, and add a numbered invariant for it. **Files:** `src/attention_mind_mcp/recovery_archive.py` · `src/attention_mind_mcp/recovery_staging.py` · `tests/test_recovery_archive.py` · `tests/test_recovery_staging.py` **Write-set divergence:** present table wins. 0 sourceHashes vs 20-row table. **Decision:** 1 blocking defect(s) stand after 0 rework round(s) — discard and re-spec (`svd:respec`), or park for a human (`svd:skip`)? **Your call** (when this issue is held at the gate via `svd:hold`): - add label `svd:go` — approve; Half-B dispatch accepts exactly this spec (open risks accepted) - add label `svd:fire` **beside** `svd:go` — approve AND authorise the Half-B fire from the phone; never on its own - add label `svd:skip` — park it; dispatch refuses it and the issue stays for a human - add label `svd:respec` — discard this spec; the next Half-A run re-produces it with this record as prior-attempt context <sub>Spec: `/Users/piers/src/attention-mind-mcp/data/svd30-31/evidence-30-d6/spec-v2/2026-11-20-dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta.md` — next: `codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/src/attention-mind-mcp/data/svd30-31/evidence-30-d6/spec-v2/2026-11-20-dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta.md`</sub>
Collaborator

✅ SVD architect gate: dev/attention-mind-mcp#30 dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta

Status: CLEAN after 0 rework round(s) · 0 blocking defect(s) · 0 lens(es) INCONCLUSIVE (could not run) · 0 lens(es) DEGRADED (deterministic denial) · complexity unclassified · dispatch effort unclassified

Run: 20261120T030156Z-5ee84be9

Files: src/attention_mind_mcp/recovery_archive.py · src/attention_mind_mcp/recovery_staging.py · tests/test_recovery_archive.py · tests/test_recovery_staging.py

Write-set divergence: present table wins. 0 sourceHashes vs 20-row table.

Decision: dispatch this spec (svd:go)?

Your call (when this issue is held at the gate via svd:hold):

  • add label svd:go — approve; Half-B dispatch accepts exactly this spec (open risks accepted)
  • add label svd:fire beside svd:go — approve AND authorise the Half-B fire from the phone; never on its own
  • add label svd:skip — park it; dispatch refuses it and the issue stays for a human
  • add label svd:respec — discard this spec; the next Half-A run re-produces it with this record as prior-attempt context

Spec: /Users/piers/src/attention-mind-mcp/data/svd30-31/evidence-30-d6/spec-v3/2026-11-20-dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta.md — next: codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/src/attention-mind-mcp/data/svd30-31/evidence-30-d6/spec-v3/2026-11-20-dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta.md

### ✅ SVD architect gate: dev/attention-mind-mcp#30 dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta **Status:** CLEAN after 0 rework round(s) · 0 blocking defect(s) · 0 lens(es) INCONCLUSIVE (could not run) · 0 lens(es) DEGRADED (deterministic denial) · complexity `unclassified` · dispatch effort `unclassified` **Run:** `20261120T030156Z-5ee84be9` **Files:** `src/attention_mind_mcp/recovery_archive.py` · `src/attention_mind_mcp/recovery_staging.py` · `tests/test_recovery_archive.py` · `tests/test_recovery_staging.py` **Write-set divergence:** present table wins. 0 sourceHashes vs 20-row table. **Decision:** dispatch this spec (`svd:go`)? **Your call** (when this issue is held at the gate via `svd:hold`): - add label `svd:go` — approve; Half-B dispatch accepts exactly this spec (open risks accepted) - add label `svd:fire` **beside** `svd:go` — approve AND authorise the Half-B fire from the phone; never on its own - add label `svd:skip` — park it; dispatch refuses it and the issue stays for a human - add label `svd:respec` — discard this spec; the next Half-A run re-produces it with this record as prior-attempt context <sub>Spec: `/Users/piers/src/attention-mind-mcp/data/svd30-31/evidence-30-d6/spec-v3/2026-11-20-dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta.md` — next: `codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/src/attention-mind-mcp/data/svd30-31/evidence-30-d6/spec-v3/2026-11-20-dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta.md`</sub>
Collaborator

spec-verify-dispatch Half B for dev/attention-mind-mcp#30 dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta completed integration verify.

  • PR: #44
  • Branch: feat/svd-dev-attention-mind-mcp-30-dd-469-6-child-2-7-logical-8f132718
  • Commit: 72f294d125
  • Build: none
  • Test: green
  • Reader audit clean: True
  • Spec fidelity: True
  • Ready for merge: True
  • Check ci/woodpecker/pr/validation: green https://ci.groupthink.asia/repos/76/pipeline/55/1
  • Checks: ci/woodpecker/pr/validation: green on 72f294d125. Local: 84 targeted and 565 unit tests pass; ruff check, ruff format and mypy are clean.
  • Decision: merge disposition is the operator's; run ready (codex-svd ship --run-id 20261120T044546Z-8f132718 available to a permitted seat)

label flip withheld (--no-label-writes); gate label is the orchestrator's act — attention@voyager

spec-verify-dispatch Half B for dev/attention-mind-mcp#30 dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta completed integration verify. - PR: https://git.groupthink.asia/dev/attention-mind-mcp/pulls/44 - Branch: feat/svd-dev-attention-mind-mcp-30-dd-469-6-child-2-7-logical-8f132718 - Commit: 72f294d1250b1ced346361dd6dd90e7887f4324b - Build: none - Test: green - Reader audit clean: True - Spec fidelity: True - Ready for merge: True - Check ci/woodpecker/pr/validation: green https://ci.groupthink.asia/repos/76/pipeline/55/1 - Checks: ci/woodpecker/pr/validation: green on 72f294d1250b. Local: 84 targeted and 565 unit tests pass; ruff check, ruff format and mypy are clean. - Decision: merge disposition is the operator's; run ready (`codex-svd ship --run-id 20261120T044546Z-8f132718` available to a permitted seat) label flip withheld (--no-label-writes); gate label is the orchestrator's act — attention@voyager
Author
Member

This was generated by AI during the merge gate.

PR #44 round-1 dispositions

Three independent reviews ran on head 72f294d1 (Spec, Standards and Security §19). The code matches the spec and the D1 to D6 dispositions. The operator ruled the security items under section 6 of the standing grant on 2026-11-20.

Item Disposition Source
SEC1: the startup sweep unlinks every regular file in the given directory (spec Lifecycle Open step 4) Amend the spec. Unlink only staging-owned names. Quarantine any other regular file instead of deleting it. No plaintext survives a restart Operator ruling. mind-spec checks the amendment for clash
SEC2, ST1: refusals keep the library exception on __context__ Fix before merge Operator ruling, same class as #31 L1
ST2: wrong-typed arguments and stream errors escape as non-FoundationError; retire unlinks before it validates custody Fix before merge Operator ruling
SEC3: a generated column under an allowlisted name passes the schema check Fix before merge Operator ruling
SEC4: macOS ACLs are not checked Fix before merge in staging. The same gap stays in recovery_crypto, which open risk D7 freezes Operator ruling
SEC5: operations use paths after the final-component check Fix before merge Operator ruling
SEC6: st_nlink is not checked Fix before merge Operator ruling
SP1 to SP4: tests missing for the D5 reader bound, the reader schema checks, the durability syncs and invariant 3 Fix Merge gate: 18 non-equivalent mutants survive
SP5, ST3: edge-guard tests; staging module docstring scope limits Fix (nits) Merge gate
SP6: recovery_archive imports .commands (first-party), outside the spec import list Record as a deviation in the PR body Merge gate

Filed under: operator-word-d982c2768589

> *This was generated by AI during the merge gate.* ## PR #44 round-1 dispositions Three independent reviews ran on head 72f294d1 (Spec, Standards and Security §19). The code matches the spec and the D1 to D6 dispositions. The operator ruled the security items under section 6 of the standing grant on 2026-11-20. | Item | Disposition | Source | | --- | --- | --- | | SEC1: the startup sweep unlinks every regular file in the given directory (spec Lifecycle Open step 4) | **Amend the spec.** Unlink only staging-owned names. Quarantine any other regular file instead of deleting it. No plaintext survives a restart | Operator ruling. mind-spec checks the amendment for clash | | SEC2, ST1: refusals keep the library exception on `__context__` | **Fix before merge** | Operator ruling, same class as #31 L1 | | ST2: wrong-typed arguments and stream errors escape as non-FoundationError; `retire` unlinks before it validates custody | **Fix before merge** | Operator ruling | | SEC3: a generated column under an allowlisted name passes the schema check | **Fix before merge** | Operator ruling | | SEC4: macOS ACLs are not checked | **Fix before merge in staging.** The same gap stays in `recovery_crypto`, which open risk D7 freezes | Operator ruling | | SEC5: operations use paths after the final-component check | **Fix before merge** | Operator ruling | | SEC6: `st_nlink` is not checked | **Fix before merge** | Operator ruling | | SP1 to SP4: tests missing for the D5 reader bound, the reader schema checks, the durability syncs and invariant 3 | **Fix** | Merge gate: 18 non-equivalent mutants survive | | SP5, ST3: edge-guard tests; staging module docstring scope limits | **Fix** (nits) | Merge gate | | SP6: `recovery_archive` imports `.commands` (first-party), outside the spec import list | **Record as a deviation in the PR body** | Merge gate | Filed under: operator-word-d982c2768589
Author
Member

This was generated by AI during the merge gate.

PR #44 round-2 dispositions

Head 72beb4bc. Standards passes with zero findings. Security confirms that SEC1 to SEC6 are fixed. mind-spec found the round-1 spec amendment (sha256 1f01fa3f…199b) fits the canonical, with one clash.

Item Disposition Source
SEC8 and the mind-spec clash with P11 (transition protocol line 115): the startup sweep and retire unlink a staging-owned plaintext file that has a second hard link, then reach READY or release the charge Fix before merge, with a spec amendment. A second link leaves retirement unresolved, so the area stays quarantined and the barrier and custody charge survive restart. retire refuses without releasing custody Operator SEC6 ruling (comment 43725); mind-spec clash
SEC7: staged() verifies through the pinned descriptor but returns a plain path No #30 code change. The later child that encrypts the staged archive must hash exactly the bytes it reads and refuse on a size or sha256 mismatch. The PR body records the residual Operator ruling, 2026-11-20
SEC9: a missing libc ACL symbol raises a raw exception Fix: treat it as an ACL present (fail closed with a fixed code) Operator SEC4 and ST2 rulings (comment 43725)
SEC10: an interrupt while taking the lock leaks the directory descriptor Fix (nit) Merge gate
SP2, SP7 to SP10: 18 surviving non-equivalent mutants (reader value rules, own-name pattern, pinned-descriptor uses, ACL guards, reader paths) Fix: add the tests Merge gate

Filed under: operator-word-d982c2768589

> *This was generated by AI during the merge gate.* ## PR #44 round-2 dispositions Head 72beb4bc. Standards passes with zero findings. Security confirms that SEC1 to SEC6 are fixed. mind-spec found the round-1 spec amendment (sha256 `1f01fa3f…199b`) fits the canonical, with one clash. | Item | Disposition | Source | | --- | --- | --- | | SEC8 and the mind-spec clash with P11 (transition protocol line 115): the startup sweep and `retire` unlink a staging-owned plaintext file that has a second hard link, then reach READY or release the charge | **Fix before merge, with a spec amendment.** A second link leaves retirement unresolved, so the area stays quarantined and the barrier and custody charge survive restart. `retire` refuses without releasing custody | Operator SEC6 ruling (comment 43725); mind-spec clash | | SEC7: `staged()` verifies through the pinned descriptor but returns a plain path | **No #30 code change.** The later child that encrypts the staged archive must hash exactly the bytes it reads and refuse on a size or sha256 mismatch. The PR body records the residual | Operator ruling, 2026-11-20 | | SEC9: a missing libc ACL symbol raises a raw exception | **Fix**: treat it as an ACL present (fail closed with a fixed code) | Operator SEC4 and ST2 rulings (comment 43725) | | SEC10: an interrupt while taking the lock leaks the directory descriptor | **Fix** (nit) | Merge gate | | SP2, SP7 to SP10: 18 surviving non-equivalent mutants (reader value rules, own-name pattern, pinned-descriptor uses, ACL guards, reader paths) | **Fix**: add the tests | Merge gate | Filed under: operator-word-d982c2768589
Collaborator

spec-verify-dispatch Half B for dev/attention-mind-mcp#30 dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta completed integration verify.

  • PR: #44
  • Branch: feat/svd-dev-attention-mind-mcp-30-dd-469-6-child-2-7-logical-8f132718
  • Commit: dadd99006b
  • Build: none
  • Test: green
  • Reader audit clean: True
  • Spec fidelity: True
  • Ready for merge: True
  • Check ci/woodpecker/pr/validation: green https://ci.groupthink.asia/repos/76/pipeline/57/1
  • Checks: PR #44 head dadd99006b: ci/woodpecker/pr/validation green. Local: 166 targeted and 647 full unit tests pass; ruff check, ruff format and mypy clean. No blockers.
  • Warning: Spec has no scenario table and no Agent Adjustments section, so no scenario tracing applied.
  • Warning: Spec open risk 6: verify in the raw CI log that injected-permission tests in tests/test_recovery_staging.py ran as passed, not skipped. Locally all 166 selected tests passed and none were skipped.
  • Warning: I did not read the PR comments or reviews in this invocation, so this verdict makes no claim about independent review.
  • Decision: merge disposition is the operator's; run ready (codex-svd ship --run-id 20261120T044546Z-8f132718 available to a permitted seat)

label flip withheld (--no-label-writes); gate label is the orchestrator's act — attention@voyager

spec-verify-dispatch Half B for dev/attention-mind-mcp#30 dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta completed integration verify. - PR: https://git.groupthink.asia/dev/attention-mind-mcp/pulls/44 - Branch: feat/svd-dev-attention-mind-mcp-30-dd-469-6-child-2-7-logical-8f132718 - Commit: dadd99006b20865b08bd2606da87e1cf1cffe7f0 - Build: none - Test: green - Reader audit clean: True - Spec fidelity: True - Ready for merge: True - Check ci/woodpecker/pr/validation: green https://ci.groupthink.asia/repos/76/pipeline/57/1 - Checks: PR #44 head dadd99006b20: ci/woodpecker/pr/validation green. Local: 166 targeted and 647 full unit tests pass; ruff check, ruff format and mypy clean. No blockers. - Warning: Spec has no scenario table and no Agent Adjustments section, so no scenario tracing applied. - Warning: Spec open risk 6: verify in the raw CI log that injected-permission tests in tests/test_recovery_staging.py ran as passed, not skipped. Locally all 166 selected tests passed and none were skipped. - Warning: I did not read the PR comments or reviews in this invocation, so this verdict makes no claim about independent review. - Decision: merge disposition is the operator's; run ready (`codex-svd ship --run-id 20261120T044546Z-8f132718` available to a permitted seat) label flip withheld (--no-label-writes); gate label is the orchestrator's act — attention@voyager
Author
Member

This was generated by AI during the merge gate.

PR #44 round-3 dispositions

Head dadd9900. SEC8, SEC9 and SEC10 are fixed. All 18 round-2 test gaps are closed. Standards passes. Pipeline 57 is green, and attention's exact-head integrate is READY. mind-spec found no clash between the round-3 spec amendment (sha256 a9be727e…5035) and the canonical; the amendment implements P11 as written.

Item Disposition Source
SEC11: the new link-count check opens the plaintext before unlinking it, and that open needs owner read permission. An unreadable plaintext (for example one created under umask 0o400) stays on disk and the area stays quarantined. The previous head left no plaintext in the same case Fix before merge. Only a second link blocks retirement. A spec amendment follows if the text changes, and mind-spec checks it for clash Operator ruling, 2026-11-20
Link race: a same-user process that adds a hard link between the link-count check and the unlink keeps a copy, and retirement succeeds No code change. The PR body records the residual. The check guards against links that exist before retirement. A live same-user actor is inside the trust boundary, as with SEC7 Operator ruling, 2026-11-20
SP11: no test for two clauses of spec line 188 (keep the charge for a linked plaintext with no inventory entry; retire the other owned files that pass the check) Fix: add the tests Merge gate
SP12: no test for retire over a dangling symlink, or for the sweep's regular-file check on a swapped-in FIFO Fix (nit) Merge gate

Filed under: operator-word-d982c2768589

> *This was generated by AI during the merge gate.* ## PR #44 round-3 dispositions Head dadd9900. SEC8, SEC9 and SEC10 are fixed. All 18 round-2 test gaps are closed. Standards passes. Pipeline 57 is green, and attention's exact-head integrate is READY. mind-spec found no clash between the round-3 spec amendment (sha256 `a9be727e…5035`) and the canonical; the amendment implements P11 as written. | Item | Disposition | Source | | --- | --- | --- | | SEC11: the new link-count check opens the plaintext before unlinking it, and that open needs owner read permission. An unreadable plaintext (for example one created under umask 0o400) stays on disk and the area stays quarantined. The previous head left no plaintext in the same case | **Fix before merge.** Only a second link blocks retirement. A spec amendment follows if the text changes, and mind-spec checks it for clash | Operator ruling, 2026-11-20 | | Link race: a same-user process that adds a hard link between the link-count check and the unlink keeps a copy, and retirement succeeds | **No code change.** The PR body records the residual. The check guards against links that exist before retirement. A live same-user actor is inside the trust boundary, as with SEC7 | Operator ruling, 2026-11-20 | | SP11: no test for two clauses of spec line 188 (keep the charge for a linked plaintext with no inventory entry; retire the other owned files that pass the check) | **Fix**: add the tests | Merge gate | | SP12: no test for retire over a dangling symlink, or for the sweep's regular-file check on a swapped-in FIFO | **Fix** (nit) | Merge gate | Filed under: operator-word-d982c2768589
Author
Member

This was generated by AI during the merge gate.

PR #44 round-4 dispositions

Head 586b31d5. Security passes: SEC11 is fixed on retire, failed-stage cleanup and the sweep, and SEC8 still holds. Spec passes with one nit, and SP11 and SP12 are closed. Pipeline 58 is red.

Item Disposition Source
mind-spec clash with P11 in Retire step 2, failed-stage cleanup included: the link-count check does not require a regular file, so a single-link symlink at the plaintext name is unlinked and clears the inventory and the charge without proof that the plaintext was retired Fix before merge, with a spec amendment. Retire and failed-stage cleanup apply the startup regular-file classification. A non-regular entry is preserved, the area quarantines with staging_entry_unclassified, and retire refuses without released custody. This also gives a directory at the plaintext name a fitting code mind-spec clash
ST4 and pipeline 58: test_failed_stage_under_umask_retires_unreadable_plaintext fails as root in CI, because root reads a 0o200 file Fix before merge: make the test independent of the user it runs as, so that Linux CI exercises the path Merge gate
SP13: no test for the sweep's regular-file and ACL checks on .partial candidates Fix (nit) Merge gate
An entry swapped at an owned name after the stat (symlink or FIFO) is removed No code change. The PR body's link-race residual covers any swap in the window between the check and the unlink, not only hard links Operator ruling on the link race (comment 43747)

Filed under: operator-word-d982c2768589

> *This was generated by AI during the merge gate.* ## PR #44 round-4 dispositions Head 586b31d5. Security passes: SEC11 is fixed on retire, failed-stage cleanup and the sweep, and SEC8 still holds. Spec passes with one nit, and SP11 and SP12 are closed. Pipeline 58 is red. | Item | Disposition | Source | | --- | --- | --- | | mind-spec clash with P11 in Retire step 2, failed-stage cleanup included: the link-count check does not require a regular file, so a single-link symlink at the plaintext name is unlinked and clears the inventory and the charge without proof that the plaintext was retired | **Fix before merge, with a spec amendment.** Retire and failed-stage cleanup apply the startup regular-file classification. A non-regular entry is preserved, the area quarantines with `staging_entry_unclassified`, and retire refuses without released custody. This also gives a directory at the plaintext name a fitting code | mind-spec clash | | ST4 and pipeline 58: `test_failed_stage_under_umask_retires_unreadable_plaintext` fails as root in CI, because root reads a 0o200 file | **Fix before merge**: make the test independent of the user it runs as, so that Linux CI exercises the path | Merge gate | | SP13: no test for the sweep's regular-file and ACL checks on `.partial` candidates | **Fix** (nit) | Merge gate | | An entry swapped at an owned name after the stat (symlink or FIFO) is removed | **No code change.** The PR body's link-race residual covers any swap in the window between the check and the unlink, not only hard links | Operator ruling on the link race (comment 43747) | Filed under: operator-word-d982c2768589
Collaborator

spec-verify-dispatch Half B for dev/attention-mind-mcp#30 dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta completed integration verify.

  • PR: #44
  • Branch: feat/svd-dev-attention-mind-mcp-30-dd-469-6-child-2-7-logical-8f132718
  • Commit: 30481a19d9
  • Build: none
  • Test: green
  • Reader audit clean: True
  • Spec fidelity: True
  • Ready for merge: True
  • Check ci/woodpecker/pr/validation: green https://ci.groupthink.asia/repos/76/pipeline/60/1
  • Checks: ci/woodpecker/pr/validation: green on head 30481a19d9. Local: 179 new tests pass, full unit suite 660 passed, ruff check, ruff format and mypy clean.
  • Warning: Spec estimated the staging ARTIFACT record at 405 bytes; the PR measures 393 bytes with canonical_record and pins that in a test. This is a spec estimate difference, not a defect.
  • Warning: Open risk 6 (verification): the raw CI log for the merge head should list the injected-permission staging tests as passed, not skipped. This stage did not read the CI log.
  • Decision: merge disposition is the operator's; run ready (codex-svd ship --run-id 20261120T044546Z-8f132718 available to a permitted seat)

label flip withheld (--no-label-writes); gate label is the orchestrator's act — attention@voyager

spec-verify-dispatch Half B for dev/attention-mind-mcp#30 dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta completed integration verify. - PR: https://git.groupthink.asia/dev/attention-mind-mcp/pulls/44 - Branch: feat/svd-dev-attention-mind-mcp-30-dd-469-6-child-2-7-logical-8f132718 - Commit: 30481a19d90982629bc804e0de17e131a7df99ae - Build: none - Test: green - Reader audit clean: True - Spec fidelity: True - Ready for merge: True - Check ci/woodpecker/pr/validation: green https://ci.groupthink.asia/repos/76/pipeline/60/1 - Checks: ci/woodpecker/pr/validation: green on head 30481a19d909. Local: 179 new tests pass, full unit suite 660 passed, ruff check, ruff format and mypy clean. - Warning: Spec estimated the staging ARTIFACT record at 405 bytes; the PR measures 393 bytes with canonical_record and pins that in a test. This is a spec estimate difference, not a defect. - Warning: Open risk 6 (verification): the raw CI log for the merge head should list the injected-permission staging tests as passed, not skipped. This stage did not read the CI log. - Decision: merge disposition is the operator's; run ready (`codex-svd ship --run-id 20261120T044546Z-8f132718` available to a permitted seat) label flip withheld (--no-label-writes); gate label is the orchestrator's act — attention@voyager
Collaborator

spec-verify-dispatch Half B for dev/attention-mind-mcp#30 dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta completed integration verify.

  • PR: #44
  • Branch: feat/svd-dev-attention-mind-mcp-30-dd-469-6-child-2-7-logical-8f132718
  • Commit: a45112a654
  • Build: none
  • Test: green
  • Reader audit clean: True
  • Spec fidelity: True
  • Ready for merge: True
  • Check ci/woodpecker/pr/validation: green https://ci.groupthink.asia/repos/76/pipeline/61/1
  • Checks: ci/woodpecker/pr/validation green on a45112a. Local: 180 new tests and 661 unit tests pass. ruff check, ruff format and mypy are clean. No build manifest.
  • Warning: Spec Open Risks 1-4 and 7 are architect decisions (credential_digest exclusion, refusal on pending prepared transitions, retiring staged archives at startup, corrupt-inventory handling, lifetime_admitted bound). The PR follows the spec's stated defaults.
  • Warning: Spec Open Risk 6 (verification): confirm in the raw CI log that the injected-permission tests in tests/test_recovery_staging.py passed, not skipped, under -m unit.
  • Warning: Spec Open Risk 5 (verification): maximum-scale E04/E06 evidence is owed to child 7.
  • Warning: The PR comments and reviews were not read in this invocation, so this verdict makes no claim about an independent reviewer.
  • Decision: merge disposition is the operator's; run ready (codex-svd ship --run-id 20261120T044546Z-8f132718 available to a permitted seat)

label flip withheld (--no-label-writes); gate label is the orchestrator's act — attention@voyager

spec-verify-dispatch Half B for dev/attention-mind-mcp#30 dd-469-6-child-2-7-logical-archive-exporter-and-readable-sta completed integration verify. - PR: https://git.groupthink.asia/dev/attention-mind-mcp/pulls/44 - Branch: feat/svd-dev-attention-mind-mcp-30-dd-469-6-child-2-7-logical-8f132718 - Commit: a45112a65481c2e9d7e507d4a7a753302da05a61 - Build: none - Test: green - Reader audit clean: True - Spec fidelity: True - Ready for merge: True - Check ci/woodpecker/pr/validation: green https://ci.groupthink.asia/repos/76/pipeline/61/1 - Checks: ci/woodpecker/pr/validation green on a45112a. Local: 180 new tests and 661 unit tests pass. ruff check, ruff format and mypy are clean. No build manifest. - Warning: Spec Open Risks 1-4 and 7 are architect decisions (credential_digest exclusion, refusal on pending prepared transitions, retiring staged archives at startup, corrupt-inventory handling, lifetime_admitted bound). The PR follows the spec's stated defaults. - Warning: Spec Open Risk 6 (verification): confirm in the raw CI log that the injected-permission tests in tests/test_recovery_staging.py passed, not skipped, under -m unit. - Warning: Spec Open Risk 5 (verification): maximum-scale E04/E06 evidence is owed to child 7. - Warning: The PR comments and reviews were not read in this invocation, so this verdict makes no claim about an independent reviewer. - Decision: merge disposition is the operator's; run ready (`codex-svd ship --run-id 20261120T044546Z-8f132718` available to a permitted seat) label flip withheld (--no-label-writes); gate label is the orchestrator's act — attention@voyager
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dev/attention-mind-mcp#30
No description provided.