Skip to content

fix(agents): surface placed agents' native questions - #669

Merged
bryantderosier merged 4 commits into
j5/mainfrom
fix/281-native-question-routing
Oct 20, 2026
Merged

bryantderosier merged 4 commits into
j5/mainfrom
fix/281-native-question-routing

Conversation

@bryantderosier

@bryantderosier bryantderosier commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

A J5-placed agent could wait on a native question without telling its Captain or spawner, and its hidden thread could leave the person's Inbox empty. I added placement-aware parent notices and Inbox links to the original native question form. Refs #281. The answering and waiting policy follow-up is stacked in #674.

The notifier uses stable per-request IDs, queues behind an active parent turn, cancels notices still queued when the question resolves, rescans on qualifying run events, and resumes from the last handled event after a stream failure. Parent notices and Inbox links both require J5-spawned provenance. A spawned Captain still notifies its placement parent, while its own questions stay inline rather than being duplicated in the Inbox. Upstream delegated children keep upstream's routing. Crew seats with an active native question show needs-you, while Stop and archive warnings continue to use actual run activity.

This keeps existing Crew-seat question suppression and upstream answer permissions/attribution. There is no new answer form, answer mutation, adapter edit, or Orchestrator edit.

Evidence

  • Native-question notifier: 33 focused cases passed, including parent delivery, stable IDs, run-event rescans, queued cancellation, escaped agent-provided titles, fork/reparent eligibility, lifecycle exclusions, and production-layer stream recovery, spawned-Captain notices, and skipping parent reads when a run has no pending question.
    vp test run apps/server/src/j5/a2a/NativeQuestionNotifier.test.ts

  • Inbox selection: 23 cases passed using real SQLite J5 services with fake external thread state, including live/message questions, resolution by another actor, pending approval preselection, fork/ordinary-thread exclusions, secret-only summaries, and limiting SQL placement results to pending threads.
    vp test run apps/server/src/j5/a2a/nativeQuestionInboxRead.test.ts

  • J5 runtime composition: 3/3 passed.
    vp test run apps/server/src/j5/a2a/runtimeLayer.test.ts

  • The notifier's initial no-op implementation failed to dispatch expected notices; the implemented notifier passed. Running/waiting seats with native questions failed as running before the needs-you fix and passed afterward. Focused Fleet/archive, guest authorization, change-feed, and read-plan tests passed.

  • Four new notifier regression tests fail against the original PR implementation and pass with the fix: stream recovery, inherited fork placement, ordinary-thread placement, and title separation. The recovery test injects the typed bounded-stream failure into the production notifier layer; it is not a full-app load benchmark.

  • Four read-cost regression cases fail on the earlier head and pass with the optimization: waiting/completed/failed runs without pending native questions avoid parent reads, and the Inbox placement query returns only pending candidates before JavaScript filtering.

  • After synchronizing with current j5/main, 115 focused routing, Inbox, runtime, seat-policy, registration, and MCP-access tests passed on the stacked tree, whose runtime files match this PR. The server package typecheck passed.

  • Server package typecheck, targeted lint/formatting, and git diff --check passed for the current changes.
    vp run --filter t3 typecheck

  • Earlier affected-package typechecks passed before the recovery changes:

    vp run --filter t3 typecheck
    vp run --filter @t3tools/web typecheck
    vp run --filter @t3tools/client-runtime typecheck
    vp run --filter @t3tools/contracts typecheck

  • Targeted lint and formatting passed, with one existing HumanInboxPage set-state-in-effect warning. git diff --check origin/j5/main...HEAD passed. No repo-wide suite was run.

Live testing

Pass for the exercised local web flows at earlier commit b2dfab04678e515382da306f2043df7dc2ccee56. The later stream-recovery, eligibility, title, and read-efficiency changes have focused test coverage and have not been rerun in a live client.

I used node scripts/j5/setup-agent-live-test.ts --base origin/j5/main with isolated homes and synthetic repositories. Real UI turns on Claude Haiku 5.5 and Codex GPT-6.1-Sol verified placed Peer questions, stored parent notices and new parent turns, Inbox/bell counts, opening the original form, and native answers. Answering from another tab removed the Inbox row and bell count without reloading, while another unplaced pending question remained present.

Claude's blocking Blue/Green question reproduced the missing Inbox row on base 7c5b3e2bc802b42d03add3e945202429ce0f0a7a. The head listed it and continued the child after an answer. Codex's asynchronous Amber/Violet question used truthful nonblocking wording, survived an at-rest restart, and remained answerable afterward. Actual stored requests resolved Blue, Red, Blue, and Amber. Stored notices were one per request across the normal request/run-rescan lifecycle. The isolated servers were stopped afterward.

Not verified: Electron desktop shell, mobile, relay/tunnel, second machine, offline environments, other providers, live Crew-seat/Fleet states, guest transport, and lifecycle/replay edge cases. Those last logic paths have focused tests, not live-client proof. A repeated command replay was not injected. There is no startup sweep or guarantee for a question opened while the notifier was down. Native-client and remote-mode validation remain coverage gaps.

UI changes

Before After
Placed peer native question in Inbox Placed peer native question in Inbox, before Placed peer native question in Inbox, after
Codex async question after restart new Codex async question after restart, after
Inbox after answer from another tab new Inbox after answer from another tab, after

Before/after screenshots and recordings were captured from real isolated base/head servers. Video upload remains pending because the Browser profiles list has no GitHub Video Upload profile; the local recordings are 19.701 seconds for base and 39.852 seconds for head.

Merge Danger

Door: One-way for notice history. Reverting stops new notices and removes the new Inbox display, but already stored messages and queued notice turns remain. No database migration is needed; the questions read field is optional for older clients.

Blast Radius: Placed-agent question notices, human Inbox/bell reads, and Crew seat status.

A parent whose modes are narrower than the child's may be refused by the existing answer tool; the notice directs it to ask the person to answer in the original thread. An archived parent/child may leave a harmless queued historical notice. An async seat question can produce both its question notice and a seat-finish notice. Secret requests and solo Peer approvals remain outside this change.

After merge: merge the policy follow-up #674 after this PR; keep #281 open until both reach j5/main.

Checklist

  • One concern: the description has no "also"
  • Tests cover the changed behavior (backend changes ship with focused tests)
  • UI changes: before/after screenshots above, and a video for motion or interaction — screenshots are uploaded; recordings are captured, but GitHub video upload is pending
  • 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 — not applicable; all changed files are J5-owned
  • 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 — not applicable; upstream provider/orchestration behavior is unchanged
  • Surfaces: entry points, clients, providers, contracts, reverse states, connection modes (see AGENTS.md)
  • Docs: definitions under docs/j5/product/ and user docs rewritten where this changes them

Implemented with GPT-6.1-Sol in the Codex harness; independently reviewed with Claude in the Claude harness.

@vercel

vercel Bot commented Oct 19, 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 Oct 20, 2026 1:14pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Path: .coderabbit.config.ts
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1e0da91d-494a-4f83-af40-60e2985968db
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added the vouch:trusted Author is trusted by repo permissions or the VOUCHED list. label Oct 19, 2026
bryantderosier added a commit that referenced this pull request Oct 19, 2026
@github-actions github-actions Bot added the size:XL 500-999 effective changed lines (test files excluded in mixed PRs). label Oct 19, 2026
@bryantderosier bryantderosier self-assigned this Oct 20, 2026

@BastiHu BastiHu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consolidated security, performance, and issue/acceptance-criteria crew review at b2dfab0. Overlapping findings appear once each inline. Recommendation: fix stream recovery before sign-off and resolve the #281 closing scope. Fork/reparent semantics need an explicit intended rule. No blocking security defect was established.

Validation limits: CI passed at this SHA; reviewers did not rerun the monorepo suites locally. The stream finding has a focused buffer/worker reproduction, not a full-app load benchmark. CI evidence predates the newer j5/main base. The interaction video upload remains pending; reported live checks cover Claude/Codex web, with desktop, relay/tunnel and live Crew/Fleet states unverified. Mobile has no J5 Inbox surface.

Security and acceptance reviewers used Claude Opus 5.5; the approved performance runtime was changed to Codex GPT-6.1-Sol/medium. Comments only; no approval or request-changes action.

Comment thread docs/j5/product/features/crews.md Resolved
@bryantderosier

Copy link
Copy Markdown
Collaborator Author

Thanks @BastiHu. Pushed the fixes in 9ddd350: stream recovery, matching fork/reparent eligibility, escaped agent titles, and the user guide update. I changed the closing reference to Refs #281 so scoped answering and the wait-tool decision stay open there.

54 focused tests and the server typecheck pass. The new recovery test exercises the production notifier layer; I haven't rerun the live-client checks for this patch. Could you take another look?

@tyler-barton-horizon tyler-barton-horizon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking review. The notifier follows the existing CrewSeatFinishNotifier / CrewLaunchReporter stream-and-cursor pattern, and the stable per-request command IDs make rescans and replays idempotent. The client-side needs-you / hasActiveTurn split keeps Stop/Fleet tied to actual run activity. The inline notes are all non-blocking.

@Jacksondr5 Jacksondr5 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. A two-model panel (Claude Opus 5.5 lead + GPT-6-Astra) reviewed the stack at 718865b and found no defects. 67 focused tests passed, and Astra re-ran the live checks on the current head with Haiku and Luna: peer notice, Inbox and bell clearing, the busy-parent notice being cancelled, a spawned Captain staying inline, forks and plain threads excluded, and a question surviving a restart. Live Crew-seat states (needs-you, Fleet, Stop and archive) stay unit-tested only, because Claude and Codex seats have the native question tool switched off.

Product decisions (Jackson, 2026-10-20):

  1. A live Crew seat's native question may show in the person's Inbox as well as notifying its Captain. This amends the 2026-09-26 rule that only seat approvals reach the Inbox.
  2. That makes the Inbox definition's change official: the Inbox is no longer only asks agents deliberately send to the person.

Still owed before merge: the interaction video for the description. One non-blocking docs wording note is inline.

Posted by Claude Opus 5.5 for Jackson.

The **inbox** is a person's queue of open asks, live Crew-seat provider approvals, and placed agents' pending native questions. It is **person-scoped, not project-scoped**: a person has one inbox across every environment the client connects to, every item wears the project it came from and, when more than one environment is connected, its environment, and no project selection elsewhere in the app hides an item.

The inbox is **pure**. It holds only asks that agents deliberately sent to the person — nothing inferred, no automatically promoted stalls, no plain messages, no platform alerts. Every item blocks a sender, so the count on the bell means exactly "things waiting on me." The purity has a sender-side mirror: an agent can send a person only an ask; a plain message to a person is refused, because if the person must see something then seeing it is the obligation. The person, in turn, never opens an ask through the platform — their channel to any agent is that agent's thread — and their only act on the ledger is the answer that closes an Exchange.
The Inbox holds requests the person can act on: agent-addressed Exchanges, live Crew-seat provider approvals, pending Crew-member requests, and native questions on J5-spawned Peer Agents and live Crew seats. Native questions are links to the agent's original question form, not Exchanges or another answering form. A pending question counts whether it blocks the agent or the provider lets it continue working. Resolved, expired or cancelled questions leave the list as the server reports the change. Captains' own requests stay inline in the thread the person watches, and native or delegated Subagents use upstream's parent routing.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking wording (Panel: Claude Opus 5.5 + GPT-6-Astra): "agent-addressed Exchanges" reads as Exchanges addressed to agents. Here it means asks agents address to the person, e.g. "asks agents have addressed to the person".

@bryantderosier
bryantderosier merged commit 0acee2b into j5/main Oct 20, 2026
32 checks passed
@bryantderosier
bryantderosier deleted the fix/281-native-question-routing branch October 20, 2026 17:39
Jacksondr5 added a commit that referenced this pull request Oct 20, 2026
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 <[email protected]>
Jacksondr5 added a commit that referenced this pull request Oct 20, 2026
…ite to the seat's thread

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Jacksondr5 added a commit that referenced this pull request Oct 20, 2026
…cope, and several people work with one agent (#638)

* feat(j5): levels and their permissions, and migration 039 onto them

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

* wip(j5): access core on levels: person access, renewal, gate, admission

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

* test(j5): the access core's behaviour on levels

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

* wip(j5): renewal at startup, CLI revoke ends renewal, tests on levels

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

* feat(web): a session J5 ended for a change of level renews, and the page reloads once

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

* feat(j5): a saved server's bearer session renews after a change of level

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

* feat(j5): a narrowed person is listed the scheduled tasks and pages of what they reach

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

* chore(j5): lint fixes in the access core

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

* docs(j5): FORK cases 37, 69, 70, 78 and 79, D33's service sessions, and the definition edits of the plan review

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

* feat(j5): the wire for people, links and shared conversations, fixed for the web client to build against

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

* chore(j5): the narrowed view's comments speak of people and levels

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

* fix(j5): a device pairs and its person's level changes one after the 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 <[email protected]>

* fix(j5): removing a person revokes the links still waiting to pair their devices, in the same transaction (review item 5b)

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

* fix(j5): an MCP approval not yet issued is void once an Owner is lowered 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 <[email protected]>

* fix(j5): a narrowed person is told an agent's name only for an agent 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 <[email protected]>

* fix(j5): the server does not start when it cannot renew devices into their level (review item 4)

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

* fix(j5): migration 039 leaves machine senders' sessions unbound (review item 6)

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

* fix(j5): a Viewer reads only the resource an MCP app in their thread was published with (review item 7)

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

* fix(j5): Viewers are told skills by name, and only Owners install from 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 <[email protected]>

* fix(j5): a Collaborator changes the scheduled tasks and Playbooks where they write (review item 9)

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

* docs(j5): a Viewer is listed a thread's preview tabs and does not watch them, for now (review item 10)

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

* fix(j5): a person's name holds no angle brackets (review item 11, People and access AC45)

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

* feat(j5): the wire carries where a level is held, the stored prefix to 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 <[email protected]>

* test(j5): the scope roster says where each level is held

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

* feat(j5): a hook inside every change of access, for recording that a 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 <[email protected]>

* perf(j5): the first owner's and service sessions are told by subject, and admission reads whose a socket is once (review item 14)

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

* fix(j5): a Connections link whose maker cannot be recorded is revoked before the request fails (review item 16)

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

* fix(web): the renewal watcher tries once more on the next refused phase (review item 17)

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

* fix(j5): renewal refuses a foreign origin by upstream's named message, not a copy of it (review item 18)

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

* docs(j5): FORK cases 69 and 70 name every group, stream and MCP edit; Fleet leaves removed people out (review item 19)

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

* docs(j5): FORK's path table lists McpOAuth.ts

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

* fix(j5): a credential upstream took before its person was removed pairs nothing (re-check item 1)

A removed person's pairing intents stay, so the issuer finds the credential was theirs and
refuses it, rather than taking the device for one no one has claimed.

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

* fix(j5): an MCP sign-in is refused its session for an approval's life after an Owner is lowered (re-check item 2)

Replaces the approval count recorded in McpOAuth.ts, whose read after validation could miss a
lowering, with Opus's rule in J5's own decorator: no upstream edit, under the lock of a change
of level.

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

* chore(j5): hoist the auth error check

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

* fix(j5): removing a person reads whether they are an Owner inside its transaction (re-check item 3)

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

* fix(j5): a scheduled task upsert addressed by its command is checked as that task (re-check item 4)

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

* fix(j5): the write hook runs for a claimed device, a rename and a removal too (re-check item 5)

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

* fix(j5): the inbox is the connection's own person's, and no request names one (re-check item 6)

The three inbox requests lose their personId; the server takes the person from the session, and
the web client stops sending it.

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

* docs(j5): FORK case 78 says how admission is built now, and the gate says what it costs (re-check item 7)

Also moves the origin message export above upstream's docblock, which stays on its function.

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

* fix(j5): the startup link's and desktop app's devices are bound to the first owner as they are issued (live test finding 2)

Every list of devices then finds them. The subject still decides for the development credential,
which upstream never stores, and for sessions from before.

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

* fix(web): a device whose session was ended for good is sent to pair, not left on the old screen (live test finding 1)

Renewal now says whether it renewed, found the session live, or refused it. A refusal reloads the
page, and upstream's sign-in gate finds no session and sends the browser to pair.

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

* fix(j5): an MCP approval checked before an Owner was lowered is refused, however soon after the check the change lands (MCP window)

The cooldown measured from the Owner change, so an approval checked just before
it and minted just after could be exchanged once the cooldown ran out. J5 now
decorates upstream's McpOAuth without editing it: approve reads which change of
Owners it is, under the level-change lock, before upstream checks the approval,
and ties it to the code in the redirect; the exchange gives it to the issue,
which refuses under the same lock if the Owners changed. The cooldown is gone.

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

* feat(j5): one kind of link, and the people requests an Owner makes (People and access AC31 to AC43, AC26, AC49 to AC51)

Migration 040 keeps a link's token so an Owner can copy it again. A device
link adds a device for someone already on the server; an invite makes its
person when used, at its scope and level, and for many at Viewer only. The
describe and join routes refuse a browser paired as someone else, or as the
link's own person, before anything is written, and answer every link that
does not work alike. The j5.people requests are built over Access, and
removing a person revokes their unused links in its transaction.

A's interim adapter is kept as LegacyPeople until the web client moves off
the old sharing requests.

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

* feat(j5): j5 pair and j5 auth pairing create name the person a device is for (D36, People and access AC4)

Both commands refuse without --person and list the people on the server. A
name that matches someone makes the link for them at their levels; a new
name needs --level, with --project or --thread for a narrower scope, and the
person, their level and the link commit together. Upstream's --scope keeps
its meaning and becomes the device's ceiling. Each command says which it did.

The upstream edit is a flag spread and one call in cli/pair.ts and
cli/auth.ts (FORK.md case 79).

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

* fix(j5): the live-test rig pairs a named person, and guest adds one with j5 pair --person

The rig ran a bare pair for the owner's URL and added guests over the old
sharing requests; D36 refuses the one, and the other is going. The owner's
URL now names the owner the home was built with, and a --fresh home, whose
owner has no name yet, gives the server's startup link. guest runs
pair --person with --level viewer|collaborator and --thread or --project,
which adds the person and makes their link. The owner client is gone.

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

* fix(j5): guest says why pair refused a person, from the line the CLI logs it on

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

* feat(j5): an Owner marks the retired-links notice seen, once for every browser

j5.access.markRetiredLinksSeen records per person that the notice of 039,
that links made before levels stopped working, was seen; retiredLinks then
reads null for that person. It is guarded for clients like the other
requests about a connection's own place (approved by the orchestrator as
the one wire addition).

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

* fix(j5): a link that does not work says it may have been used, expired or revoked

Still one answer for every such link (AC42), now naming the likely reasons,
so someone whose link was spent by an abandoned pairing knows to ask again.

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

* test(j5): marking the retired-links notice seen is a command on the connection's own place

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

* feat(j5): a bare j5 auth pairing create makes a link for a device the server asks about (D36, AC4, provisional)

Upstream's desktop app runs auth pairing create on a host it reaches over
SSH, and knows no one's name there; refusing it broke that connection. Now,
without --person, the command makes upstream's own link with upstream's
permissions and records no person, so the device that pairs answers AC5's
name question before it can use anything. j5 pair still refuses without
--person. Upstream's auth pairing create test is upstream's again.

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

* docs(j5): D36 and AC4 say what each pairing command does without --person, and no guide runs a bare j5 pair

D36 and People and access AC4: j5 pair refuses without --person, and a bare
auth pairing create pairs a device the server asks about (provisional, for
Jackson). AGENTS.md, the test-t3-app skill and the user guides for remote
access and the welcome wizard name a person; the live-test skill's guest
takes the new level names.

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

* test(j5): the startup link's and the desktop app's devices are listed under the first owner, and end

Paired through upstream's own exchange, composed as the server composes it,
both appear on the People page under the first owner and an Owner ends them
(review item 4).

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

* fix(j5): revoking a link stops a join already under way (review item 1)

A join mints upstream's credential, which stayed usable for its five
minutes after the link was revoked, and an exchange already begun still
issued its session: an Owner's device link, revoked, could still pair a
device with Manage access. Revoking now also revokes the credentials its
joins are waiting on, in the same transaction, and the issue of a session
refuses a credential whose J5 link was revoked, in the issue's own
transaction, so one upstream already took pairs nothing either. A link the
join spent still pairs its device, and no one who already joined is removed
(AC39).

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

* fix(j5): only an Owner is told where someone's level on a scope is held (review item 2)

The roster of who reaches a thread or project gave everyone each person's
levels with where they are held, so a Viewer of one thread learned the id
and title of a thread above it that was never shared with them. Anyone but
an Owner is now told names and levels, with no via; the wire's comment says
so.

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

* fix(j5): a device waiting to renew is listed under its person, and an Owner can end it (review item 3)

A lowered device's session is ended so it can renew, and its binding kept,
so it was in neither the People page nor Connections and could not be ended
before it came back. Its person's list now shows it, from the session upstream
stored, as not connected, and ending it cuts the binding, so it never renews.

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

* fix(j5): the CLI keeps --scope as a ceiling only when it was given, and refuses a link that gives nothing (review items 5 to 8)

Whether a device has a ceiling was decided by comparing --scope with
upstream's default, which breaks the day upstream reshapes it; both pairing
commands now take --scope through J5's copy of upstream's flag, which also
says whether it was given. A --scope wholly outside the person's level
minted a link with no permissions and said it made one; it is refused. The
link and the record of whose it is share one database client and commit
together, and a test shows a link whose record fails is not left behind.
FORK case 79 says a person the CLI adds reaches an open People page only
when it next reads.

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

* docs(j5): the wire says a link's person is a device link's, and an invite has none (review note)

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

* feat(j5): a person's message in a shared conversation reaches the agent under their name and level

Ported from the closed collaborate stack onto levels: the author's line, the note at the top of
the next message with its carrier rule, the launch wrap, the answer line and the answer claims
read against upstream's log, and the withdrawal of a person's queued messages when they can no
longer write. A thread is shared once more than one person can write to it, recorded by the
access core's write hook and at admission, and stays so. A command goes as typed from anyone.
Only the platform sends a context record of its own kind. Migrations 041 and 042.

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

* feat(j5): an agent asks someone who can write to its thread, or everyone here, and the first reply closes it

An agent's address book lists the people who can write to its thread, and everyone here once
the thread is shared; an ask to anyone else is refused. A person's inbox holds the asks to them
and to everyone here whose asking agent's thread they can write to when it is read, so a Viewer
has none. The first reply to an ask to everyone claims it, a later one is refused naming who
answered, and the others' Replied shelf names them. A Crew's failure alert asks everyone here on
a shared Captain's thread. A Captain whose thread is shared is told who decided its roster.
Inbox AC14 to AC16, Crews AC23, Shared conversations AC11.

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

* feat(j5): a Crew's requests and a person's inbox reach the people who write to it, narrowed or not

The inbox, a Crew's rosters, further seats and seat approvals are opened to narrowed people, each
handler answering for the person on the connection alone: a Crew's requests are listed to, and
answered or stopped by, whoever can write to its Captain's thread, and who answered a seat's
approval from the inbox is kept for its prompt. A person's reply from the inbox reaches the
agent under their name, and their level in a shared conversation (envelope version 27). Crews
AC23, Inbox AC14, Shared conversations AC11 and AC13.

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

* feat(j5): every agent's standing instructions name the server's Owners

The J5 instructions upstream's constant carries are a live binding the server sets when the
Owners change, read by Codex at each turn, by Claude when its session starts and by Cursor on a
thread's first run; Pi bakes its text in and is not told. The instructions also tell an agent
it may ask everyone here. Shared conversations AC9. FORK case 8 records the re-export and the
package export, case 78 the socket's J5 services.

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

* test(j5): the J5 server tests seed the first owner's level, and read upstream's tables where an ask now does

Who an agent may ask is read from the levels covering its thread, so a test that records a
person as the first owner gives them the Owner level the server gives them at startup, and runs
upstream's migrations for the thread projection. The note also tells the agent that a message
from another agent, a scheduled task or the platform was typed by no one here.

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

* feat(j5): who answered a question says exactly what to strip from the answer

PromptAnswer gains storedPrefix, the answer line the platform put on a question's answer with
its trailing space, or "" for an answer with none, as MessageAuthor's does for a message.

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

* test(j5): a person the CLI makes a Collaborator marks the threads they now write to as shared

The CLI builds its own access core, with the shared-thread write hook installed, so the record is
written in the CLI's own transaction; the running server never hears of the change.

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

* feat(web): the client reads a connection's person and levels, and a thread's menu follows them

The web client asks the server what its connection is (j5.access.getConnectionAccess) and the level
it holds over each thread, and reads both again when people or levels change. A Viewer of a thread
gets upstream's read-only composer and no Mark unread; someone who is not an Owner loses Archive,
Delete and Project settings and gets Leave where they hold a level on the thread itself. A narrow
person's client still sends the reads their scope answers, the inbox and Crew requests among them.
The guest-era sharing screens this replaces are removed.

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

* feat(web): Settings is an Owner's, with a short list for everyone else

Settings lists only the servers the person owns. Someone who owns no connected server sees
Appearance, SnapShots, Open-source licenses and People, from a list of pages shown, so a page
upstream adds later is an Owner's; search finds only those, and any other page's address opens
Appearance (People and access AC27 to AC29).

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

* feat(web): one Share dialog, the People page, and leave and rename for everyone

The Share dialog is the same for a thread, a project and the server: who reaches the thing and
through which scope, level changes and removal where the level is held, the links in force with
Copy and Revoke, and a form that makes a link for one person or for many, or gives someone already
on the server more with no link. Raising anyone to writing says what it gives first. The People
page picks among servers: everyone with their levels, devices and ceilings, and links on a server
the person owns; their own row, with Leave and Rename, on one they do not. The project page loses
its Sharing section. (People and access AC34 to AC41, AC46, AC48 to AC51.)

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

* feat(web): the name question, the first screen, the wizard and the old-links notice

A device the server cannot place, and a first owner with no name, are asked "What should people and
agents on <server> call you?" before anything else, with no way to put it off; a device picks from
everyone on the server or names someone new (AC5, AC6). The setup wizard is offered only to an
Owner of the server the client opened first, by that server's answer, and the browser flag goes
(AC30). Someone who reaches less than the server lands on their one thread, a list, or "Nothing is
shared with you". An Owner is told once per browser that links made before the upgrade stopped
working.

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

* feat(web): the join page opens the one kind of link

The pairing page asks the server what a marked link opens (POST /api/j5/links/describe) and shows
the server, the thing and the level; the person confirms or types their name and joins
(POST /api/j5/links/join), pairing with the credential it returns. A browser already on the server
joins a link for many as itself; a link for one person on a device that is someone else's, or
already theirs, is refused and stays usable; a name in use is refused inline; every link that does
not work shows one state (AC32, AC33, AC42, AC43).

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

* feat(web): a shared conversation shows each person's message as they typed it

The timeline reads who sent each message and answered each prompt (j5.sharedConversation), again
whenever the server says it changed. A message is shown without the platform's lines at its start,
which the server names exactly, and a note it carried becomes a notice before it. Another person's
message is upstream's bubble on the left with their initials and name and no level (AC17). A
settled prompt says who answered; an inbox reply names its sender; a rewound message comes back as
typed. A message whose author the server has not answered for yet is shown as typed here, or held
back for the moment, so no line meant for the agent is drawn.

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

* feat(web): anyone who can write answers a Crew roster, and a Viewer's prompts are disabled

A roster can be resolved by anyone whose level lets them write to the Captain's thread, and the
launch notice says who decided. A Viewer sees a dismissible question with its dismiss disabled too,
as the rest of its controls already were (Shared conversations AC10 to AC12).

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

* feat(web): the inbox marks asks for everyone here, names who answered, and keeps an item being answered

An ask to everyone who can write to the asking thread is marked so, and the Replied shelf says who
answered it ("Priya answered", "You answered"). An item someone has typed into stays in place
with their words when it closes, saying who answered or that it is no longer open, until they clear
it or leave the page (Inbox AC15 to AC17). A server that sends a Viewer no questions says it is not
shared with them.

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

* fix(web): naming someone who already reaches a thing makes a link for one more device

Add a person gives someone already on the server the level with no link only when it is more than
they reach the thing with (AC35); otherwise it makes a link that pairs one more device as them, the
way a person's further device is added (People and access, Links).

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

* docs(user): people and sharing

What the levels mean, how to share and make links, People, the name question, and what changes for
someone who is not an Owner.

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

* fix(web): Leave thread carries no icon the web menu cannot draw

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

* docs(j5): FORK cases 71 to 73 say how the web client is built now, and case 80 records the shared conversation's timeline

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

* fix(web): a client connected to no server keeps all of Settings

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

* feat(web): a question's answer can be shown without the server's mark, and FORK case 80 gives its exact size

The timeline wires it in once PromptAnswer.storedPrefix lands.

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

* fix(web): a join refused for want of a name asks for one

The join route answers 400 invalid_request when a name is needed and none was sent, as for a browser
joining a link for many as itself that turns out to be no one's; the page then shows the name field.

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

* fix(web): a join whose pairing is refused shows the link does not work

A link revoked between the join and the pairing it allowed is refused at pairing; the page then
shows the one state for a link that does not work (AC42).

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

* fix(web): a chosen-options answer drops the server's mark only when it is the mark exactly

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

* fix(web): no platform text in the queue, on a cold open or in an answer, and no store shared between timelines (review items 1, 2, 14)

The queue shows and edits a shared conversation's queued messages as their authors typed them. Until
the first read of who wrote what has answered or failed, every thread may be shared, so a server copy
waits rather than drawing its lines for the agent. An answer to a question is shown without the
server's mark, by PromptAnswer.storedPrefix, the field C adds (copied exactly). Rows, the queue and
the rewind read the thread's own record by the thread they are in; only the timeline opens the read
and the change feed.

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

* fix(web): the name comes before setup, and only a named Owner reaches the wizard (review item 3)

Setup is withheld until the primary server says this is its Owner and has their name, so a first
owner is asked their name before the wizard can open. The wizard's own address sends anyone else to
the first screen, where the name is asked. A failed or missing answer is not an Owner's.

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

* fix(web): Settings offers only the projects of servers the person owns (review item 4)

The project groups Settings builds, which its scope picker and the project panel both read, keep to
owned servers. The Fleet page and the inbox, which name projects from any server, group every
server's projects themselves.

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

* fix(web): who has a thing shows the level they reach it with and where, and a further-device link stays listed (review items 5, 6)

Each row says the level a person reaches the thing with and, when a wider scope gives it, that
scope; a level held on the thing itself keeps its own control, marked "here" when something wider
outranks it, and is the only one changed here (AC26, AC36). A further-device link is listed under
its person with Copy and Revoke, in the Share dialog and the thread's People section alike (AC41).

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

* fix(j5): the security reviews of shared conversations (Fable C1 to C3, Astra 1 to 3 and 6)

- A message id is its sender's own: a send naming one recorded for someone else, or one upstream
  holds that is no one's here, is refused; a retry of one's own send goes on (Fable C1).
- An edit of a queued message no person is recorded for is stamped too: as the first owner's,
  edited by the editor, when they typed it before the thread was shared, else as the editor's
  own words. An edit never reaches the agent without the platform's front (Astra 1, Fable C2).
- A carrier has told the agent only once its run has started; a queued, preparing or starting
  run, or no run, has not, so the next message carries the note again (Astra 2).
- A command id upstream already took makes no answer claim, so an old settled prompt is never
  credited to whoever replays it (Astra 3).
- Access's write hook runs before a change as well, while what the person held is known, so a
  thread created while a second writer could write stays shared after they lose it; starting a
  thread, an empty launch included, records it under a scope already shared (Astra 6).
- The answer mark goes on the first chosen option's text, not in an option of its own; storedPrefix
  says so (Fable C3).

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

* fix(web): an inbox answer that lost keeps its words, the row stays open, and a withdrawal says so (review item 7)

An answer this client is sending keeps its words until the server confirms it; if someone else's
answer won, the item stays with the words and who answered. Retention is decided in the render the
item closes in, so its open row is not unmounted and drawn again closed. Once the answered asks have
been read since it closed and do not hold it, it says the agent withdrew it (Inbox AC17).

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

* docs(j5): a message on its way when its author's access ends may still reach the agent (Shared conversations AC16)

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

* fix(web): someone who cannot write to a Captain's thread cannot edit its roster's seats (review item 8)

Edit, Remove, Add member and the seat dialog follow the same answer as Approve, and an open seat
dialog closes when writing is lost (Shared conversations AC12).

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

* fix(web): the old-links notice is marked seen on the server, once per Owner (review item 9)

Closing it, dismissing it or opening People from it calls j5.access.markRetiredLinksSeen and reads
the connection's access again; the browser keeps no record of its own.

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

* fix(web): anyone leaves what they hold, an Owner too, whatever their device manages (review item 10)

The thread menu offers Leave on a thread the person holds a level on, Owners included, before
Archive. On the People page a person's own row has Leave on each level they hold, and an Owner whose
device cannot see who has access gets their own row. The first owner leaves nothing (AC48, AC51).

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

* fix(web): the join page shows what the server said of a request it could not take (review item 11)

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

* docs(user): sharing is not on mobile, and a phone is paired again after a change of level (review item 15)

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

* test(web): an inbox reply's named header is read in the exact form the server writes (review item 16)

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

* docs(j5): FORK cases 72, 73 and 80 record the review fixes' upstream edits and their sizes

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

* fix(web): a chosen-options answer loses the server's mark from the start of its first option

C writes the mark on the first option's text rather than as an option of its own; the answer is
stripped by PromptAnswer.storedPrefix and nothing else, in the work log's preview and the expanded
answer alike, which both read the entries the shared-conversation hook returns.

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

* fix(j5): a name holds no level in parentheses, so two people never speak as one (review C1)

The author's line removed a parenthesised level word from a name, so "Pat" and "Pat (owner)" both
reached the agent as Pat (collaborator). The name rule now refuses a name holding "(owner)",
"(collaborator)" or "(viewer)" wherever a name is given or changed, and the line carries the
stored name as it is.

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

* fix(j5): the code reviews of shared conversations and the inbox (review C2 to C11)

- What the agent was last told is the carrier whose run started last, not the one sent last.
- Each turn's runtime policy reads the Owners just before a provider reads the instructions, so a
  change made by the CLI in its own process is named too.
- A Viewer of a Captain is listed its rosters and their outcome, and previews them; deciding still
  takes write.
- A seat's approval is listed to, and answered by, whoever writes to the seat's thread.
- A reply from the inbox in a shared conversation is recorded as it is accepted, with the name
  and level then and any note due, and is delivered with them.
- The note: earlier messages "that carry no header of their own", a message from an agent, a
  scheduled task or the platform "was not sent by a person in this conversation", and the
  edited-by form explained.
- Archiving a Crew is an Owner's, as archiving a thread is.
- On a server one person uses, whether a thread is shared is one read; an inbox list reads
  whether its person writes everywhere once.
- The prompt-stream watcher pauses before each resumption, so it cannot spin.
- The retry comment says exactly which retries pass.

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

* fix(web): an inbox reply in a shared conversation reads as its author's words, and the name rule names levels

The server records a person's inbox reply in a shared conversation as an authored message whose
stored prefix is the note and the named header. The timeline strips that prefix, as for any message,
and the platform's closing sentence after the words, and another person's reply is their bubble on
the left, marked "via Inbox". The name hint now says a level in parentheses is not part of a name,
as isPersonName will refuse it.

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

* fix(web): an inbox reply in a shared conversation keeps its envelope for the inbox card

The server now records an inbox reply's stored prefix as the note alone, so the timeline strips that
and hands the reply's envelope to the inbox card as before; the special case for a reply without
its header goes.

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

* fix(web): a shared thread's queue shows nothing until its record has been read (final round item 2)

While the thread's record of who wrote what has neither answered nor failed, the queue shows no
server rows, as the timeline holds a message back, so no line meant for the agent is shown or loaded
into the composer.

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

* fix(j5): an inbox reply strips to its note alone, and the note says plainly where unlined messages come from

A reply's recorded prefix is the note and its line break, so a client draws the reply's envelope as
the inbox reply it is. The note folds what it says of messages without an author's line into one
sentence that holds wherever a scheduled task or earlier messages are, and shows the line's forms
with placeholders rather than names.

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

* refactor(j5): the old sharing requests go, now that j5.access and j5.people replace each one

J5SharingRpcGroup, its handlers, the interim People adapter that served
them, their client guards, the gate's rows for them, and their registrations
in contracts/rpc.ts and client-runtime's subscription tag (FORK case 69).
contracts/j5/sharing.ts keeps only the rule for a person's name, the
lifetimes a link can have, and the mark on a link's address.

The web client's old sharing screens still import these: this lands with
D's rebuild of them, not before.

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

* fix(web): the join page starts again for a link opened in a tab already on it, and a name ending in a stop ends the sentence (browser pass)

Opening another link in a tab already on the pairing page changes only the address's fragment, which
loads nothing, so the page kept the last link's state. It now starts again for each new token. The
made-link line no longer reads "Send it to Marco R..".

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

* fix(web): in the thread's narrow People section a level wraps under the name instead of squeezing it (browser pass)

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

* fix(web): a person whose queued message someone else edited is told so above their own bubble (browser pass)

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

* fix(web): an inbox item kept after someone else answered it no longer says how long it has been open (browser pass)

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

* fix(web): a device paired with every permission is no longer badged limited on the People page (browser pass)

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

* fix(web): on the People page each level a person holds names what it reaches beside its control (browser pass)

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

* fix(web): a person is not told to pair again, and only someone who can install provider updates is told of them

J5 sets and renews a person's permissions from their level, so upstream's
legacy-permissions notice never applies to a connection J5 places. The
provider updates notice offered nothing to a connection without Manage
providers. Both are quieted from J5-owned code, one import and one or two
lines in each upstream file (FORK case 73).

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

* fix(web): Settings no longer shows an Owner's sections to someone else while it starts

Until the catalog lists a server and one says the person owns it, Settings
shows the list it shows anyone, and an Owner's page waits rather than
sending them away.

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

* fix(web): Settings shows a page while its server is still being asked, and a server that cannot answer counts as before

7b306bbb2c held every Settings page back while the answer was loading,
which left a client whose catalog lists no server, or a server that never
answers, on a blank page (settingsScopeRetention.test.tsx). Only an answer
now sends someone away; loading changes the list alone. A server that
settles with no answer, one from before people, holds the client to nothing
again, and only one still being asked is unknown.

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

* fix(j5): a note steered into a running turn is told again with the next message

A carrier counted as having told the agent once its run had started, but a steered message is
recorded against the run it was steered into, which had started whether or not the provider took
the steer. A carrier now counts only when it is the message its run was started for.

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

* fix(j5): an ask to someone who can no longer write to the agent's thread ends, and the agent is told

When a person is removed, lowered or leaves, the access-change subscriber that withdraws their
queued messages now also ends their open personal asks on threads they can no longer write to,
as dropped with the receiver retired, and tells each asking agent. Asks to everyone here are left.

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

* test(j5): a person a link brings in as a Collaborator makes the thread shared as they join

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

* feat(web): someone who manages no access sees who reaches each project they reach, on People (AC26)

Read-only, from the project's own list (listScopePeople), for each project
they hold and every project when they hold the server. Changes, links and
devices stay an Owner's.

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

* test(web): the filter that keeps upstream's pair-again notice from a person is tested as it runs

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

* refactor(j5): the people model's words replace a guest's in the pairing refusal, the composer's comments and isNarrow

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

* docs(j5): FORK lists every upstream path the people model edits, and D33 and D36 say what they carry

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

* fix(web): a project's Collaborator can start a thread in it (People and access AC14)

A draft is no thread on the server, so its thread level was always none
and the composer said the person could only read. A draft now takes the
level the person holds over its project, from the project or the server; a
level on one of the project's threads still starts nothing there.

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

* fix(web): a narrow person's new thread shows their message as typed and who reaches it at once

The draft keeps the id its thread will have, and the server refuses a
narrow person reads for a thread it does not have yet, so the refused
author record and roster stayed with the thread after it was created: the
platform's note was drawn in the person's own bubble until a reload. They
are read again when the thread is first listed.

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

* docs(j5): FORK's ChatView row names case 80

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

* docs(j5): FORK's timeline and queue rows name case 80

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

* fix(web): a new thread's composer stays writable for its project's Collaborator once the thread exists

The server's answer of a thread's level is sent again only when people or
levels change. The client asked it for the draft's id before the thread
existed, got none, and kept that answer for the thread, so the composer went
back to saying the person could only read until an unrelated change of
access. A thread's level is now never taken as less than its project's, for
a draft and a listed thread alike.

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

* fix(web): the thread menu reads a thread's level by the composer's rule

Both of the menu's reads took the thread level stream alone, so a thread
that was a draft a moment ago kept the answer the server gave its draft id
and the menu held its project's Collaborator back. They now read the
thread's level never below its project's, as the composer and the details
panel do.

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

* docs(j5): a non-Owner's People page shows who reaches their projects

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

* fix(j5): a change of Owners refuses an MCP approval still waiting, and no longer ends every MCP client

Jackson's review of #638: only an Owner approves an MCP client, but lowering or
removing an Owner no longer revokes every MCP client session. The change still
voids approvals not yet exchanged; ending only the clients the lowered Owner
approved is Later (#639). An MCP client holds no person's level, so the docs no
longer say a change of level makes it pair again.

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

* docs(j5): isServiceSubject says a change of Owners refuses a waiting MCP approval, not every client

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

* fix(web): the sharing UI draws its buttons as upstream's own surfaces do

Upstream's Settings rows give secondary actions an icon with a tooltip, its
setup wizard ends Continue with an arrow, its thread details sections head
with an icon action, and it revokes with destructive-outline. The Share
dialog, the People page, the thread's People section, the join page and the
name dialog now do the same. Presentation only; every icon-only button
keeps an accessible name.

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

* revert(j5): the Owners line is dropped from every agent's standing instructions

It reached Codex at each turn, Claude only when its session starts, and no other provider, while
the shared conversation's note already names everyone who can write, Owners included. The J5
instructions are a constant again, upstream's provider-core file and exports are back to how
they were before it, and FORK case 8 says so. Shared conversations drops AC9 and renumbers what
follows (former AC10 to AC20 are now AC9 to AC19), with every reference in code, FORK and docs.

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

* fix(j5): everyone here is offered and taken only while more than one person can write to the thread

An agent's address book lists everyone here only when its thread has two or more writers now, not
whenever it was once shared, and an ask to everyone here from a thread one person can write to is
refused, naming that person to ask instead. A Crew's failure alert follows the same rule. The
definitions say so in place (Inbox AC15, Shared conversations AC13).

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

* fix(web): People says it is reading while a renewed session reloads, not to connect a server

A client lists no server for a moment while it starts, as it does when a
change of level renews the session and reloads the page. People now says
it is reading, and asks to connect a server only when the client has no
server of its own and the list has been read.

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

* feat(j5): the live-test rig's guest reaches every person and device state (#638)

Testers edited the test database to fake an unknown device and minted an
Owner by hand, because guest could not reach either. guest now takes
--server, --project or --thread and --level viewer|collaborator|owner, Owner
at the server only, refused in the server's words. guest "<name>" for someone
already on the server makes a link for another device, as j5 pair --person
does, and adds someone new only when pair refuses the name with its own tag,
PairingPersonUnknownError. guest --unknown wraps a bare j5 auth pairing
create, a device that names itself on first open (D36), on the same address
pair's links open on. The output says which case it made, and the skill says
how to reach each instead of editing the test database.

guest also runs on a --fresh home: it refused there by build mode, even once
the owner had named themselves. A fresh home has no test project, so a new
person there needs a scope.

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

* fix(j5): Bryant's review of #638: T3 Connect, task webhooks, dropped changes, old members

- T3 Connect's sessions are the first owner's (subject cloud-connect, which
  upstream mints only for the server's linked cloud account), bound as they
  are issued; tests that used it as an unclaimed device now use one-time-token.
- A scheduled task keeps its webhook only for someone who writes where the
  task is at home, not for a Collaborator anywhere.
- Access changes go through an unbounded PubSub, so a burst drops nothing.
  Withdrawal and ending asks stay after commit: withdrawal dispatches
  orchestration commands, which cannot run inside the access transaction.
- Migration 039 makes every member a server Owner, the ledger people
  migration 006 recorded included.
- The live-cut feed test waits for the feed to open before the level goes.
- FORK's count is 81 entries.

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

* feat(j5): Playbooks are the server's: anyone who writes uses them, Owners change them

Jackson's rule after #621. A narrowed person who holds Collaborator anywhere
reads, exports and follows the library; a thread's runs stay readable at
Viewer on the thread; every run on the server is a server-scope read.
Saving, renaming, deleting, choosing folders and reading the library's
folders now need settings:write, which only an Owner's level holds, on the
server and in the client's guard alike, so a server-scope Collaborator is
refused them too. People and access moves Playbooks out of the project's
scope (the scope table, AC20, AC22) and FORK says the same.

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

* fix(web): the People count stays on one line beside the server picker

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

* fix(j5): a narrowed connection is told the server keeps J5's ledger, so a Viewer sees a thread's Playbook runs

The reduced descriptor a narrowed connection gets kept only
repositoryIdentity. Without j5ProjectLedger the client takes the server to
have no J5 ledger and asks nothing J5 reads by thread or project: a thread's
Playbook stages stayed empty for its Viewer, and a narrow Collaborator's
inbox and Crew asks were treated as unsupported. The flag says nothing of
the host, so it is passed through.

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

* refactor(web): the Fleet's Playbook runs name a narrow connection as the people model does

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

* docs(j5): the mobile app is paired again after a change of level, and confirmed decisions say so

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

* docs(j5): people and sharing is a J5 user doc, and upstream's guides are upstream's again

J5's user docs live in docs/j5/user/, and docs/user/ is upstream's. The
people and sharing guide moves there, with a section for pairing a named
person's device from the terminal, which upstream's remote access and
welcome wizard guides had been edited to say; those edits are reverted.
The docs index links the guide where it lives now.

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

* feat(j5): a scheduled task's run in a shared conversation names who scheduled 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 <[email protected]>

* feat(j5): changing a Persona is an Owner's, as any setting is

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 <[email protected]>

* fix(web): an Owner's Settings page reached by a link says it is coming 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 <[email protected]>

* fix(web): the coming-soon page names the server its link is for and drops 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 <[email protected]>

* fix(j5): the inbox's Crew questions from #669 reach the people who write to the seat's thread

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

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Jacksondr5 pushed a commit that referenced this pull request Nov 23, 2026

This branch was successfully deployed

1 active deployment
Preview — 712a45c5 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:XL 500-999 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.

4 participants