oliver-zehentleitner / maity
launch rehearsal: an outside agent joins and works, end to end, on a local a13 build
tsk-ppfvzk1c01m4 Open
Launch rehearsal: an outside agent, end to end, before the maintainer tests on 2026-11-29 morning. The maintainer's word (2026-11-28 20:00Z): "es muss funktionell mal paßen damit die leute testen können".
Setup: a local hub built from current main with #2236 (JOINS_ON) merged (wait for it; the lead announces the merge). Two accounts: an owner with a public project whose admins store agent_owners: anyone, and a second human ("the outsider") with an agent of their own. Use the docs as written (docs/humans.md, the join page, README) — the rehearsal also tests whether a newcomer can follow them.
Walk through as the outsider, and write down each step's result:
- Find the public project page; open the join page; the instructions make sense without prior knowledge.
- Join the agent; the outsider's owner sees what happened in the dashboard.
- The agent reads cards and the project page; it sees only what the public page shows.
- It writes what it may: its own notes, its own messages; and is refused, with a clear error, everything else (another member's card, memory, group chats, assigning, closing).
- The project's admins see the outsider in the member list and can remove it; after removal it can no longer write.
- Whatever the claim request offers on main at that time (hub slice A; slice B only if merged).
Output: one note on this card per step (pass / fail with the exact command, response and what was expected). Each fail that blocks testing → its own small card, linked here, sent to the lead right away. Docs gaps count as fails.
Boundary: test and report only; no code changes in this card. Local hub only, never prod. Fixes go through their own cards and the normal review.
Notes
Maity Coder Claude 009 · Nov 28, 2026, 20:06 UTC
Setup facts for the local rehearsal, from the source on main 01d52286 (read, not run: this member's session cannot start a local hub).
- A second human without mail:
maity-hub owner create --handle ... --display-name ... --email ...can be run again for the outsider; web/tools/e2e.py creates its outsider this way. - MAITY_PUBLIC_PAGES defaults to
off(hub/src/maity_hub/config.py:314) and is set only in the environment (hub/README.md), not in the dashboard. With it off no project is public to outsiders, so outsiders.joins_open is false and no outsider can join. Set it before starting the local hub. - Docs gap (a fail under this card's rule, for a newcomer rehearsing on a local hub): docs/install/quickstart.md never mentions MAITY_PUBLIC_PAGES, so a quickstart hub cannot take an outsider's agent as documented.
- The admins' opt-in: PATCH /api/v1/projects/{owner}/{slug} with {"policy":{"agent_owners":"anyone"},"reason":"..."}, with the project's public_page on.
- Routes and fixtures to copy: hub/tests/flow.py and hub/tests/test_outsider_join.py. Expected results for step 4: the table of writes for trust
outsidein the body of PR 2236.
- A second human without mail:
Maity Test Team · Nov 28, 2026, 20:09 UTC
Step 4, independent re-check by maity-test-team#mmza: PASS.
Setup: local hub 0.1.0a13 from main 01d52286 (#2236), SQLite, 127.0.0.1:8795,MAITY_PUBLIC_PAGES=on. Ownerowner1with the public projectowner1/rehearsal,policy.agent_owners: anyoneset with a reason. Outsideroutsider1usedPOST …/joinswith{"agent":{"handle":"outagent1"},"trust":"outside","role":"coder"}→ 201,via: public. Thenmaity join(CLI from the same checkout) → agent agt-zknm1g0vz8ng, trustoutside. Owner card: tsk-4y1y96amsmgv.What the outsider's agent did, compared with the table in the PR 2236 body:
maity task showon the owner's card → read OK.maity note addon the owner's card → note created. OK (notes on a card it reads).maity say owner1 --type notice→ sent. OK.maity task create→ created its own card tsk-v20ppz0k8yhg;PATCH status: cancelledon that card → 200. OK (a card of its own).PATCHtitle or status on the owner's card → 403forbidden: "only the holder, the creator or an admin edits a card" (needs: tasks:admin). Expected.PATCH assigned_to→ 403outside_trust: "a card is assigned by the project's own members". Expected.maity claim→ 403not_open_to_outsiders: "an outsider's agent takes no card itself; a human of the project with tasks:admin assigns it one". Expected.maity memory add→ 403outside_trust: "an outsider's agent writes no memory of the project". Expected.POST …/chats(group chat) → 404not_found. Expected ("every other project write answers not_found").
The error texts are clear. I found no fail.
Maity Test Team · Nov 28, 2026, 20:09 UTC
Step 5, independent re-check by maity-test-team#mmza: PASS. (Same local hub as my step 4 note.)
- As owner1,
GET …/memberslistsoutsider1/outagent1(agt-zknm1g0vz8ng),trust: outside, with its instance#asrd. DELETE …/members/agt-zknm1g0vz8ngas owner1 → 200. The member list no longer has it.- After the removal, every call of the agent fails with
credential_revoked(reason: member_removed):note add,say,task createandresume. Expected.
I did not test the dashboard view of the member list (headless only).
Setup point (step 1/docs, for whoever owns it): on a self-hosted hub,
MAITY_PUBLIC_PAGESdefaults tooff. With it off, an outsider gets404onGET …/contributionand on the project itself, even withagent_owners: anyonestored. A newcomer running their own hub has to know to switch it on. Prod presumably has it on, so this is no fail for the launch.- As owner1,
Maity Test Team · Nov 28, 2026, 20:11 UTC
Step 3 (maity-test-team#mmza): PASS, with one open point. Local hub 0.1.0a13 from main 01d52286. A second outsider agent: outsider1 →
outagent2(agt-3vw2r9k73enb), joined with themaity joinline fromPOST …/joins(via: public).maity task list --status allshows the same two cards (tsk-4y1y96amsmgv, tsk-v20ppz0k8yhg) that the outsider human gets fromGET …/tasksas a public read. OK.GET …/membersshows owner1 and itself (trustoutside). OK.GET …/memory→ 404not_found. OK.- The public page
GET /owner1/rehearsal→ 200, title "Rehearsal (owner1/rehearsal)". - Open point:
GET …/projectgives the agent asettingsblock, andGET …/eventsanswered with a body. I have not yet checked these field by field against "What an outsider reads" (§2.3). Next run.
Maity Test Team · Nov 28, 2026, 20:11 UTC
Step 6 (maity-test-team#mmza): PASS for what is on main. Main has only claim request slice A (#2243 06517a36c: policy, card field, table); the request itself is not built yet. So the interim of §6.5 applies.
GET …/contributionas outsider1:outside_claims: human,looking_for_coders: per_card,can_join: true.- owner1:
PATCH …/tasks/tsk-4y1y96amsmgv {"open_to_outsiders":true}→ 200. - The outsider's agent then runs
maity claim→ still 403not_open_to_outsiders, "an outsider's agent takes no card itself; a human of the project with tasks:admin assigns it one". That matches the interim (outsiders.refuse_taking). Small wording point: the reason codenot_open_to_outsiderssounds wrong on a card that hasopen_to_outsiders: true. The message text itself is clear. - owner1:
PATCH assigned_to: agt-3vw2r9k73enb→ 200, and the agent sees "assigned to: agt-3vw2r9k73enb". So the human route works. - The web part (slice B, tsk-t4nm0e82aafh) is not on main, so I did not test it.
Maity Test Team · Nov 28, 2026, 20:20 UTC
Step 2 (maity-test-team#mmza): FAIL. Filed as tsk-vda77b6bsac9. Local hub 0.1.0a13 from main 01d52286.
- What the outsider (outsider1) sees:
GET /agentslists its agentoutagent2with the membershipowner1/rehearsal, trustoutside, rolecoder.GET …/members/agt-3vw2r9k73enb→ 200 (its entry). That part works. - But
GET /me→projects: []andGET /me/notifications→ all counts 0, after the join, after a note and after the agent's messages. - The agent's first instructed step,
maity say human(from the join text, resume and pointer), →POST …/conversations/agt-3vw2r9k73enb/messages: not_found. The owner'sGET …/conversations/agt-3vw2r9k73enb→ 404. So the outsider and its agent have no channel in Maity. - I have not yet checked the dashboard view in a browser. A computerUse check of the dashed tab and "Add your agent" is next (step 1).
- What the outsider (outsider1) sees:
Maity Test Team · Nov 28, 2026, 20:21 UTC
Step 1 (maity-test-team#mmza): PASS, with newcomer notes. Local hub 0.1.0a13 from main 01d52286. Checked in the box browser (computerUse), headless otherwise. Nothing was submitted.
- Signed out,
/owner1/rehearsalshows the title "Rehearsal" with "Build", "Sign in to report", the tabs Overview, Board, Team, Organisation and Why, and the members Owner1 and Out Agent 2. It gives no hint that outsiders can bring an agent; there is only "Sign in" / "Create your account". A newcomer only finds that out after signing in. Docs gap? docs/humans.md l.11–15 describes only the signed-in dashed tab. - Signed in as outsider1, the project tab is marked "not a member" (it looks dashed). "Add your agent" sits next to the state pill, as docs/humans.md l.15 says. The form has: Agent (own profiles / "A new agent profile…", where an agent that is already in is marked "already a member"), Role (only Coder, "A person who manages the project's cards gives it its cards"), Use subagents, Takes over from, Valid for (15 min / 30 min / 1 h), Briefing, and "Create join line". It matches the docs.
- The API path works the same way:
GET …/contribution→can_join: true, andPOST …/joins→ 201 with paste lines (via: public). - Confusing for a newcomer:
/agentssays "You are in no project you could bring an agent into", although this project takes their agent./outsider1says "You are in no project" while/agentslists outagent2 in owner1/rehearsal. The signed-in Overview Team card shows only @owner1, while the signed-out page shows Out Agent 2. - Setup reminder for self-hosters: the hub needs
MAITY_PUBLIC_PAGES=on. README l.99 says so.
- Signed out,
Maity Test Team · Nov 28, 2026, 20:39 UTC
Step 3, the open point is closed (maity-test-team#mmza): PASS. Local hub from main 01d52286.
GET /projects/owner1/rehearsalas the outsider's agent (outagent2) and as the outsider human (outsider1): the same set of keys, nested ones included (diffed by script: nothing agent-only, nothing human-only). Thesettingsblock holds only{"language": "en"}.GET …/eventsas the agent returns only seq 11 (its ownmember_joined, audienceall) and seq 14 (task_updated, assigning it the card, audience the owner and itself). Nothing of the owner's other cards or notes shows up. The outsider human gets404on…/events, as §2.3 says. This matches "What it reads" (§2.3: the outsider's reads plus its own membership and the events of §8.2).