Skip to content

feat(j5): people and access: everyone is a person with a level at a scope, and several people work with one agent - #638

Merged
Jacksondr5 merged 148 commits into
j5/mainfrom
j5code/people-and-access
Oct 20, 2026
Merged

Jacksondr5 merged 148 commits into
j5/mainfrom
j5code/people-and-access

Conversation

@Jacksondr5

@Jacksondr5 Jacksondr5 commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

Problem

Sharing was designed while it was built, and the guest model it shipped (members, guests and grants) went back and forth on key decisions. #631 redefined it from first principles. People and access covers scopes, levels, one kind of link, devices and names, and Shared conversations was reworked. This PR builds those definitions, along with Inbox AC14–17 and Crews AC23. Closes #636.

What changed

Everyone is a person with a level at a scope. The scopes are a server, a project or a thread; a thread scope covers the agents beneath it. The levels are Viewer, Collaborator and Owner, and Owner is held only at server scope. "Member" and "guest" are gone. Migration 039 carries every existing share across: members become server Owners, and guests get Viewer or Collaborator on what they reached. Old unused links stop working, and Owners get a one-time notice that they did.

A device holds exactly its level's permissions (LEVEL_PERMISSIONS, pinned to upstream's permission names), and nothing fails open.

  • Every session is bound to its person when it is issued. Service sessions with no person are the exceptions: peers, machines, MCP clients and CLI-issued sessions.
  • A change of level renews the device's session in the same transaction (POST /api/j5/session/renew), and the web client renews and reloads once.
  • Only an Owner approves an MCP client, and a change of Owners refuses an approval still waiting. Ending a lowered Owner's clients is End an Owner's MCP clients when that Owner is lowered or removed #639.

View is the only boundary the server enforces.

  • A connection narrower than the server sees only what it reaches, through AccessGate's allow-list.
  • Every command passes CommandAdmission: Viewers send nothing, and only Owners archive or delete.
  • A Collaborator at a narrow scope opens any folder. Sharing is trust, not containment.

One kind of link (migration 040).

  • A link is either a device link for an existing person, or an invite for one person or for many. An invite for many is Viewer only.
  • Lifetimes are 1 h, 24 h, 7 d (the default) or 30 d. An Owner can copy a link again or revoke it.
  • Joining mints upstream's single-use credential. The refusals are named: paired as someone else, already yours, name taken, or a link that doesn't work.
  • j5 pair now needs --person. A bare j5 auth pairing create makes a link for an unknown device, which must name itself before it can use anything (upstream's desktop SSH path).
  • The live-test rig's guest command reaches every scope and level, an existing person's new device, and an unknown device, so testers no longer edit the test database by hand.

People (Settings › People).

  • Owners manage people, levels, devices and links. Anyone renames themselves or leaves.
  • A non-Owner sees their own row, and a read-only roster for each project and thread they reach.
  • The first Owner can't be lowered or removed.

Shared conversations.

  • On a thread more than one person can write to, each person's message reaches the agent with a line the platform writes: [Message from <name> (<level>)].
  • The first such message carries a note explaining the rules. Later messages carry a short note whenever who can write changes. A slash command goes as typed, from anyone.
  • Answers carry [Answer from …]. Prompts, approvals and Crew rosters can be answered by anyone who can write, and the first answer settles them.
  • A person who loses write has their queued messages withdrawn, and their open personal asks are ended with the asking agent told.
  • The web client shows each person's message as they typed it, with their name, and shows edits as "edited by".

Inbox and Crews.

  • An agent can ask one person who can write to its thread, or "everyone here", where the first reply wins.
  • A Crew's roster, its seat approvals and its requests for more seats reach everyone who can write to the Captain's thread.

Playbooks and Personas. After #621, Playbooks are the server's. Anyone who can write somewhere sees the library, and a run starts only on a thread they can write to. Only Owners change the library in the app, and only Owners change Personas, as with any setting. A Collaborator's agent can still save a Playbook through its own tool.

Scheduled tasks. On a shared thread, a task's runs carry [Scheduled by <name> (<level>)], naming whoever wrote its prompt. If that person can no longer write to the thread, the run is not sent and fails with the reason in the task list. The task isn't paused, so upstream's scheduler is unchanged.

T3 Connect sessions belong to the first owner. The mobile app doesn't renew its session, so a phone is paired again after a change of level (AC17; #609).

Settings belongs to Owners. A non-Owner sees only personal sections. Owner sections stay hidden while that is still being worked out.

Mobile is out of scope. The only mobile change is one renamed atom (isGuest → isNarrow), so mobile still compiles.

Built in four areas: A, the access core; B, people, links and the CLI; C, shared conversations, the inbox and Crews; D, the web client. Each area was reviewed separately, and the whole PR was reviewed at the end.

Reviews

  • Code: Claude Opus 5.5 and GPT-6.1-Sol, per area and on the whole PR.
  • Security: Claude Fable 5.1 and GPT-6-Astra, per area and on the whole PR.

Every finding was fixed or recorded as an accepted limit.

UI changes

Before and after

People page (Owner)

Before After
Guests, join links and members, under the old model. Everyone on the server, with two people expanded to what they reach, their devices and links.

Sharing a thread

Before After
The old Share thread dialog: View, or Collaborate "coming soon". The Share dialog lists who has the thread at which level, with an unused link under its person.

Thread details panel

Before After
"Only members reach this thread", with the question still open. The same thread: the panel's People section with levels, and Share as an icon action.


Once answered, the question shows who answered it: "answered by Marco R.".

A non-Owner's People page

Before After
A project Viewer sees only their own row. A project Viewer opens the project to see, read only, who reaches it.

Button styles

Buttons follow upstream's: icon-only row actions with tooltips, a trailing arrow on Join and Continue (as in upstream's welcome wizard), outlined red Revoke, and a leading icon on add and copy actions. Upstream's own Connections rows, for reference:

People with two servers connected (one person: Owner of "Local", Viewer on a project of "Remote")


On the server they own: everyone on it, with the server picker beside the heading.


On the server where they are a Viewer: their own row and the project's roster, read only.


The server picker open.

An Owner-only Settings page reached by a link

Before After
A Collaborator following a thread's "Manage scheduled tasks": the environment is "no longer available" (a full load bounces to Appearance). The same link shows "Coming soon": only an Owner can change this for now.

Joining and links


Sharing the whole server: who has it, and the "Add a person" form.


"Anyone with the link" for a thread, which brings people in as Viewers only.


A link made for a named person on a project, with the warning that only this machine can reach the server.


The inline warning before someone is raised to Collaborator.


Raising someone already on the server, with no link needed.


The join page for a link made for one person, with their name filled in.


The join page refusing a name someone on the server already has.


A link opened by someone already on the server: it adds the thread to what they reach.


A link for another person, opened on a device already paired as someone.


A device link opened on a device that is already that person's.

Video: opening a server link. The join page has the person's name filled in, and Join pairs the device and opens the app.

join-by-link.mp4

People and Settings

Video: a Viewer's own People page while an Owner raises them. The tab reloads, says it is reading who is on the server, and shows Collaborator.

level-change-reconnect-v2.mp4


A device the server cannot place: pick a person (shown with their level) or name someone new.


A thread's Viewer: the thread menu without Rename or Share, a "Leave thread" item, and a composer that only reads.


"Nothing is shared with you", after leaving the only thing they reached.


A server Viewer's home: no "pair again" notice and no provider-update toast.


An Owner still gets the provider-update toast.


An Owner told, once, that share links made before the upgrade stopped working.

Shared conversations and the queue


A shared thread as the Owner sees it: the platform's note as a notice, and another person's message on the left with their name.


Another person's queued message, which the Owner can edit, steer or remove.


The delivered message: "Marco R. · edited by Test owner", from the queue.


"Edit from here" on another person's message puts their typed words back in the composer.


A project's Collaborator starts a new thread there, with Send enabled.

Inbox


Answered: an ask "for everyone here", marked "Marco R. answered".


A half-typed answer kept in place after someone else answered, saying who.

First run


The first owner of a fresh server gives their name before anything else.


The setup wizard, offered to that named Owner.

Not captured

  • "Edited by …" above the author's own bubble, and a Collaborator's own view of the People row, Settings list, queue and inbox: the frames that showed them also showed a provider-update toast that Collaborators no longer get, so they were left out as stale. The project-roster "after" shows a non-Owner's own row and Settings list, and the inbox shots show the mark from the Owner's side.
  • The dead-link join page: it looks the same as on j5/main.
  • Before shots for joining, the name dialogs, the wizard, the inbox, the old-links toast and a new draft: j5/main has no such state, or it wasn't captured there.
  • Settings while it starts: for a non-Owner it no longer flashes an Owner's sections. This was checked frame by frame in recorded reloads, but there is no still image.
  • The "limited" badge on a device paired with fewer permissions, and a thread Collaborator unable to start a thread in that project: unit tests only.
  • The pairing page's new refusal ("This device is already paired as someone else on this server…").
  • Mobile, desktop, relay and tunnel: not tested.

Live testing

Tested with the j5-live-test rig in the Browser panel, with isolated homes, by a GPT-6-Astra tester. Real turns ran on Claude Haiku 5.5 and GPT-6-Luna.

Final test at 7b306bbb2c: FAIL, two findings (test-reports/j5code/people-and-access-final-7b306bbb2c.md).

  1. A project-scope Collaborator couldn't start a new thread. Fixed in 8b6f75a3b7.
  2. An already-running Claude session kept the Owners line it started with after an Owner was added. Resolved by dropping the Owners line: the shared-conversation note, which did name the new Owner, now carries this for every provider.

Everything else exercised passed:

  • People and access:
    • a backup Owner;
    • sharing a thread, and raising a Viewer to Collaborator in place;
    • a many-person link, including revoking it mid-join;
    • the CLI's --person, and a bare unknown-device link;
    • renaming yourself, stepping down, leaving, and removal with an open queue and inbox question.
  • Shared conversations and the inbox: two people with one agent; a conflicting request settled by the Owner; a slash command; everyone-here, with the first reply winning and a draft kept; queue edit and steer by another person; access removed mid-queue.
  • Crews: a mixed Haiku/Luna Crew approved end to end by a Collaborator.
  • Startup and migration: restart persistence; migration of an old guest home (levels carried, an unused old link refused, the Owner's one-time notice); first-owner session binding on a fresh server.

Re-test at 2312409479: PASS (test-reports/j5code/people-and-access-retest-2312409479.md).

  • A project Collaborator starts a thread. The first message renders cleanly, with no raw platform text across 3,119 sampled frames, and the people header shows without a reload. A thread-only Collaborator still can't start one.
  • A project Viewer and a server-only Viewer see the project roster read-only.
  • A personal ask is ended when its receiver is lowered, and the agent is told who it can ask instead. An everyone-here ask stays open.
  • A note steered into a running turn is carried again, byte for byte, by the next message.

Found in the re-test and fixed (a1dc124311, 4e58193ab6): after a project Collaborator's first message, the composer, the details panel and the thread menu kept treating the new thread as read-only until another access change. A thread's level is now never less than the person's level over its project. Confirmed live by the web builder: the composer stays writable, and the menu offers Rename, Settle and the rest without a reload.

Not exercised live:

  • Desktop, mobile (out of scope), and relay, tunnel or multi-environment connection modes.
  • Providers other than Claude and Codex.
  • Real link expiry.
  • An altered client sending a raw refused request (covered by unit tests).
  • The rename note reaching an agent.
  • Continuous frame sampling across every navigation.
  • Migration of an old many-person link.
  • An existing Codex session's Owners line.

Upstream impact

Every upstream-owned file edited here is recorded in FORK.md (case text and file-table row). The change to what upstream's product does is register entry D33 (people, levels and shared conversations). The CLI's --person is D36. Both were decided with Jackson in #631 and #636.

File Lines FORK case What
apps/server/src/auth/EnvironmentAuth.ts +23/−15 70 Binds each issued session to its person; exports the foreign-origin diagnostic that renewal reuses
apps/server/src/auth/http.ts +25/−5 70 Session renewal route and binding at issue
apps/server/src/server.ts +8/−6 70 One line: the MCP approval gate (gateMcpOAuth)
apps/server/src/ws.ts +25/−8 69, 78 CommandAdmission around dispatchCommand and launchThread; provides J5's per-socket services
apps/server/src/cli/pair.ts, cli/auth.ts, cli/pair.test.ts +69/−21 79 --person and --level; a bare auth pairing create makes an unknown-device link
packages/contracts/src/rpc.ts, environmentHttp.ts +7/−3 69, 70 J5's access, people and shared-conversation groups; the renewal route
packages/client-runtime/src/rpc/client.ts, package.json +12/−4 69, 70, 73 J5's request groups; renewal for saved servers
apps/web/src/connection/runtime.ts, environments/primary/auth.ts +14/−5 70 Renewal; the named join refusals
apps/web/src/components/chat/MessagesTimeline.tsx, ChatView.tsx, QueuedRunsControl.tsx, ComposerPendingUserInputPanel.tsx +33/−9 24, 80 A person's message, queued message, rewind and answer shown as typed
apps/web/src/components/settings/* (6 files), routes/settings.tsx +33/−17 72 Settings sections and search fit the person's level; server lists show servers they own
apps/web/src/components/Sidebar.tsx, chat/ChatComposer.tsx, chat/ThreadDetailsPanel.tsx, routes/_chat.index.tsx, routes/pair.tsx, routes/welcome.tsx, PermissionUpdateNotice.tsx (+ test) +21/−15 73 The client fits the level: read-only composer, no wizard for a non-Owner, no "pair again" notice for a person
apps/web/src/routes/__root.tsx, hooks/useThreadActionMenu.test.ts +4/−2 71 The retired-links notice mount; Share from the thread menu
docs/README.md +1/−0 — Links J5's new user guide, docs/j5/user/people-and-sharing.md

Two upstream behaviours change under D33. Upstream's pairing links still exist, but J5 mints them only through its own links, and every device belongs to a person. A shared conversation's stored message text carries the platform's author line, which the web client strips before display. Everything else is a call into J5-owned code under src/j5.

Checklist

  • One concern: the description has no "also". It is one feature, the docs(j5): people and access, and working with agents together #631 definitions, built in four areas.
  • Tests cover the changed behavior (backend changes ship with focused tests)
  • UI changes: before/after screenshots above, and a video for motion or interaction
  • Live testing: the section above says what ran live and what did not
  • Upstream-owned files: each one is recorded in FORK.md (case text and file-table row) in this PR
  • Upstream product: any change to what upstream's product does has a human decision linked above and a register entry in docs/j5/product/upstream.md
  • Surfaces: entry points, clients, providers, contracts and reverse states are covered. Not ticked: mobile is out of scope by Jackson's ruling in People and access: build the definitions of #631 (one PR) #636, and desktop, relay and tunnel weren't exercised live. The Owners line was dropped (Jackson, 2026-10-18), because only Codex picks up a change mid-session; the shared-conversation note names every writer, Owners included, for every provider.
  • Docs: definitions under docs/j5/product/ and user docs rewritten where this changes them

Built by Claude Opus 5.5 builders (the access core and three areas). Reviewed by Claude Opus 5.5, GPT-6.1-Sol, Claude Fable 5.1 and GPT-6-Astra. Live-tested by GPT-6-Astra. Orchestrated by Claude Opus 5.5, in J5 Code through the Claude Code harness.

🤖 Generated with Claude Code

Jacksondr5 and others added 30 commits October 18, 2026 03:06
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…age reloads once

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…f what they reach

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nd the definition edits of the plan review

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…for the web client to build against

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…other, never between

Reads the credential's intent and its person's level, checks them, issues and binds in one
transaction, which holds the write lock from its start; a level change waits for it or goes
first. A J5 link's credential with no intent pairs nothing, and a device that took everything
its credential carried follows its level (review items 1, 5a, 15).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eir devices, in the same transaction (review item 5b)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…red or removed (review item 2)

The approval records how many times the Owners have changed; its session is issued only while
that is unchanged, under the same lock as a change of level.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…they may know (review item 3)

Its own thread is one they reach, or it sent a message to an agent whose thread they reach;
any other comes back unknown, since an agent's name is its thread's title.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…their level (review item 4)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ew item 6)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…was published with (review item 7)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…m a catalog (review item 8)

A server-scope Viewer is told every provider's skills, a project's Viewer the skills in its own
folders, each by name and description with no path. Catalog install and update need Manage
providers, which only an Owner's level gives.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…re they write (review item 9)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ch them, for now (review item 10)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ple and access AC45)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…o strip, and its change signals (review item 12)

Registers the access and people streams and the author list's change signal in the client's
subscriptions, and guards the four commands on a connection's own place at read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…thread gained a writer (review item 13)

Also lands the test of an MCP approval voided by an Owner's change, which a reflowed anchor had
dropped from item 2's commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… and admission reads whose a socket is once (review item 14)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… before the request fails (review item 16)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…se (review item 17)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, not a copy of it (review item 18)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… Fleet leaves removed people out (review item 19)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cheduled it

A Collaborator could schedule a task on a shared thread and its runs reached
the agent with no author line. Who scheduled a task is now recorded as a
person saves it: whoever creates it, or whoever changes its prompt. On a
shared conversation its runs begin with "[Scheduled by <name> (<level>)]",
by their name and level as it runs, recorded like a person's message so the
web client strips it for display. A task no person set the prompt of (an
agent's, or one from before) runs with no line, and the note says so. When
the scheduler can no longer write there, the run is not sent: it fails with
the reason as its run error in the task list, and each later run fails the
same way until someone who can write changes the prompt and takes it over.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Jackson's ruling for #638. Every Persona write, and the reads of the files a
Persona is imported from, now need settings:write, which only an Owner's
level holds, on the server and in the client's guard, so a server-scope
Collaborator is refused them. The catalog and reads are unchanged. People and
access AC20 says so, and that a Collaborator's agent can still save a
Playbook through its own tool, as it can change files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jacksondr5

Copy link
Copy Markdown
Owner Author

On the migration point from the review body: fixed in 98a3e22de2. Migration 039 now gives every member a server Owner level, not only the local operator. The other members are the human:* people migration 006 recorded; they were members with an inbox on j5/main, and nothing else created a non-operator member. The migration's comment says so and its test includes one.

The branch is now merged with j5/main (a9b05fc8f7, including #621 and #653), so the conflicts you listed are resolved.

Claude Opus 5.5, orchestrating #638 for Jackson

Jacksondr5 and others added 2 commits October 19, 2026 23:41
…g soon instead of going nowhere

A thread's "Manage scheduled tasks" sent someone who owns no server to a
Settings page that is not theirs: by the link it showed an unavailable
environment, by its address it bounced to Appearance. The gate now shows a
notice in its place, naming the server and, for someone who can write to a
thread, that they can ask an agent. The gate wraps upstream's scope boundary
in routes/settings.tsx, which answered first for a server the person does
not own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rops a scope line that named none

The notice sat under upstream's "Applying settings for … on Unavailable
environment", which names servers the person does not own. It is now drawn
without that line. It names the server the link carries, such as a thread's
on another server, and the primary server otherwise.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GuestGate.test.ts: kept deleted. #669's native-question links ride
listCrewRuntimeRequests, which AccessGate already lists for narrowed
connections and filters to threads the person can write to (Crews AC23).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ite to the seat's thread

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jacksondr5
Jacksondr5 dismissed bryantderosier’s stale review October 20, 2026 22:09

Every point is fixed or answered in its thread (98a3e22, b1279b0, 786caf5, 94331ed); Jackson approved the merge on 2026-10-20. — Claude Opus 5.5, orchestrating #638 for Jackson

@Jacksondr5
Jacksondr5 merged commit 557750d into j5/main Oct 20, 2026
31 checks passed
@Jacksondr5
Jacksondr5 deleted the j5code/people-and-access branch October 20, 2026 22:09
Jacksondr5 added a commit that referenced this pull request Oct 25, 2026
The licenses are the same for every server, and since #638 a non-Owner
sees the page, so the Settings server picker did nothing there.

Closes #646

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
BastiHu added a commit that referenced this pull request Oct 27, 2026
* fix(j5): reject changed spawn replay requests

Co-Authored-By: GPT-6.1-Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(j5): verify spawn replay failures and concurrent retries

Restore complete live-caller shell fixtures and assert injected failure causes. Keep identical and mismatched concurrent retries as distinct cases, and authorize persisted children before replaying create.

Integration note: RequestReplay migration 039 conflicts with pending #638 migrations 039–042; reconcile numbering against main before publication.

Co-Authored-By: GPT-6.1-Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(j5): address spawn replay review comments

Keyless spawns no longer write replay rows nobody can retry. The replay
service declares its interface inline, and check no longer returns an
unused boolean. Both replay mode checks share one message; the early one
stays because it is the only check an unbound legacy agent reaches.
Replay rows record created_at, and the spawn tool description says that
any change under a reused client_request_id is refused.

* fix(j5): refuse bad spawn attachments before binding the key

Duplicate attachment ids, attachment limits and non-pending references
are refused before the client_request_id is bound, so a corrected list
can be retried under the same key instead of being refused as a changed
request. A replay-store SQL failure now tells the caller to retry the
same key, keeping the inspect-target guidance for real conflicts. The
agent tools doc states the whole-request binding.

* fix(j5): reject changed Crew proposal replay requests (#661)

* fix(j5): reject changed crew proposal replay requests

Compare immutable original proposal fields before live validation and again after concurrent create/admit. Identical retries retain the original proposal after approval, decline, catalog changes and partial failures.

Keep the existing stable ids and admission rules. Replay omits the optional live-validation playbook summary. Existing ambiguous or archived crew target selection still refuses visibly.

Co-Authored-By: GPT-6.1-Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(server): replay crew proposals before playbook lookup

* fix(j5): simplify crew proposal replay comparison

* fix(j5): preserve replay workspace for playbook libraries

* test(j5): verify crew replay against playbook libraries

---------

Co-authored-by: GPT-6.1-Sol <noreply@openai.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

* fix(j5): validate upload metadata before accepting spawns

* refactor(j5): own direct spawn acceptance in domain service

* fix(j5): complete replay recovery and canonical contracts

* fix(j5): refuse cross-workspace legacy retries before binding

---------

Co-authored-by: GPT-6.1-Sol <noreply@openai.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

This branch was successfully deployed

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

Labels

size:XXL 1,000+ effective changed lines (test files excluded in mixed PRs). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

People and access: build the definitions of #631 (one PR)

2 participants