Document safe sync stops and guarded rebuilds #91

Merged
Collaborator

Describe supervisor-specific stop procedures, the export guard, and the Tombstone-file restart condition. Clarify lock-file and network-filesystem limits, and add documentation and behavior tests for recovery safety.

Docs change (operator-visible): to stop sync before a Rebuild, disable and boot out the launchd agent so it stays stopped across a logout; Compose and Kubernetes are named too

This PR replaces the closed PRs #89 and #90. It carries the merge-gate rework rows of spec sections G (round 2) and H (round 3). The launchd steps are now two blocks: block 1 stops the agent and runs the Rebuild, and block 2 starts sync again only when test -f finds the Tombstone store file. The full Compose and Kubernetes Rebuild runbook stays in #88.

Item 14 record

The except widened at store.py:266 (RuntimeError, ValueError) also covers create=True. On that branch only a NUL path can raise these, and the config already refuses a NUL store path (#81). The #84 spec said the branch was unchanged; this records that it now catches more.

Mutation log

Run by the merge gate on the host at 45872a3, one mutant at a time, each reverted after its run. Filter for every line: uv run python3 -m pytest tests/test_sync_documents.py tests/test_sync.py tests/test_store.py -q -x. The dispatch did not run M4 to M7, because the write set excludes source files; the gate ran them. Each line gives the mutant and the observed result.

  • M1 install: 'before you move the Mirror or run a Rebuild' -> 'before a Rebuild': failed tests/test_sync_documents.py::test_the_documents_stop_the_launchd_agent_across_a_login (killed).
  • M2 SECURITY: delete the 0700 sentence: failed tests/test_sync_documents.py::test_the_documents_state_what_the_lock_does_not_cover (killed).
  • M3 README: delete the 'If the agent is not stopped ...' sentence: failed tests/test_sync_documents.py::test_the_documents_state_the_exact_fresh_store_condition (killed).
  • M4 store.py: absolute() -> resolve(): failed tests/test_store.py::test_a_writer_without_create_opens_the_path_as_written_without_resolving (killed).
  • M5 sync.py: drop os.close(fd) in the OSError branch: failed tests/test_sync.py::test_a_hold_that_flock_refuses_with_an_os_error_closes_its_descriptor (killed).
  • M6 sync.py: delete the in-loop salt check: failed tests/test_sync.py::test_a_missing_salt_refuses_before_the_lock_and_the_stores (killed).
  • M7 sync.py: key the lock on mirror.resolve(): failed tests/test_sync.py::test_a_symlink_loop_at_the_mirror_path_is_retried_with_tombstones_unreadable (killed).
  • M8a README: delete 'lasts only until the next login': all 214 tests passed (survived).
  • M8b README: delete the launchctl disable line: failed tests/test_sync_documents.py::test_the_documents_stop_the_launchd_agent_across_a_login (killed).
  • M8c install: delete the launchctl disable line: failed tests/test_sync_documents.py::test_the_documents_stop_the_launchd_agent_across_a_login (killed).
  • M8d README: delete the Compose stop command: failed tests/test_sync_documents.py::test_the_readme_names_how_to_stop_every_supervisor (killed).
  • M8e README: delete 'this stops the api too': failed tests/test_sync_documents.py::test_the_readme_names_how_to_stop_every_supervisor (killed).
  • M8f README lock paragraph: delete 'If only the Mirror is moved ...': all 214 tests passed (survived).
  • M8g SECURITY: delete 'A restarted sync agent can sync Forgotten messages back.': failed tests/test_sync_documents.py::test_security_states_the_resync_risk_and_the_stop_rule (killed).
  • M8h SECURITY: delete the moved-lock sentence: failed tests/test_sync_documents.py::test_the_documents_name_the_moved_store_directory (killed).
  • M8i README: drop the stop step from the source-replaced row: failed tests/test_sync_documents.py::test_every_rebuild_pointer_says_to_stop_the_agent_first (killed).
  • M8j README: 'On some NFS or SMB mounts, where' -> 'On NFS or SMB, where': failed tests/test_sync_documents.py::test_the_nfs_and_smb_cases_stay_apart (killed).
  • M8k SECURITY: delete the lock directory fails-closed sentence: failed tests/test_sync_documents.py::test_the_lock_file_sentences_and_links_are_pinned (killed).
  • M8l README: delete 'Kubernetes restarts it too.': failed tests/test_sync_documents.py::test_the_lock_file_sentences_and_links_are_pinned (killed).
  • M8m SECURITY: 'On macOS a FIFO' -> 'A FIFO': failed tests/test_sync_documents.py::test_the_lock_file_sentences_and_links_are_pinned (killed).
  • M8n SECURITY: delete ', so a symlink there is refused': failed tests/test_sync_documents.py::test_the_lock_file_sentences_and_links_are_pinned (killed).
  • H1a README: put enable into the restore block: failed tests/test_sync_documents.py::test_the_launchd_restore_block_never_restarts_sync (killed).
  • H1b install: put enable into the restore block: failed tests/test_sync_documents.py::test_the_launchd_restore_block_never_restarts_sync (killed).
  • H1c README: drop the test -f gate: failed tests/test_sync_documents.py::test_the_launchd_restore_block_never_restarts_sync (killed).
  • H1d install: drop the test -f gate: failed tests/test_sync_documents.py::test_the_launchd_restore_block_never_restarts_sync (killed).
  • H1e README: gate with ; instead of &&: failed tests/test_sync_documents.py::test_the_launchd_restore_block_never_restarts_sync (killed).
  • H1f install: bare messagesmind command: failed tests/test_sync_documents.py::test_the_install_restore_blocks_use_the_checkout_interpreter (killed).
  • H1g install: drop the config_dir assignment: failed tests/test_sync_documents.py::test_the_install_restore_blocks_use_the_checkout_interpreter (killed).
  • H1h README: delete the placeholder sentence: all 214 tests passed (survived).
  • H2a README Stop section: delete the restart rule: failed tests/test_sync_documents.py::test_the_rebuild_steps_restart_sync_only_after_a_successful_rebuild (killed).
  • H2b README Rebuild paragraph: delete the restart rule: failed tests/test_sync_documents.py::test_the_rebuild_steps_restart_sync_only_after_a_successful_rebuild (killed).
  • H2c install: delete the restart rule: failed tests/test_sync_documents.py::test_the_rebuild_steps_restart_sync_only_after_a_successful_rebuild (killed).
  • H2d README: delete the restore-failed sentence: failed tests/test_sync_documents.py::test_the_rebuild_steps_restart_sync_only_after_a_successful_rebuild (killed).
  • H2e README: delete the pass-failed sentence: failed tests/test_sync_documents.py::test_the_rebuild_steps_restart_sync_only_after_a_successful_rebuild (killed).
  • H2f install: re-add 'exits 0': failed tests/test_sync_documents.py::test_the_rebuild_steps_restart_sync_only_after_a_successful_rebuild (killed).
  • H3a README: delete the guard sentence: failed tests/test_sync_documents.py::test_the_rebuild_steps_set_the_export_path_as_a_guard (killed).
  • H3b install: delete the guard sentence: failed tests/test_sync_documents.py::test_the_rebuild_steps_set_the_export_path_as_a_guard (killed).
  • H3c README: 'creates no store; it creates only lock' -> 'creates nothing.': failed tests/test_sync_documents.py::test_the_rebuild_steps_set_the_export_path_as_a_guard (killed).
  • H4a README Stop section: delete the config-validation sentence: all 214 tests passed (survived).
  • H4b SECURITY: delete the config-validation sentence: failed tests/test_sync_documents.py::test_the_documents_say_a_moved_store_directory_moves_both_stores (killed).
  • H4c install: delete 'Move the store files and keep the directory.': failed tests/test_sync_documents.py::test_the_documents_say_a_moved_store_directory_moves_both_stores (killed).
  • H4d README: delete the -wal and -shm sentence: all 214 tests passed (survived).
  • H5 README: delete the stands-alone sentence: failed tests/test_sync_documents.py::test_the_only_mirror_moved_sentence_stands_alone (killed).
  • H6 README: drop the comma after 'aside': failed tests/test_sync_documents.py::test_the_documents_state_the_exact_fresh_store_condition (killed).
  • H7a install: repeat the LaunchAgents cause: all 214 tests passed (survived).
  • H7b install: re-add the RunAtLoad repeat: all 214 tests passed (survived).
  • H8a README: drop docker compose start from the list: failed tests/test_sync_documents.py::test_the_readme_names_every_compose_command_that_starts_sync (killed).
  • H8b README: drop smoke: failed tests/test_sync_documents.py::test_the_readme_names_every_compose_command_that_starts_sync (killed).
  • H8c README: delete the deferred-steps sentence: failed tests/test_sync_documents.py::test_the_readme_defers_the_container_rebuild_steps (killed).
  • H9g README: move the reconcile pause after scale-down: failed tests/test_sync_documents.py::test_the_kubernetes_and_security_steps_keep_their_order (killed).
  • H9g2 SECURITY: bootout before disable: failed tests/test_sync_documents.py::test_the_kubernetes_and_security_steps_keep_their_order (killed).
  • H9h2 README: break one stop link: failed tests/test_sync_documents.py::test_every_stop_the_sync_agent_link_resolves (killed).
  • H9h3 README: heading becomes level 4: failed tests/test_sync_documents.py::test_every_stop_the_sync_agent_link_resolves (killed).
  • R3 README: drop docker compose run api: failed tests/test_sync_documents.py::test_the_readme_names_every_compose_command_that_starts_sync (killed).
  • R4a README: delete the reconcile warning: failed tests/test_sync_documents.py::test_the_documents_warn_that_a_kubernetes_reconcile_restores_the_replicas (killed).
  • R4b SECURITY: delete the reconcile warning: failed tests/test_sync_documents.py::test_the_documents_warn_that_a_kubernetes_reconcile_restores_the_replicas (killed).
  • R5 README: delete the moved-directory-moves-both sentence: failed tests/test_sync_documents.py::test_the_documents_say_a_moved_store_directory_moves_both_stores (killed).
  • R6 README: drop the stop clause from the last Rebuild pointer: failed tests/test_sync_documents.py::test_every_rebuild_pointer_says_to_stop_the_agent_first (killed).
  • R7a README: delete the LaunchAgents cause: failed tests/test_sync_documents.py::test_the_documents_stop_the_launchd_agent_across_a_login (killed).
  • R7b SECURITY: delete the LaunchAgents cause: failed tests/test_sync_documents.py::test_the_documents_name_the_launch_agents_directory_as_the_login_cause (killed).
  • R7c install: delete the LaunchAgents cause: failed tests/test_sync_documents.py::test_the_documents_stop_the_launchd_agent_across_a_login (killed).
  • R8 install: drop 'with both stores moved aside, ': failed tests/test_sync_documents.py::test_the_documents_state_the_exact_fresh_store_condition (killed).
  • R9 install: delete the block lead-in: failed tests/test_sync_documents.py::test_the_install_risk_sentence_names_both_stores_and_leads_into_the_block (killed).
  • R10b README: --replicas=0 -> --replicas=01: failed tests/test_sync_documents.py::test_the_readme_names_how_to_stop_every_supervisor (killed).
  • R10c k8s: Deployment name -> messagesmind-x: failed tests/test_sync_documents.py::test_the_readme_names_how_to_stop_every_supervisor (killed).
  • R10d compose: drop restart from the sync service: failed tests/test_sync_documents.py::test_the_readme_names_how_to_stop_every_supervisor (killed).
  • H9i compose: drop the api dependency on sync: failed tests/test_sync_documents.py::test_the_compose_dependencies_and_the_replicas_default_are_pinned (killed).
  • H9i2 compose: drop the smoke dependency on api: failed tests/test_sync_documents.py::test_the_compose_dependencies_and_the_replicas_default_are_pinned (killed).
  • H9i3 k8s: replicas 1 -> 2: failed tests/test_sync_documents.py::test_the_compose_dependencies_and_the_replicas_default_are_pinned (killed).

62 of 69 mutants were killed. The seven survivors are loose pins, not wrong documents:

  • M8a: the README phrase "lasts only until the next login" is not pinned.
  • M8f, H4a and H4d: each of these README sentences appears twice, and only one copy is pinned.
  • H1h: the README sentence that explains FILE, EXPORT and TOMBSTONES is not pinned.
  • H7a and H7b: the install test for "each rule once" does not catch a repeated sentence.

They go to a follow-up issue.

Test results (host gate)

  • Base db2f89f: 1470 passed, 58 skipped, 2 deselected (make check).
  • Head 45872a3: 1505 passed, 58 skipped, 2 deselected (make check). All 38 scenario-table commands pass.

Closes #87
Co-Authored-By: gpt-6.1-terra noreply@openai.com

Describe supervisor-specific stop procedures, the export guard, and the Tombstone-file restart condition. Clarify lock-file and network-filesystem limits, and add documentation and behavior tests for recovery safety. Docs change (operator-visible): to stop sync before a Rebuild, disable and boot out the launchd agent so it stays stopped across a logout; Compose and Kubernetes are named too This PR replaces the closed PRs #89 and #90. It carries the merge-gate rework rows of spec sections G (round 2) and H (round 3). The launchd steps are now two blocks: block 1 stops the agent and runs the Rebuild, and block 2 starts sync again only when `test -f` finds the Tombstone store file. The full Compose and Kubernetes Rebuild runbook stays in #88. ## Item 14 record The except widened at `store.py:266` (`RuntimeError`, `ValueError`) also covers `create=True`. On that branch only a NUL path can raise these, and the config already refuses a NUL store path (#81). The #84 spec said the branch was unchanged; this records that it now catches more. ## Mutation log Run by the merge gate on the host at `45872a3`, one mutant at a time, each reverted after its run. Filter for every line: `uv run python3 -m pytest tests/test_sync_documents.py tests/test_sync.py tests/test_store.py -q -x`. The dispatch did not run M4 to M7, because the write set excludes source files; the gate ran them. Each line gives the mutant and the observed result. - M1 install: 'before you move the Mirror or run a Rebuild' -> 'before a Rebuild': failed `tests/test_sync_documents.py::test_the_documents_stop_the_launchd_agent_across_a_login` (killed). - M2 SECURITY: delete the 0700 sentence: failed `tests/test_sync_documents.py::test_the_documents_state_what_the_lock_does_not_cover` (killed). - M3 README: delete the 'If the agent is not stopped ...' sentence: failed `tests/test_sync_documents.py::test_the_documents_state_the_exact_fresh_store_condition` (killed). - M4 store.py: absolute() -> resolve(): failed `tests/test_store.py::test_a_writer_without_create_opens_the_path_as_written_without_resolving` (killed). - M5 sync.py: drop os.close(fd) in the OSError branch: failed `tests/test_sync.py::test_a_hold_that_flock_refuses_with_an_os_error_closes_its_descriptor` (killed). - M6 sync.py: delete the in-loop salt check: failed `tests/test_sync.py::test_a_missing_salt_refuses_before_the_lock_and_the_stores` (killed). - M7 sync.py: key the lock on mirror.resolve(): failed `tests/test_sync.py::test_a_symlink_loop_at_the_mirror_path_is_retried_with_tombstones_unreadable` (killed). - M8a README: delete 'lasts only until the next login': all 214 tests passed (**survived**). - M8b README: delete the launchctl disable line: failed `tests/test_sync_documents.py::test_the_documents_stop_the_launchd_agent_across_a_login` (killed). - M8c install: delete the launchctl disable line: failed `tests/test_sync_documents.py::test_the_documents_stop_the_launchd_agent_across_a_login` (killed). - M8d README: delete the Compose stop command: failed `tests/test_sync_documents.py::test_the_readme_names_how_to_stop_every_supervisor` (killed). - M8e README: delete 'this stops the api too': failed `tests/test_sync_documents.py::test_the_readme_names_how_to_stop_every_supervisor` (killed). - M8f README lock paragraph: delete 'If only the Mirror is moved ...': all 214 tests passed (**survived**). - M8g SECURITY: delete 'A restarted sync agent can sync Forgotten messages back.': failed `tests/test_sync_documents.py::test_security_states_the_resync_risk_and_the_stop_rule` (killed). - M8h SECURITY: delete the moved-lock sentence: failed `tests/test_sync_documents.py::test_the_documents_name_the_moved_store_directory` (killed). - M8i README: drop the stop step from the source-replaced row: failed `tests/test_sync_documents.py::test_every_rebuild_pointer_says_to_stop_the_agent_first` (killed). - M8j README: 'On some NFS or SMB mounts, where' -> 'On NFS or SMB, where': failed `tests/test_sync_documents.py::test_the_nfs_and_smb_cases_stay_apart` (killed). - M8k SECURITY: delete the lock directory fails-closed sentence: failed `tests/test_sync_documents.py::test_the_lock_file_sentences_and_links_are_pinned` (killed). - M8l README: delete 'Kubernetes restarts it too.': failed `tests/test_sync_documents.py::test_the_lock_file_sentences_and_links_are_pinned` (killed). - M8m SECURITY: 'On macOS a FIFO' -> 'A FIFO': failed `tests/test_sync_documents.py::test_the_lock_file_sentences_and_links_are_pinned` (killed). - M8n SECURITY: delete ', so a symlink there is refused': failed `tests/test_sync_documents.py::test_the_lock_file_sentences_and_links_are_pinned` (killed). - H1a README: put enable into the restore block: failed `tests/test_sync_documents.py::test_the_launchd_restore_block_never_restarts_sync` (killed). - H1b install: put enable into the restore block: failed `tests/test_sync_documents.py::test_the_launchd_restore_block_never_restarts_sync` (killed). - H1c README: drop the test -f gate: failed `tests/test_sync_documents.py::test_the_launchd_restore_block_never_restarts_sync` (killed). - H1d install: drop the test -f gate: failed `tests/test_sync_documents.py::test_the_launchd_restore_block_never_restarts_sync` (killed). - H1e README: gate with ; instead of &&: failed `tests/test_sync_documents.py::test_the_launchd_restore_block_never_restarts_sync` (killed). - H1f install: bare messagesmind command: failed `tests/test_sync_documents.py::test_the_install_restore_blocks_use_the_checkout_interpreter` (killed). - H1g install: drop the config_dir assignment: failed `tests/test_sync_documents.py::test_the_install_restore_blocks_use_the_checkout_interpreter` (killed). - H1h README: delete the placeholder sentence: all 214 tests passed (**survived**). - H2a README Stop section: delete the restart rule: failed `tests/test_sync_documents.py::test_the_rebuild_steps_restart_sync_only_after_a_successful_rebuild` (killed). - H2b README Rebuild paragraph: delete the restart rule: failed `tests/test_sync_documents.py::test_the_rebuild_steps_restart_sync_only_after_a_successful_rebuild` (killed). - H2c install: delete the restart rule: failed `tests/test_sync_documents.py::test_the_rebuild_steps_restart_sync_only_after_a_successful_rebuild` (killed). - H2d README: delete the restore-failed sentence: failed `tests/test_sync_documents.py::test_the_rebuild_steps_restart_sync_only_after_a_successful_rebuild` (killed). - H2e README: delete the pass-failed sentence: failed `tests/test_sync_documents.py::test_the_rebuild_steps_restart_sync_only_after_a_successful_rebuild` (killed). - H2f install: re-add 'exits 0': failed `tests/test_sync_documents.py::test_the_rebuild_steps_restart_sync_only_after_a_successful_rebuild` (killed). - H3a README: delete the guard sentence: failed `tests/test_sync_documents.py::test_the_rebuild_steps_set_the_export_path_as_a_guard` (killed). - H3b install: delete the guard sentence: failed `tests/test_sync_documents.py::test_the_rebuild_steps_set_the_export_path_as_a_guard` (killed). - H3c README: 'creates no store; it creates only lock' -> 'creates nothing.': failed `tests/test_sync_documents.py::test_the_rebuild_steps_set_the_export_path_as_a_guard` (killed). - H4a README Stop section: delete the config-validation sentence: all 214 tests passed (**survived**). - H4b SECURITY: delete the config-validation sentence: failed `tests/test_sync_documents.py::test_the_documents_say_a_moved_store_directory_moves_both_stores` (killed). - H4c install: delete 'Move the store files and keep the directory.': failed `tests/test_sync_documents.py::test_the_documents_say_a_moved_store_directory_moves_both_stores` (killed). - H4d README: delete the -wal and -shm sentence: all 214 tests passed (**survived**). - H5 README: delete the stands-alone sentence: failed `tests/test_sync_documents.py::test_the_only_mirror_moved_sentence_stands_alone` (killed). - H6 README: drop the comma after 'aside': failed `tests/test_sync_documents.py::test_the_documents_state_the_exact_fresh_store_condition` (killed). - H7a install: repeat the LaunchAgents cause: all 214 tests passed (**survived**). - H7b install: re-add the RunAtLoad repeat: all 214 tests passed (**survived**). - H8a README: drop `docker compose start` from the list: failed `tests/test_sync_documents.py::test_the_readme_names_every_compose_command_that_starts_sync` (killed). - H8b README: drop smoke: failed `tests/test_sync_documents.py::test_the_readme_names_every_compose_command_that_starts_sync` (killed). - H8c README: delete the deferred-steps sentence: failed `tests/test_sync_documents.py::test_the_readme_defers_the_container_rebuild_steps` (killed). - H9g README: move the reconcile pause after scale-down: failed `tests/test_sync_documents.py::test_the_kubernetes_and_security_steps_keep_their_order` (killed). - H9g2 SECURITY: bootout before disable: failed `tests/test_sync_documents.py::test_the_kubernetes_and_security_steps_keep_their_order` (killed). - H9h2 README: break one stop link: failed `tests/test_sync_documents.py::test_every_stop_the_sync_agent_link_resolves` (killed). - H9h3 README: heading becomes level 4: failed `tests/test_sync_documents.py::test_every_stop_the_sync_agent_link_resolves` (killed). - R3 README: drop `docker compose run api`: failed `tests/test_sync_documents.py::test_the_readme_names_every_compose_command_that_starts_sync` (killed). - R4a README: delete the reconcile warning: failed `tests/test_sync_documents.py::test_the_documents_warn_that_a_kubernetes_reconcile_restores_the_replicas` (killed). - R4b SECURITY: delete the reconcile warning: failed `tests/test_sync_documents.py::test_the_documents_warn_that_a_kubernetes_reconcile_restores_the_replicas` (killed). - R5 README: delete the moved-directory-moves-both sentence: failed `tests/test_sync_documents.py::test_the_documents_say_a_moved_store_directory_moves_both_stores` (killed). - R6 README: drop the stop clause from the last Rebuild pointer: failed `tests/test_sync_documents.py::test_every_rebuild_pointer_says_to_stop_the_agent_first` (killed). - R7a README: delete the LaunchAgents cause: failed `tests/test_sync_documents.py::test_the_documents_stop_the_launchd_agent_across_a_login` (killed). - R7b SECURITY: delete the LaunchAgents cause: failed `tests/test_sync_documents.py::test_the_documents_name_the_launch_agents_directory_as_the_login_cause` (killed). - R7c install: delete the LaunchAgents cause: failed `tests/test_sync_documents.py::test_the_documents_stop_the_launchd_agent_across_a_login` (killed). - R8 install: drop 'with both stores moved aside, ': failed `tests/test_sync_documents.py::test_the_documents_state_the_exact_fresh_store_condition` (killed). - R9 install: delete the block lead-in: failed `tests/test_sync_documents.py::test_the_install_risk_sentence_names_both_stores_and_leads_into_the_block` (killed). - R10b README: --replicas=0 -> --replicas=01: failed `tests/test_sync_documents.py::test_the_readme_names_how_to_stop_every_supervisor` (killed). - R10c k8s: Deployment name -> messagesmind-x: failed `tests/test_sync_documents.py::test_the_readme_names_how_to_stop_every_supervisor` (killed). - R10d compose: drop restart from the sync service: failed `tests/test_sync_documents.py::test_the_readme_names_how_to_stop_every_supervisor` (killed). - H9i compose: drop the api dependency on sync: failed `tests/test_sync_documents.py::test_the_compose_dependencies_and_the_replicas_default_are_pinned` (killed). - H9i2 compose: drop the smoke dependency on api: failed `tests/test_sync_documents.py::test_the_compose_dependencies_and_the_replicas_default_are_pinned` (killed). - H9i3 k8s: replicas 1 -> 2: failed `tests/test_sync_documents.py::test_the_compose_dependencies_and_the_replicas_default_are_pinned` (killed). 62 of 69 mutants were killed. The seven survivors are loose pins, not wrong documents: - M8a: the README phrase "lasts only until the next login" is not pinned. - M8f, H4a and H4d: each of these README sentences appears twice, and only one copy is pinned. - H1h: the README sentence that explains `FILE`, `EXPORT` and `TOMBSTONES` is not pinned. - H7a and H7b: the install test for "each rule once" does not catch a repeated sentence. They go to a follow-up issue. ## Test results (host gate) - Base `db2f89f`: 1470 passed, 58 skipped, 2 deselected (`make check`). - Head `45872a3`: 1505 passed, 58 skipped, 2 deselected (`make check`). All 38 scenario-table commands pass. Closes #87 Co-Authored-By: gpt-6.1-terra <noreply@openai.com>
Document safe sync stops and guarded rebuilds
All checks were successful
ci/woodpecker/pr/validation Pipeline was successful
45872a3376
Describe supervisor-specific stop procedures, the export guard, and the Tombstone-file restart condition. Clarify lock-file and network-filesystem limits, and add documentation and behavior tests for recovery safety.

Closes #87
Co-Authored-By: gpt-6.1-terra <noreply@openai.com>

This was generated by AI during the merge gate.

Merge-gate ruling for 45872a3:

  • Host gate: base db2f89f 1470 passed; head 1505 passed, 58 skipped, 2 deselected. All 38 scenario-table commands pass. CI is green. codex-svd integrate reports readyForMerge: true at this head with no rework.
  • Gate mutation pass: 62 of 69 mutants killed; the seven survivors are loose pins, listed in the PR body.
  • Security review: no blocker. No documented path starts sync with both stores absent.
  • Correctness review: two test-strength blockers. (1) The item 12 test does not kill M7; the suite still kills M7 through test_a_symlink_loop_at_the_mirror_path_is_retried_with_tombstones_unreadable. (2) The H9b test does not check every rule it should; the install blocks meet those rules today.
  • The operator ruled to merge, and to fix both test blockers and the safe-but-wrong wording (the "restore succeeded" inference, the Tombstone store sidecar, the block split at the move step) in #92, next in the queue.
> *This was generated by AI during the merge gate.* Merge-gate ruling for `45872a3`: - Host gate: base `db2f89f` 1470 passed; head 1505 passed, 58 skipped, 2 deselected. All 38 scenario-table commands pass. CI is green. `codex-svd integrate` reports `readyForMerge: true` at this head with no rework. - Gate mutation pass: 62 of 69 mutants killed; the seven survivors are loose pins, listed in the PR body. - Security review: no blocker. No documented path starts sync with both stores absent. - Correctness review: two test-strength blockers. (1) The item 12 test does not kill M7; the suite still kills M7 through `test_a_symlink_loop_at_the_mirror_path_is_retried_with_tombstones_unreadable`. (2) The H9b test does not check every rule it should; the install blocks meet those rules today. - The operator ruled to merge, and to fix both test blockers and the safe-but-wrong wording (the "restore succeeded" inference, the Tombstone store sidecar, the block split at the move step) in #92, next in the queue.
svc-agent-writer deleted branch feat/svd-dev-messages-mind-mcp-87-rebuild-safety-docs-from-th-097bf627 2026-11-16 04:33:12 +00:00
Sign in to join this conversation.
No description provided.