Use this page when you know the job, but not which tokmd artifact to trust
first. It is a consumption map, not a command reference.
For artifact definitions, use the Artifact glossary. For the first guided walkthrough, use Start Here. For small physical layouts, use Sample artifact trees. For copy-ready command sequences, use Copy-Ready Workflows. If you still need to install the tool or run the first local command, use Install and try tokmd.
| User job | Run first | Primary artifact | Open first | Meaning |
|---|---|---|---|---|
| Inspect repo | tokmd --format md --top 8 |
Markdown summary | terminal output | Repo shape, language mix, and largest surfaces. |
| Review PR | tokmd cockpit --base origin/main --head HEAD --review-packet-dir .tokmd/review |
.tokmd/review/ |
.tokmd/review/comment.md, then .tokmd/review/review-map.md |
Compact status first, then review order, evidence state, missing evidence, and reproduction commands. |
| Prepare agent handoff | tokmd handoff --preset risk --budget 128k --strategy spread --out-dir .handoff |
.handoff/ |
.handoff/work-order.md |
Bounded source/context bundle plus agent task map. |
| Read CI proof evidence | cargo xtask affected ..., cargo xtask ci-plan ... --route-json-out ..., then cargo xtask proof --profile affected ... --plan |
target/proof/ and target/ci/ |
affected.json, proof-pack-route.json, then proof-plan.json |
Changed files, matched proof scopes, CI risk/proof-pack routing, skipped-by-policy lanes, and required/advisory proof expectations. |
| Try browser mode | Browser runner | downloaded browser-safe receipt | UI summary | No-install repo inspection over browser-supported inputs. |
| Check publishing evidence | cargo xtask publish-surface --json --verify-publish |
publish-surface JSON/stdout | command output or saved JSON | Package-surface and publish-readiness evidence before release mutation. |
Run:
tokmd --format md --top 8Artifact: terminal Markdown output.
Open first: the command output.
Means:
- the repo's language and size shape;
- the largest surfaces worth inspecting;
- a deterministic starting point for wider analysis.
Does not mean:
- tests passed;
- the repo is safe to release;
- a PR is ready to merge.
Next action:
- Use
tokmd analyze --preset risk --format mdwhen you need derived risk, effort, complexity, or git-backed signals. - Use
tokmd export --format jsonlwhen another tool needs stable file rows.
Run:
tokmd cockpit \
--base origin/main \
--head HEAD \
--review-packet-dir .tokmd/reviewVerify packet integrity in contributor checkouts:
cargo xtask review-packet-check \
--dir .tokmd/review \
--json target/tokmd/review-packet-check.jsonArtifact: .tokmd/review/.
Open first:
.tokmd/review/comment.md.tokmd/review/review-map.md.tokmd/review/evidence.jsontarget/tokmd/review-packet-check.json
Means:
- what changed;
- what to review first;
- why the item was prioritized;
- what evidence is present, missing, stale, degraded, skipped, or advisory;
- which command reproduces the evidence claim.
Does not mean:
- merge approval;
- advisory proof became required;
- missing evidence is passing proof.
Next action:
- Treat
comment.mdas the first screen, not the whole review. - Run the reproduction commands shown in
review-map.md. - Inspect
evidence.jsonfor missing or degraded evidence before claiming the packet is complete. - Use the verifier receipt before trusting packet-local hashes.
Run a plain bundle:
tokmd handoff \
--preset risk \
--budget 128k \
--strategy spread \
--out-dir .handoffWhen review and proof artifacts exist, link them:
tokmd handoff \
--preset risk \
--budget 128k \
--strategy spread \
--review-packet-dir .tokmd/review \
--review-packet-check target/tokmd/review-packet-check.json \
--affected target/proof/affected.json \
--proof-plan target/proof/proof-plan.json \
--out-dir .handoffArtifact: .handoff/.
Open first:
.handoff/work-order.md.handoff/manifest.json.handoff/code.txt.handoff/review-links.jsonand.handoff/proof-links.jsonif present
Means:
- the bounded source bundle selected for the agent;
- what external review/proof evidence is linked, including a packet-local proof route when the review packet contains one;
- where the agent should start;
- what proof expectations should be checked before returning.
Does not mean:
- the whole repo fit in the bundle;
- linked review/proof artifacts were verified by handoff;
- a proof-route receipt is executed proof;
- planned proof has passed.
Next action:
- Give the agent
work-order.mdfirst. - Treat missing, stale, degraded, or unavailable evidence as a task, not as a pass.
- Verify linked review/proof artifacts with their own checkers.
- Use the handoff prompt template when you want a copy-ready instruction block for Codex, Claude, Cursor, or another coding agent.
Plan affected proof:
cargo xtask affected \
--base origin/main \
--head HEAD \
--json-output target/proof/affected.json
cargo xtask ci-plan \
--base origin/main \
--head HEAD \
--labels-json '[]' \
--json-out target/ci/ci-plan.json \
--route-json-out target/ci/proof-pack-route.json \
--no-budget-annotations
cargo xtask proof \
--profile affected \
--base origin/main \
--head HEAD \
--plan \
--plan-json target/proof/proof-plan.json \
--evidence-json target/proof/proof-evidence.jsonFor observation aggregates, read the decision packet:
cargo xtask proof-observation-status \
--observations-dir target/proof-observations \
--json target/proof-observations/proof-observation-decision.json \
--summary-md target/proof-observations/proof-observation-decision.mdArtifact: target/proof/, target/ci/, and target/proof-observations/.
Open first:
target/proof/affected.jsontarget/ci/proof-pack-route.jsontarget/proof/proof-plan.jsontarget/proof/proof-evidence.jsontarget/proof-observations/proof-observation-decision.mdwhen collecting observation evidence
Means:
- which files changed;
- which proof scopes matched;
- which CI risk/proof packs matched;
- which route lanes were explicitly skipped by policy;
- which commands are required versus advisory;
- which criteria are met or missing in observation evidence.
Does not mean:
- planned proof executed;
- advisory coverage or mutation is a gate;
- Codecov upload is enabled by default;
- promotion criteria changed.
Next action:
- Use GitHub Action quickstart when you want hosted artifacts before wiring deeper proof workflows.
- Resolve unknown files before relying on scoped proof.
- Inspect
unmatched_filesandskipped_by_policybefore assuming broad CI proof was selected correctly. - Run required proof when the work needs executed evidence.
- Verify source receipts and status packets with their matching checkers.
Run: open the browser runner and load GitHub or local files.
Artifact: browser-safe receipt download.
Open first: the browser UI summary, then the downloaded receipt if you need to save evidence.
Means:
- no-install inspection for browser-supported inputs;
- language/module/file export and browser-safe analysis where capabilities are available;
- a quick trial before installing native
tokmd.
Does not mean:
- native filesystem behavior;
- git-history enrichers;
- cockpit review packets;
- gates, context, handoff, or AST capability.
Next action:
- Move to native
tokmd cockpitfor PR review. - Move to native
tokmd handoffwhen preparing agent context. - Check Browser runner and the capability matrix before relying on a browser result.
- Use Browser to native when the trial needs to become review, handoff, or CI evidence.
Run:
cargo xtask publish-surface --json --verify-publish
cargo xtask version-consistencyArtifact: publish-surface JSON/stdout and version-consistency output.
Open first: the publish-surface summary and violations fields, then the
version-consistency output.
Means:
- package-surface classification;
- non-dev workspace closure;
- package-list and publish-surface checks;
- version alignment for the checked workspace state.
Does not mean:
- crates were published;
- a tag or GitHub release was created;
- release workflow artifacts exist;
- release mutation is approved.
Next action:
- Use Release readiness for the short pre-release evidence command sequence.
- Use Publishing evidence for the release-facing reading order.
- Treat release mutation as a separate explicit decision.
- Pair publishing evidence with affected proof when release metadata or workflow files changed.