Repository navigation
Conversation
Rules owns the CLI catalog, launch choices, and hook formats. Mark which managed runs take instructions from a hook or extension, explain every unsupported launch choice together, and let session hooks format instructions without a skill. Retain the existing entry points for current callers.
Base owns the managed and Guest instructions, the tool definitions, and shared start result formatting. Put run details on the last managed line and tell each caller how replies and notices reach it. Describe the current tool behavior without changing schemas, and call the first message a prompt in start results.
Shell validates run paths and reads hook input. Rules formats the CLI response. Accept the legacy --skill flag while recording the session with empty stdout. Build the hook response from the managed instructions file alone.
Daemon verifies MCP callers, resolves shared agent targets, and reports what happened to messages. Use the verified run rule to select initialization instructions and serve the shipped tool catalog unchanged. Probe saved routes for unqualified targets without waking machines. Explain send outcomes from the existing receipts and use the Rules diagnostic for unsupported launch choices.
Rules owns the CLI arguments, run files and hooks that deliver MCP tools and instructions. Remove skill distribution and eager-loading metadata, and register Pi tools with deferred exposure. Continue recognizing the old Antigravity plugin member and inherited OpenCode skill path.
Describe the machines searched for a bare number or name and the ambiguity rule for literal names containing an at sign.
Keep the six CLI integration and takeover scenarios tied to how a managed run receives its tools and instructions. Exercise the old hook and plugin formats, verify passive address lookup with a previous Framework build, and refresh the MCP responses.
Describe the managed and Guest instruction sources, client exposure of tools, and reachable lookups by agent number or name.
Base provides the managed and Guest instructions and the MCP tool definitions. Remove the old skill text and its public export now that callers use the instructions and tool descriptions.
Keep the tool descriptions and instructions within the UTF-8, Unicode and UTF-16 limits of model clients. Exercise both reach sentences with long managed run values.
Run preparation owns the shared plugin and decides whether a launch can use its relay credential. Let a new run register its credential when a held same-version plugin has the retired skill as its only extra file and all current templates are regular files with identical bytes. Keep the ordinary edit classification for replacement and cleaning.
Render linked replies with the original message address and show command-line reply addresses in the sender field. Drop the terminal notice number and align the paste lead and start tool description with the new presentation.
The prompt reader uses the model footer to locate the end of input. When the shortcuts hint follows a wrapped footer, recognize the model line at the top of the indented block with a blank divider above it. Keep a minimal recorded screen with a redacted path and title.
Teach the current terminal message format, the linked reply action, and unnumbered notices. Keep the run-specific reach and identity line appended to the fixed instructions.
Let the managed turn end so incoming terminal input can run. Return before checking the inbox and keep timed reads for guests and managed CLIs without terminal message delivery.
Return the launched agent data from start_agent. Keep the reserved prompt notice number in the daemon start receipt and inbox. Verify the same number across remote forwarding and delivery, and check the MCP response against its golden file.
Keep the message header and body together inside Claude Code long-paste tags. During recovery, recognize either previously written Claude prefix with its paste placeholder and keep the existing deadline and single submission.
This branch has not been deployed
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.
What this changes
A model now learns how to use Facade from two places only: the MCP server instructions and the eight tool definitions.
The Facade skill is gone. This is Framework only; the legacy implementation is unchanged.
What the model reads
answer a
📨 Messagewithsend_message(to,reply_to,text), because text printed in the terminal neverreaches the sender.
from the end when its shared tool list is crowded, so the role sentence comes after the rule in the same line.
catalog is 9.6 KB.
anthropic/alwaysLoadandantigravity/alwaysLoadare gone, and Pi's managed entry isdeferred.Terminal messages and notices
📨 Message m42 from Ada (a2@devbox) · in reply to m17. The number now comes before thesender, the command line shows as
command line, and nothing else is added.🔔notice no longer carries a number, since nobody can reply to it. Inbox rows keep their IDs.wraps long pastes in
<pasted_content>and tells the model to act on a message that is only pasted text, so thetyped lead made a message look like material.
Behaviour fixes found by the real-CLI runs
A managed agent whose messages Facade types in can no longer wait in
read_messages. A timed read fails with aclear error telling it to end its turn. A Codex parent had kept its turn open waiting, so its child's reply stayed
queued.
start_agentno longer returnsresult_message. A parent waited for replies to that notice number, which no replyis ever linked to.
Codex input is recognized when its footer wraps. Recognized endings:
tab to queue messageline shown while Codex works;⚠ N warning(s) · f2 to view.Before this, messages to a working Codex in a narrow terminal ended
input_unknownorsubmission_unconfirmed.A bare agent number or name is now looked up wherever
list_agentslooks, including saved connections.A new run in a project whose older Antigravity plugin is still in use keeps its managed identity.
Failed sends with partly written input give the recipient's address and the resend condition.
Real CLI results (Windows, isolated homes)
Clients: Claude Code 2.1.331, Codex 0.170.0, Antigravity 1.5.15, Muse Code 1.4.25, OpenCode 2.2.4 and Pi 1.4.0. Each
ran on its cheapest model at its lowest effort, plus the Claude and Codex defaults. Real Qwen Code was never run.
On-demand loading. Observed cold managed and Guest requests carried zero inline Facade schemas in Claude Code (with
ToolSearch), Codex, OpenCode and Pi.
accepted.
Codex
gpt-6-luna/low, the cheapest model and the reason the managed text was rewritten:Each passing round took one discovery and one send.
As a child in the parent-to-child chain, luna answered through Facade in 8 of 10 rounds. The full chain still misses
sometimes on luna/low. The Codex default (
gpt-6.2-sol) and the other configurations completed it.The final matrix had 57 rounds: 32 pass, 4 deviation, 21 fail.
OpenCode child used to trigger a native approval hit its free daily limit ("Free limit reached"), so it never waited
for approval.
🔔arrived about 30 s after the approval prompt, and the parent replied linked to itstask;
Validation
The branch is rebased onto
645c94b1(#111). The 17 commits each hold one concern, with review fixes folded in.check-each-commit.shpassed all 17 rebased commits, including all workspace targets and the lockfile check.scripts\test-all.ps1passed on the pre-rebase heade154072e: 1,061 passed, 0 failed, 6 ignored by thesuite. The isolated profile got no writes and no processes were left behind.
Cargo.lockbyte-identical.dropped, and four new scenario bindings were added.
Known limitations
reply_to.gpt-6-lunaat low effort sometimes misses the full parent-to-child chain.🤖 Generated with Claude Code