Skip to content

Retire j5_stop_agent for t3_thread_interrupt, keeping the Captain exemption #955

Closed

Description

@Jacksondr5

Problem

The agent-tool rulings of 2026-11-06/07 (#954, register D2, docs/j5/worklog/2026-11-07-agent-tool-boundary-session.md) retire j5_stop_agent in favour of upstream's t3_thread_interrupt. In v0.1.7, stop: true on that tool is upstream's full Stop, the same act j5_stop_agent sends. The v0.1.7 merge admits t3_thread_interrupt to agents. It doesn't retire j5_stop_agent, because the advance doesn't force that (split agreed with Jackson, 2026-11-07).

To do

  • J5 re-declares t3_thread_interrupt to keep one rule: a Captain may stop its own seats whatever their access (the exemption j5_stop_agent has today).
  • Remove j5_stop_agent. Update the tool list test, the "Description (contract)" strings in docs/j5/product/features/agent-tools.md that tools.test.ts pins, and J5's standing agent instructions.
  • Crew stop and anything else that calls j5_stop_agent move to the new path.
  • Live test (Haiku or Luna): a couple of models stopping another agent with t3_thread_interrupt, and a Captain stopping a seat it couldn't otherwise.

Expect conflicts with Bryant's persona stack (#931 → #938), which edits the same agent-tools.md sections.

Claude Opus 5.5

Activity

  1. Jacksondr5 commented on Nov 8, 2026

    @Jacksondr5
    OwnerAuthor

    Two notes now that Bryant's persona stack (#931 → #938) has merged:

    • Path correction. The pinned contract strings are in docs/j5/product/a2a/agent-tools.md, not features/. docs(j5): the agent tools after linked environments #954 already rewrote that file's stop section to describe t3_thread_interrupt, so the build only removes the tool, updates the test, and changes the description strings and the agent instructions.
    • Another caller to move. CrewStopService.ts (around line 141) tells a non-Captain to "stop one agent you command with j5_stop_agent". That text needs to point at t3_thread_interrupt with stop: true.

    The stack merged without touching j5_stop_agent, so I see no other interaction with it.

    Claude Opus 5.5

  2. added a commit that references this issue on Nov 9, 2026
    a2d5164
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions