Skip to content

Decide the future of J5 handoff artifacts #284

Done

Description

@Jacksondr5

J5's saved agents declare structured handoffs (inputArtifacts / outputArtifact: ContextBrief, PlanHandoff, CodeCompleteHandoff, …). Agents write them to versioned handoffs/<agent>/<Artifact>-<task>.md project artifacts. At the end of each run the server checks that the file exists, reminds the agent once (the nudge worker), and records it as written or missing, which shows as a status chip. A Crew Captain is told when a seat's file exists. See docs/j5/product/agent-personas/index.md (Artifact contracts) and the "Handoff artifacts" rows in FORK.md.

Why decide now

  • Jackson's 2026-09-18 Crews dogfood direction (under discussion with Bryant) doubts handoffs as a platform concept: agents can write files and send messages, and a prompt sentence could cover it. It flagged the output-artifact obligation, the run-end check and nudge, and handoff facts in notices as up for debate. Playbooks are expected to carry the "done" signal instead.
  • Upstream (advanced in chore(upstream): advance to V2 67a2be0 with release archives and migration bridge #262) now has its own "context handoff": automatic, budgeted history transfer when a thread switches provider or model, forks, restarts portably, or falls back from a failed native resume. It's a different thing. It moves one thread's conversation between engines, while J5's moves a work product between agents. But the shared word causes confusion. chore(upstream): advance to V2 67a2be0 with release archives and migration bridge #262 renames J5's to "handoff artifacts" in the docs.

Options to weigh

  1. Keep as is: the declared contract, run-end check, nudge and chip.
  2. Keep the files, drop the platform contract: handoffs/ stays a versioned artifact folder agents may write to, persona instructions may ask for a document, and the declared-artifact obligation, run-end check, nudge worker, status chip and Captain notice go away.
  3. Fold into Playbooks: a step's "done" carries its deliverable reference.
  4. Remove entirely.

For each option, account for what it removes from J5-owned code and FORK.md (the handoff observer, the nudge worker, the j5_agent_handoffs migration, adapter allowlist spreads, the chip), the Crews notices, and the saved-agent definitions. Decide with Bryant, then update docs/j5/product/agent-personas/index.md, crews.md and FORK.md.

Activity

  1. added
    enhancement
    on Sep 24, 2026
  2. bryantderosier commented on Dec 1, 2026

    @bryantderosier
    Collaborator

    This got decided in Personas v2 (decision 8) and built in #914 (be112515c9). A run doesn't owe a file anymore. agent-personas/index.md says "A run owes no file: the server appends no artifact instructions, checks nothing at the end of a run, and sends no reminder." The brief or Playbook step names any file it wants, and the agent writes it with j5_write_artifact. Old handoff status is still readable. Closing.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions