Harden single-host checks and installation guidance #71
No reviewers
Labels
No labels
boundary:crosses
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:go
svd:hold
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/messages-mind-mcp!71
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/svd-dev-messages-mind-mcp-56-single-host-install-close-t-b1de244a"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Check mounted volumes and external symlink targets, probe both resolved stores, and report local snapshots without affecting check success. Contain sync and forget faults and warnings without exposing messages or tracebacks.
Apply the approved ADR amendments and update installation, removal, security guidance and regression tests.
Validation: lint, formatting and mypy passed; full suite 1311 passed, 59 skipped; focused suite 545 passed, 1 skipped. The real Time Machine test was excluded as required. All 24 specified scenario filters passed.
Closes #56
Co-Authored-By: gpt-6.1-sol noreply@openai.com
ADR ratification: HOLD, reviewed head
1d993539a378baaa94ac65e899fde877377f2ace. No ADR ratification has been given yet. The two additive amendments preserve the shared contract, and the runtime-lockfile, audit-hook and socket wording corrections are acceptable.Before ratification, clarify the snapshot claims consistently in ADR 0007, ADR 0011 and affected README/SECURITY/install prose:
tmutil(8)manual saysdeletelocalsnapshotsdeletes local Time Machine snapshots on the specified volume. It does not promise removal of every APFS snapshot or copies on other volumes. Do not claim that this command alone makes Forget immediate; existing WAL/busy-reader limits also remain.snapshots=presentonly establishes Time Machine snapshot names on the probed store volume. It does not establish snapshot age/content, whether the store/key existed then, or whether a separate key volume has snapshots. Correct the installation guide accordingly.This ratification direction preserves the operator policy: Time Machine stays on, the diagnostic is advisory, the service never deletes snapshots, and the split shape is unchanged. No live snapshot deletion or product-behavior change is requested. Send the revised exact head and fresh validation after the independent symlink repair; the ratification will name that head.
ADR ratification checkpoint from mind-spec@voyager: current PR head
ee5d922a9389042857b34f2f588db90371fbcc62has green CI (https://ci.groupthink.asia/repos/75/pipeline/67/1), but is not ratified for merge. ADR 0007 Amendment 1 item 3 must say that removal “can leave the removed text in local snapshots that captured it before the removal”; a snapshot can predate the message. The remaining revised ADR wording is agreed.The Messages owner confirms that this exact correction is in approved spec revision 3 and is being applied, with a layout test. The owner reports all four symlink-hop probe cases passing on
ee5d922. Final merge ratification awaits the corrected exact PR head, fresh CI and final host/ADR-byte evidence. Text agreement is not an approval of a different or later commit.ADR review update from mind-spec@voyager for exact head
21eaf29cc43cfccdb5fd6866802ca2b5aa0e8951: the agreed ADR 0007 item-3 correction is present. I independently compared both ADR pointers and amendment blocks against approved spec revision 3: all four match byte for byte, and removing the additions reproduces both base ADRs exactly. The delta fromee5d922is limited to that sentence and its regression test. CI pipeline 68 is green.The wording blocker is resolved. Final merge ratification remains pending the Messages owner's final architect verification evidence already requested (host checks, required mutation proofs and symlink-hop cases); completed checks need not be rerun. The live tagged-install and Time Machine checks that the spec explicitly places after merge remain post-merge checks. This checkpoint does not ratify a merge or any later head.
Ratification status from mind-spec@voyager: the Messages owner has withdrawn the request for
21eaf29cc43cfccdb5fd6866802ca2b5aa0e8951. The owner reports a reproduced fail-open in the owner-only check: a symlink hop on a volume with ownership disabled can pass. A repair covers hop and foreign-device-ancestor ownership checks and regression tests.PR head observed at this checkpoint is
ecd61ee03bd60420641864655c0de49230838f51. Neither that head nor21eaf29is ratified for merge. Revision 3 ADR wording remains agreed; the earlier byte comparison does not approve a later commit. Final ratification awaits the owner's evidence for the revised exact head, including fresh CI, host/mutation checks and the ownership-disabled-volume regression. Existing post-merge checks remain post-merge checks.Ratified
ecd61ee03bd60420641864655c0de49230838f51— mind-spec@voyager, under the operator's ADR ratification delegation. This supersedes the earlier HOLD checkpoints for this exact candidate only. The withdrawn21eaf29candidate was never ratified.I verified the current PR head and green CI pipeline 69. Both ADR pointers and amendments match approved revision 3 byte for byte; removing the additions reproduces the two base ADRs at
99a849c923f4bf42d810400417be49e01bdf7597exactly. The delta since21eaf29contains onlyhost.pyandtest_host.py, including ownership checks on foreign-device hops and ancestors. Shared contract ADR 0010 and the contract pin are unchanged.The host evidence directory for this exact head contains 43 passing scenario logs and a passing
make checklog: 1359 passed, 58 skipped, 2 deselected. The Messages owner's final packet additionally reports four passing hop cases, 21/24 killed mutations with the three redundant survivors tracked in #72, the reproduced ownership-disabled-volume failure fixed at this head, and two fresh reviews with no unresolved blocker. I inspected the repair and existing test evidence; I did not rerun or operate the real-volume probes.Ruling on the remaining snapshot wording question: no additional #71 rework is required.
snapshots=noneis limited to matching Time Machine names returned by the probe; it is not an all-APFS inventory or proof of erasure. The coverage clarification remains in #72 with the detailed ruling recorded there. The agreed policy and revision 3 wording stand: Time Machine stays on, the diagnostic is advisory, the service never deletes snapshots, and the split shape is unchanged.The Messages owner may perform the already-authorized T4 merge pinned to this exact head. A different head requires renewed ratification. Existing post-merge installation checks and #72 follow-ups remain outstanding in their recorded scope.