Change feed slice B: legend cap, Python pin, config inode, NUL paths and the #54 notes #65

Closed
opened 2026-11-15 04:06:34 +00:00 by svc-agent-writer · 3 comments

Slice B of #54. The #54 spec cut the issue into two slices because the whole issue writes about 21 files, over the 16-file limit. #54 closes with slice A (the feed ack lock, secret-value comparison, ruling 2B, the doc items and test gaps 14 to 19). The items below are copied from #54 unchanged. Spec it after slice A merges, because it rewrites store.py, views.py, startup.py and tests/test_server.py, which slice A also writes.

Should fix

  1. A legend names every speaker on the page. row() caps each cell at LEGEND_CHARS, not the line. A feed page of 100 events from 100 senders gives one legend line of about 6,700 characters; the transcript legend _legend has the same property. Check this against the README page budget and decide on a cap with a +N cell.
  2. requires-python = ">=3.12" admits 3.13, where Path.resolve() does not raise on a symlink loop. The image and .python-version pin 3.12. On 3.13 a looped secret path answers secret-unreadable, or nothing under a verb that does not open it, and the secret-path-invalid test and sentence no longer hold. No path leaks. Fix: pin <3.13, or detect ELOOP with os.stat in load_config.
  3. A hard link from a secret path to the config file is not detected. The config check compares resolved paths only. Add the config file's device and inode to _refuse_shared_secret_files, or document the limit.
  4. A NUL in store.path crashes sync with a traceback (store.py create_private, raised from open_writer). This is older than PR #53. Catch ValueError there, and check tombstone_path too.

Notes

  • feed_needs_auth adds a second, false feed location when [auth] itself fails validation.
  • A secret file's owner is not checked, only its mode (kit/secrets.py); README says "owner-only file". This is a *secret* path: operator surface.
  • With the prefix prune rule, a sync-host clock that steps forward then back leaves one future-stamped event that blocks every later prune until it ages out.
  • A WAL checkpoint can run on the positions connection.
  • ADR 0010 Amendment 1 item 4 says "older than the oldest kept event", which would also flag a position equal to the floor. The code (start < floor) correctly does not. The ADR wording only.

Scope notes

  • The secret-file owner check names kit/secrets.py, a *secret* path. Its merge is T4. The Kubernetes pod copies secrets through init containers (deploy/k8s/base/messagesmind.yaml:27-48), so an owner rule must hold for those copies too.
  • The feed_needs_auth note may already be fixed (config.py:211-213). Prove it with a test, or close the note.
  • The ADR 0010 Amendment 1 wording is an ADR, an operator surface. Draft the change for the operator; do not edit the ADR.

Acceptance criteria

  • Items 8 to 11 are fixed, or each has a recorded decision.
  • Each note is fixed, or has a recorded decision.

The operator accepted these decisions on 2026-11-16 ("Yes, do it your way"). Both blockers, #54 and #69, are closed. This issue is now ready for an agent.

Triage decisions (2026-11-16)

Items

  • Item 8 (legend size). Cap the feed legend (views.py:383) and the transcript legend (_legend) at LEGEND_HANDLES (12) handles, with a +N cell for the rest. Speakers on the page are named first. Add a test: a feed page of 100 events from 100 senders stays inside the README messages_changes budget. Trade-off accepted: on a page with more than 12 senders, the extra senders show only as pN.
  • Item 9 (Python 3.13 symlink loop). Keep requires-python = ">=3.12". Detect a symlink loop with os.stat (ELOOP) wherever a secret path is resolved, and refuse it with secret-path-invalid. A test makes a looped secret path and asserts the code on the running Python.
  • Item 10 (hard link to the config file). Add the config file's device and inode to _refuse_shared_secret_files (startup.py). A secret that is a hard link of the config file is refused with secret-file-shared and names config.
  • Item 11 (NUL in a store path). Refuse a NUL in every store path at config load, tombstone_path and tombstone_export_path included. The refusal uses a named code and the config location. check and sync both refuse it, with no traceback.

Notes

  • feed_needs_auth false location. Add a test that an invalid [auth] gives only the auth location. If the test passes on the current code, the note is closed.
  • WAL checkpoint on the positions connection. Turn off auto-checkpoint on the positions connection, so that only the sync writer checkpoints. The spec must show that the WAL still has a bound when sync is not running.
  • Clock step blocks the prune. Document it as a known limit in the README. It clears without help when the future-stamped event ages out. Pruning only reclaims space.
  • Secret-file owner check. Moved to #79. It is out of scope here.
  • ADR 0010 Amendment 1 item 4 wording. The code (start < floor) is correct. Do not edit the ADR. The draft below is for the operator and mind-spec to ratify.

ADR wording draft (not applied)

Current text:

A Consumer whose position is older than the oldest kept event gets a normal page that says behind-retention and holds no rows.

Proposed text:

A Consumer whose next event to read was pruned, so that its position is before the oldest kept event, gets a normal page that says behind-retention and holds no rows. A position at the oldest kept event is not behind.

Scope

  • Items 8 to 11 and the notes on the feed check, the WAL and the prune limit.
  • Out of scope: the owner check (#79) and any edit under docs/adr/ or .woodpecker/.

Blocked by

  • #54
  • #69 (writes startup.py; ordered first at the #68 triage)

Filed under: operator word "accept / apply svd:go on #54" sha256:bafef2a74a6e

Slice B of #54. The #54 spec cut the issue into two slices because the whole issue writes about 21 files, over the 16-file limit. #54 closes with slice A (the feed ack lock, secret-value comparison, ruling 2B, the doc items and test gaps 14 to 19). The items below are copied from #54 unchanged. Spec it after slice A merges, because it rewrites `store.py`, `views.py`, `startup.py` and `tests/test_server.py`, which slice A also writes. ## Should fix 8. **A legend names every speaker on the page.** `row()` caps each cell at `LEGEND_CHARS`, not the line. A feed page of 100 events from 100 senders gives one legend line of about 6,700 characters; the transcript legend `_legend` has the same property. Check this against the README page budget and decide on a cap with a `+N` cell. 9. **`requires-python = ">=3.12"` admits 3.13, where `Path.resolve()` does not raise on a symlink loop.** The image and `.python-version` pin 3.12. On 3.13 a looped secret path answers `secret-unreadable`, or nothing under a verb that does not open it, and the `secret-path-invalid` test and sentence no longer hold. No path leaks. Fix: pin `<3.13`, or detect `ELOOP` with `os.stat` in `load_config`. 10. **A hard link from a secret path to the config file is not detected.** The config check compares resolved paths only. Add the config file's device and inode to `_refuse_shared_secret_files`, or document the limit. 11. **A NUL in `store.path` crashes `sync` with a traceback** (`store.py` `create_private`, raised from `open_writer`). This is older than PR #53. Catch `ValueError` there, and check `tombstone_path` too. ## Notes - `feed_needs_auth` adds a second, false `feed` location when `[auth]` itself fails validation. - A secret file's owner is not checked, only its mode (`kit/secrets.py`); README says "owner-only file". This is a `*secret*` path: operator surface. - With the prefix prune rule, a sync-host clock that steps forward then back leaves one future-stamped event that blocks every later prune until it ages out. - A WAL checkpoint can run on the positions connection. - ADR 0010 Amendment 1 item 4 says "older than the oldest kept event", which would also flag a position equal to the floor. The code (`start < floor`) correctly does not. The ADR wording only. ## Scope notes - The secret-file owner check names `kit/secrets.py`, a `*secret*` path. Its merge is T4. The Kubernetes pod copies secrets through init containers (`deploy/k8s/base/messagesmind.yaml:27-48`), so an owner rule must hold for those copies too. - The `feed_needs_auth` note may already be fixed (`config.py:211-213`). Prove it with a test, or close the note. - The ADR 0010 Amendment 1 wording is an ADR, an operator surface. Draft the change for the operator; do not edit the ADR. ## Acceptance criteria - Items 8 to 11 are fixed, or each has a recorded decision. - Each note is fixed, or has a recorded decision. The operator accepted these decisions on 2026-11-16 ("Yes, do it your way"). Both blockers, #54 and #69, are closed. This issue is now ready for an agent. ## Triage decisions (2026-11-16) #### Items - **Item 8 (legend size).** Cap the feed legend (`views.py:383`) and the transcript legend (`_legend`) at `LEGEND_HANDLES` (12) handles, with a `+N` cell for the rest. Speakers on the page are named first. Add a test: a feed page of 100 events from 100 senders stays inside the README `messages_changes` budget. Trade-off accepted: on a page with more than 12 senders, the extra senders show only as `pN`. - **Item 9 (Python 3.13 symlink loop).** Keep `requires-python = ">=3.12"`. Detect a symlink loop with `os.stat` (`ELOOP`) wherever a secret path is resolved, and refuse it with `secret-path-invalid`. A test makes a looped secret path and asserts the code on the running Python. - **Item 10 (hard link to the config file).** Add the config file's device and inode to `_refuse_shared_secret_files` (`startup.py`). A secret that is a hard link of the config file is refused with `secret-file-shared` and names `config`. - **Item 11 (NUL in a store path).** Refuse a NUL in every store path at config load, `tombstone_path` and `tombstone_export_path` included. The refusal uses a named code and the config location. `check` and `sync` both refuse it, with no traceback. #### Notes - **`feed_needs_auth` false location.** Add a test that an invalid `[auth]` gives only the `auth` location. If the test passes on the current code, the note is closed. - **WAL checkpoint on the positions connection.** Turn off auto-checkpoint on the positions connection, so that only the `sync` writer checkpoints. The spec must show that the WAL still has a bound when `sync` is not running. - **Clock step blocks the prune.** Document it as a known limit in the README. It clears without help when the future-stamped event ages out. Pruning only reclaims space. - **Secret-file owner check.** Moved to #79. It is out of scope here. - **ADR 0010 Amendment 1 item 4 wording.** The code (`start < floor`) is correct. Do not edit the ADR. The draft below is for the operator and mind-spec to ratify. ### ADR wording draft (not applied) Current text: > A Consumer whose position is older than the oldest kept event gets a normal page that says `behind-retention` and holds no rows. Proposed text: > A Consumer whose next event to read was pruned, so that its position is before the oldest kept event, gets a normal page that says `behind-retention` and holds no rows. A position at the oldest kept event is not behind. ### Scope - Items 8 to 11 and the notes on the feed check, the WAL and the prune limit. - Out of scope: the owner check (#79) and any edit under `docs/adr/` or `.woodpecker/`. ## Blocked by - #54 - #69 (writes `startup.py`; ordered first at the #68 triage) --- Filed under: operator word "accept / apply svd:go on #54" sha256:bafef2a74a6e
Author
Member

This was generated by AI during triage.

The operator accepted these decisions on 2026-11-16 ("Yes, do it your way"). Both blockers, #54 and #69, are closed. This issue is now ready for an agent.

Decisions

Items

  • Item 8 (legend size). Cap the feed legend (views.py:383) and the transcript legend (_legend) at LEGEND_HANDLES (12) handles, with a +N cell for the rest. Speakers on the page are named first. Add a test: a feed page of 100 events from 100 senders stays inside the README messages_changes budget. Trade-off accepted: on a page with more than 12 senders, the extra senders show only as pN.
  • Item 9 (Python 3.13 symlink loop). Keep requires-python = ">=3.12". Detect a symlink loop with os.stat (ELOOP) wherever a secret path is resolved, and refuse it with secret-path-invalid. A test makes a looped secret path and asserts the code on the running Python.
  • Item 10 (hard link to the config file). Add the config file's device and inode to _refuse_shared_secret_files (startup.py). A secret that is a hard link of the config file is refused with secret-file-shared and names config.
  • Item 11 (NUL in a store path). Refuse a NUL in every store path at config load, tombstone_path and tombstone_export_path included. The refusal uses a named code and the config location. check and sync both refuse it, with no traceback.

Notes

  • feed_needs_auth false location. Add a test that an invalid [auth] gives only the auth location. If the test passes on the current code, the note is closed.
  • WAL checkpoint on the positions connection. Turn off auto-checkpoint on the positions connection, so that only the sync writer checkpoints. The spec must show that the WAL still has a bound when sync is not running.
  • Clock step blocks the prune. Document it as a known limit in the README. It clears without help when the future-stamped event ages out. Pruning only reclaims space.
  • Secret-file owner check. Moved to #79. It is out of scope here.
  • ADR 0010 Amendment 1 item 4 wording. The code (start < floor) is correct. Do not edit the ADR. The draft below is for the operator and mind-spec to ratify.

ADR wording draft (not applied)

Current text:

A Consumer whose position is older than the oldest kept event gets a normal page that says behind-retention and holds no rows.

Proposed text:

A Consumer whose next event to read was pruned, so that its position is before the oldest kept event, gets a normal page that says behind-retention and holds no rows. A position at the oldest kept event is not behind.

Scope

  • Items 8 to 11 and the notes on the feed check, the WAL and the prune limit.
  • Out of scope: the owner check (#79) and any edit under docs/adr/ or .woodpecker/.
> *This was generated by AI during triage.* The operator accepted these decisions on 2026-11-16 ("Yes, do it your way"). Both blockers, #54 and #69, are closed. This issue is now ready for an agent. ## Decisions ### Items - **Item 8 (legend size).** Cap the feed legend (`views.py:383`) and the transcript legend (`_legend`) at `LEGEND_HANDLES` (12) handles, with a `+N` cell for the rest. Speakers on the page are named first. Add a test: a feed page of 100 events from 100 senders stays inside the README `messages_changes` budget. Trade-off accepted: on a page with more than 12 senders, the extra senders show only as `pN`. - **Item 9 (Python 3.13 symlink loop).** Keep `requires-python = ">=3.12"`. Detect a symlink loop with `os.stat` (`ELOOP`) wherever a secret path is resolved, and refuse it with `secret-path-invalid`. A test makes a looped secret path and asserts the code on the running Python. - **Item 10 (hard link to the config file).** Add the config file's device and inode to `_refuse_shared_secret_files` (`startup.py`). A secret that is a hard link of the config file is refused with `secret-file-shared` and names `config`. - **Item 11 (NUL in a store path).** Refuse a NUL in every store path at config load, `tombstone_path` and `tombstone_export_path` included. The refusal uses a named code and the config location. `check` and `sync` both refuse it, with no traceback. ### Notes - **`feed_needs_auth` false location.** Add a test that an invalid `[auth]` gives only the `auth` location. If the test passes on the current code, the note is closed. - **WAL checkpoint on the positions connection.** Turn off auto-checkpoint on the positions connection, so that only the `sync` writer checkpoints. The spec must show that the WAL still has a bound when `sync` is not running. - **Clock step blocks the prune.** Document it as a known limit in the README. It clears without help when the future-stamped event ages out. Pruning only reclaims space. - **Secret-file owner check.** Moved to #79. It is out of scope here. - **ADR 0010 Amendment 1 item 4 wording.** The code (`start < floor`) is correct. Do not edit the ADR. The draft below is for the operator and mind-spec to ratify. ## ADR wording draft (not applied) Current text: > A Consumer whose position is older than the oldest kept event gets a normal page that says `behind-retention` and holds no rows. Proposed text: > A Consumer whose next event to read was pruned, so that its position is before the oldest kept event, gets a normal page that says `behind-retention` and holds no rows. A position at the oldest kept event is not behind. ## Scope - Items 8 to 11 and the notes on the feed check, the WAL and the prune limit. - Out of scope: the owner check (#79) and any edit under `docs/adr/` or `.woodpecker/`.
Collaborator

⏸ SVD architect gate: dev/messages-mind-mcp#65 change-feed-slice-b-legend-cap-python-pin-config-inode-nul-p

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: 20261115T235304Z-c5d85334

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

Open risks:

  1. Item 11 code: the lean refuses a NUL in a store path with the existing config-validation at store.path, store.tombstone_path or store.tombstone_export_path. This matches the other field refusals and the export path's current NUL behaviour, and adds no code-table row. Question: is that the 'named code' the ruling meant, or should there be a new code such as store-path-invalid, with README code tables and a test? [decision]
  2. Item 8: when a page has more than 12 speakers, the lean names the 12 lowest handle ids. This is deterministic and matches the id-ordered rendering. The alternative is the first 12 in page order. Question: accept lowest ids? [decision]
  3. WAL note: with wal_autocheckpoint=0, the positions connection still runs SQLite's close-time checkpoint when it is the last connection on the store. That checkpoint is the WAL bound while sync is stopped. Suppressing it too (SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE) would make 'only the sync writer checkpoints' literally true, but would leave the WAL unbounded while sync is stopped. Question: accept 'no auto-checkpoint, close-time checkpoint kept' as the reading of the ruling? [decision]
  4. The close-time WAL removal was measured with stdlib sqlite3 3.53.3 on the host (3000 positions commits with a reader open gave a 12,360,032-byte WAL; after the last positions close the -wal file was gone), not with sqlcipher3. Check in CI: test_the_wal_is_bounded_when_sync_is_not_running passes on sqlcipher3, and sqlcipher3 connections support set_trace_callback (otherwise use the fallback in the spec's Test Strategy and report it in deviations). [verification]
  5. CI pins python:3.12-slim-bookworm (Containerfile, .woodpecker/validation.yaml; .woodpecker/ is out of scope), so the ELOOP fix is proven on 3.12 only by simulating 3.13's non-raising Path.resolve. Check after merge: on a 3.13+ interpreter, run uv run --python 3.13 python3 -m pytest tests/test_config_cli.py -k loop and confirm secret-path-invalid for each verb. [verification]
  6. Out of scope but seen: feeder.socket (config.py:148) is a configured path with no NUL check, and it is not one of item 11's store paths. Question: file a follow-up issue, or leave it? [decision]

Change: Item 8: in views.changes (views.py:381-383) name sorted(speakers)[:LEGEND_HANDLES] and append a '+N' cell. This mirrors the +N tail of _legend (views.py:209-212). In _legend (views.py:198-212), cap named speakers at LEGEND_HANDLES (lowest ids), fill with non-speaking members, and make +N count the members and speakers it does not name. Output is byte-identical at 12 speakers or fewer. Item 9: after secret.resolve() in load_config (config.py:258-265), call os.stat and refuse errno ELOOP with secret-path-invalid. Also make startup._refuse_shared_secret_files (startup.py:72-78) raise secret-path-invalid on ELOOP instead of continuing. requires-python stays >=3.12. Item 10: _refuse_shared_secret_files(cfg, config_path) adds os.stat(config_path) dev/ino as 'config' to held, so a hard link answers secret-file-shared at config,. start() passes config_path, and the only other caller, tests/test_config_cli.py:350, is updated. Item 11: an after-mode field_validator on StoreConfig (config.py:55-60) refuses a NUL in path, tombstone_path and tombstone_export_path. It maps to config-validation at store. through the existing ValidationError mapping (config.py:246-255), before host.report, open_writer or path_stat. store.py gets no item-11 change. WAL note: in store._open_guarded (store.py:266-283), run PRAGMA wal_autocheckpoint=0 for open_positions only, before set_authorizer (the guard denies PRAGMA), following the shape of the busy parameter. The close-time checkpoint is kept as the bound when sync is stopped. Docs: README:34/352/399 and SECURITY.md:5/37/64 sentences (the legend cap, the hard link of the config, the symlink loop, the prune clock known limit, no positions auto-checkpoint). Every sentence the doc tests already assert stays as it is.

Files: src/messages_mind_mcp/views.py · src/messages_mind_mcp/config.py · src/messages_mind_mcp/startup.py · src/messages_mind_mcp/store.py · README.md · SECURITY.md · tests/test_views.py · tests/test_server.py · tests/test_config_cli.py · tests/test_store.py · tests/test_feed.py

Decision: accept the 6 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-16-change-feed-slice-b-legend-cap-python-pin-config-inode-nul-p.md — next: codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/.local/state/exhaust/groupthink/specs/2026-11-16-change-feed-slice-b-legend-cap-python-pin-config-inode-nul-p.md

### ⏸ SVD architect gate: dev/messages-mind-mcp#65 change-feed-slice-b-legend-cap-python-pin-config-inode-nul-p **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:** `20261115T235304Z-c5d85334` **Held because:** CLEAN but 6 open risk(s) (2 verification · 4 decision) — HOLD-ALL parks everything. The risks, verbatim: **Open risks:** 1. Item 11 code: the lean refuses a NUL in a store path with the existing config-validation at store.path, store.tombstone_path or store.tombstone_export_path. This matches the other field refusals and the export path's current NUL behaviour, and adds no code-table row. Question: is that the 'named code' the ruling meant, or should there be a new code such as store-path-invalid, with README code tables and a test? [decision] 2. Item 8: when a page has more than 12 speakers, the lean names the 12 lowest handle ids. This is deterministic and matches the id-ordered rendering. The alternative is the first 12 in page order. Question: accept lowest ids? [decision] 3. WAL note: with wal_autocheckpoint=0, the positions connection still runs SQLite's close-time checkpoint when it is the last connection on the store. That checkpoint is the WAL bound while sync is stopped. Suppressing it too (SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE) would make 'only the sync writer checkpoints' literally true, but would leave the WAL unbounded while sync is stopped. Question: accept 'no auto-checkpoint, close-time checkpoint kept' as the reading of the ruling? [decision] 4. The close-time WAL removal was measured with stdlib sqlite3 3.53.3 on the host (3000 positions commits with a reader open gave a 12,360,032-byte WAL; after the last positions close the -wal file was gone), not with sqlcipher3. Check in CI: test_the_wal_is_bounded_when_sync_is_not_running passes on sqlcipher3, and sqlcipher3 connections support set_trace_callback (otherwise use the fallback in the spec's Test Strategy and report it in deviations). [verification] 5. CI pins python:3.12-slim-bookworm (Containerfile, .woodpecker/validation.yaml; .woodpecker/ is out of scope), so the ELOOP fix is proven on 3.12 only by simulating 3.13's non-raising Path.resolve. Check after merge: on a 3.13+ interpreter, run uv run --python 3.13 python3 -m pytest tests/test_config_cli.py -k loop and confirm secret-path-invalid for each verb. [verification] 6. Out of scope but seen: feeder.socket (config.py:148) is a configured path with no NUL check, and it is not one of item 11's store paths. Question: file a follow-up issue, or leave it? [decision] **Change:** Item 8: in views.changes (views.py:381-383) name sorted(speakers)[:LEGEND_HANDLES] and append a '+N' cell. This mirrors the +N tail of _legend (views.py:209-212). In _legend (views.py:198-212), cap named speakers at LEGEND_HANDLES (lowest ids), fill with non-speaking members, and make +N count the members and speakers it does not name. Output is byte-identical at 12 speakers or fewer. Item 9: after secret.resolve() in load_config (config.py:258-265), call os.stat and refuse errno ELOOP with secret-path-invalid. Also make startup._refuse_shared_secret_files (startup.py:72-78) raise secret-path-invalid on ELOOP instead of continuing. requires-python stays >=3.12. Item 10: _refuse_shared_secret_files(cfg, config_path) adds os.stat(config_path) dev/ino as 'config' to held, so a hard link answers secret-file-shared at config,<loc>. start() passes config_path, and the only other caller, tests/test_config_cli.py:350, is updated. Item 11: an after-mode field_validator on StoreConfig (config.py:55-60) refuses a NUL in path, tombstone_path and tombstone_export_path. It maps to config-validation at store.<field> through the existing ValidationError mapping (config.py:246-255), before host.report, open_writer or path_stat. store.py gets no item-11 change. WAL note: in store._open_guarded (store.py:266-283), run PRAGMA wal_autocheckpoint=0 for open_positions only, before set_authorizer (the guard denies PRAGMA), following the shape of the busy parameter. The close-time checkpoint is kept as the bound when sync is stopped. Docs: README:34/352/399 and SECURITY.md:5/37/64 sentences (the legend cap, the hard link of the config, the symlink loop, the prune clock known limit, no positions auto-checkpoint). Every sentence the doc tests already assert stays as it is. **Files:** `src/messages_mind_mcp/views.py` · `src/messages_mind_mcp/config.py` · `src/messages_mind_mcp/startup.py` · `src/messages_mind_mcp/store.py` · `README.md` · `SECURITY.md` · `tests/test_views.py` · `tests/test_server.py` · `tests/test_config_cli.py` · `tests/test_store.py` · `tests/test_feed.py` **Decision:** accept the 6 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-16-change-feed-slice-b-legend-cap-python-pin-config-inode-nul-p.md` — next: `codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/.local/state/exhaust/groupthink/specs/2026-11-16-change-feed-slice-b-legend-cap-python-pin-config-inode-nul-p.md`</sub>
Collaborator

spec-verify-dispatch Half B for dev/messages-mind-mcp#65 change-feed-slice-b-legend-cap-python-pin-config-inode-nul-p completed integration verify.

  • PR: #81
  • Branch: feat/svd-dev-messages-mind-mcp-65-change-feed-slice-b-legend-0e6c9321
  • Commit: e2dd63ce5a
  • 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/75/pipeline/76/1
  • Checks: required ci/woodpecker/pr/validation resolved pass by CI-wait poll
  • Warning: Remote CI ci/woodpecker/pr/validation is still pending on head e2dd63c; the runner should re-poll.
  • Warning: Spec open risk 5: no Python 3.13 interpreter in CI; post-merge check by architect: uv run --python 3.13 python3 -m pytest tests/test_config_cli.py -k loop.
  • Warning: Spec open risk 4: WAL close behaviour on sqlcipher3 passes locally here (test_the_wal_is_bounded_when_sync_is_not_running collected and green in full suite).
  • Warning: PR body does not appear to carry the spec rider line 'Page change (agent-visible)' verbatim check not performed beyond the body opening; the subagent put it in the commit message.
  • CI wait: ci/woodpecker/pr/validation -> pass
  • Decision: review the PR and merge? (codex-svd ship --run-id 20261116T001024Z-0e6c9321 --confirm-merge)
spec-verify-dispatch Half B for dev/messages-mind-mcp#65 change-feed-slice-b-legend-cap-python-pin-config-inode-nul-p completed integration verify. - PR: https://git.groupthink.asia/dev/messages-mind-mcp/pulls/81 - Branch: feat/svd-dev-messages-mind-mcp-65-change-feed-slice-b-legend-0e6c9321 - Commit: e2dd63ce5a5ac2a9718cead9a851159392dc6209 - 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/75/pipeline/76/1 - Checks: required ci/woodpecker/pr/validation resolved pass by CI-wait poll - Warning: Remote CI ci/woodpecker/pr/validation is still pending on head e2dd63c; the runner should re-poll. - Warning: Spec open risk 5: no Python 3.13 interpreter in CI; post-merge check by architect: uv run --python 3.13 python3 -m pytest tests/test_config_cli.py -k loop. - Warning: Spec open risk 4: WAL close behaviour on sqlcipher3 passes locally here (test_the_wal_is_bounded_when_sync_is_not_running collected and green in full suite). - Warning: PR body does not appear to carry the spec rider line 'Page change (agent-visible)' verbatim check not performed beyond the body opening; the subagent put it in the commit message. - CI wait: ci/woodpecker/pr/validation -> pass - Decision: review the PR and merge? (`codex-svd ship --run-id 20261116T001024Z-0e6c9321 --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/messages-mind-mcp#65
No description provided.