OServer should register a system.ping builtin (skill smoke test expects it) #80
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_rpc#80
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?
Context
From the hero_logic#41 §1 audit.
The
hero_service_check_fix.mdskill §7 prescribesPOST /rpc {"method":"system.ping"}as part of the standard smoke test.hero_rpc2includessystem.ping(seeexample/recipe_sdk_rpc2/tests/debug_curl.rs), buthero_rpc_server::OServer— what current OSIS-backed services likehero_logicrun on — does NOT register anysystem.*builtins.Result:
hero_logic's rpc socket returns:Decision needed
Two paths:
system.ping(and minimalsystem.*builtins likesystem.version,system.openrpc) toOServerso every OSIS service satisfies the skill out of the box.hero_service_check_fix.mdskill §7 to acknowledge thatsystem.*methods require hero_rpc2; OSIS-only services exercise/health+/openrpc.json+ a service-specific method instead.My lean: A. The skill describes what every Hero service should answer; users shouldn't have to think about which RPC stack the service runs on.
OServeralready has the dispatch infrastructure — addingsystem.pingis a few lines.Comment with your call.
Acceptance
hero_logic(and any other OSIS-only service) clears the §7 smoke test without modification.Closing — supplanted by #90.
The
system.pinggap was a symptom of OSIS services still running on OServer instead of hero_rpc2 (which registerssystem.*natively). Patching OServer with a builtin would be a stopgap; the parent META always intended for OSIS services to migrate to hero_rpc2. #90 tracks that proper migration. Once services move, this issue resolves automatically.