claw-code/rust/crates
bellman db6f30fa33 verify plugin lifecycle JSON contract
Lock the plugin inventory JSON contract so lifecycle state and lifecycle summary fields stay visible to orchestrators while allowing bundled plugins to coexist in isolated inventories.

Constraint: G007-plugin-mcp Task 1 requires plugin/MCP lifecycle contract evidence without mutating .omx/ultragoal.

Rejected: Assuming an empty plugin inventory in tests | bundled plugins are auto-synced and should not make lifecycle contract verification brittle.

Confidence: high

Scope-risk: narrow

Directive: Keep plugin inventory JSON machine-readable for lifecycle_state, lifecycle, status, and load_failures; do not collapse it back to message-only JSON.

Tested: cargo test -p plugins plugin_registry_report_collects_load_failures_without_dropping_valid_plugins -- --nocapture; cargo test -p commands renders_plugins_report -- --nocapture; cargo test -p rusty-claude-cli --test output_format_contract plugins_json_surfaces_lifecycle_contract_when_plugin_is_installed -- --nocapture; cargo test -p rusty-claude-cli --test output_format_contract inventory_commands_emit_structured_json_when_requested -- --nocapture; cargo check --workspace; cargo fmt --all -- --check

Not-tested: cargo clippy -p rusty-claude-cli --test output_format_contract -- -D warnings is blocked by pre-existing runtime::policy_engine::LaneContext clippy::struct_excessive_bools.

Co-authored-by: OmX <omx@oh-my-codex.dev>
2026-05-15 09:59:02 +09:00
..
api fix: REPL display, /compact panic, identity leak, DeepSeek reasoning, thinking blocks 2026-05-06 15:32:34 +09:00
commands omx(team): auto-checkpoint worker-1 [1] 2026-05-15 09:50:23 +09:00
compat-harness feat: ultraclaw droid batch — ROADMAP #41 test isolation + #50 PowerShell permissions 2026-04-12 03:06:24 +09:00
mock-anthropic-service fix: REPL display, /compact panic, identity leak, DeepSeek reasoning, thinking blocks 2026-05-06 15:32:34 +09:00
plugins omx(team): auto-checkpoint worker-1 [1] 2026-05-15 09:45:54 +09:00
runtime omx(team): auto-checkpoint worker-2 [2] 2026-05-15 09:45:29 +09:00
rusty-claude-cli verify plugin lifecycle JSON contract 2026-05-15 09:59:02 +09:00
telemetry feat: anthropic SDK header matching + request profile 2026-04-01 05:55:25 +00:00
tools Keep G006 packet regressions aligned with shipped schema 2026-05-15 09:41:38 +09:00