docs(wfctl): ci plan + smart ci generate + secrets wizard/--json (v0.67.0)#803
Merged
Conversation
…json (v0.67.0) - Rewrite `ci generate` to reflect the cigen engine (CIPlan-based smart generator): real flags (--platform, -c/--config, --output/--out, --runner, --from-plan, --diff, --exit-code, --write, --phase-config, --config-path-alias, --phase-config-alias, --interactive), engine behaviour (secrets env: block derivation, plugin install step, two-phase prereq/deploy, migrations step, plan-guard, healthz smoke), and accurate examples. - Add new `ci plan` section: flags (-c/--config, --out, --phase-config, --config-path-alias, --phase-config-alias, --wfctl-version, --branch, --runner) and example of plan→generate workflow. - Update CI/CD command summary table to include `ci plan`, `ci run`, `ci init`, `ci validate`. - Expand `secrets setup` to document interactive wizard (store resolution, multi-select, masked input) and non-interactive mode (--from-env, piped KEY=VALUE, --secret, --auto-gen-keys, --only, --all, --skip-existing, --store, --non-interactive) plus legacy --plugin flags and audit log path. - Expand `secrets list` to document --json flag (machine-readable array), UPDATED column, and store-access line in text output. All flags validated against built binary --help and flag definitions. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
⏱ Benchmark Results✅ No significant performance regressions detected. benchstat comparison (baseline → PR)
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Docs follow-up for the v0.67.0 wfctl surface (secrets wizard + smart CI).
docs/WFCTL.mdstill documented the pre-v0.67.0 templateci generate(with nonexistent--format/--environments/--include-infraflags), had noci plan, and a three-flagsecrets setupstub. Per CLAUDE.md ("new wfctl command → docs/WFCTL.md").Changes (docs-only)
ci generate— rewritten to the real smart (cigen) surface:--platform,-c/--config,--output/--out,--runner,--from-plan,--diff,--exit-code,--write,--phase-config,--config-path-alias,--phase-config-alias,--interactive; explains derived secretenv:wiring, plugin-install, two-phase prereq→deploy,wfctl migrations up, plan-guard, smoke, and non-derivable-secret warnings.ci plan(new section) — emits theCIPlanJSON for inspection / AI-stepping; flags-c/--config,--out,--phase-config,--config-path-alias,--phase-config-alias,--wfctl-version,--branch,--runner.secrets setup— interactive wizard (store resolution priority, multi-select, masked input) + non-interactive (--from-env/stdin/--secret,--only/--all/--skip-existing,--store); audit-log path.secrets list—--json+ UPDATED column + store-access line.ci plan/run/init/validate.Every documented flag was verified against the built binary's
--help+ the flag definitions incmd/wfctl/.🤖 Generated with Claude Code