Traverse keeps the canonical expedition example artifacts in three governed locations:
contracts/examples/expedition/
workflows/examples/expedition/
examples/expedition/registry-bundle/
Local runtime-owned generated helpers, overlays, and copied execution byproducts belong under:
.traverse/local/
See docs/local-runtime-home.md for the default layout and ownership boundary.
For agent-package authoring, see docs/wasm-agent-authoring-guide.md and the governed example packages under examples/agents/.
For WASM microservice authoring, see docs/wasm-microservice-authoring-guide.md and the package template under examples/templates/.
Atomic capability contracts:
contracts/examples/expedition/capabilities/capture-expedition-objective/contract.jsoncontracts/examples/expedition/capabilities/interpret-expedition-intent/contract.jsoncontracts/examples/expedition/capabilities/assess-conditions-summary/contract.jsoncontracts/examples/expedition/capabilities/validate-team-readiness/contract.jsoncontracts/examples/expedition/capabilities/assemble-expedition-plan/contract.json
Workflow-backed composed capability contract:
contracts/examples/expedition/capabilities/plan-expedition/contract.json
Event contracts:
contracts/examples/expedition/events/expedition-objective-captured/contract.jsoncontracts/examples/expedition/events/expedition-intent-interpreted/contract.jsoncontracts/examples/expedition/events/conditions-summary-assessed/contract.jsoncontracts/examples/expedition/events/team-readiness-validated/contract.jsoncontracts/examples/expedition/events/expedition-plan-assembled/contract.json
Workflow artifact:
workflows/examples/expedition/plan-expedition/workflow.json
Registry bundle manifest:
examples/expedition/registry-bundle/manifest.json
- Keep ids and versions aligned with the approved expedition specs.
- Do not invent alternate names for the canonical expedition capabilities, events, or workflow.
- Treat the contracts and workflow artifacts under
contracts/examples/andworkflows/examples/as the source of truth. - Treat the registry bundle manifest as a projection over those governed artifacts, not a replacement for them.
Artifact smoke validation:
bash scripts/ci/expedition_artifact_smoke.shRegistry bundle inspection:
cargo run -p traverse-cli -- bundle inspect examples/expedition/registry-bundle/manifest.jsonRegistry bundle registration:
cargo run -p traverse-cli -- bundle register examples/expedition/registry-bundle/manifest.jsonExpedition execution:
cargo run -p traverse-cli -- expedition execute examples/expedition/runtime-requests/plan-expedition.jsonExpedition execution with persisted trace:
tmpdir="$(mktemp -d)"
cargo run -p traverse-cli -- expedition execute examples/expedition/runtime-requests/plan-expedition.json --trace-out "$tmpdir/plan-expedition-trace.json"Trace inspection:
cargo run -p traverse-cli -- trace inspect "$tmpdir/plan-expedition-trace.json"Event contract inspection:
cargo run -p traverse-cli -- event inspect contracts/examples/expedition/events/expedition-objective-captured/contract.jsonWorkflow artifact inspection:
cargo run -p traverse-cli -- workflow inspect workflows/examples/expedition/plan-expedition/workflow.jsonRepository checks:
bash scripts/ci/repository_checks.shGolden path proof:
bash scripts/ci/expedition_golden_path.shThe bundle inspection output must include:
expedition.planning.capture-expedition-objectiveexpedition.planning.interpret-expedition-intentexpedition.planning.assess-conditions-summaryexpedition.planning.validate-team-readinessexpedition.planning.assemble-expedition-planexpedition.planning.plan-expedition
The bundle registration output must include:
registered_capabilities: 6registered_events: 5registered_workflows: 1expedition.planning.plan-expedition@1.0.0 (workflow)
And the workflow section must include:
expedition.planning.plan-expedition@1.0.0registered_workflows: 1expedition.planning.plan-expedition@1.0.0 (workflow)
The expedition execution output must include:
capability_id: expedition.planning.plan-expeditionstatus: completedrecommended_route_style: conservative-alpine-pushtrace_ref: trace_exec_expedition-plan-request-001
The trace inspection output must include:
trace_id: trace_exec_expedition-plan-request-001result_status: completedselected_capability_id: expedition.planning.plan-expedition
The golden path validation must prove all of these in one run:
- bundle registration succeeds for the canonical manifest
- execution succeeds for the canonical runtime request
- trace inspection succeeds for the generated runtime trace
- a missing required bundle artifact fails deterministically
The event inspection output must include:
id: expedition.planning.expedition-objective-capturedevent_type: domainpublisher_ids:
The workflow inspection output must include:
id: expedition.planning.plan-expeditionstart_node: capture_objectivenode_capabilities: