Skip to content

feat(init): add --agent mode for post-init integrations#8

Merged
tom-nash merged 1 commit intomainfrom
tom-nash/add-agent-init-flow
Apr 2, 2026
Merged

feat(init): add --agent mode for post-init integrations#8
tom-nash merged 1 commit intomainfrom
tom-nash/add-agent-init-flow

Conversation

@tom-nash
Copy link
Copy Markdown
Member

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

Adds an init reconfiguration path so users can manage agent integrations after a repo is already initialized.

cordon init --agent now reopens agent selection, reconciles installed/removed integrations, and updates stored managed agents without re-running full init or guardrail prompts. cordon init -y behavior is explicitly covered with a test to ensure all installable agents are auto-selected, and a second test verifies reinstallation in an initialized repo.

Includes updates in cli/cmd/init.go and new coverage in cli/tests/init_agent_test.go.

@tom-nash tom-nash merged commit d1f5f19 into main Apr 2, 2026
4 checks passed
@tom-nash tom-nash deleted the tom-nash/add-agent-init-flow 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