PR #1683 — harden DR restore CLI paths

The Broader Goal at the End of the Previous PR

Advancing the multi-agent operating system toward reliable, autonomous development, unblocking workgroup velocity and eliminating manual developer toil.

Strategic Shifts in This PR

Focused, limited-treatment delta resolving PR #1683 requirements with strict backward compatibility and comprehensive verification.

What This PR Shipped

  • Merged improvements and fixes for PR #1683.

Verification & Test Evidence

  • pytest -q tests/test_backup.py tests/test_cli_parser.py tests/test_state_repair.py — 25 passed
  • pytest -q tests/test_state_registry.py tests/test_state_repair.py tests/test_state_inventory.py tests/test_backup.py tests/test_product_store.py — 21 passed
  • OrbStack DR restore completed successfully on ubuntu; SQLite integrity, inventory, status, and checkpoint all passed

What This Achieved on the Path to Autonomy

Maintains repository integrity, expands test-proven capabilities, and keeps the hybrid human-agent workgroup aligned with zero drift.