intentCmd computes and shows the Intent-Runtime Diff: for each captured contract (tool call / peer message / refusal) versus the runtime effects attributed to its scope, whether they matched, a boundary was violated, a refusal was bypassed, or intent was simply not captured.
(dataDir *string)
| 16 | // attributed to its scope, whether they matched, a boundary was violated, a |
| 17 | // refusal was bypassed, or intent was simply not captured. |
| 18 | func intentCmd(dataDir *string) *cobra.Command { |
| 19 | cmd := &cobra.Command{ |
| 20 | Use: "intent", |
| 21 | Short: "reconcile declared agent intent against observed runtime effects", |
| 22 | } |
| 23 | cmd.AddCommand(intentDiffCmd(dataDir)) |
| 24 | return cmd |
| 25 | } |
| 26 | |
| 27 | func intentDiffCmd(dataDir *string) *cobra.Command { |
| 28 | var runID string |
no test coverage detected