Skip to content

Add runtime catalog register for host-owned sys.* helpers (fixes #56) - #57

Open
ld1287 wants to merge 5 commits into
OctoSense-org:mainfrom
ld1287:feat/l0-catalog-register
Open

ld1287 wants to merge 5 commits into
OctoSense-org:mainfrom
ld1287:feat/l0-catalog-register

Conversation

@ld1287

@ld1287 ld1287 commented Oct 3, 2026

Copy link
Copy Markdown

What

Closes #56 by adding a runtime layer on top of the closed 32-entry
catalog::ANSWERS table. Hosts (e.g. finance-brief with 17 capabilities)
can now call catalog::register(SysContract { ... }) at boot to expose
their own sys.* helpers, without forking octoscript-ui-l0.

API

pub fn register(contract: SysContract) -> Result<&'static SysContract, String>;
pub fn registered_names() -> Vec<String>;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

octoscript-ui-l0: enable hosts to register additional sys.* helpers (instead of the fixed 32-entry catalog::ANSWERS constant)

1 participant