Skip to content

docs(j5): Crew seats on another J5 machine - #1288

Merged
Jacksondr5 merged 1 commit into
j5/mainfrom
j5code/953-crews-across-machines-docs
Nov 28, 2026
Merged

Jacksondr5 merged 1 commit into
j5/mainfrom
j5code/953-crews-across-machines-docs

Conversation

@Jacksondr5

Copy link
Copy Markdown
Owner

Problem

The definitions had Crews across machines as Later, and their rules assumed every Crew seat is a local thread. Jackson approved the #953 plan on 2026-11-28 ("Plan LGTM, begin"). This PR writes his decisions into the definitions, so the build has something to be checked against.

Part of #953 (docs only; the code follows in its own PRs).

What changed

The design. A seat can live in a project on a linked J5 machine, its host:

  • The host owns the seat's thread and holds it to the seat rules. It's the top authority over the agents on it.
  • The Captain sees and commands the seat. Every act on it runs on the host through the same Crew code a local seat gets.
  • The Crew (roster, playbook run, ledger) stays on the Captain's server. That server keeps a pointer to the seat and follows its state.

Files changed:

  • features/crews.md: a "Seats on another machine" section in the Definition, new and changed ACs, four scenarios, and the Later item taken in.
  • features/playbooks.md: a step goes to its seat on any machine. A step whose seat is gone reaches the Captain with the reason, where it went to the Captain silently. This file wasn't in the brief, but without this edit it would contradict Crews AC39.
  • cross-device.md:
    • "Authority never replicates" is scoped to what it was written for, one client combining servers. Two servers sharing work is defined in Crews.
    • "A Crew seat there" joins "Starting work on another machine".
    • Personas come from the caller's library, and allow-once works across machines.
    • The Later item is taken in.
    • Main had no "allow once is this machine only" sentence to replace; that text exists only in j5_spawn_agent starts a Peer Agent on another J5 machine (environment_id) #956's refusal code. So the rule is added instead.
  • agent-personas/index.md: a new "Personas on another machine" section.
    • The definition is sent with the call and pinned on the target, for delegates, Peer Agents and Crew seats alike.
    • The target still resolves model, sandbox and limits under its own rules.
    • Allow-once across machines is one Inbox item, with the grant going from the client to that machine.
    • Who may grant is untouched: the existing "Allow this once" bullet is not edited, and Personas: anyone who can write to the asking thread can allow a refused persona once #1284 changes it separately.
  • upstream.md:
    • D46's J5, Why, Consequences and Decided paragraphs carry the one exception: a Crew's stop and archive to another machine are owed and sent until they land. Every other link call is still never replayed.
    • D1's line "a Crew seat stays in its Captain's project" is rewritten.
    • One History line covers both.
  • Record: docs/j5/worklog/2026-11-28-crews-across-machines-session.md tells the story. Every History line links it.

Not in this PR:

Acceptance criteria, for the Product check

Crews

  • Changed:
    • AC8: a Crew lives in its Captain's project, including a seat whose thread is on another machine.
    • AC12: the host tells a remote seat its introduction and roster changes at its next delivery.
    • AC13: failure notices come from a seat on any machine.
    • AC17: retire, restore, settle and unsettle reach remote seats. A retirement the host doesn't answer is owed; a restore, settle or unsettle isn't retried.
    • AC19: a remote seat is archived on its host, by the same worktree rules against the host's worktrees, and is owed until it lands.
    • AC21: a remote stop is owed until it lands, and the result says "stop owed".
  • Added:
    • AC31: seating on a linked J5 machine and a project there, with the link parts a Peer Agent there needs.
    • AC32: a remote seat waits for its first assignment (Not started).
    • AC33: the host enforces the seat rules.
    • AC34: every act runs the same code on the host, taken only from the seat's own Captain's server.
    • AC35: the follower shows state "as of" when unreachable; Fleet on the host names the Captain's machine.
    • AC36: un-pair or link expiry archives the host's seats restorably; linking again brings none back.
    • AC37: caps on the roster card follow the local rules, within the link's level.
    • AC38: allow-once for a remote seat.
    • AC39: playbook steps go to the owner on any machine, and a step whose seat is gone reaches the Captain with the reason.
  • Retired: none.

Playbooks

  • Changed: AC5, the owning seat on any machine, and a gone seat's step reaching the Captain with the reason. Added and retired: none.

Cross-device

  • Changed:
    • AC27: a delegate's persona comes from the caller's library, where it was read from that machine's.
    • AC28: a Peer Agent's persona comes from the caller's library.
  • Added:
    • AC49: a persona is sent with the call and pinned on the target, whose library plays no part.
    • AC50: allow-once across machines: one Inbox item, the grant sent from the client to that machine, never over the link.
  • Retired: none.

The persona contract and the register have no ACs.

Checklist

  • One concern: the description has no "also"
  • Tests cover the changed behavior: not applicable, docs only
  • UI changes: not applicable, docs only
  • Live testing: not applicable, docs only
  • Upstream-owned files: none touched
  • Upstream product: D46 gains an exception and D1's consequence is rewritten, both recorded in docs/j5/product/upstream.md with Jackson's 2026-11-28 decision
  • Surfaces: definitions only. The design covers web, desktop and agents; Crews have no mobile surface.
  • Docs: definitions under docs/j5/product/ rewritten, each with one History line linking the record

Claude Opus 5.5 in Claude Code (J5 Code Crew builder seat).

🤖 Generated with Claude Code

A Crew seat can live in a project on a linked J5 machine, its host, which
owns the thread and holds it to the seat rules while the Crew stays with
its Captain. Crews, Playbooks, cross-device, the persona contract and
divergences D1 and D46 rewritten, with the session record.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vercel

vercel Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
j5-code Ready Ready Preview Nov 28, 2026 9:48pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 25 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 4207947 and ec27fd6.

Files selected for processing: 6

  • docs/j5/product/agent-personas/index.md
  • docs/j5/product/cross-device.md
  • docs/j5/product/features/crews.md
  • docs/j5/product/features/playbooks.md
  • docs/j5/product/upstream.md
  • docs/j5/worklog/2026-11-28-crews-across-machines-session.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Jacksondr5
Jacksondr5 enabled auto-merge (squash) November 28, 2026 21:52
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:L 100-499 effective changed lines (test files excluded in mixed PRs). labels Nov 28, 2026
@Jacksondr5
Jacksondr5 merged commit 345b3a1 into j5/main Nov 28, 2026
39 checks passed
@Jacksondr5
Jacksondr5 deleted the j5code/953-crews-across-machines-docs branch November 28, 2026 22:17

This branch was successfully deployed

1 active deployment
Preview — ec27fd6f Deployed Nov 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100-499 effective changed lines (test files excluded in mixed PRs). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant