Forget: scrub the database file, purge the legacy checkpoint and orphaned derived Organisations #54

Closed
opened 2026-11-03 21:55:46 +00:00 by piers · 4 comments
Owner

Outcome

After Forget, no byte of the forgotten Person's Handles remains in the store's database file, the legacy pending checkpoint holds none of their addresses, and no derived Organisation that only they used remains.

Context

Parent: dev/people-mind-mcp#50. This is a child of that issue, not a blocker of it.

The #50 grill (2026-11-04) ruled ADR 0003 Amendment 1, rules 1, 4 and 5. The amendment is on branch docs/grill-49-50-amendments (a493728); dispatch after it is on main. Restore-safe Tombstones (rule 3) are a separate issue.

  • open_writer (src/people_mind_mcp/store.py:127-154) sets only journal_mode=WAL, foreign_keys=ON and busy_timeout=5000.
  • graph.forget (src/people_mind_mcp/graph.py:380-404) does not touch source_state. In legacy-text mode the zlib pending checkpoint there (sync.py:57-60) is keyed by address (sources/mailmind.py:168).
  • _derived_orgs (graph.py:208-225) creates an Organisation and an org_domains row for each non-public email domain.
  • C08 checks raw bytes for signature and subject text only (tests/test_mailpeer.py:924-925).

Do not add an application checkpoint or a per-Forget VACUUM. Litestream 0.3.13 holds a read lock to own checkpointing; an application TRUNCATE checkpoint returns busy or forces a new backup generation (ADR 0003 Amendment 1, rule 1).

Scope

  1. Set PRAGMA secure_delete=ON in open_writer.
  2. Add schema 7 in store.py: a migration whose only effect is one VACUUM, so pages freed before secure_delete are scrubbed. VACUUM cannot run inside a transaction; run it outside the migration transaction and set user_version=7 after it.
  3. In graph.forget, inside the Forget transaction, decode each source_state row that holds pending, drop the forgotten Person's addresses, and write the row back encoded.
  4. In graph.forget, delete each derived Organisation, with its org_domains rows, that the forgotten Person related to, when no other Person relates to it and it has no asserted field.
  5. Tests:
    • extend C08: after Forget and a test-run wal_checkpoint(TRUNCATE) (no Litestream in tests), the forgotten address bytes are absent from the db file;
    • a legacy-mode Forget test that decompresses the source_state row and asserts absence;
    • a derived-Organisation test: an orphaned derived Organisation goes; one shared with another Person stays; one with an asserted field stays.
  6. Update README.md:141 to state the guarantee: physical erasure from the database file; backup residue lasts until retention removes it (ADR 0003 Amendment 1, rule 2).

Acceptance criteria

  • All tests pass, including the three new or extended tests.
  • An existing schema-6 store migrates to schema 7 on open, and a reader waits for the migration as today.

Filed under: operator word "accept/agree. yes. go" sha256:f76d6cac557a (#49 #50 grill)

## Outcome After Forget, no byte of the forgotten Person's Handles remains in the store's database file, the legacy pending checkpoint holds none of their addresses, and no derived Organisation that only they used remains. ## Context Parent: dev/people-mind-mcp#50. This is a child of that issue, not a blocker of it. The #50 grill (2026-11-04) ruled ADR 0003 Amendment 1, rules 1, 4 and 5. The amendment is on branch `docs/grill-49-50-amendments` (`a493728`); dispatch after it is on `main`. Restore-safe Tombstones (rule 3) are a separate issue. - `open_writer` (`src/people_mind_mcp/store.py:127-154`) sets only `journal_mode=WAL`, `foreign_keys=ON` and `busy_timeout=5000`. - `graph.forget` (`src/people_mind_mcp/graph.py:380-404`) does not touch `source_state`. In `legacy-text` mode the zlib pending checkpoint there (`sync.py:57-60`) is keyed by address (`sources/mailmind.py:168`). - `_derived_orgs` (`graph.py:208-225`) creates an Organisation and an `org_domains` row for each non-public email domain. - C08 checks raw bytes for signature and subject text only (`tests/test_mailpeer.py:924-925`). Do not add an application checkpoint or a per-Forget `VACUUM`. Litestream 0.3.13 holds a read lock to own checkpointing; an application `TRUNCATE` checkpoint returns busy or forces a new backup generation (ADR 0003 Amendment 1, rule 1). ## Scope 1. Set `PRAGMA secure_delete=ON` in `open_writer`. 2. Add schema 7 in `store.py`: a migration whose only effect is one `VACUUM`, so pages freed before `secure_delete` are scrubbed. `VACUUM` cannot run inside a transaction; run it outside the migration transaction and set `user_version=7` after it. 3. In `graph.forget`, inside the Forget transaction, decode each `source_state` row that holds `pending`, drop the forgotten Person's addresses, and write the row back encoded. 4. In `graph.forget`, delete each derived Organisation, with its `org_domains` rows, that the forgotten Person related to, when no other Person relates to it and it has no asserted field. 5. Tests: - extend C08: after Forget and a test-run `wal_checkpoint(TRUNCATE)` (no Litestream in tests), the forgotten address bytes are absent from the db file; - a legacy-mode Forget test that decompresses the `source_state` row and asserts absence; - a derived-Organisation test: an orphaned derived Organisation goes; one shared with another Person stays; one with an asserted field stays. 6. Update `README.md:141` to state the guarantee: physical erasure from the database file; backup residue lasts until retention removes it (ADR 0003 Amendment 1, rule 2). ## Acceptance criteria - All tests pass, including the three new or extended tests. - An existing schema-6 store migrates to schema 7 on open, and a reader waits for the migration as today. Filed under: operator word "accept/agree. yes. go" sha256:f76d6cac557a (#49 #50 grill)
Collaborator

⏸ SVD architect gate: dev/people-mind-mcp#54 forget-scrub-the-database-file-purge-the-legacy-checkpoint-a

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: 20261103T221217Z-d3ad4609

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

Open risks:

  1. ADR 0003 Amendment 1 rule 5 does not define 'relates to' or 'asserted field' for an Organisation, and nothing in src writes org_aliases or Relations to Organisations. The lean counts a fields(name='organisation', value=org_id) row or a relations.target_org_id row from another Person as 'relates', counts an org_aliases row as the asserted field, and requires an org_domains row for the Organisation to be 'derived'. Question: is org_aliases the intended 'asserted field'? And should the forgotten Person's own asserted Relation to the Organisation keep it? The lean says no: it cascades with the Person. [decision]
  2. Legacy-mode race: if a legacy-text pass's fetch fails after a concurrent Forget, run_pass writes the in-memory source.state back with the forgotten address still in pending (sync.py:114-121). The address stays until the next successful pass resets the checkpoint (sources/mailmind.py:264); ingest still skips it as tombstoned. The lean leaves this out of scope because Forget has no production caller yet. Question: should a follow-up make the legacy fetch-failure checkpoint re-filter against Tombstones? [decision]
  3. The one-time schema-7 VACUUM on a live Litestream-replicated store has not been measured. After the first deploy, check that peoplemind check prints store=ok schema=7, that Litestream logs show no new-generation or replication error around the migration, and record the time from writer start to /healthz/sync ok against the db size. [verification]
  4. The C08 raw-byte extension may not discriminate where SQLite is compiled with SECURE_DELETE (the Half-A sandbox python3, SQLite 3.53.3, defaults to secure_delete=1). In the Woodpecker make check image, run: uv run python3 -c "import sqlite3; print(sqlite3.connect(':memory:').execute('PRAGMA secure_delete').fetchone())". If it prints (1,), the explicit-OFF migration test is the only discriminating proof. [verification]

Change: store.py: add SECURE_DELETE/VACUUM constants beside the pragma constants at store.py:11-18 and execute PRAGMA secure_delete=ON after BUSY_TIMEOUT (store.py:134). Set SCHEMA_VERSION=7 but keep MIGRATIONS at six transactional entries, because tests/test_mailpeer.py:355 builds a v5 store with MIGRATIONS[:-1]. After the with transaction(conn) block in open_writer (store.py:135-145), add if version < SCHEMA_VERSION: running VACUUM, then PRAGMA user_version=7. Readers keep refusing store-schema-behind until then. graph.py: extend forget (graph.py:380-404) inside its existing transaction. (1) Collect email values in the existing handle loop. (2) A new _purge_legacy_pending helper decodes each source_state row with sync.decode_state, drops the forgotten addresses from pending, and rewrites the row with encode_state only when an address matched. It uses a function-local import of sync, since sync imports graph, following sync.py:69. (3) Collect candidate orgs from the Person's derived 'organisation' fields and target_org_id relations before DELETE_PERSON. After it, delete each org that has an org_domains row and no remaining fields/relations/org_aliases reference, relying on ON DELETE CASCADE for org_domains. Tests: extended C08 with a test-run wal_checkpoint(TRUNCATE) and a raw ADDRESS-bytes check; a new explicit-secure_delete=OFF v6→v7 migration test shaped like test_identity.py:382-400; a new derived-org test; a new parametrised legacy checkpoint test; flip test_identity.py:292 to 0; update the schema=6 literals in test_config_cli.py:119, test_embed.py:64, test_deploy.py:295,328 and README.md:141,177.

Files: src/people_mind_mcp/store.py · src/people_mind_mcp/graph.py · tests/test_identity.py · tests/test_mailmind.py · tests/test_mailpeer.py · tests/test_config_cli.py · tests/test_embed.py · tests/test_deploy.py · README.md

Decision: accept the 4 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/.local/state/exhaust/groupthink/specs/2026-11-03-forget-scrub-the-database-file-purge-the-legacy-checkpoint-a.md — next: codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/.local/state/exhaust/groupthink/specs/2026-11-03-forget-scrub-the-database-file-purge-the-legacy-checkpoint-a.md

### ⏸ SVD architect gate: dev/people-mind-mcp#54 forget-scrub-the-database-file-purge-the-legacy-checkpoint-a **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:** `20261103T221217Z-d3ad4609` **Held because:** CLEAN but 4 open risk(s) (2 verification · 2 decision) — HOLD-ALL parks everything. The risks, verbatim: **Open risks:** 1. ADR 0003 Amendment 1 rule 5 does not define 'relates to' or 'asserted field' for an Organisation, and nothing in src writes org_aliases or Relations to Organisations. The lean counts a fields(name='organisation', value=org_id) row or a relations.target_org_id row from another Person as 'relates', counts an org_aliases row as the asserted field, and requires an org_domains row for the Organisation to be 'derived'. Question: is org_aliases the intended 'asserted field'? And should the forgotten Person's own asserted Relation to the Organisation keep it? The lean says no: it cascades with the Person. [decision] 2. Legacy-mode race: if a legacy-text pass's fetch fails after a concurrent Forget, run_pass writes the in-memory source.state back with the forgotten address still in pending (sync.py:114-121). The address stays until the next successful pass resets the checkpoint (sources/mailmind.py:264); ingest still skips it as tombstoned. The lean leaves this out of scope because Forget has no production caller yet. Question: should a follow-up make the legacy fetch-failure checkpoint re-filter against Tombstones? [decision] 3. The one-time schema-7 VACUUM on a live Litestream-replicated store has not been measured. After the first deploy, check that `peoplemind check` prints store=ok schema=7, that Litestream logs show no new-generation or replication error around the migration, and record the time from writer start to /healthz/sync ok against the db size. [verification] 4. The C08 raw-byte extension may not discriminate where SQLite is compiled with SECURE_DELETE (the Half-A sandbox python3, SQLite 3.53.3, defaults to secure_delete=1). In the Woodpecker make check image, run: uv run python3 -c "import sqlite3; print(sqlite3.connect(':memory:').execute('PRAGMA secure_delete').fetchone())". If it prints (1,), the explicit-OFF migration test is the only discriminating proof. [verification] **Change:** store.py: add SECURE_DELETE/VACUUM constants beside the pragma constants at store.py:11-18 and execute PRAGMA secure_delete=ON after BUSY_TIMEOUT (store.py:134). Set SCHEMA_VERSION=7 but keep MIGRATIONS at six transactional entries, because tests/test_mailpeer.py:355 builds a v5 store with MIGRATIONS[:-1]. After the `with transaction(conn)` block in open_writer (store.py:135-145), add `if version < SCHEMA_VERSION:` running VACUUM, then PRAGMA user_version=7. Readers keep refusing store-schema-behind until then. graph.py: extend forget (graph.py:380-404) inside its existing transaction. (1) Collect email values in the existing handle loop. (2) A new _purge_legacy_pending helper decodes each source_state row with sync.decode_state, drops the forgotten addresses from `pending`, and rewrites the row with encode_state only when an address matched. It uses a function-local import of sync, since sync imports graph, following sync.py:69. (3) Collect candidate orgs from the Person's derived 'organisation' fields and target_org_id relations before DELETE_PERSON. After it, delete each org that has an org_domains row and no remaining fields/relations/org_aliases reference, relying on ON DELETE CASCADE for org_domains. Tests: extended C08 with a test-run wal_checkpoint(TRUNCATE) and a raw ADDRESS-bytes check; a new explicit-secure_delete=OFF v6→v7 migration test shaped like test_identity.py:382-400; a new derived-org test; a new parametrised legacy checkpoint test; flip test_identity.py:292 to 0; update the schema=6 literals in test_config_cli.py:119, test_embed.py:64, test_deploy.py:295,328 and README.md:141,177. **Files:** `src/people_mind_mcp/store.py` · `src/people_mind_mcp/graph.py` · `tests/test_identity.py` · `tests/test_mailmind.py` · `tests/test_mailpeer.py` · `tests/test_config_cli.py` · `tests/test_embed.py` · `tests/test_deploy.py` · `README.md` **Decision:** accept the 4 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/.local/state/exhaust/groupthink/specs/2026-11-03-forget-scrub-the-database-file-purge-the-legacy-checkpoint-a.md` — next: `codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/.local/state/exhaust/groupthink/specs/2026-11-03-forget-scrub-the-database-file-purge-the-legacy-checkpoint-a.md`</sub>
Collaborator

⏸ SVD architect gate: dev/people-mind-mcp#54 forget-scrub-the-database-file-purge-the-legacy-checkpoint-a

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: 20261103T234004Z-6d10a837

Held because: CLEAN but 1 open risk(s) (1 verification) — HOLD-ALL parks everything. The risks, verbatim:

Open risks:

  1. The one-time schema-7 VACUUM on a live Litestream-replicated store is unmeasured. Changed since the prior attempt: the architect ruled this a post-deploy check, not a merge gate, so it ships as a PR-body operator checklist. After the first deploy, check that peoplemind check --config … prints store=ok schema=7, that the Litestream logs show no new-generation or replication error around the migration, and record the time from writer start to /healthz/sync ok against the db size. [verification]

Change: store.py: add SECURE_DELETE/VACUUM/user_version=7 constants beside store.py:11-18 and execute PRAGMA secure_delete=ON after BUSY_TIMEOUT (store.py:134). Set SCHEMA_VERSION=7. Keep MIGRATIONS at six transactional entries, because tests/test_mailpeer.py:355 treats MIGRATIONS[:-1] as a v5 store. After the with transaction(conn) block in open_writer (store.py:135-145), add if version < SCHEMA_VERSION: that runs VACUUM and then sets user_version=7, in autocommit (isolation_level=None). Readers keep refusing store-schema-behind until then. graph.py: extend forget (graph.py:380-404) inside its existing transaction: (1) collect email values in the existing handle loop; (2) a new _purge_legacy_pending helper decodes each source_state row with sync.decode_state, drops the forgotten addresses from pending and rewrites the row with encode_state only when an address matched, using a function-local import of sync because sync imports graph (precedent sync.py:69,661); (3) before DELETE_PERSON, collect candidate orgs from the Person's derived 'organisation' fields and target_org_id relations; after it, delete each org that has an org_domains row and no remaining fields/relations/org_aliases reference, with ON DELETE CASCADE removing org_domains. These definitions were approved by the architect at the prior gate. Tests: extend C08 (test_mailpeer.py:911-968) with a test-run wal_checkpoint(TRUNCATE) and a raw ADDRESS-bytes check; add an explicit-secure_delete=OFF v6→v7 migration test shaped like test_identity.py:382-400; add a derived-org test; add a parametrised legacy checkpoint test (zlib and rc4 text); flip test_identity.py:292 to 0; update the schema-6 literals in test_config_cli.py:119, test_embed.py:64, test_deploy.py:295,328 and README.md:141,177.

Files: src/people_mind_mcp/store.py · src/people_mind_mcp/graph.py · tests/test_identity.py · tests/test_mailmind.py · tests/test_mailpeer.py · tests/test_config_cli.py · tests/test_embed.py · tests/test_deploy.py · README.md

Decision: accept the 1 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/.local/state/exhaust/groupthink/specs/2026-11-03-forget-scrub-the-database-file-purge-the-legacy-checkpoint-a.md — next: codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/.local/state/exhaust/groupthink/specs/2026-11-03-forget-scrub-the-database-file-purge-the-legacy-checkpoint-a.md

### ⏸ SVD architect gate: dev/people-mind-mcp#54 forget-scrub-the-database-file-purge-the-legacy-checkpoint-a **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:** `20261103T234004Z-6d10a837` **Held because:** CLEAN but 1 open risk(s) (1 verification) — HOLD-ALL parks everything. The risks, verbatim: **Open risks:** 1. The one-time schema-7 VACUUM on a live Litestream-replicated store is unmeasured. Changed since the prior attempt: the architect ruled this a post-deploy check, not a merge gate, so it ships as a PR-body operator checklist. After the first deploy, check that `peoplemind check --config …` prints `store=ok schema=7`, that the Litestream logs show no new-generation or replication error around the migration, and record the time from writer start to /healthz/sync ok against the db size. [verification] **Change:** store.py: add SECURE_DELETE/VACUUM/user_version=7 constants beside store.py:11-18 and execute PRAGMA secure_delete=ON after BUSY_TIMEOUT (store.py:134). Set SCHEMA_VERSION=7. Keep MIGRATIONS at six transactional entries, because tests/test_mailpeer.py:355 treats MIGRATIONS[:-1] as a v5 store. After the `with transaction(conn)` block in open_writer (store.py:135-145), add `if version < SCHEMA_VERSION:` that runs VACUUM and then sets user_version=7, in autocommit (isolation_level=None). Readers keep refusing store-schema-behind until then. graph.py: extend forget (graph.py:380-404) inside its existing transaction: (1) collect email values in the existing handle loop; (2) a new _purge_legacy_pending helper decodes each source_state row with sync.decode_state, drops the forgotten addresses from `pending` and rewrites the row with encode_state only when an address matched, using a function-local import of sync because sync imports graph (precedent sync.py:69,661); (3) before DELETE_PERSON, collect candidate orgs from the Person's derived 'organisation' fields and target_org_id relations; after it, delete each org that has an org_domains row and no remaining fields/relations/org_aliases reference, with ON DELETE CASCADE removing org_domains. These definitions were approved by the architect at the prior gate. Tests: extend C08 (test_mailpeer.py:911-968) with a test-run wal_checkpoint(TRUNCATE) and a raw ADDRESS-bytes check; add an explicit-secure_delete=OFF v6→v7 migration test shaped like test_identity.py:382-400; add a derived-org test; add a parametrised legacy checkpoint test (zlib and rc4 text); flip test_identity.py:292 to 0; update the schema-6 literals in test_config_cli.py:119, test_embed.py:64, test_deploy.py:295,328 and README.md:141,177. **Files:** `src/people_mind_mcp/store.py` · `src/people_mind_mcp/graph.py` · `tests/test_identity.py` · `tests/test_mailmind.py` · `tests/test_mailpeer.py` · `tests/test_config_cli.py` · `tests/test_embed.py` · `tests/test_deploy.py` · `README.md` **Decision:** accept the 1 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/.local/state/exhaust/groupthink/specs/2026-11-03-forget-scrub-the-database-file-purge-the-legacy-checkpoint-a.md` — next: `codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/.local/state/exhaust/groupthink/specs/2026-11-03-forget-scrub-the-database-file-purge-the-legacy-checkpoint-a.md`</sub>
Collaborator

spec-verify-dispatch Half B for dev/people-mind-mcp#54 forget-scrub-the-database-file-purge-the-legacy-checkpoint-a completed integration verify.

  • PR: #63
  • Branch: feat/svd-dev-people-mind-mcp-54-forget-scrub-the-database-fil-e6d768fb
  • Commit: 52f552ea0f
  • Build: none
  • Test: green
  • Reader audit clean: True
  • Spec fidelity: True
  • Ready for merge: False
  • Check ci/woodpecker/pr/validation: pending https://ci.groupthink.asia/repos/73/pipeline/26/1
  • Checks: PR #63 head 52f552e: ci/woodpecker/pr/validation pending. Local: make check green (387 passed, 5 skipped). One blocker: PR body lacks the post-deploy checklist.
  • Blocker: PR metadata: add the required post-deploy checklist to the PR body: verify peoplemind check reports store=ok schema=7; check Litestream logs for new-generation or replication errors around migration; record writer-start-to-/healthz/sync-ok duration against database size. Note that container deployment integration tests (make test-integration) remain for the container-capable host.
  • Blocker cause: work for PR metadata: add the required post-deploy checklist to the PR body: verify peoplemind check reports store=ok schema=7; check Litestream logs for new-generation or replication errors around migration; record writer-start-to-/healthz/sync-ok duration against database size. Note that container deployment integration tests (make test-integration) remain for the container-capable host.; no denial signature; evidence: PR #63 body (694 chars) contains no 'Litestream', 'healthz' or 'store=ok'; the subagent deviations require the checklist in the PR body.
  • Warning: Remote check ci/woodpecker/pr/validation is still pending on 52f552e; the runner must re-poll it.
  • Warning: self-review: README wording could imply VACUUM runs on every writer open -> fixed (README describes VACUUM as one-time).
  • Warning: Worktree HEAD 0dc6998 differs from the spec baseCommit 2788842; the subagent measured the baseline at the supplied HEAD (383 passed, 5 skipped, 4 deselected). Verified here: 387 passed, 5 skipped, 4 deselected.
  • Warning: tests/test_deploy.py literal edits are integration-marked and unverified here; they need make test-integration on a container-capable host.
  • Warning: The one-time VACUUM runs after the migration transaction and before user_version=7. A crash between them leaves the store at version 6, so the next writer open retries it. Writer start time scales with database size.
  • Rework: 0 round(s), outcome metadata-hold
  • Escalation: PR metadata blocker(s) hold the run without code rework: PR metadata: add the required post-deploy checklist to the PR body: verify peoplemind check reports store=ok schema=7; check Litestream logs for new-generation or replication errors around migration; record writer-start-to-/healthz/sync-ok duration against database size. Note that container deployment integration tests (make test-integration) remain for the container-capable host.; edit the PR title or body by hand, then re-run integrate or run the own-execution gate.
  • Decision: resolve the blockers above and rerun integrate, or park this PR for a human?
spec-verify-dispatch Half B for dev/people-mind-mcp#54 forget-scrub-the-database-file-purge-the-legacy-checkpoint-a completed integration verify. - PR: https://git.groupthink.asia/dev/people-mind-mcp/pulls/63 - Branch: feat/svd-dev-people-mind-mcp-54-forget-scrub-the-database-fil-e6d768fb - Commit: 52f552ea0f522f45879c8536ce8064764338ed74 - Build: none - Test: green - Reader audit clean: True - Spec fidelity: True - Ready for merge: False - Check ci/woodpecker/pr/validation: pending https://ci.groupthink.asia/repos/73/pipeline/26/1 - Checks: PR #63 head 52f552e: ci/woodpecker/pr/validation pending. Local: make check green (387 passed, 5 skipped). One blocker: PR body lacks the post-deploy checklist. - Blocker: PR metadata: add the required post-deploy checklist to the PR body: verify `peoplemind check` reports store=ok schema=7; check Litestream logs for new-generation or replication errors around migration; record writer-start-to-/healthz/sync-ok duration against database size. Note that container deployment integration tests (make test-integration) remain for the container-capable host. - Blocker cause: work for PR metadata: add the required post-deploy checklist to the PR body: verify `peoplemind check` reports store=ok schema=7; check Litestream logs for new-generation or replication errors around migration; record writer-start-to-/healthz/sync-ok duration against database size. Note that container deployment integration tests (make test-integration) remain for the container-capable host.; no denial signature; evidence: PR #63 body (694 chars) contains no 'Litestream', 'healthz' or 'store=ok'; the subagent deviations require the checklist in the PR body. - Warning: Remote check ci/woodpecker/pr/validation is still pending on 52f552e; the runner must re-poll it. - Warning: self-review: README wording could imply VACUUM runs on every writer open -> fixed (README describes VACUUM as one-time). - Warning: Worktree HEAD 0dc6998 differs from the spec baseCommit 2788842; the subagent measured the baseline at the supplied HEAD (383 passed, 5 skipped, 4 deselected). Verified here: 387 passed, 5 skipped, 4 deselected. - Warning: tests/test_deploy.py literal edits are integration-marked and unverified here; they need make test-integration on a container-capable host. - Warning: The one-time VACUUM runs after the migration transaction and before user_version=7. A crash between them leaves the store at version 6, so the next writer open retries it. Writer start time scales with database size. - Rework: 0 round(s), outcome metadata-hold - Escalation: PR metadata blocker(s) hold the run without code rework: PR metadata: add the required post-deploy checklist to the PR body: verify `peoplemind check` reports store=ok schema=7; check Litestream logs for new-generation or replication errors around migration; record writer-start-to-/healthz/sync-ok duration against database size. Note that container deployment integration tests (make test-integration) remain for the container-capable host.; edit the PR title or body by hand, then re-run integrate or run the own-execution gate. - Decision: resolve the blockers above and rerun integrate, or park this PR for a human?
Collaborator

spec-verify-dispatch Half B for dev/people-mind-mcp#54 forget-scrub-the-database-file-purge-the-legacy-checkpoint-a completed integration verify.

  • PR: #63
  • Branch: feat/svd-dev-people-mind-mcp-54-forget-scrub-the-database-fil-e6d768fb
  • Commit: 52f552ea0f
  • 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/73/pipeline/26/1
  • Checks: PR #63 head 52f552e: ci/woodpecker/pr/validation green (combined status success). Local filtered run 32 passed. make check: 387 passed, 5 skipped, 4 deselected.
  • Warning: Container deployment integration tests (make test-integration, tests/test_deploy.py literal edits) not run; need a container-capable host.
  • Warning: The one-time VACUUM on first writer open was not measured on a production-sized store; the PR body carries the post-deploy checklist (peoplemind check store=ok schema=7; Litestream logs; writer-start-to-/healthz/sync-ok duration vs db size).
  • Warning: Worktree HEAD 0dc6998 differed from spec base 2788842; spec hashes matched per subagent, and the PR head is 52f552e.
  • Warning: The Test Strategy table uses Coverage|Test|Kind columns, not Suite/filter; each named test was traced against the spec's filtered collection and all collected.
  • Decision: review the PR and merge? (codex-svd ship --run-id 20261104T004857Z-e6d768fb --confirm-merge)
spec-verify-dispatch Half B for dev/people-mind-mcp#54 forget-scrub-the-database-file-purge-the-legacy-checkpoint-a completed integration verify. - PR: https://git.groupthink.asia/dev/people-mind-mcp/pulls/63 - Branch: feat/svd-dev-people-mind-mcp-54-forget-scrub-the-database-fil-e6d768fb - Commit: 52f552ea0f522f45879c8536ce8064764338ed74 - 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/73/pipeline/26/1 - Checks: PR #63 head 52f552e: ci/woodpecker/pr/validation green (combined status success). Local filtered run 32 passed. make check: 387 passed, 5 skipped, 4 deselected. - Warning: Container deployment integration tests (make test-integration, tests/test_deploy.py literal edits) not run; need a container-capable host. - Warning: The one-time VACUUM on first writer open was not measured on a production-sized store; the PR body carries the post-deploy checklist (peoplemind check store=ok schema=7; Litestream logs; writer-start-to-/healthz/sync-ok duration vs db size). - Warning: Worktree HEAD 0dc6998 differed from spec base 2788842; spec hashes matched per subagent, and the PR head is 52f552e. - Warning: The Test Strategy table uses Coverage|Test|Kind columns, not Suite/filter; each named test was traced against the spec's filtered collection and all collected. - Decision: review the PR and merge? (`codex-svd ship --run-id 20261104T004857Z-e6d768fb --confirm-merge`)
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/people-mind-mcp#54
No description provided.