You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A2A is untested for threads in upstream's "No project" project, and envelopes would name it as a project #539
Upstream lets a person start a thread "without a project". Such a thread still has a project: upstream finds or creates an ordinary project titled "No project", rooted at <J5 home>/scratch, and gives each thread its own subfolder (apps/server/src/project/ManagedProjectFolders.ts, ensureScratchProject). J5 accepted this on 2026-10-05 (docs/j5/product/upstream.md, docs/j5/product/upstream-convergence.md).
Because the thread has a project id, J5's agent-to-agent layer should treat it like any other. That was checked by reading code on 2026-10-11 while designing #498, not by running anything.
What is not verified
No J5 test covers a thread in the "No project" project, and the live database has no such project yet. From reading the code:
Registration works.ThreadRegistration reads the thread's project id and the ledger is created with no check on the project's kind.
Listing, sending and delivery should work. Nothing under apps/server/src/j5 branches on the project's kind. The delivery worker and transport were not traced line by line.
j5_spawn_agent with a new or existing worktree is probably refused, because the caller's folder is not a git repository (spawnWorkspace.ts inspects git there). The error text was not found. A shared-workspace spawn asks nothing of git.
Wording
The ledger's name is the project's title (LedgerService.ts), so an envelope for a message from such a thread would say it comes from project "No project", and the address book would list the agent under that project. To the receiving agent that reads as a project named "No project", not as a thread that has none.
To do
Add focused tests for a thread in the "No project" project: registration, j5_list_participants, j5_send_message as sender and as receiver, and delivery.
Confirm what j5_spawn_agent does from such a thread for each workspace choice. If a worktree choice is refused, the error should name the legal move (use the shared workspace).
Decide how the envelope and the address book should name this project, and change the wording if "No project" misleads.
Moved to the "Upstream advance: T3 Code v0.1.7" milestone (Jackson, 2026-11-05), so it is tracked with the advance.
New in v0.1.7: Turn into project (pingdotgg#26767). A No project thread can become a project where it stands. ScratchThreadPromotion.promote creates the project and moves every thread working in that folder into it. J5 assumes a thread's project never changes (apps/server/src/j5/a2a/ThreadRegistration.ts:40). So, from reading the code and not yet run:
A promoted thread's participant stays in the No project ledger, although the sidebar shows it in the new project.
Agents in the new project don't see it in their own address book, and its envelopes still name No project.
Messages to it by id should still arrive, because delivery reads the thread's current project.
j5_spawn_agent with scratch makes this reachable.
Agreed: adopt Turn into project as shipped. The advance fixes the wrong comment in ThreadRegistration.ts and live-tests messaging after a promotion. This issue then covers re-homing a promoted participant into its new project, including what happens to its past ledger rows and open Exchanges, alongside the original No project testing.
Envelope wording: Jackson decided to keep in project <id> (No project). A live check with real Haiku and Luna agents passed. In both directions, a receiver in an ordinary project used the header's project id with j5_list_participants to find the No project agents, and replied to the No project sender's ask, closing the Exchange. A plain message got no needless reply. The test ran on a hand-started server, because the setup script can't build a home that offers No project (Live-test setup can't build a home that offers No project #998).
Open: whether J5 moves an agent's membership when upstream's "Turn into project" moves its thread. Waiting on Jackson's decision.
Done. #976 added the tests, and #1000 (merged as c56b24d) moves an agent's membership when Turn into project moves its thread, per Jackson's ruling (a). The envelope wording stays, and a live check passed. The live-test script gap is #998.
Activity
Jacksondr5 commentedon Nov 6, 2026
Moved to the "Upstream advance: T3 Code v0.1.7" milestone (Jackson, 2026-11-05), so it is tracked with the advance.
New in v0.1.7: Turn into project (pingdotgg#26767). A No project thread can become a project where it stands.
ScratchThreadPromotion.promotecreates the project and moves every thread working in that folder into it. J5 assumes a thread's project never changes (apps/server/src/j5/a2a/ThreadRegistration.ts:40). So, from reading the code and not yet run:j5_spawn_agentwithscratchmakes this reachable.Agreed: adopt Turn into project as shipped. The advance fixes the wrong comment in
ThreadRegistration.tsand live-tests messaging after a promotion. This issue then covers re-homing a promoted participant into its new project, including what happens to its past ledger rows and open Exchanges, alongside the original No project testing.Claude Opus 5.5
test(j5): a thread in upstream's No project project joins, lists, sen…
Jacksondr5 commentedon Nov 9, 2026
Status from the v0.1.7 follow-ups:
in project <id> (No project). A live check with real Haiku and Luna agents passed. In both directions, a receiver in an ordinary project used the header's project id withj5_list_participantsto find the No project agents, and replied to the No project sender's ask, closing the Exchange. A plain message got no needless reply. The test ran on a hand-started server, because the setup script can't build a home that offers No project (Live-test setup can't build a home that offers No project #998).Jacksondr5 commentedon Nov 9, 2026
Done. #976 added the tests, and #1000 (merged as c56b24d) moves an agent's membership when Turn into project moves its thread, per Jackson's ruling (a). The envelope wording stays, and a live check passed. The live-test script gap is #998.