Skip to content

feat: add doc approval analyze capability#579

Merged
enricopiovesan merged 2 commits into
mainfrom
codex/issue-556-doc-approval-analyze-clean
Jul 10, 2026
Merged

feat: add doc approval analyze capability#579
enricopiovesan merged 2 commits into
mainfrom
codex/issue-556-doc-approval-analyze-clean

Conversation

@enricopiovesan

@enricopiovesan enricopiovesan commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds the doc-approval.analyze reference capability used by doc-approval clients:

  • capability contract, app manifest, component manifest, WASM fixture, agent manifest, and runtime request fixture
  • deterministic local executor that extracts docType, parties, amounts, confidence, and recommendation
  • workspace execute compatibility for the simplified { capability_id, input } payload used by downstream HTTP clients
  • component-only persisted app state loading so direct capability apps do not require a workflow entry

Closes #556.

Governing Spec

  • 006-runtime-request-execution
  • 017-ai-agent-packaging
  • 033-http-json-api
  • 044-application-bundle-manifest
  • 046-public-cli-app-registration
  • 054-public-scope-registry-ref
  • 056-capability-publish
  • 031-supply-chain-hardening

Project Item

Definition of Done

  • The capability contract, application and component manifests, fixture agent, and runtime request are governed and discoverable.
  • The deterministic executor provides the documented output through the stable CLI and HTTP execution paths.
  • Focused tests and application registration validation pass.

Validation

  • cargo fmt --check
  • cargo clippy -p traverse-cli --all-targets -- -D warnings
  • cargo test -p traverse-cli doc_approval -- --nocapture
  • cargo test -p traverse-cli workspace_execute_endpoint_accepts_simplified_capability_request -- --nocapture
  • cargo test -p traverse-registry workspace_app_state -- --nocapture
  • cargo run -p traverse-cli -- app validate --manifest examples/applications/doc-approval/app.manifest.json --json
  • cargo run -p traverse-cli -- agent execute examples/doc-approval/analyze-agent/manifest.json examples/doc-approval/runtime-requests/analyze.json
  • cargo run -p traverse-cli -- app register --manifest examples/applications/doc-approval/app.manifest.json --workspace local-default --json
  • bash scripts/ci/repository_checks.sh

@enricopiovesan enricopiovesan force-pushed the codex/issue-556-doc-approval-analyze-clean branch from db10a36 to 1398bf2 Compare July 10, 2026 04:50
@enricopiovesan enricopiovesan enabled auto-merge (squash) July 10, 2026 04:50
@enricopiovesan enricopiovesan force-pushed the codex/issue-556-doc-approval-analyze-clean branch from 176004f to 7b787f0 Compare July 10, 2026 07:17
@enricopiovesan enricopiovesan merged commit a0ee637 into main Jul 10, 2026
26 checks passed
@enricopiovesan enricopiovesan deleted the codex/issue-556-doc-approval-analyze-clean branch July 10, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add doc-approval.analyze capability contract, WASM agent, and app manifest

1 participant