Skip to content

Add -y mode for headless cordon init#7

Merged
tom-nash merged 1 commit intomainfrom
tom-nash/init-y-flag
Apr 2, 2026
Merged

Add -y mode for headless cordon init#7
tom-nash merged 1 commit intomainfrom
tom-nash/init-y-flag

Conversation

@tom-nash
Copy link
Copy Markdown
Member

@tom-nash tom-nash commented Apr 2, 2026

This adds a -y/--yes flag to cordon init for non-interactive setup with sensible defaults.
With -y, init auto-selects installable agents and applies standard command/file guardrails without prompts, making it suitable for headless workflows like Conductor scripts.
The guardrail insertion logic was refactored into a shared helper used by both prompt and -y paths.
It also adds an integration test covering cordon init -y and verifying default guardrails are seeded.

…low auto-acceptance of sensible defaults for headless setups like in conductor setup scripts
@tom-nash tom-nash merged commit 2681e0a into main Apr 2, 2026
4 checks passed
@tom-nash tom-nash deleted the tom-nash/init-y-flag branch April 3, 2026 03:59
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.

1 participant