Enable ai domain in hero_osis_server all-domains default #33
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_osis#33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The
aidomain is defined inhero_osis_serverbut excluded from the defaultall-domainsfeature list, so the standardhero_osisbuild does not spawnhero_osis_ai/rpc.sock. Any native client that talks to the AI domain (today:hero_agent,hero_bot) gets a 404 because no service is listening for that domain.Repro
cargo build --release -p hero_osis_server.ls $HERO_SOCKET_DIR/hero_osis_ai/— empty (norpc.sock).agent.*,agentconversation.*, etc. JSON-RPC call returns 404 / "Socket 'rpc.sock' not found".Root cause
crates/hero_osis_server/Cargo.toml:The
aifeature is fully implemented (thehero_botbinary already requires it viarequired-features = ["ai", "flow"]). It just isn't included in the default build, so users who don't pass an explicit--features aiget a server with no AI domain.Impact
This blocks the user-visible
+button fix inhero_agent(lhumina_code/hero_agent#6) — even with thehero_agentand SDK fixes in place, conversations cannot be persisted because the AI domain server is not running.Proposed fix
Add
"ai"to theall-domainsfeature list. Keep"flow"gated for now (the comment about it being under development still applies).Acceptance
cargo build --release -p hero_osis_server(default features) spawnshero_osis_ai/rpc.sockon start.POST /hero_osis_ai/rpcvia hero_router returns a valid JSON-RPC response foragentconversation.list.hero_agent+button creates a conversation that persists and lists.aidomain code passes the existing lint config).