Summary
Implement ahc diff <manifest-a> <manifest-b> — structural diff between two World Manifest versions showing what changed in actions, taint rules, escalations, and budget limits.
Depends on: #121 (validate)
Scope
- Compare two compiled manifest artifacts (not raw YAML text diff)
- Report: actions added/removed, taint rules changed, escalation conditions changed, budget limits changed
- Human-readable output with
+/- markers
--json flag for machine-readable output
Key Files
src/agent_hypervisor/compiler/cli.py — add diff command
tests/compiler/test_diff.py — new test file
Acceptance Criteria
Milestone
v0.3
Summary
Implement
ahc diff <manifest-a> <manifest-b>— structural diff between two World Manifest versions showing what changed in actions, taint rules, escalations, and budget limits.Depends on: #121 (validate)
Scope
+/-markers--jsonflag for machine-readable outputKey Files
src/agent_hypervisor/compiler/cli.py— adddiffcommandtests/compiler/test_diff.py— new test fileAcceptance Criteria
ahc diff manifests/workspace_v1.yaml manifests/workspace_v2.yamlshows structural changespytest tests/compiler/test_diff.py -vpassesMilestone
v0.3