verify_chain_integrity
Verifies the integrity of a persisted envelope chain by walking and checking every link for a trace ID, rejecting mixed-schema chains. Outputs validation outcome and details of any broken link.
Instructions
Capability 8: walk the persisted envelope chain for trace_id and verify every link. Refuses mixed-schema chains. Returns {valid, checked, broken_at, reason}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||