Context
The CLI must delegate runtime-owned config, skill, and state operations to a Python bridge in the runtime repo instead of parsing runtime internals in Go.
Scope
Non-Goals
- Does not implement CLI command UX.
- Does not duplicate runtime config parsing outside runtime.
Technical Specification
Bridge is invoked as python3 -m ori.cli_bridge <command> [args...] and writes one JSON object to stdout. Non-zero exit codes include JSON error payloads.
Acceptance Criteria
Tests Required
| Test |
Verifies |
test_cli_bridge_config_validate |
Config validation command. |
test_cli_bridge_error_payload |
Structured errors. |
Additional Test Coverage / Edge Cases
Invariants — Do Not Violate
- Runtime remains authority for config and skill validation.
Dependencies
Blocked by:
Unblocks:
Contract References
- Runtime
ori.cli_bridge contract
Priority
poc-critical
Suggested Labels
ready, poc-critical, runtime-impact
Context
The CLI must delegate runtime-owned config, skill, and state operations to a Python bridge in the runtime repo instead of parsing runtime internals in Go.
Scope
ori.cli_bridgein ori-runtime.config-validate,config-show,skills-list,skills-validate, and health/state primitives.Non-Goals
Technical Specification
Bridge is invoked as
python3 -m ori.cli_bridge <command> [args...]and writes one JSON object to stdout. Non-zero exit codes include JSON error payloads.Acceptance Criteria
Tests Required
test_cli_bridge_config_validatetest_cli_bridge_error_payloadAdditional Test Coverage / Edge Cases
Invariants — Do Not Violate
Dependencies
Blocked by:
Unblocks:
Contract References
ori.cli_bridgecontractPriority
poc-criticalSuggested Labels
ready,poc-critical,runtime-impact