Skip to content

feat(upstream): advance to T3 Code v0.1.11 - #1205

Merged
Jacksondr5 merged 3311 commits into
j5/mainfrom
j5code/upstream-v0.1.11
Nov 24, 2026
Merged

Jacksondr5 merged 3311 commits into
j5/mainfrom
j5code/upstream-v0.1.11

Conversation

@Jacksondr5

@Jacksondr5 Jacksondr5 commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Jackson approved the docs and UI. #1190's key-bound renewal (#1219) is merged into this branch, so the two land as one commit. Its reviews and live tests are on #1219. The last Android checks run after merge, once a nightly with #1218 is installed; the Director agreed to that. The iPad door recheck passed.

Problem

J5 Code is pinned to upstream T3 Code v0.1.7. v0.1.8 to v0.1.11 bring 3,275 upstream commits, among them:

  • Issues;
  • agents that work on pull requests and CI;
  • ten languages;
  • a Welcome page;
  • visible fresh sessions;
  • Claude steering that no longer cancels running tools;
  • links that renew while used;
  • a Windows background service;
  • 23 new migrations.

This PR advances J5 onto the v0.1.11 release tag (59651c1761), from fork head 0adbc92c8d and previous pin 322f6544df, as one PR, per the upstream-merge process.

Closes #518, closes #1126, closes #1190. Refs #1066, #1223 (upstream's fixes are in; the issue stays open for a post-merge live test), milestone "Upstream advance: T3 Code v0.1.11".

What changed

Analysis: 18 independent reviews, Claude Opus 5.5 and GPT-6.2 Sol per area, reconciled. See artifacts/upstream-advance-0.1.11/v2/ (briefing.md, decisions.md, comparison.md).

Jackson's decisions (v2/answers.md):

Decision
A1 J5's own screens stay English for now (#1180 translates them); src/j5 is exempt from no-untranslated-copy
A2 Rebranded strings keep their translations through scripts/j5/rekey-branded-translations.ts
A3 SECURITY.md deleted
A4 Every screen that needs T3 Connect is hidden (D40 widened)
B1 D6 retired: upstream's visible fresh start
B2 Case 89 retired: Claude steers follow upstream
B3 Queue-first stays; auto follows in #1188
B4 All ~21 new upstream tools admitted; J5's thread-only tools hidden from outside clients
B5 J5's envelope is the only sender attribution on J5 messages
B6 No freshContext for agents (#970 closed)
C1 Windows service, J5-named
C2 The desktop installs j5 on first launch
D1 Links renew while used
D2 J5 exempts loopback from upstream's link refusal
D3 "Link several" deferred (#1189)
D4 Key-bound devices renew by themselves after a level change (#1190, merged in here through #1219); at startup J5 ends only a device holding more than its level (People AC16, 2026-11-23)
E1 Language for everyone; Voice for Collaborators and Owners
E2 Upstream's "Mentions" heading
E3 Upstream's Welcome wording
F What's new 0.0.54 page and highlights

Breaks that merge without a conflict, fixed here:

  • MCP startup: artifact tools hidden from outside clients;
  • the removed signPayload;
  • line links versus upstream's loopback refusal;
  • downgrades now always send launcher protocol 4;
  • the CLI database path runs J5's lanes and snapshot;
  • Node 26.13.1;
  • the archive smoke check;
  • J5CODE_HOME in upstream's unit parser;
  • t3 names in new install, launcher and desktop code;
  • client commands that now return an Effect;
  • DPoP credentials;
  • remote delegate_task capabilities;
  • revoke paths;
  • open connections not closed when J5 ends a session: upstream's database writes moved to a worker thread, so J5 now ends sessions after its own commit (fix(j5): device-key sessions renew by themselves after a change of level #1219);
  • one-hour share-link sessions;
  • narrowed connections receiving opens;
  • the Captain archive cascade;
  • the SSH launch lock;
  • j5 pair with migrations pending.

Technical call against a recorded rule: launcher protocol stays 4. Upstream never branches on 3 versus 4, and moving to 5 would leave older J5 builds unable to read launcher state on rollback. Case 50's rule is rewritten.

Migrations:

  • reviewed-v0.1.11.v1.json covers the in-place changes to 026, 064, 071 and 072, and appends 080–102.
  • Rehearsed on a VACUUM INTO copy of real data:
    • the snapshot, then all 23 migrations in about 30 s;
    • J5 tables intact;
    • a second boot is a no-op;
    • an interrupted migration resumes;
    • the CLI is refused while a server holds the lock;
    • an older build refuses the migrated database and accepts the snapshot.

What changes for you

  • Updating disconnects no one. Owners gain upstream's new relay:configure permission, which belongs to T3 Connect and so does nothing in J5. A device paired before the update gets it at its next new session (a change of its person's level, or pairing again). A device that holds more than its level is still ended at once.
  • Archiving a Crew whose seat runs a delegated task is refused, and the refusal names the blocking seat. Before, J5 archived the Captain and the seat and interrupted the child task. Stop the delegated task first. This follows upstream's new rule against archiving a thread with running delegated tasks.
  • Steering Claude: your steer now lands after the running command finishes instead of cancelling it. Stop still cuts in.
  • Fresh provider sessions: they show a "Context handoff" divider. J5's resume gate (D6) is retired.
  • Links: they renew while you use them, and Renew shows only for an expired direction.
  • A level change: a phone, or a server saved in web or desktop, reconnects by itself at the new level, with no re-pair. A browser on the server's own address reloads once. A message sent at that moment shows "Not connected: message not sent" and keeps its draft.
  • Known upstream bug (GB-76): on mobile, a non-English language setting is saved, but the app starts in English until you navigate.

UI changes

All comparisons use synthetic data, a 1280×800 viewport and light theme. Before: 0adbc92c8d; after: 6cb7b204cb. Normal turn times and generated IDs differ. Welcome has different unrelated synthetic rows in its blurred background.

State Before After
MCP setup stays hidden in the palette MCP setup stays hidden in the palette, before MCP setup stays hidden in the palette, after
Sharing & access keeps Connect setup hidden Sharing & access keeps Connect setup hidden, before Sharing & access keeps Connect setup hidden, after
Viewer device settings become available Viewer device settings become available, before Viewer device settings become available, after
Viewer Language control Viewer Language control, before Viewer Language control, after
Viewer About remains Owner-only Viewer About remains Owner-only, before Viewer About remains Owner-only, after
Collaborator device settings become available Collaborator device settings become available, before Collaborator device settings become available, after
Collaborator Language control Collaborator Language control, before Collaborator Language control, after
Collaborator Voice becomes available Collaborator Voice becomes available, before Collaborator Voice becomes available, after
Collaborator About remains Owner-only Collaborator About remains Owner-only, before Collaborator About remains Owner-only, after
Tool access expiry accounts for use Tool access expiry accounts for use, before Tool access expiry accounts for use, after
Unexpired tool access hides Renew Unexpired tool access hides Renew, before Unexpired tool access hides Renew, after
Merge back explains a Viewer's access limit Merge back explains a Viewer's access limit, before Merge back explains a Viewer's access limit, after
Side chat requires project access Side chat requires project access, before Side chat requires project access, after
Typed /side keeps the draft and explains access Typed /side keeps the draft and explains access, before Typed /side keeps the draft and explains access, after
Captain archive preflight Captain archive preflight, before Captain archive preflight, after
Base archives; the advance refuses while a delegated task runs Base archives; the advance refuses while a delegated task runs, before Base archives; the advance refuses while a delegated task runs, after
Welcome combines agent readiness and project import; Phone setup is absent. Welcome combines agent readiness and project import; Phone setup is absent., before Welcome combines agent readiness and project import; Phone setup is absent., after
Detail crops
State Before After
Viewer settings navigation Viewer settings navigation, before Viewer settings navigation, after
Collaborator settings navigation Collaborator settings navigation, before Collaborator settings navigation, after
Tool access expiry line Tool access expiry line, before Tool access expiry line, after
Unexpired tool access menu Unexpired tool access menu, before Unexpired tool access menu, after
Viewer Merge back access tooltip Viewer Merge back access tooltip, before Viewer Merge back access tooltip, after
Side chat access surface Side chat access surface, before Side chat access surface, after
Captain archive preflight Captain archive preflight, before Captain archive preflight, after
Captain archive with a running delegated child Captain archive with a running delegated child, before Captain archive with a running delegated child, after
Typed /side access error Typed /side access error, before Typed /side access error, after

Base refuses General settings to both narrowed roles; the Language and Voice after screens pair with that actual base refusal. About remains Owner-only. Base's native-disabled Merge back button cannot receive pointer hover; the after button provides an access tooltip. The archive toast is visually clamped; the live read-only checks verified the full refusal and unchanged Crew state.

A person's steer waits for Claude's running command, then Claude follows it.

claude-person-steer-after.mp4
Steering still A person's steer waits for Claude's command, after

Typed /side from a one-thread Collaborator: before, a generic refusal; after, the project-access reason. Both retain the draft.

Before:

side-refusal-before.mp4

After:

side-refusal-after.mp4

Captain archive while a delegated child runs: before, the unit archives and interrupts the child; after, archive refuses before changing the unit.

Before:

archive-result-before.mp4

After:

archive-result-after.mp4

What's new 0.0.54

The page at /whats-new/0-0-54, as this PR ships it. Click a capture to see it at full size. The iPad capture in its phone and tablet section is provisional: a cleaner one, with product-like thread titles, is being retaken.

Desktop, light Desktop, dark Phone, light
The What's new 0.0.54 page, desktop, light, after The What's new 0.0.54 page, desktop, dark, after The What's new 0.0.54 page, phone, light, after

Two questions about the language picker

The page's "Ten languages" piece rebuilds the Language setting. Its list of languages is open from the start, so a reader can pick one without opening anything. Picking one puts the setting's labels into that language.

1. The list of languages stays open after you pick one. In the app, the same list closes when you pick. On the page it stays open, so a reader can try several languages in a row. Keep it open, or make it open and close like the app's?

As the page first shows it After choosing Deutsch: the list is still open
The language picker as the page first shows it, list open on English, light The language picker after Deutsch is chosen, list still open, labels in German, light

2. The large word beside the list: "Language", then "Sprache" after choosing Deutsch. It is the page's own decoration, not part of the app. It shows the setting's name in the language you picked. Keep it, or drop it?

"Language", before a choice, dark "Sprache", after choosing Deutsch, dark
The language picker as the page first shows it, with the large word Language, dark The language picker after Deutsch is chosen, with the large word Sprache, dark

Three design calls still open

None of these is built. Each is as the captures show until you say otherwise.

3. Where the in-app highlight's "Learn more" opens the page. The highlight "Also new, from T3 Code 0.1.11" starts with what agents can do on pull requests. Its link opens the page at "More from T3 Code 0.1.8 to 0.1.11", which sits below the pull request section, so the reader lands past the first thing the highlight named. It could open at the pull request section. Recommendation: open at the pull request section.

Where the link lands today (#t3-code) Where it could land (#pull-requests)
The 0.0.54 page opened at its More from T3 Code section, where the highlight's link lands today The 0.0.54 page opened at its pull request section, where the highlight's link could land

4. The empty strip at the bottom of the hero window with reduced motion. With motion on, the hero window ends with a "Play again" button. With reduced motion nothing plays, so the button is hidden, but the strip it sat in stays, empty. Keep the strip, so the window is the same height either way, or remove it when the button is hidden? Recommendation: remove it.

With reduced motion: the strip is empty With motion, after it has played: "Play again"
The 0.0.54 hero window with reduced motion, with an empty strip at its bottom The 0.0.54 hero window with motion after it has played, with Play again at its bottom

5. "re-ran" and "re-run" split at the hyphen on a phone. At 390px wide, two lines end in "re-" and the next starts with "ran" or "run". Let them split, or keep each word whole? Recommendation: keep each word whole.

In the hero window's last message, 390px In the contents list, 390px
A line on the 0.0.54 page ending in re- with ran on the next line, phone width A line on the 0.0.54 page ending in re- with run on the next line, phone width

Live testing

Web

Web testing used isolated synthetic homes and real Claude Haiku 5.5 / GPT Luna turns. No agent turns or captures were taken on real-data copies. Latest web live run: f336e7597e; CI head: f67cb7eb0c. This does not claim a live run at the CI head.

Pass Commit Verdict
Initial web flows 496ce3078f PASS for own Claude steering after command completion, immediate Stop, envelope-only agent input, Luna send_to_user, Inbox ask/reply, Crew proposal/roster, Playbook run, Fleet/artifact and /clear New session. PARTIAL overall: peer/guest flows awaited the rig fix.
Direct peers and guest access cb43213175 FAIL: encoded link-level labels, Renew offered while unexpired, and Side chat offered to a one-thread Collaborator. Direct loopback messaging, explicit-driver delegation, Remove, link offer and role settings passed. All three defects were fixed and rechecked later.
Polling, access and archive 69bc850ccc FAIL: typed /side became a normal turn. Polling messages/delegation, corrected link labels/menu, DPoP artifact reads, narrowed Viewer responses, Merge back tooltip, hidden Side chat and atomic Captain archive refusal passed. Typed /side was fixed next.
Base comparison 0adbc92c8d PASS: matched before captures and controlled fresh-receiver Haiku comparison. Base already shows the variable cross-agent steer refusal.
Focused fixes and evidence 6cb7b204cb PASS: typed /side refuses and preserves the draft; sidebar-search archive, hidden Connect doors, Issues empty state, German branding, Welcome and fresh onboarding. Matched role/link/Merge back/side-chat/archive evidence and neutral Claude-steer video completed. Read-only stood-down migration copy rendered Inbox, Fleet and Crew rosters; both boots requeued zero effects.
Inbox after j5/main merge f336e7597e PASS: ask/answer; asking-thread panel links; composer reply and attachments; exact whitespace; pinned-draft isolation; per-ask pending/error isolation and closed-ask locking; copy API payload, exact-time tooltip and skill chips; narrowed Viewer contents. Cross-link tool call, upstream-delegate Captain archive, highlights ordering and German branding passed again.

The Haiku steer finding predates this advance: fresh base receivers refused 2/3 identical steers and acted once; fresh head receivers refused 1/3 and acted twice. Queued head Haiku and steered head Luna acted. Provider offers already used J5's envelope and next priority on base. No B2/B5 regression was demonstrated. The personal-steer video separately verifies that the foreground command completes normally before the steer is acted on; Stop was also verified independently.

Not exercised or partial:

  • Packaged desktop/Electron, updater and installers: outside the web rig.
  • Successful issue/PR read with a configured tracker: the disposable repo has none; tool admission and the no-tracker empty state were exercised.
  • Context handoff divider: not forced; /clear New session was exercised.
  • Browser sign-in failure specifically over a polling line: not forced. Revoked-link tool access failed safely without exposing an address, which is a different state.
  • OS clipboard read-back: Browser permission denied it. The Copy button's exact Markdown payload to the original writeText method was checked.
  • Revoked-session recovery and later linked-sender presentation changes after f336e7597e were not live rechecked by this web tester. Mobile coverage is reported separately.

All test holds were released and children completed; test servers and browser tabs were stopped. No manual testing request remains from the completed web passes.

Mobile

The mobile tester used isolated test servers, through the Mobile Simulator Orchestrator, with a new native build for this advance's fingerprint.

Pass Commit Verdict
iPhone 496ce3078f, continued on cb43213175 PARTIAL. Passed: the native build and install; launch and adaptive navigation; a real Haiku turn from the persona picker; Inbox ask and reply; Crew review with its title and back button, approve and decline; Settings by role (Viewer: Language without Voice; Collaborator: Language and Voice; no Microphone page); New chat and side chat gated for a one-thread person; the thread cache cleared on a re-pair as another person. Fixed afterwards: artifacts over a DPoP session. Withdrawn: bare @ showing files only, because base does the same. Filed: drafts surviving a re-pair (#1201). Upstream bug: the language reverting after a relaunch (GB-76, pingdotgg#38982).
iPad d2f4435c90 PASS: launch and adaptive navigation, the split-view Inbox bell count, artifacts over DPoP, personas first under "Mentions" on @ha/@lu, three panes, and per-person thread isolation. The empty-pane New thread and New task doors it found are gated in 6cb7b204cb. Rechecked on 8fc073f7bd: a Collaborator who reaches one thread sees neither empty-pane door, and an Owner still sees New thread. In this landscape layout neither role is offered New task, so the Owner's New task is not claimed.
Android f336e7597e and 2f1889d11e PARTIAL. Passed: the native build, under a constrained native-compile cap; the Inbox and Crew proposal screens' own headers and back buttons; a real Haiku Crew decline; artifacts; filtered personas first. Fixed and seen on device: the Inbox bell in the Chats header with a count of 1. Not exercised yet: tapping the bell, the bell hiding during search, the rail New gate, and Settings by role, all waiting for an emulator with its own app data.

Not exercised on mobile: Android's remaining checks above.

iPad empty pane, Collaborator who reaches one thread iPad empty pane, Owner
iPad empty pane for a Collaborator who reaches one thread: no New thread or New task, after iPad empty pane for an Owner: New thread offered, after

Migrations and update/rollback

  • The migration rehearsal on a VACUUM INTO copy of real data, through layerConfig:
    • the snapshot, then all 23 migrations in about 30 s (095 was slowest at 11 s; 081, 085, 096 and 102 each under 2 s);
    • J5 tables intact, and foreign keys and integrity clean;
    • a second boot is a no-op, and an interrupted migration resumes;
    • the CLI is refused while a server holds the lock, and migrates when none does;
    • the preflight answers ready on protocol 4 and blocked on protocol 3;
    • a fork-head (0.0.52-equivalent) build refuses the migrated database and accepts the pre-migration snapshot.
  • Updating to an older build doesn't check the database a newer build migrated #518 / fix(server): the update preflight refuses a database whose J5 ledgers a newer build migrated #1076: the staged preflight answers blocked on a database whose J5 ledger has a migration newer than the build, while upstream's ledger is current, and ready before that row exists. The j5 update downgrade path sends protocol 4.

Evals

evals/j5-cli ran 74 cases on Claude Code (Sonnet 5.5) and Codex (GPT-6.1 Sol), on head and on base.

  • Codex: no regression; 44/46 on the shared cases, against 45/49 on base.
  • Claude: asked for new threads, Sonnet reaches for delegate_task over j5_spawn_agent (head 1/12, base 6/13). The cause is upstream's new Claude-only mid-turn-message section. The J5-text fix is Claude opens a delegate instead of a new thread when asked for new threads #1208, a follow-up that blocks the next stable carrying this advance.
  • Usage: about $31 at API prices for Claude, billed to subscriptions.

Upstream impact

Every upstream-owned file J5 edits is recorded in FORK.md, with the new and retired cases listed there. Register entries changed: D2, D4, D6 (retired), D20, D25, D28, D31 (retired), D33, D40, D45, D46, D47, and new entries for A1, B5 and D2.

Checklist

  • One concern: the advance to T3 Code v0.1.11, and what it forces.
  • Tests cover the changed behavior: focused tests for each J5 fix, and CI's full suites are green.
  • UI changes: before/after screenshots above, and videos for steering and archive.
  • 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).
  • Upstream product: each change is backed by Jackson's decision (artifacts/upstream-advance-0.1.11/v2/answers.md), with a register entry in docs/j5/product/upstream.md.
  • Surfaces: web, desktop (built and unit-tested, not live-tested as a packaged app), iOS, Android (partial), CLI and agents (evals), across the connection modes exercised (direct, polling line).
  • Docs: definitions, register, watchlist, FORK.md, BRANDING.md and user docs are updated. Jackson reviews docs and UI.

Built by Claude Opus 5.5 (builder seat), reviewed by Claude Fable 5.2, Claude Opus 5.5 and GPT-6.2 Sol, tested by GPT-6.1 Sol; Captain Claude Opus 5.5 in J5 Code.

🤖 Generated with Claude Code

StiensWout and others added 30 commits November 18, 2026 23:51
…ady loaded (pingdotgg#39000)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ails (pingdotgg#38995)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…dotgg#39004)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ch (pingdotgg#39012)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…onnections (pingdotgg#38974)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…gg#39007)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…lost (pingdotgg#39018)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…hived one (pingdotgg#38984)

Co-authored-by: Grok 4.7 <noreply@x.ai>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…eUsage (pingdotgg#39024)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…otgg#39057)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ctory (pingdotgg#39056)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…eck runs (pingdotgg#39067)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gg#39068)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#39105)

Co-authored-by: Anton M. <347046595+Anton-M-R@users.noreply.github.com>
…right to left (pingdotgg#39109)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
… name (pingdotgg#39126)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ndroid (pingdotgg#39128)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
@Jacksondr5

Copy link
Copy Markdown
Owner Author

Docs digest for review

GitHub's file list stops at 3,000 files and this PR has 5,582, so the docs don't show up in Files changed. This comment covers the 15 docs files: 11 under docs/j5/, plus FORK.md, BRANDING.md, AGENTS.md and README.md. That is +535/−330 lines.

The whole docs diff: docs-only diff as a gist. It is git diff 5411de316b 8fc073f7bd -- docs/j5 FORK.md BRANDING.md AGENTS.md README.md, rendered as a diff. Each file name below links to that file at the PR head, 8fc073f7bd.

What needs your check

1. Register entries that change one of your earlier rulings (upstream.md):

  • D47: links now renew while they're used and expire after 30 days unused. This replaces your 2026-11-19 rule that "nothing renews a link without a person." (D1)
  • D28: the desktop now links j5 on first launch, and Add to PATH writes a startup-file line. This partly reverses your 2026-10-03 rule that the Mac app leaves PATH alone. J5's own repoint at every start is retired in favour of upstream's repoint at commit. (C2)
  • D20: Windows now gets upstream's background service under J5's names. This replaces your 2026-10-28 rule of no Windows service. (C1)

2. New or retired register entries:

  • D49 (new): every loopback address may be linked. (D2)
  • D50 (new): J5's envelope is the only sender line on a J5 delivery. (B5)
  • D6 retired: upstream now shows a "Context handoff" divider. (B1)
  • D31 retired: upstream reads gh repo set-default itself.

3. Register entries widened or narrowed:

4. Calls I made that the docs now record as rules. Please confirm or overrule each one:

  • Crews AC17: archiving a Crew or its Captain is refused up front while any seat runs delegated tasks. This follows upstream's new refusal.
  • Cross-device, "A link over time": the server a link reaches takes the holder's word for which server it is. This rests on your 2026-11-07 no-forgery ruling.
  • People and access AC5: a key-bound device paired from a link made for no one has to pair again after it answers whose device it is.
  • FORK case 50: the launcher protocol stays at upstream's 4, and protocol 3 stays refused. The old rule said J5's protocol must stay above upstream's.

5. User guides that change what people read: install.md, people-and-sharing.md and t3-code-guides.md. Each is summarised below.

6. Rules for agents: AGENTS.md takes six upstream rules and adds one J5 rule. upstream-merge.md adds three steps to every advance. Both are summarised below.

Each file

Register and product definitions

User guides

  • docs/j5/user/install.md (+26/−23):
    • Windows: j5 service install now exists, as the j5code-<domain>-<user name> Task Scheduler task. The page says it hasn't been tried on a Windows machine yet.
    • Desktop: the app sets up j5 on first launch, Add to PATH writes a line marked as J5 Code's, and j5 uninstall removes the app's link and line.
  • docs/j5/user/people-and-sharing.md (+13/−6):
    • Don't use a link made for no one to pair a phone; use j5 pair --person.
    • People who own no server see General and Language, and Collaborators also see Voice.
    • After a level change, the mobile app, and a server added to web or desktop as another environment, must pair again.
  • docs/j5/user/t3-code-guides.md (+43/−6):
    • New name mappings: the "j5 command" row and the Windows task name.
    • A new "Languages" section: J5's own screens are in English for now.
    • A new "Features that need T3 Connect" section lists the hidden features and what to use instead.
    • An update note for 0.1.11: Owner devices reconnect once.
    • Notes that loopback links work, that tools stay on while used, and that "Link several…" isn't offered on web or desktop.

Process and rules for agents

  • AGENTS.md (+8/−5). Ported from upstream:

    • the provider list now includes Pi, Muse Code, fx and the ACP Registry;
    • a plain git clone shares ~/.j5code/dev unless it is given --home-dir;
    • vp does not pass SIGTERM on, so stop a dev server with your harness's own stop;
    • don't detach dev servers with systemd-run, nohup, setsid or tmux;
    • the typecheck line is now effect-tsgo tsrs;
    • write a browser test only for behaviour that needs a real browser.

    J5's own addition is a Languages bullet under "Hit every surface": translate new upstream keys, and J5's own screens are exempt from the lint rule for now.

  • docs/j5/process/upstream-merge.md (+3/−2). Each advance now:

    • runs rekey-branded-translations.ts after the catalogs are generated;
    • checks that tool_search finds only what its caller is offered;
    • checks for new upstream features that need T3 Connect.
  • FORK.md (+169/−134):

    • Pin moves to v0.1.11 (59651c1761). The inventory now has 131 entries, 23 of them retired.
    • Retired:
      • case 39: the old welcome wizard's wording;
      • case 51: J5's own repoint;
      • case 89: Claude steering, which upstream now does;
      • case 124: the mobile @ heading;
      • temporary patches: native resume (D6), the gh default remote (D31), the Git 2.56 message, and the preview stream's session invalidation (An open preview stream outlives its session's revocation #798). The MCP idle-connection patch is kept, with the reason.
    • New: case 129, the lint exemption for J5's screens (A1), and case 130, J5's envelope (D50).
    • Rewritten:
      • case 50, the protocol-4 rule and the new launcher scripts and j5 install;
      • case 57, first launch and Add to PATH;
      • case 92, which now covers every door that needs T3 Connect.
    • Updated for upstream's moved files: cases 1, 2, 25, 70, 72, 79 and others.
    • CI section: Node 26.13.1, Test Web split into two shards, and a note on re-keying translations under "Advancing".
  • BRANDING.md (+119/−27): the v0.1.11 sweep.

    • New audit sites:
      • the Windows task and its folder;
      • j5 install;
      • the web install commands;
      • the Welcome page;
      • the tab title and the web manifest name;
      • the desktop's update, browser and bootstrap dialogs;
      • mobile labels;
      • the names J5 hands to other services and the OS: the MCP server name, the inhibitor label and the widget deep link;
      • agent-facing text: the sender note, the theme guide, tool descriptions and the pull-request watch text.
    • A translations rule.
    • The root SECURITY.md is deleted too, along with upstream's AGENTS line that points to it. (A3)
  • README.md (+3/−1): one line saying Kiro, Pi, Muse Code, fx and ACP agents work too, and Node 24 → 26 for contributors.

The decision codes in brackets (A1–F) are the ones from your walkthrough, recorded in artifacts/upstream-advance-0.1.11/v2/answers.md. Merging still waits on your docs approval.

A device whose session is bound to its device key (the mobile app, or a
server saved as another environment) could not renew once J5 ended its
session for a new level or a claim, so it had to be paired again.

Upstream's client already renews once at /oauth/token when its socket
ticket is refused. J5's gate now answers that renewal for a session it
ended: only when upstream says the session was revoked (after checking
the token, its rnw and that the proof's key is the token's), J5 consumes
the proof, takes the session's mark once, reads the level and issues a
session bound to the same key, never past the old expiry. Every other
case gets upstream's answer unchanged. No client change, no new route.

A revoke clears the renewal marks of the sessions it ends first, so a
session ended for good never renews. At startup J5 ends only a device
holding more than its level; one short of a newly added permission
keeps its session (Jackson, 2026-11-23, AC16).

Closes #1190

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jacksondr5
Jacksondr5 added this pull request to stack #1220 November 23, 2026 21:28
Jacksondr5 and others added 8 commits November 23, 2026 16:32
…ew session

Reviews of #1219: upstream's renewal keeps a session's permissions, so a
device short of a newly added one gains it only with a new session (a
change of level, or pairing again), not at a renewal. The register, the
user guide, AC16 and the comments say so; a lost renewal answer means
pairing again; the advance checklist and case 70 gain two checks (new
permissions something J5 offers needs, and revoke-others' reach). A test
row pins that a device short of one and holding one more is ended.

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

On v0.1.11 upstream writes on its own worker, and an open socket's check
reads the committed row when upstream publishes a revoke. J5 revoked
inside its own transactions (a change of level, a claim, a removed
person, an Owner ending a device), so the socket read the row before
the commit, saw it live and stayed open: devices neither reconnected
nor renewed, and a removed device kept its socket.

J5 now marks sessions inside the transaction and has upstream revoke
them once it commits. A revoke that fails leaves the session live and
marked, and the next change of level ends it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… removes no one

Review of #1219 (Fable):
- Every session a change ends is tried; the change answers with those
  still live (AccessRenewalError, saved), to end by hand.
- A live session still marked for renewal is due on its own, at the
  person's next change and at startup, so a lowering with equal
  permissions is not left open.
- Removing a person ends their devices before the removal and removes
  nothing if one cannot be ended, since an unbound live device is
  offered to be claimed again.
- FORK case 70 records the session upstream replaces at pairing (#1221).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…pt (D33)

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

# Conflicts:
#	FORK.md
#	apps/server/src/device/DeviceHubOperations.ts
…ailable

v0.1.11 renamed makeDeviceHubOperations' androidAvailable option to a
per-platform platformAvailable; the merged test still passed the old one.

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

This branch was successfully deployed

1 active deployment
Preview — 926bfe60 Deployed Nov 23, 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 Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet