Skip to content

feat(cli): add --dry-run flag to agent-handover run - #12

Open
AnayGarodia wants to merge 1 commit into
hikari716:mainfrom
AnayGarodia:feat/run-dry-run
Open

feat(cli): add --dry-run flag to agent-handover run#12
AnayGarodia wants to merge 1 commit into
hikari716:mainfrom
AnayGarodia:feat/run-dry-run

Conversation

@AnayGarodia

Copy link
Copy Markdown

Summary

  • add --dry-run to the run subcommand: prints the resolved plan (memory_dir, tag, checkpoint, backend type, ordered step names) and exits 0 without executing any step — no file writes, no git
  • add config.resolve_plan() so the plan is resolved from the TOML with the same defaults and --checkpoint override as build_engine_from_config, without building anything
  • real run (no flag) behavior is unchanged
  • document the flag in the README

Verification

  • python -m pip install -e .
  • python -m pytest -q (58 passed)
  • new tests assert no memory/ dir and no checkpoint file are created under --dry-run, and that the plan's step order matches the engine's actual steps

Closes #4

Generated with Claude Code

https://claude.ai/code/session_019cFhMyHwVAQ9GieYbi3aUb

Print the resolved plan (memory_dir, tag, checkpoint, backend type,
ordered step names) and exit 0 without executing any step — no file
writes, no git. Real runs are unchanged.

Closes hikari716#4

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019cFhMyHwVAQ9GieYbi3aUb
Copilot AI review requested due to automatic review settings July 29, 2026 19:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a --dry-run flag to agent-handover run

2 participants