Repository navigation
fix(server): steered Astra peer deliveries send the envelope only - #126
Merged
Merged
Conversation
Codex Astra steered deliveries appended a fixed platform guidance string telling the agent to continue the unfinished task and change course only when the user's instructions require it. Ruling of 2026-09-08: drop it. An agent told by a peer that it should change course should not wait for a user who may never come; Astra takes messages during work by design. Steered deliveries now carry the rendered envelope alone. Eligibility, the run-pinned steer, receipt handling, and queue delivery for every other case are unchanged. The transport test asserts each steer's text is exactly the rendered envelope. Closes #117 Co-Authored-By: Claude Fable 5.1 <[email protected]>
Jacksondr5
added a commit
that referenced
this pull request
Sep 14, 2026
… cross-environment changes Rebased onto j5/main. Folds main's five doc changes into the rewritten definitions in their own shape: list_squadrons and join_squadron in the agent tools and substrate definitions and as Squadron AC14; reversible archive, unarchive and separate deletion in the archive-flow and tools definitions; the cross-environment merge (#125) as cross-device AC7–AC10 and inbox criteria, with build status in the dogfood plan. Records #126 and #127 as landed in the A2A plan. Moves the Squadron Scope section into the Definition and the plan per the conventions. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Jacksondr5
added a commit
that referenced
this pull request
Sep 14, 2026
* docs(j5): how the J5 docs are organized — five kinds, lifetimes, two identifier kinds Co-Authored-By: Claude Fable 5.1 <[email protected]> * docs(j5): glossary rewritten as index + owned distinctions; casing rule made unambiguous Co-Authored-By: Claude Fable 5.1 <[email protected]> * docs(j5): cite principles by name — headings un-numbered, every numeric citation rewritten Co-Authored-By: Claude Fable 5.1 <[email protected]> * docs(j5): Squadron rewritten as a definition; naming session moved to a record; glossary review fixes; shared example fleet Co-Authored-By: Claude Fable 5.1 <[email protected]> * docs(j5): A2A definition, substrate and agent-tools as definitions; communication-graph draft to a record; A2A plan to plans/ Co-Authored-By: Claude Fable 5.1 <[email protected]> * docs(j5): steering after the upstream integration — two independent policies, truthful-steer guard, stop wins over restart continuation; Astra delivery guidance removed Co-Authored-By: Claude Fable 5.1 <[email protected]> * docs(j5): inbox, thread rendering and archive flow as definitions; Replied everywhere; a person receives asks only and never opens one Co-Authored-By: Claude Fable 5.1 <[email protected]> * docs(j5): A2A definition — a person receives asks only and never opens one (repairs edits missed against the staged text) Co-Authored-By: Claude Fable 5.1 <[email protected]> * docs(j5): Roles, Crews, Memos, Playbooks, Spawning Guide, Shared Squadrons as definitions — the design-review register dissolved into them Co-Authored-By: Claude Fable 5.1 <[email protected]> * docs(j5): dogfood plan consolidated under plans/; decision log, design review and backlog become records; principles' cases point at definitions by name; GitHub milestones carry the backlog Co-Authored-By: Claude Fable 5.1 <[email protected]> * docs(j5): problems, use cases, fleet vision, cross-device and the PR pane as definitions; the posted PR-pane brief kept as a record Co-Authored-By: Claude Fable 5.1 <[email protected]> * docs(j5): mechanical sweep — records renamed date-first with frontmatter, research stamped as_of, runbooks under runbooks/, process classified, README rewritten Co-Authored-By: Claude Fable 5.1 <[email protected]> * docs(j5): fold the Fleet page contract into a definition Rewrites sidebar-and-roster as the Fleet page and sidebar definition (AC1–AC26, scenarios, History mapping SB1–SB7, FV1–FV11 and DV6), moves the 2026-09-04 fleet-visibility session record to its date-first name with a pointer to the definition, re-keys the dogfood plan's narrowing table by criterion, and gives the glossary's Fleet page, Squadron scope, orphan and delivery alarm terms their owners. Supersedes PR #107. Co-Authored-By: Claude Fable 5.1 <[email protected]> * docs(j5): rebase onto main and absorb the landed lifecycle, join, and cross-environment changes Rebased onto j5/main. Folds main's five doc changes into the rewritten definitions in their own shape: list_squadrons and join_squadron in the agent tools and substrate definitions and as Squadron AC14; reversible archive, unarchive and separate deletion in the archive-flow and tools definitions; the cross-environment merge (#125) as cross-device AC7–AC10 and inbox criteria, with build status in the dogfood plan. Records #126 and #127 as landed in the A2A plan. Moves the Squadron Scope section into the Definition and the plan per the conventions. Co-Authored-By: Claude Fable 5.1 <[email protected]> * fix(server): pin the send_message description to the definition's new shape The EnvelopeFormatter test reads the send_message description out of docs/j5/product/a2a/agent-tools.md and compares it byte-for-byte with the runtime string; the docs rewrite changed the heading and label the parser looked for. Update the parser to the definition shape, drop the stale "or a reply" toward a person from the runtime string (a person never opens an ask, so there is nothing to reply to; the channel itself went in #127), and hold the definition's description to the shipped string. The regarding sentence returns with #111. Co-Authored-By: Claude Fable 5.1 <[email protected]> --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #117
Problem
The Codex Astra steered-delivery path appended a fixed platform guidance string after the envelope, telling the agent to continue the unfinished task and change course only when the user's instructions require it. Per the 2026-09-08 ruling, that guidance is wrong: an agent told by a peer that it should change course should not wait for a user who may never come, and Astra takes messages during work by design.
Fix
apps/server/src/j5/a2a/DeliveryTransport.ts. Steered deliveries now send the rendered envelope alone.Docs: no product doc on
j5/mainnames the guidance text. The definition-of-record update (docs/j5/product/a2a/index.md, Delivery / AC13) is already on thej5/docs-product-cleanupbranch.Verification
vp test run apps/server/src/j5/a2a/DeliveryTransport.integration.test.ts— 23 passedvp run typecheckinapps/server— cleanvp linton the two changed files — cleanWork done by Claude Fable 5.1 via Claude Code.
🤖 Generated with Claude Code