Skip to content

docs(agent-contract): sync with canonical.ts (child-session flags, delegation.control, approval marker) - #379

Open
zening-cmd wants to merge 1 commit into
useagenthq:mainfrom
zening-cmd:docs-229-sync-agent-contract
Open

zening-cmd wants to merge 1 commit into
useagenthq:mainfrom
zening-cmd:docs-229-sync-agent-contract

Conversation

@zening-cmd

@zening-cmd zening-cmd commented Oct 23, 2026 •

Copy link
Copy Markdown

Closes #229

By opening this pull request you agree to the Contributor License Agreement.

The agent contract page drifted from packages/agent-harness/src/canonical.ts. This brings it back in line:

  • Capabilities table: childSessions is replaced by the two flags the code split it into, nativeChildProjection and gatewayChildSessions, each with a one-line explanation below the table. The table now lists exactly the 21 fields of NegotiatedCapabilities (checked programmatically: none missing, none extra).
  • Event vocabulary: adds delegation.control (wait, send, resume, close, gather) to the child-session row, matching CanonicalDelegationControlKind.
  • Context markers: adds approval, matching ContextMarkerKind.

Proof: each line maps to a definition in canonical.ts (ContextMarkerKind at ~L205, delegation.control at ~L303, NegotiatedCapabilities at ~L388). Docs-only change.

Prepared with Sai, an AI coworker by Simular; submitted by @zening-cmd.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@github-actions

Copy link
Copy Markdown


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

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.

Sync the agent contract page with canonical.ts

1 participant