feat(consistency): bootstrap empty repo projections
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a023c0-a0a3-7c03-b395-5a0d2757214d
This commit is contained in:
parent
52a7d6bb73
commit
03c7924b7f
3 changed files with 187 additions and 7 deletions
|
|
@ -402,6 +402,8 @@ def cmd_fix_consistency(args: argparse.Namespace) -> None:
|
|||
cmd.append("--remote")
|
||||
if args.no_writeback:
|
||||
cmd.append("--no-writeback")
|
||||
if getattr(args, "bootstrap_empty_projection", False):
|
||||
cmd.append("--bootstrap-empty-projection")
|
||||
if args.archive_closed:
|
||||
cmd.append("--archive-closed")
|
||||
if args.archive_workplan:
|
||||
|
|
@ -720,6 +722,11 @@ def main() -> None:
|
|||
fix.add_argument("--remote", action="store_true", help="Pull before fixing; requires --repo or --all")
|
||||
fix.add_argument("--max-seconds", type=int, default=None, help="Wall-clock budget for --remote --all")
|
||||
fix.add_argument("--no-writeback", action="store_true", help="Disable DB-to-file status writeback")
|
||||
fix.add_argument(
|
||||
"--bootstrap-empty-projection",
|
||||
action="store_true",
|
||||
help="Rebuild file UUIDs only after proving the repo projection is empty",
|
||||
)
|
||||
fix.add_argument("--archive-closed", action="store_true", help="Archive closed root workplans after fixing")
|
||||
fix.add_argument("--archive-workplan", default=None, help="Archive only the matching workplan id or filename")
|
||||
fix.add_argument("--archive-date", default=None, help="YYMMDD archive prefix for --archive-closed")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue