Restore context-aware secrets on the multi-domain OpenRPC API #163
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_proc#163
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?
Problem
The new
hero_procmulti-domain secrets OpenRPC surface currently exposes rootobject-style secret CRUD that identifies a secret only bysid/key, while the server implementation defaults every secret operation to thecorecontext.That breaks the existing Hero secret model: secrets are context-scoped. The same key can legitimately exist in different contexts with different values.
This blocks the development-channel deployer convergence tracked at lhumina_code/hero_os_tfgrid_deployer#30 and the platform convergence program at lhumina_code/home_lhumina#313. The deployer needs context-scoped secrets for:
Adapting deployer to a core-only secret API would compile toward the wrong behavior: values from different contexts would be read from or written to the wrong namespace.
Plan
/api/secrets/rpc) and the one-input OpenRPC rule.{ context_name, key }without relying on OS env or path-specific hacks.(context_name, key).--contextis honored again instead of ignored.Acceptance
hero_proc_sdkexposes context-aware secret operations on thesecrets()domain.secretCLI commands with--contextread/write/delete the requested context.hero_proc_sdkwithout collapsing all secrets intocore.Signed-by: mik-tf mik-tf@noreply.invalid
Progress update:
Next sequencing step: publish/merge development_mik_secrets_context so deployer can consume the generated context methods from its normal Forge development dependency.
Signed-by: mik-tf mik-tf@noreply.invalid