praxa init creates project-scoped client configuration and setup guidance. It
does not write an access token or provider credential.
Choose targets
Preview the exact plan
- the canonical project directory;
- the exact HTTPS origin;
- every requested target;
- whether each file is
create,update, orunchanged; - the next steps;
dryRun: true.
Apply the configuration
git diff immediately. Use --force only when you have inspected the
existing files and intend to replace the CLI-owned portions. Do not use it to
silence an unexplained conflict.
Environment auth mode
Set the token in the runtime that launches the CLI or host:.env and shell-secret files out of version control. CI should inject the
token from its protected secret store.
OAuth auth mode
Verify the result
doctor proves an authenticated read against the configured Gateway;
it does not prove mutation scopes or external provider effects.
Recovery
Best practices
- Pin the CLI version in team and CI instructions.
- Commit non-secret project configuration so every developer gets the same Gateway origin and target behavior.
- Keep credentials in the process or approved secret manager.
- Use one initialized project per reviewed Gateway environment.
- Run
praxa versionafter dependency updates. - Treat generated setup guidance as code: review it and test it in each host.
Use Praxa from agent hosts
Continue with tool discovery, protocol negotiation, approval behavior, and
negative host tests.