Intelligence/Agents: Create succeeds but new agent is invisible (is_public=false default + list_public-only) #216

Closed
opened 2026-05-13 07:27:40 +00:00 by zaelgohary · 2 comments
Member

The Agents island (in hero_archipelagos) appears to silently fail on Create. Investigated network: server returns sid="0007" (success), but the agent never appears in the list.

Root cause

Two-part envelope mismatch:

  1. Form defaults is_public: false for every new agent (no toggle exposed in the form).
  2. List view only calls ai.botservice.list_public which filters out non-public agents.

So newly-created agents land in OSIS storage but are immediately invisible.

Repro

  1. Open Hero OS dock -> Intelligence -> Agents.
  2. Click "New Agent".
  3. Fill Name + Username + Bio, click "Save Agent".
  4. Form closes, no toast, no row.
  5. Network panel shows ai.bot.set succeeded with sid return; subsequent ai.botservice.list_public returns [].

Fix options

  • (a) Add an "Is Public" toggle to the Create form so users can mark agents public.
  • (b) Switch the list view to a method that returns all bots (private + public).
  • (c) Default new agents to is_public: true.

Likely best is (a) + (b) — UI shows all your bots, with a public toggle.

The Agents island (in hero_archipelagos) appears to silently fail on Create. Investigated network: server returns `sid="0007"` (success), but the agent never appears in the list. ## Root cause Two-part envelope mismatch: 1. **Form defaults `is_public: false`** for every new agent (no toggle exposed in the form). 2. **List view only calls `ai.botservice.list_public`** which filters out non-public agents. So newly-created agents land in OSIS storage but are immediately invisible. ## Repro 1. Open Hero OS dock -> Intelligence -> Agents. 2. Click "New Agent". 3. Fill Name + Username + Bio, click "Save Agent". 4. Form closes, no toast, no row. 5. Network panel shows `ai.bot.set` succeeded with `sid` return; subsequent `ai.botservice.list_public` returns `[]`. ## Fix options - (a) Add an "Is Public" toggle to the Create form so users can mark agents public. - (b) Switch the list view to a method that returns all bots (private + public). - (c) Default new agents to `is_public: true`. Likely best is (a) + (b) — UI shows all your bots, with a public toggle.
Author
Member

Intelligence dock popup currently shows only Voice + AI Assistant — there is no Agents entry to repro this from. Either expose Agents in the Intelligence dock (also #59) or close as obsolete. Verified live via Playwright.

Intelligence dock popup currently shows only Voice + AI Assistant — there is no Agents entry to repro this from. Either expose Agents in the Intelligence dock (also #59) or close as obsolete. Verified live via Playwright.
Author
Member

Fixed by 4b12947 — switched both agents and intelligence service modules from botservice_list_public to bot_list + parallel bot_get. Newly-created agents (which default is_public=false) now appear in the grid. Picked option (b) from the issue.

Fixed by 4b12947 — switched both agents and intelligence service modules from `botservice_list_public` to `bot_list` + parallel `bot_get`. Newly-created agents (which default `is_public=false`) now appear in the grid. Picked option (b) from the issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_archipelagos#216
No description provided.