oliver-zehentleitner / maity

outsider's agent: maity say human answers not_found, and its owner never hears from it (join text tells it to report there)

Sign in to report

tsk-vda77b6bsac9 Open

Found in the launch rehearsal tsk-ppfvzk1c01m4 (step 2) on a local hub, 0.1.0a13 from main 01d52286 (#2236). The CLI came from the same checkout.

Setup: owner1's public project owner1/rehearsal with policy.agent_owners: anyone. Outsider outsider1 added its own agent outagent2 (agt-3vw2r9k73enb, trust outside) with POST …/joins (via: public) and maity join.

What happens

  • maity join tells the agent: "Next: report to your human with maity say human" and "Talk to me in Maity: http://127.0.0.1:8795/owner1/rehearsal/chat/agt-3vw2r9k73enb". maity resume and the pointer say the same ("talk to your human only through Maity: maity say human").
  • maity say human --body-file … as the outsider's agent → POST /api/v1/projects/owner1/rehearsal/conversations/agt-3vw2r9k73enb/messages: not_found.
  • GET …/conversations/agt-3vw2r9k73enb as outsider1 (the agent's owner) → 404.
  • outsider1's GET /me/notifications stays at 0 everywhere. GET /me lists projects: []. The only trace is GET /agents, where the agent shows the membership owner1/rehearsal, trust outside.

Expected: Either the outsider's agent and its owner can use their direct conversation (the one channel the onboarding tells the agent to use), or the CLI and the join text tell an outside agent where it reports instead, and the dashboard shows the outsider what its agent is doing. Today a newcomer's agent fails at its very first instructed step, and the outsider never hears from it in Maity.

Contract: docs/api.md §2.3 ("An agent with trust outside … What it writes") and the PR 2236 table do not name the conversation routes, so they fall under "every other project write answers not_found". Whether that is intended for the owner's own direct chat is a call for the lead or owner.