Clarify guarded restore steps and pin recovery guidance #94
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!94
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/svd-dev-messages-mind-mcp-92-restore-steps-follow-ups-fr-ee0393a6"
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?
Split the launchd restore procedure into four gated blocks, document refusal codes, store sidecars and export recovery limits, and strengthen document and lock-path regression tests.
Docs change (operator-visible): the restore steps are four blocks (stop and check, move, Rebuild, restart); the restore rule keys on the printed code; the Tombstone store's sidecar is -journal
Decisions
fsynccode fix is out of scope (nosrc/edit). SECURITY states the limit, and the code fix is #93.source-replacedandrow-id-reusedrows keep "move both aside and use a Rebuild". The export-less path (move only the Mirror and run a plainsync) belongs in the #88 runbook.launchctl print-disabledoutput form is unverified on a host: nobody ran the reallaunchctl. The check matches both=> disabledand=> true. The operator confirms the form at the first install.Mutation table
Run by the merge gate on the host at
20d5538, one mutant at a time, each reverted after its run. Filter for every row:uv run python3 -m pytest tests/test_sync_documents.py tests/test_sync.py tests/test_store.py tests/test_layout.py -q -x.tests/test_sync.py::test_the_lock_is_keyed_on_the_mirror_path_as_the_config_writes_it(run alone with-k; the-xrun stopped first attest_a_symlink_loop_at_the_mirror_path_is_retried_with_tombstones_unreadable)tests/test_sync_documents.py::test_every_repeated_readme_sentence_is_pinned_in_each_sectiontests/test_sync_documents.py::test_every_repeated_readme_sentence_is_pinned_in_each_sectiontests/test_sync_documents.py::test_every_repeated_readme_sentence_is_pinned_in_each_sectiontests/test_sync_documents.py::test_the_readme_placeholder_sentence_is_pinnedtests/test_sync_documents.py::test_every_repeated_readme_sentence_is_pinned_in_each_sectiontests/test_sync_documents.py::test_every_repeated_readme_sentence_is_pinned_in_each_sectiontests/test_sync_documents.py::test_every_repeated_readme_sentence_is_pinned_in_each_sectiontests/test_sync_documents.py::test_every_repeated_readme_sentence_is_pinned_in_each_sectiontests/test_sync_documents.py::test_install_section_6_repeats_no_sentencetests/test_sync_documents.py::test_the_launchd_restore_steps_are_four_gated_blocks[text0-guard0-rebuild0-restart0]tests/test_sync_documents.py::test_the_launchd_restore_steps_are_four_gated_blocks[text0-guard0-rebuild0-restart0]|| truetests/test_sync_documents.py::test_the_launchd_restore_steps_are_four_gated_blocks[text0-guard0-rebuild0-restart0]; truetests/test_sync_documents.py::test_the_launchd_restore_steps_are_four_gated_blocks[text0-guard0-rebuild0-restart0]tests/test_sync_documents.py::test_the_launchd_restore_steps_are_four_gated_blocks[text0-guard0-rebuild0-restart0]tests/test_sync_documents.py::test_the_launchd_restore_steps_are_four_gated_blocks[text0-guard0-rebuild0-restart0]tests/test_sync_documents.py::test_the_launchd_restore_steps_are_four_gated_blocks[text0-guard0-rebuild0-restart0]tests/test_sync_documents.py::test_the_launchd_restore_steps_are_four_gated_blocks[text0-guard0-rebuild0-restart0]tests/test_sync_documents.py::test_the_compose_and_kubernetes_restart_gates_are_pinnedtests/test_sync_documents.py::test_the_compose_and_kubernetes_restart_gates_are_pinnedtests/test_sync_documents.py::test_the_compose_and_kubernetes_restart_gates_are_pinned0' restart ruletests/test_sync_documents.py::test_the_restart_condition_is_the_tombstone_store_filetests/test_sync_documents.py::test_every_stop_the_sync_agent_link_resolvestests/test_sync_documents.py::test_the_documents_state_that_the_agent_restarts_after_a_stoptests/test_sync_documents.py::test_the_compose_dependencies_and_the_replicas_default_are_pinnedtests/test_sync_documents.py::test_the_launchd_restore_steps_are_four_gated_blocks[text0-guard0-rebuild0-restart0]tests/test_sync_documents.py::test_the_launchd_restore_steps_are_four_gated_blocks[text0-guard0-rebuild0-restart0]tests/test_sync_documents.py::test_the_documents_say_to_move_the_store_files_and_keep_the_directorytests/test_sync_documents.py::test_the_documents_say_to_move_the_store_files_and_keep_the_directorytests/test_sync_documents.py::test_the_documents_say_to_move_the_store_files_and_keep_the_directorytests/test_sync_documents.py::test_the_rebuild_steps_restart_sync_only_after_a_successful_rebuildtests/test_sync_documents.py::test_the_rebuild_steps_restart_sync_only_after_a_successful_rebuildtests/test_sync_documents.py::test_the_rebuild_steps_restart_sync_only_after_a_successful_rebuildtests/test_sync_documents.py::test_the_rebuild_steps_restart_sync_only_after_a_successful_rebuildtests/test_sync_documents.py::test_the_restore_rule_keys_on_the_printed_codetests/test_sync_documents.py::test_the_install_restore_blocks_use_the_checkout_interpretertests/test_sync_documents.py::test_the_install_restore_blocks_use_the_checkout_interpretertests/test_sync_documents.py::test_the_launchd_restore_steps_are_four_gated_blocks[text1-guard1-rebuild1-restart1]tests/test_sync_documents.py::test_the_install_restore_blocks_use_the_checkout_interpretertests/test_sync_documents.py::test_the_readme_says_where_messagesmind_is_on_pathtests/test_sync_documents.py::test_the_readme_says_where_messagesmind_is_on_pathtests/test_sync_documents.py::test_the_export_temp_file_and_fsync_limit_are_statedtests/test_sync_documents.py::test_the_export_temp_file_and_fsync_limit_are_statedtests/test_sync_documents.py::test_the_moved_directory_umask_and_exclusion_are_statedtests/test_sync_documents.py::test_the_aside_directory_sentence_is_pinnedtests/test_sync_documents.py::test_the_aside_directory_sentence_is_pinned<namespace>backtests/test_sync_documents.py::test_the_readme_names_how_to_stop_every_supervisor47 of 48 mutants were killed. M7 is killed by the item 9 test,
test_the_lock_is_keyed_on_the_mirror_path_as_the_config_writes_it. H7b survived: putting back "RunAtLoadstarts the agent again at the next login or restart." repeats a rule in other words, andtest_install_section_6_repeats_no_sentencecatches only identical sentences. It goes to a follow-up issue.Test results (host gate)
205d5df: 1505 passed, 58 skipped, 2 deselected (make check).20d5538: 1514 passed, 58 skipped, 2 deselected (make check). All 18 scenario-table commands pass.Closes #92
Co-Authored-By: gpt-6.1-terra noreply@openai.com
Closed without merge. The operator ruled on 2026-11-16 for one more round. Two fresh reviews of
20d5538found two blockers:RunAtLoadstarts the agent again at the next login or restart." passes every test. That misses an acceptance criterion.The spec for #92 now carries round 2 rows I1 to I11. They also stop and start the api with sync, chain
mkdirwith&&, quote the README placeholders, add a success branch to the restore rule, and pin each block whole. Becausecodex-svd integratecannot rework after a spec amendment (dev/stables#2219), #92 is dispatched again frommain. A new PR replaces this one.Pull request closed