Skip to content
DocumentationCLI model
On this page

Page resources

Open Markdownllms.txtView source

Last updated

CLI model

One keeps a small universal command vocabulary. Domain-specific behavior is projected from exact operation contracts rather than hard-coded into command parsing.

End-product contract: Individual commands are available only where their owning implementation and tests provide evidence.

Universal control commands

CommandPurpose
one checkValidate the envelope, semantics, claimed implementations, policy, and compatibility without application execution
one testRun unit, integration, simulation, conformance, fuzz, benchmark, or replay verification
one invokeInvoke an exact operation that permits direct execution
one planProduce an immutable plan for one exact semantic operation
one buildMaterialize exact per-root artifacts from the locked physical plan
one applyBegin or resume one reviewed plan
one inspectResolve and inspect an exact subject, optionally following explanation edges

Universal tooling commands

CommandPurpose
one initCreate or adopt a project, semantic domain, provider, or adapter
one fmtFormat the .one envelope and semantic sections and route executable bodies to exact language formatters
one lspServe section-aware language and semantic-package tooling
one authManage principals, credentials, approvals, grants, and break-glass evidence
one exportProduce a read-only receipted projection or distribution package
one docsMaterialize documentation from exact normalized contracts

Exact operation identities

High-level domain commands are operations:

one plan acme.robotics#CommissionCell --cell welding-7
one plan one.deployment#Deploy --environment production
one inspect plan:<digest> --explain
one apply plan:<digest>

CLI, Rust, TypeScript, HTTP, UI, and automation surfaces project the same operation identity and typed inputs, outputs, faults, effects, approval requirements, and evidence.

A friendly alias such as deploy is generated only when the selected lock resolves it unambiguously. Plans and receipts always retain the qualified identity.

Read-only checking

one check never writes one.lock. If a dependency is missing, it reports the exact requirement and may emit a reviewable lock proposal. one init creates or adopts the initial lock; subsequent dependency changes follow an explicit reviewed operation.

Inspection is owner-neutral

one inspect resolves a lock-qualified stable locator or an exact content-addressed reference. The owner supplies the bounded inspection contract and available views.

The CLI does not maintain a registry of semantic kinds, custom domains, IR records, artifact families, or provider-specific subjects.

Unsupported remains typed

If a requested semantic package, language tool, provider, planner contribution, compiler, deployment realization, or evidence path is absent, the command returns the owning typed unsupported, unsatisfied, or missing-evidence result.

Canonical owner: Developer Interface.