Skip to content

feat(cli): make agentkeys init idempotent#167

Open
YoshiyukiSakura wants to merge 1 commit into
mainfrom
codex/issue-3-init-idempotent
Open

feat(cli): make agentkeys init idempotent#167
YoshiyukiSakura wants to merge 1 commit into
mainfrom
codex/issue-3-init-idempotent

Conversation

@YoshiyukiSakura
Copy link
Copy Markdown
Contributor

@YoshiyukiSakura YoshiyukiSakura commented Jun 1, 2026

Change:

  • Implements the Stage 8 CLI defensive deliverable for idempotent agentkeys init.
  • Adds agentkeys init --force to intentionally re-run initialization when a usable local session already exists.
  • Keeps existing library callers compatible through cmd_init, with cmd_init_with_force for forced paths.

Objective Evidence:

  • cargo fmt --check (exit code 0)
  • cargo test -p agentkeys-cli init_ (exit code 0)
  • cargo test -p agentkeys-cli --tests (exit code 0)

Visual Evidence:

  • n.a.

Reviewer:

Risks / Not Covered:

Refs #3

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