Skip to content
中文

Command reference

The command text comes from the CLI itself (praxis help --json) and stays as the CLI writes it.

Local

praxis completion

终端窗口
praxis completion <bash|zsh|fish>

Print the shell completion script for praxis, built from this same command definition.

Network: offline

终端窗口
praxis completion zsh > ~/.zsh/completions/_praxis
praxis completion bash >> ~/.bashrc
praxis completion fish > ~/.config/fish/completions/praxis.fish
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli/reference

praxis devops build

终端窗口
praxis devops build [path]

Build one package: its own package.json scripts.build in the package directory (default: the current directory), or the project’s declared devops.tools.build run at the root with the path appended.

Network: offline

终端窗口
praxis devops build
praxis devops build packages/praxis/auth
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops change checkout

终端窗口
praxis devops change checkout <change>

Read the Change from the platform and put this checkout on its branch: fetch it when it is not here, then switch.

Network: online

终端窗口
praxis devops change checkout fix/console-train-plan
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops change git-credential

终端窗口
praxis devops change git-credential <change> [get|store|erase]

Git’s credential helper inside a change’s cloud workspace (DevOps installs it when it clones the repository). On get for the repository’s own host (github.com for a GitHub repository) it asks the platform for a short read-only token for the change’s repository and hands it to that one git request, so git fetch, git log -p and lazy blob reads work in the workspace; store and erase do nothing, the token is never kept. Pushing still goes through praxis devops change push. You do not run it yourself: git does.

Network: online

终端窗口
git config --get-all credential.https://github.com.helper
git fetch origin main
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops change pr

终端窗口
praxis devops change pr [change] [--title <text>] [--body <text> | --body-file <path>] [--draft]

Open the change’s pull request (its branch into the default branch) through the platform’s GitHub App, after devops change push. Without —title / —body the last commit’s subject and body are used; put the ```praxis exposure block in the body or the merge gate asks for it. A branch that already has an open pull request answers that one, and the —title / —body given this run are written onto it (updated=true) so a wrong or missing description can be fixed from the workspace; a field not given is left as it is. On a later slice’s branch (&lt;change&gt;--&lt;n&gt;, opened with devops change slice) it opens that slice’s pull request.

Network: online

终端窗口
praxis devops change pr
praxis devops change pr --title "fix(file): expired links answer 410" --body-file pr.md
OptionTypeDefaultDescription
--titlestringthe last commit's subjectThe pull request’s title (default: the last commit’s subject).
--bodystringthe last commit's bodyThe pull request’s description (default: the last commit’s body). Put the ```praxis exposure block here.
--body-filestring—Read the description from this file instead of —body.
--draftboolean—Open it as a draft.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops change push

终端窗口
praxis devops change push [change]

Push this checkout’s commits to the change’s branch through the platform: DevOps pushes from the change’s cloud workspace, which holds no git credential of its own. Without a change, the one whose branch this checkout is on. Refuses uncommitted changes and another branch; the lease is the remote head this checkout last saw, so it never overwrites commits that landed meanwhile.

Network: online

终端窗口
praxis devops change push
praxis devops change push fix/expired-links
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops change slice

终端窗口
praxis devops change slice [change] [--project <dvp_…>] [--from <branch>]

Open one more slice of the change (再开一片): another pull request on the same change, developed beside the ones already open. The platform names the branch (<change>—<n>), gives it a git worktree in the change’s workspace, removes it after the merge and restacks a slice cut from another onto the default branch; this command prints the branch and the directory to cd into. Without a change, the one whose branch this checkout is on (a slice branch counts); without —project, the change’s own project. A restack that conflicts is reported with its files and is resolved by hand.

Network: online

终端窗口
praxis devops change slice
praxis devops change slice feat/run-page-v2 --from feat/run-page-v2--2
OptionTypeDefaultDescription
--projectstring—The DevOps project (dvp_…) the change is in; default: the project the change itself names.
--fromstring—Cut the slice from this other branch of the same change instead of the default branch; it is restacked onto the default branch when that one merges.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops check

终端窗口
praxis devops check [path] [--targets <a,b>]

Run constraints on this machine for one package — its own and the ones it inherits from its dependencies. With —targets <a,b> name the packages you own the scope of, with —all sweep the whole repository, and with a path check just that package.

Network: offline

终端窗口
praxis devops check packages/devops/release-core
praxis devops check --targets packages/devops/release-core,packages/devops/protocol
praxis devops check migrations
praxis devops check deprecations
OptionTypeDefaultDescription
--targetsstring—Exact comma-separated package targets to check; the engine never expands this list through the dependency graph. With no path, pass —targets or —all.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops check deprecations

终端窗口
praxis devops check deprecations [path]

Check the repository’s deprecation registry: every entry’s dates, the path it names, and whether its symbol is still live in the code.

Network: offline

终端窗口
praxis devops check deprecations
praxis devops check deprecations packages/devops/release-core
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops check migrations

终端窗口
praxis devops check migrations [path]

Check database migration safety: the migration files this change touches, or every one of them with —all.

Network: offline

终端窗口
praxis devops check migrations
praxis devops check migrations --all
praxis devops check migrations packages/database
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops context

终端窗口
praxis devops context [path] [--feature <topic>]

Show what a package declares — its instructions, features, lint rules and boundaries — or one feature’s full text with —feature. The typed analyses hang off it: context topology, context impact, context deps.

Network: offline

终端窗口
praxis devops context packages/devops/release-core
praxis devops context packages/devops/release-core --feature "Promotion state"
praxis devops context topology
praxis devops context deps packages/devops/release-core
OptionTypeDefaultDescription
--featurestring—Show the full text of the feature whose title or path matches this substring, instead of the package index.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops context deps

终端窗口
praxis devops context deps <path>

The packages this one depends on, with the edge each dependency comes from.

Network: offline

终端窗口
praxis devops context deps packages/devops/release-core
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops context impact

终端窗口
praxis devops context impact

What the change on this branch touches, with the targets it recommends. Advisory only: nothing runs because of it. The engine’s own name for this analysis is diff.

Network: offline

终端窗口
praxis devops context impact
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops context topology

终端窗口
praxis devops context topology [path]

The repository’s workspace, module and contract graph, or one target’s place in it.

Network: offline

终端窗口
praxis devops context topology
praxis devops context topology packages/devops/release-core
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops deploy plan

终端窗口
praxis devops deploy plan [--env <name>] [--since <commit>]

Plan this repository’s deploy: the targets by dependency layer, and with —since the ones a change touches. Local facts only — no login, no request.

Deprecated: Renamed: use praxis devops plan.

Network: offline

终端窗口
praxis devops deploy plan --env develop --since HEAD~1
OptionTypeDefaultDescription
--envstringevery environmentPlan only the targets this environment deploys (default: every environment).
--sincestring—Mark the targets a change since this commit touches: git diff <since>…HEAD.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops flag check

终端窗口
praxis devops flag check

Reconcile the code with the flag registry: unregistered keys, unused entries, expired flags and release flags with no expiry (ADR-050).

Network: partly online — the code scan is local; the registry/platform comparison needs a develop login and is skipped, with the reason printed, when there is none

终端窗口
praxis devops flag check
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops flag refs

终端窗口
praxis devops flag refs [key] [--report --project <dvp_…>]

Where each flag key is referenced in this checkout: file and line, for every registered key or one named key. With —report the whole scan of every registered key is posted to the platform, which is what lets archiving a flag be refused while code still names it.

Network: Offline. --report: needs a login and sends this checkout's references to the platform

终端窗口
praxis devops flag refs
praxis devops flag refs run-page-v2
praxis devops flag refs --report --project dvp_…
OptionTypeDefaultDescription
--reportboolean—Post this checkout’s scan to the platform, so archiving a flag is refused while code still names it (ADR-125 §4).
--projectstring—With —report: the DevOps project id (dvp_…) whose flags the scan is reported into. Required.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops flag remove

终端窗口
praxis devops flag remove <key>

The local step of removing a flag: list the remaining references, or the steps that follow once none remain. Order: turn the flag off in every environment (praxis api devops flag environment update), delete the code that names the key and deploy it, run this command, report the scan with praxis devops flag refs —report, then retire the flag on the platform with praxis api devops flag archive <flg_…> (irreversible; it is refused while references remain or an environment still has it on), then regenerate the registry with praxis devops flag sync.

Network: offline

终端窗口
praxis devops flag remove run-page-v2
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops flag scaffold

终端窗口
praxis devops flag scaffold <key> [--out <dir>]

Land a flag that already exists: print the evaluation call and write the paired on/off scenario stubs.

Network: offline — it syncs, and that step needs develop, only when the key is not in the registry yet

终端窗口
praxis devops flag scaffold run-page-v2
praxis devops flag scaffold run-page-v2 --out apps/console/spec/features
OptionTypeDefaultDescription
--outstringthe current directoryDirectory the paired on/off scenario stubs are written to (default: the current directory).
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops flag sync

终端窗口
praxis devops flag sync [--check]

Regenerate the committed flag registry from develop, or with —check compare it without writing.

Network: online

终端窗口
praxis devops flag sync
praxis devops flag sync --check
OptionTypeDefaultDescription
--checkboolean—Compare the committed registry with develop instead of writing it.
--allow-skipboolean—With —check: exit 0 when the comparison cannot run (no develop login) but still print NOT CHECKED. For a hook or a machine that cannot hold a develop credential.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops fmt

终端窗口
praxis devops fmt [paths…] [--all]

Format the files this change touched with the project’s formatter, appended as arguments to the command it runs (devops.tools.fmt in praxis.yaml, else detected from the checkout). —all formats the whole repository; explicit paths format only those.

Network: offline

终端窗口
praxis devops fmt
praxis devops fmt --all
praxis devops fmt apps/cli/src/main.ts
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops install

终端窗口
praxis devops install

Install this repository’s dependencies with the package manager it uses (devops.tools.install in praxis.yaml, else detected from its lockfile), in the checkout root.

Network: needs the package registry

终端窗口
praxis devops install
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops plan

终端窗口
praxis devops plan [--env <name>] [--since <commit>]

Plan this repository’s deploy: the targets by dependency layer, and with —since the ones a change touches. Local facts only — no login, no request.

Network: offline

终端窗口
praxis devops plan
praxis devops plan --env develop --since HEAD~1
OptionTypeDefaultDescription
--envstringevery environmentPlan only the targets this environment deploys (default: every environment).
--sincestring—Mark the targets a change since this commit touches: git diff <since>…HEAD.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops refactor

终端窗口
praxis devops refactor rename|check|apply

TypeScript semantic rename in three steps, on this machine: rename builds and persists a plan without touching source files, check validates the persisted plan, apply writes a validated one and reports already-applied when replayed.

Network: offline

终端窗口
praxis devops refactor rename --at apps/cli/src/main.ts:264:10 --to toolPortsForEach
praxis devops refactor check <digest>
praxis devops refactor apply <digest>
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops refactor apply

终端窗口
praxis devops refactor apply <digest>

Apply a validated rename plan and list the files it changed; a replay, when every file already matches, reports already-applied instead of writing again.

Network: offline

终端窗口
praxis devops refactor apply <digest>
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops refactor check

终端窗口
praxis devops refactor check <digest>

Validate a persisted rename plan against the current sources, writing nothing: ready to apply, or already-applied. A plan that no longer matches the sources is refused with the engine’s reason.

Network: offline

终端窗口
praxis devops refactor check <digest>
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops refactor rename

终端窗口
praxis devops refactor rename --at <file:line:column> --to <identifier>

Build and persist a TypeScript semantic rename plan and print its digest, without changing any source file. The digest is what check and apply take.

Network: offline

终端窗口
praxis devops refactor rename --at apps/cli/src/main.ts:264:10 --to toolPortsForEach
OptionTypeDefaultDescription
--atstring—Location inside the symbol: a file path (resolved from the working directory, inside the checkout) with its one-based line and column, e.g. apps/cli/src/main.ts:264:10.
--tostring—New TypeScript identifier.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops scaffold

终端窗口
praxis devops scaffold <package path>

Create one new workspace package with the project’s declared template (devops.tools.scaffold in praxis.yaml), run at the checkout root with the path appended. It refuses a path outside the checkout and a directory that already holds something: it never overwrites a package.

Network: offline

终端窗口
praxis devops scaffold packages/praxis/my-thing
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops test

终端窗口
praxis devops test [path…] [--size <small|medium|large|all>] [--tags <@tag…>] [--feature <title>] [--case <title>] [--e2e] [--all] [--affected [--since <commit>]] [--list] [--dry-run] [--retries <n>] [--ctrf <file>] [--record-impact]

Run tests on this machine: the existing BDD engine, selected by Google size, purpose tag, feature or scenario title. With —affected, run the tests this change reaches — the changed modules’ tests, their direct importers’ tests and the changed .feature contracts — and with —since measure the change from a given commit instead of the merge base with origin/main. The affected selection resolves relative imports and imported data files (a catalog .json counts), treats a re-export barrel as a path rather than a hop, follows up to two importer layers, and resolves a workspace package name (@scope/pkg) through the manifest of the dependency that package declares, so a change there reaches the tests that name it. What it still does not follow is printed as a note. A package whose change selects no test and no feature is a failure: the command names the files and exits 1 instead of reporting zero tests. When the run finishes it is recorded on Praxis DevOps: on a clean, pushed commit as test evidence (each package the run fully covered at the gate’s sizes is filed under its tree, and the merge gate and later stages read it instead of testing again), otherwise as private feedback. Run a package with no narrowing flags to leave evidence for it.

Network: offline

终端窗口
praxis devops test packages/devops/release-core --size small
praxis devops test services/devops --e2e --feature "praxis-devops release module"
praxis devops test packages/devops/release-core --tags @smoke
praxis devops test --affected
praxis devops test --affected --list
praxis devops test --e2e --dry-run
OptionTypeDefaultDescription
--affectedboolean—Run the tests this change reaches: the changed modules’ tests, their direct importers’ tests and the changed .feature contracts (ADR-125 §3).
--sincestringthe merge base with origin/mainThe commit —affected measures the change from (default: the merge base with origin/main).
--listboolean—Name what would run and run nothing: with —affected the selected tests, with —e2e a package’s labs.
--dry-runboolean—With —e2e: parse every lab and resolve every step binding without running them (the static lab sweep).
--sizestringsmall,mediumComma-separated Google sizes (default: small,medium).
--tagsstring—Gherkin tag expression, e.g. @smoke.
--featurestring—Feature title substring (a case-insensitive match on the “Feature:” / “功能:” line).
--casestring—Scenario title substring; the engine’s scenario (case ids are a later slice).
--e2eboolean—The large end-to-end tests; exactly —size large, so the two cannot be combined.
--retriesstring0Retries after a failing scenario (default: 0).
--ctrfstring<cwd>/.praxis/ctrf/<run>.jsonWrite the CTRF report here (default: <cwd>/.praxis/ctrf/<run>.json).
--record-impactboolean—Record, for every scenario that runs, the repository source files it executed, into the CTRF report (extra.impact.files). Runs the tests under coverage instrumentation, so they are slower; the data picks which scenarios a diff requires.
--no-recordboolean—Do not record this run on the platform. By default a finished run is recorded once (as evidence when the tree is clean and HEAD is pushed, feedback otherwise).
--projectstring—The DevOps project (dvp_…) the run is recorded on; default: “devops”: { “project” } in praxis.jsonc.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops test inspect

终端窗口
praxis devops test inspect <feature title> [--headed]

Boot the one lab whose Feature title matches and keep its real-component page live to poke at, then write the assertion into its driver. The title matches case-insensitively as a substring, and a title the query equals exactly wins over longer titles that contain it.

Network: offline

终端窗口
praxis devops test inspect "登录页"
OptionTypeDefaultDescription
--headedboolean—Open a headed browser window; without it the lab’s page is only served and the URL is printed.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops test new

终端窗口
praxis devops test new <file> [--e2e] [--port <n>]

Scaffold a test file named on the command line: a unit file (.test.ts) or a Gherkin feature (.feature) from a template, or — with —e2e — a new in-package real-browser lab (<pkg>/spec/features/<name>) through the engine’s lab new, the same tree mise lab new writes. Never overwrites an existing file.

Network: offline

终端窗口
praxis devops test new apps/cli/src/foo.test.ts
praxis devops test new packages/x/spec/features/my-lab --e2e
OptionTypeDefaultDescription
--e2eboolean—Scaffold a new in-package real-browser lab named <pkg>/spec/features/<name> instead of a test file (the engine’s own lab new).
--portstringa free port the engine picksWith —e2e: the dev-server port for the scaffolded lab (default: a free port the engine picks).
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops test report

终端窗口
praxis devops test report [path…] [--id <run>] [--upload [--project <dvp_…>]]

List this machine’s recent test runs, or show one run’s detail with —id. —upload sends the local CTRF report as private feedback; it never counts as test evidence.

Network: Offline. --upload: online

终端窗口
praxis devops test report
praxis devops test report packages/devops/release-core
praxis devops test report --id mise-test-1794406802765
praxis devops test report --id <run> --upload
OptionTypeDefaultDescription
--idstring—Show one run’s detail instead of the recent list.
--uploadboolean—Upload the local CTRF report of —id as private feedback: stored for the organization, never counted as test evidence.
--projectstring—DevOps project id (dvp_…); default: the devops.project field of praxis.jsonc in the checkout.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis help

终端窗口
praxis help [command…] [--json]

Print the command reference; —json prints the whole command tree, hand-written and generated, as data (ADR-125 §8).

OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis skill

终端窗口
praxis skill [--install <dir>]

Print the AI skill, or write <dir>/praxis-cli/SKILL.md.

OptionTypeDefaultDescription
--installstring——
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Platform

praxis agent connect

终端窗口
praxis agent connect [--dir <path>] [--no-bypass | --bypass] [--no-service]

Let the coding agent on this machine (Claude Code through the ACP adapter) join your organization: pair this machine once (a device credential of its own, never your login), register the directory (default: the current one) and start praxis-envd, which dials the platform over wss. macOS and Linux only; it installs the pinned adapter for this platform on the first run. By default it also registers a per-user login service (a LaunchAgent on macOS, a systemd user unit on Linux) so envd starts at login and restarts when it fails; --no-service skips that. The JSON output says claude_code: signed_in, not_signed_in or unknown (from claude auth status); when Claude Code is not signed in, envd still runs but the exit code is 3 and the hint names claude auth login.

Network: online

终端窗口
praxis agent connect --dir ~/work/my-project
OptionTypeDefaultDescription
--dirstringthe current directoryDirectory the agent may work in (default: the current directory).
--agentstring—The agent this directory is bound to (identity number or agent id). Default: PRAXIS_ASSUME_AGENT from the environment, then from <dir>/.claude/settings.local.json.
--rebindboolean—Replace the agent a directory is already bound to.
--no-bypassboolean—Do not let platform sessions run in bypassPermissions on this machine (remembered until —bypass).
--bypassboolean—Allow platform sessions to run in bypassPermissions again (the default).
--no-serviceboolean—Do not register a login service: run envd as a detached process that does not come back after a reboot (removes a service registered earlier).
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis agent connect status

终端窗口
praxis agent connect status

Show this machine’s pairing: the device id, whether the platform sees it online, the registered directories, whether praxis-envd is running and which login service (launchd, systemd or none) starts it.

Network: online

终端窗口
praxis agent connect status
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis agent consolidate

终端窗口
praxis agent consolidate --content <text> --kind <fact|procedure|lesson|preference> --why <text> --reuse-when <text> --evidence <user_said|user_corrected|verified|observed|external> [--supersedes <note id>] [--about <id,id>]

Keep one thing in your assume agent’s memory on purpose, word for word (explicit consolidation): how strongly it is kept follows its evidence; it answers with the note id, its grade, the nearest notes and the 8,000-token budget. Supersede a near note instead of adding another.

Network: online

终端窗口
praxis agent consolidate --content "TikHub 的密钥在保险库 vault/tikhub" --kind fact --why "上次找了一轮" --reuse-when "调 TikHub 的时候" --evidence user_said
OptionTypeDefaultDescription
--contentstring—The thing to keep, self-contained, at most 1000 characters: it is kept word for word.
--kindstring—fact, procedure, lesson or preference.
--whystring—One sentence: why it is worth keeping.
--reuse-whenstring—When you will need it again; it is recalled by this.
--evidencestring—user_said, user_corrected, verified, observed or external: it decides how strongly it is kept.
--supersedesstring—The id of a note of yours this replaces.
--aboutstring—Ids of entities it is about, comma-separated or repeated.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis agent disconnect

终端窗口
praxis agent disconnect

Revoke this machine’s device on the platform, stop praxis-envd, remove its login service and delete the stored credential.

Network: online

终端窗口
praxis agent disconnect
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis agent events channel

终端窗口
praxis agent events channel

Run as a Claude Code channel (a stdio MCP server declaring claude/channel, no tools): pushes the waiting letters once, then every new letter and new memory of your assume agent (PRAXIS_ASSUME_AGENT, default R1M9TQ2X) into the running session. Started by the assume-agent plugin, not by hand; stdout carries MCP frames only, logs go to stderr.

Network: online

终端窗口
claude --dangerously-load-development-channels plugin:assume-agent@deepraxis
OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis agent events wait

终端窗口
praxis agent events wait [--timeout <seconds>]

Wait until a new letter arrives for your assume agent (PRAXIS_ASSUME_AGENT, default R1M9TQ2X), print who wrote and how to read it, and exit 0. It first checks the waiting letters once, so mail that arrived while nothing waited is reported at once; then it follows the agent’s event stream, reconnecting with backoff. Nothing is marked read. Run it as a background task in Claude Code: its exit wakes the idle session; read the mail with praxis_assume_inbox and start it again.

Network: online

终端窗口
PRAXIS_ASSUME_AGENT=R1M9TQ2X praxis agent events wait
OptionTypeDefaultDescription
--timeoutstringwait until a letter arrivesGive up after this many seconds, print that nothing arrived and exit 0 (default: wait until a letter arrives).
--sessionstringone waiter per agentThe Claude Code session this waiter wakes: its announced letters and pid file are kept per session, and a second waiter for the same session exits at once (default: one waiter per agent).
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis agent mcp

终端窗口
praxis agent mcp [--agent <identity number | agent_…>]

Run as one stdio MCP server for your assume agent (Claude Code, Codex): proxies the agent’s remote MCP door (tools/list, tools/call, resources, prompts) with this CLI’s own login, puts the agent’s connection instructions and memory into the initialize instructions, and declares the Claude Code channel so letters and new memories are pushed into the session. The agent is —agent, else PRAXIS_ASSUME_AGENT. Started by the client’s MCP config, not by hand; stdout carries MCP frames only, logs go to stderr; it exits when stdin closes.

Network: online

终端窗口
claude mcp add praxis-assume -- praxis agent mcp --agent VJ1BNXBM
OptionTypeDefaultDescription
--agentstringPRAXIS_ASSUME_AGENTThe assume agent: its 8-character identity number or agent_… id (default: PRAXIS_ASSUME_AGENT).
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis agent memory

终端窗口
praxis agent memory [--hook SessionStart|UserPromptSubmit]

Print your assume agent’s memory as it stands now (PRAXIS_ASSUME_AGENT): who it is, its post, manager, duties and the charters it works under, drawn from its organization. With —hook it reads the Claude Code hook input on stdin and prints the hook’s JSON: the whole memory at SessionStart, only what is new since that session last read it at UserPromptSubmit; it never fails the hook.

Network: online

终端窗口
praxis agent memory
OptionTypeDefaultDescription
--hookstring—Run as a Claude Code hook (SessionStart or UserPromptSubmit): read the hook input on stdin, print the hook JSON or nothing, always exit 0.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis agent recall

终端窗口
praxis agent recall [--words <w,w>] [--handles <id,id>]

Recall from your assume agent’s memory: with no flags, what else comes to mind; with words, what was filed under them; with handles, that entry and its original.

Network: online

终端窗口
praxis agent recall --words 章程,运维部
OptionTypeDefaultDescription
--wordsstring—Distinctive words to recall by, comma-separated or repeated.
--handlesstring—Entry handles or ids from memory to recall, comma-separated or repeated.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis app create

终端窗口
praxis app create <name> [--dir <path>] [--template <dir>] [--no-install]

Create an application project from the standard template and install its dependencies.

终端窗口
praxis app create my-app
OptionTypeDefaultDescription
--dirstring./<name>Directory to create the project in (default: ./<name>).
--templatestring—Copy a local template directory instead of downloading the standard template.
--no-installboolean—Skip installing dependencies.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis app publish

终端窗口
praxis app publish [--dir <path>] [--no-build]

Build the project, publish it, create declared secrets, run the health check and print the URL.

终端窗口
praxis app publish --dir ./my-app
OptionTypeDefaultDescription
--dirstringthe nearest parent containing praxis.jsoncProject directory (default: the nearest parent containing praxis.jsonc).
--no-buildboolean—Publish the existing dist/ output without building.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis app rollback

终端窗口
praxis app rollback [--dir <path>] [--to <version_id>]

Deploy the previous version again (or —to a given version) and wait until it is active.

终端窗口
praxis app rollback --to <version_id>
OptionTypeDefaultDescription
--dirstringthe nearest parent containing praxis.jsoncProject directory (default: the nearest parent containing praxis.jsonc).
--tostringthe previous versionVersion id to deploy (default: the previous version).
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis auth header

终端窗口
praxis auth header

Print this directory’s login as the one-line JSON request header Claude Code’s assume-agent headersHelper reads: a JSON object with a single Authorization field; reads only $PRAXIS_CWD’s login, never the home’s (ADR-158 §9).

OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis canvas import

终端窗口
praxis canvas import <file.pen> [--name <name>] [--canvas <cvs_…> --yes] [--frames <id,id>] [--image-root <dir>] [--dry-run]

Import a Pencil .pen file as a canvas, uploading the images it references first.

终端窗口
praxis canvas import design.pen --name "Landing page"
OptionTypeDefaultDescription
--namestringthe file name without .penName for the new canvas (default: the file name without .pen).
--canvasstring—Import into this existing canvas instead of a new one. Whole-canvas replacement: it clears what is already there and requires —yes.
--framesstring—Comma-separated top-level node ids to import. The components they reference come along automatically.
--image-rootstring—Directory to resolve image paths against; repeatable. Tried after the .pen file’s own directory, then by file name.
--dry-runboolean—Read the local file and print the plan. No login and no request.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis devops test run

终端窗口
praxis devops test run --remote [--project <dvp_…>] [--no-wait] [--repeat <n>] [--select <kind:value>]

Run the DevOps test selection for the pushed HEAD on the Praxis cloud, wait for the verdict and list the failed cases.

Deprecated: Going away: use praxis api devops project test-run create instead.

Network: online

终端窗口
praxis devops test run --remote --select smoke
OptionTypeDefaultDescription
--projectstring—DevOps project id (dvp_…); default: the devops.project field of praxis.jsonc in the current directory.
--remoteboolean—Run the cases on the Praxis cloud executor. Required; local execution does not exist yet.
--no-waitboolean—Return as soon as the run exists instead of waiting for a verdict.
--repeatstring1How many times each selected case runs (default: 1).
--selectstring—Narrow the selection; repeatable. tag:<tag> (a bare word reads as a tag), package:<path>, suite:<path> or file:<path>.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis login

终端窗口
praxis login [--intent <code>] [--create] [--as agent:<id> [--org <organization_id>] [--place <computer id>]]

Sign in with a browser device code — or, for an agent, redeem a one-time login intent (—intent <code>, or —as agent:<id> to create and redeem one with your own home login); the login is saved in $PRAXIS_CWD/.praxis/credentials/<env>.json when PRAXIS_CWD names a directory, otherwise in ~/.praxis/credentials/<env>.json.

OptionTypeDefaultDescription
--intentstring—Redeem a one-time pli_... login intent code in this place (an agent’s login; ADR-158 §4). No browser is opened.
--asstring—Create and redeem a login intent for agent:<agent_id> with your own home login (the sponsor’s shortcut).
--placestringthe agent’s own computer, read from its recordWith —as: the platform computer (cmp_…) this login is for (default: the agent’s own computer, read from its record). Not accepted with —create, whose place the service decides.
--createboolean—Create a one-time login intent for THIS agent from its own platform session and print the code; redeem it elsewhere with —intent (ADR-158 §4).
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis logout

终端窗口
praxis logout

Remove the saved login of the chosen directory ($PRAXIS_CWD, else the home).

OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis org list

终端窗口
praxis org list

List organizations available to the login.

OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis org switch

终端窗口
praxis org switch <organization_id>

Switch the login organization.

OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

praxis whoami

终端窗口
praxis whoami

Show the signed-in identity, where its credential came from (PRAXIS_API_TOKEN, PRAXIS_CWD=<dir> or home) and the file used.

OptionTypeDefaultDescription
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Build machine

praxis devops checkpoint register

终端窗口
praxis devops checkpoint register --env <develop|production> --target <path> --commit <sha> --version <worker-version-id> --reason <incident|migration> [--note <text>] [--worker <name>] [--project <dvp_…>]

Record the version a Worker actually serves after a DIRECT deploy that bypassed DevOps (wrangler under an authorization): the checkpoint otherwise trails the environment and a reader judging the environment judges a stale version. The command reads the live version from wrangler itself and registers only when it equals —version; a mismatch refuses and registers nothing (#1598).

Network: online — it reads the live Worker version through the local wrangler and registers it through /devops/v1

终端窗口
praxis devops checkpoint register --env production --target services/devops --commit $(git rev-parse HEAD) --version <worker-version-id> --reason incident --note "hotfix while the line was down"
praxis devops checkpoint register --env develop --target services/router --commit <sha> --version <worker-version-id> --reason migration --worker praxis-router-develop
OptionTypeDefaultDescription
--envstring—The environment the direct deploy went to: develop or production.
--targetstring—The target path, spelled as praxis devops deploy names targets (e.g. services/devops).
--commitstring—The commit the deploy ran: the full 40-character sha (an abbreviation is refused).
--versionstring—The Worker version id wrangler reports; it must equal what the Worker serves right now, or nothing is registered.
--reasonstring—Why the deploy bypassed DevOps: incident or migration.
--notestring—Optional free text recorded with the registration.
--workerstring—The Worker name, when the target’s wrangler.jsonc names none for —env.
--projectstring—DevOps project id (dvp_…); default: the devops.project field of praxis.jsonc.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops deploy

终端窗口
praxis devops deploy --env <develop|production> --environment-id <dve_…> [--project <dvp_…>] --commit <sha> [--targets a,b] [--plan-only] [--plan-dir <dir>] [--apply-plans <dir>] [--events-file <path>] [--engine-root <dir>] [--order callers-first] [--no-dependencies] [--force-redeploy a,b] [--promotion <prm_…>] | devops deploy --capabilities

Roll targets out through the built-in engine: for each target its adapter generates its configuration (an adapter built into the CLI for cloudflare and npm, or the command praxis.yaml devops.deploy.adapters names; ADR-187); then plan (—plan-only) or apply approved plans (—apply-plans), layer by layer, writing the ExecutorLine events DevOps folds. Advanced: PRAXIS_TOFU_BIN points at a pre-installed engine binary (air-gapped builders); —engine-root reads a custom adapter’s script from another checkout while the working directory stays this source tree. —capabilities prints the options this engine supports as JSON and exits; DevOps asks it before sending an option. The published CLI runs this command itself, in any checkout with a praxis.yaml.

Deprecated: Renamed: use praxis devops engine deploy.

Network: online

终端窗口
praxis devops deploy --env develop --environment-id dve_… --commit $(git rev-parse HEAD) --events-file /tmp/deploy-events.ndjson
OptionTypeDefaultDescription
--enginestringbuilt-inDeploy engine (default: built-in).
--envstring—develop or production.
--projectstring—DevOps project id (dvp_…) holding the deploy state; default: the devops.project field of praxis.jsonc.
--environment-idstring—DevOps environment id (dve_…) whose state this deploy reads and writes (required).
--targetsstringevery deployable targetComma-separated target paths (default: every deployable target).
--commitstring—The commit being rolled out.
--plan-onlyboolean—Write plan files and a summary, apply nothing.
--plan-dirstring—Directory the plan files are written to.
--apply-plansstring—Apply the approved plan files in this directory.
--events-filestring—NDJSON file the ExecutorLine events are written to.
--workdirstring—Working directory for bundles and generated documents.
--engine-rootstring—Absolute path of the checked-out deploy engine (its CLI and adapter scripts), when the engine tree is not the source tree being deployed (ticket-1536).
--orderstring—callers-first rolls the layers out callers before callees (a rollback, ticket-1529); default: callees first.
--no-dependenciesboolean—Forced express: deploy only the —targets named, never what they depend on, and do not refuse a named target whose dependency is outside the run. Requires —targets.
--promotionstring—The DevOps promotion (prm_…) this deploy runs for; it rides on the state lock so DevOps can take over a lock whose promotion has ended (ticket-4230).
--force-redeploystring—Comma-separated targets deployed even when their artifact digest equals the checkpoint (#3224); requires —targets and names targets it deploys.
--capabilitiesboolean—Print the options this deploy engine supports as JSON ({ version, options, adapters }) and exit; DevOps asks before it sends an option (ADR-187).
--adapterstring—Internal: run the built-in adapter <destination>:<phase> (cloudflare, npm, kit, android-apk or browser-extension; generate, before-plan, before-apply, after-apply). The deploy runner starts this itself.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

praxis devops engine deploy

终端窗口
praxis devops engine deploy --env <develop|production> --environment-id <dve_…> [--project <dvp_…>] --commit <sha> [--targets a,b] [--plan-only] [--plan-dir <dir>] [--apply-plans <dir>] [--events-file <path>] [--engine-root <dir>] [--order callers-first] [--no-dependencies] [--force-redeploy a,b] [--promotion <prm_…>] | devops engine deploy --capabilities

Roll targets out through the built-in engine: for each target its adapter generates its configuration (an adapter built into the CLI for cloudflare and npm, or the command praxis.yaml devops.deploy.adapters names; ADR-187); then plan (—plan-only) or apply approved plans (—apply-plans), layer by layer, writing the ExecutorLine events DevOps folds. Advanced: PRAXIS_TOFU_BIN points at a pre-installed engine binary (air-gapped builders); —engine-root reads a custom adapter’s script from another checkout while the working directory stays this source tree. —capabilities prints the options this engine supports as JSON and exits; DevOps asks it before sending an option. The published CLI runs this command itself, in any checkout with a praxis.yaml.

Network: online

终端窗口
praxis devops engine deploy --env develop --environment-id dve_… --commit $(git rev-parse HEAD) --events-file /tmp/deploy-events.ndjson
OptionTypeDefaultDescription
--enginestringbuilt-inDeploy engine (default: built-in).
--envstring—develop or production.
--projectstring—DevOps project id (dvp_…) holding the deploy state; default: the devops.project field of praxis.jsonc.
--environment-idstring—DevOps environment id (dve_…) whose state this deploy reads and writes (required).
--targetsstringevery deployable targetComma-separated target paths (default: every deployable target).
--commitstring—The commit being rolled out.
--plan-onlyboolean—Write plan files and a summary, apply nothing.
--plan-dirstring—Directory the plan files are written to.
--apply-plansstring—Apply the approved plan files in this directory.
--events-filestring—NDJSON file the ExecutorLine events are written to.
--workdirstring—Working directory for bundles and generated documents.
--engine-rootstring—Absolute path of the checked-out deploy engine (its CLI and adapter scripts), when the engine tree is not the source tree being deployed (ticket-1536).
--orderstring—callers-first rolls the layers out callers before callees (a rollback, ticket-1529); default: callees first.
--no-dependenciesboolean—Forced express: deploy only the —targets named, never what they depend on, and do not refuse a named target whose dependency is outside the run. Requires —targets.
--promotionstring—The DevOps promotion (prm_…) this deploy runs for; it rides on the state lock so DevOps can take over a lock whose promotion has ended (ticket-4230).
--force-redeploystring—Comma-separated targets deployed even when their artifact digest equals the checkpoint (#3224); requires —targets and names targets it deploys.
--capabilitiesboolean—Print the options this deploy engine supports as JSON ({ version, options, adapters }) and exit; DevOps asks before it sends an option (ADR-187).
--adapterstring—Internal: run the built-in adapter <destination>:<phase> (cloudflare, npm, kit, android-apk or browser-extension; generate, before-plan, before-apply, after-apply). The deploy runner starts this itself.
--orgstring——
--formatstring——
--jsonboolean——
--yesboolean——
--no-inputboolean——
--quietboolean——
--debugboolean——
--limitinteger——
--cursorstring——
--allboolean——
--helpboolean——
--versionboolean——

Docs: https://docs.deepraxis.com/developers/cli

Next steps