feat(quickstart): add subscription auth modes#13
Open
JordanTheJet wants to merge 2 commits into
Open
Conversation
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.
Summary
master(all contributions)auth_modechoices for OpenAI (api_key/codex) and Anthropic (api_key/setup_token) so users do not have to discover raw provider toggles.openai-codex,codex,claude,google, andgrokto canonical config families during Quickstart apply.enhancement,provider,provider:openai,runtime,core,config,docs,quickstartValidation Evidence (required)
Local validation is the signal CI cannot replace. Run the full battery and paste literal output (tails, failures, warnings — not "all passed").
cargo fmt --all -- --check cargo clippy --all-targets -- -D warnings cargo testDocs-only changes: replace with markdown lint + link-integrity (
scripts/ci/docs_quality_gate.sh). Bootstrap scripts: addbash -n install.sh.cargo fmt --all -- --checkcargo clippy --all-targets -- -D warningscargo testAdditional focused checks run before the full battery:
cargo web build,cargo build --release --locked, andcargo build --release --locked -p zerocode. Verifiedtarget/release/zeroclaw --versionandtarget/release/zerocode --versionboth report0.8.2.Security & Privacy Impact (required)
Yes/No for each. Answer any
Yeswith a 1–2 sentence explanation.No)No)Yes)No)Yes, describe the risk and mitigation: Quickstart now lets users select subscription auth modes and intentionally suppresses OpenAI API-key persistence for Codex auth. The canonical credential sources remain unchanged: OpenAI Codex still uses ZeroClaw auth profiles, and Anthropic setup tokens are saved through the existing provider credential field.Compatibility (required)
Yes)Yes)NoorYesto either: Existing configs remain valid. New Quickstart submissions may useauth_mode = codexfor OpenAI orauth_mode = setup_tokenfor Anthropic; persisted config still uses canonical provider entries.Rollback (required for medium/high-risk PRs)
Low-risk PRs:
git revert <sha>is the plan unless otherwise noted.Medium/high-risk PRs must fill:
git revert 13d76066ewire_api = "responses"/requires_openai_auth = trueafter Quickstart apply.Supersede Attribution (required only when
Supersedes #is used)#<pr> by @<author>, one per line): N/ACo-authored-bytrailers added in commit messages for incorporated contributors? (No)No, why (inspiration-only, no direct code/design carry-over): N/A