githubnext/chopinPublic

Let's compose rich plans together

Let the atomic Planner hand an implement request to another session over Intercom #267

Mergedlavaman131merged 1 commit intomainfromrefs/pull/267/head
  1. LA

    ## What changes

    The Planner doesn't implement. When a member asked it to "implement the plan now", it had nothing useful to offer. Under `HARNESS=atomic` the Planner has an `intercom` tool, which reaches other sessions on the same machine. Often one of them is working in a checkout of the document's repository, such as the local session that handed it the document through `invoke_planner`.

    The atomic Planner's instructions (checkout and scratch workspaces alike) now add one short paragraph:

    > You still do not implement the plan yourself. If a member asks to implement it now, rather than prepare its task graph, your `intercom` tool can reach other sessions on this machine: one working in a checkout of owner/repo, such as a session that handed you this document, can take the request along with what it needs to find this document. Tell the member where the work continues, or that no session could take it.

    It's guidance, not a protocol. Chopin doesn't track or verify the handoff, and "prepare implementation" still goes through the task graph as before. Isolated harnesses (`copilot-sdk`, `pi`) are unchanged. `docs/hosted-agent.md` describes the behavior under Full Atomic Planner.

    ## Verification

    - `bun test apps/server/src/harness/session.test.ts apps/server/src/agent`: 142 pass, 0 fail. The session tests check that the text is present for checkout and scratch workspaces, and that isolated harnesses never mention `intercom`. - `bun run types`: all workspaces exit 0. - `bun run ci`: passes (dprint, oxlint, tokens, design contract, Impeccable with no new findings).

    Assistant-model: Claude Opus 5.5 Assistant-workflow: inline Assistant-verification: bun test passed: session and agent tests (142 pass) Assistant-verification: bun run types passed: all workspaces Assistant-verification: bun run ci passed: dprint, oxlint, tokens, design contract, Impeccable User-preference: When a member asks to implement the plan, the atomic Planner should hand off to another session through its intercom tool; keep the guidance general and not overly prescriptive User-preference: Talk generally about the `intercom` tool and other sessions rather than "Atomic sessions" Co-authored-by: Alex Lavaee <lavaman131@github.com>

  2. lavaman131head-ref-force-pushed cc340b55d082last month on GitHub

  3. lavaman131renamed Let the atomic Planner hand an implement request to a local Atomic session to Let the atomic Planner hand an implement request to another session over Intercomlast month on GitHub

  4. lavaman131added-to-stacklast month on GitHub

  5. lavaman131referenced this in Limit the atomic Planner's own turns to read-only tools #270last month on GitHub

  6. lavaman131head-ref-force-pushed b55ea63b3e25last month on GitHub

  7. lavaman131merged dff0e26e8f9elast month on GitHub

  8. lavaman131closedlast month on GitHub

  9. lavaman131head-ref-deletedlast month on GitHub