You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 21b52c2
Browse filesBrowse the repository at this point in the historyBrowse files
feat(core): make runtime composition inspectable (#24)
* feat(core): report runtime invariant results per owner
RuntimeInvariant.run returned void, so a passing check was silent and a failing one lost the owner. It now runs every registered check, records one typed result per owner, and still dies afterwards so a broken invariant fails boot loudly.
* feat(core): expose runtime composition through RuntimeInspection
The Cordis host holding the active profile was a local const inside PluginInternal's layer, and serviceInventory was computed at import and read by nobody. PluginProfile now holds the host's read-only snapshot reader while apply/clear stay with the owning boot, and RuntimeInspection reports profile, service topology, and invariant results as identifiers only.
* feat(opencode): add debug runtime command
Prints the composition the current location booted: active profile and ordered plugin IDs, effective service topology, and the boot invariant report. --json prints the raw payload.
* test(opencode): pin debug runtime in the CLI help snapshot
Add `redcode debug runtime`, which prints the composition the current location actually booted: the active Cordis profile and its ordered plugin IDs, the effective service topology derived from the compiled layer graph, and the runtime invariant report from boot readiness. Runtime invariants now return a typed result per owner instead of passing silently, and a failing owner is named while still failing boot. The payload carries identifiers only — no config values, credentials, paths, or environment.
0 commit comments