Skip to content

feat(agent): ship the versioned session contract - #424

Merged
Teakowa merged 2 commits into
mainfrom
codex/wright-407-agent-contract
Sep 27, 2026
Merged

Teakowa merged 2 commits into
mainfrom
codex/wright-407-agent-contract

Conversation

@e54-bot

@e54-bot e54-bot commented Sep 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Define and version wright-agent/v1, with schemas and capability negotiation for every ToolService operation.
  • Add wright serve over stdio and JSON-RPC, routing workflow operations through the shared service while retaining the standalone alias.
  • Document the contract and extend packaged-binary smoke coverage to negotiate capabilities and run a structured check.

Validation

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets --all-features -- -D warnings
  • cargo test --workspace --all-targets --all-features
  • cargo test -p wright-cli --test agent_contract --test serve
  • cargo build --locked --release -p wright-cli -p wright-lsp
  • python3 scripts/smoke-native.py --wright target/release/wright --wright-lsp target/release/wright-lsp --version 0.2.40
  • python3 scripts/test-distribution-install-sh.py

Fixes #407

@Teakowa Teakowa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two contract-correctness issues block wright-agent/v1 from satisfying #407. CI is green, and the transport/distribution work otherwise stays within scope.

Comment thread schemas/wright-agent-v1.schema.json Outdated
Comment thread schemas/wright-agent-v1.schema.json Outdated
@e54-bot
e54-bot force-pushed the codex/wright-407-agent-contract branch from 524892c to 62a9de0 Compare September 27, 2026 13:56
@Teakowa
Teakowa merged commit 62b3196 into main Sep 27, 2026
22 checks passed
@Teakowa
Teakowa deleted the codex/wright-407-agent-contract branch September 27, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Ship a versioned agent contract over the shared tool service

2 participants