T1 (H7): casan-step.mjs now calls rollback-manager.sh checkpoint before overwriting plan.md at attempt-2, writes tx-id to plan.checkpoint.txid sidecar, and executes rollback on REJECTED verdict. rollback-transactions.jsonl records a real cp restore command. Adversarial test: checkpoint exists, real cp command recorded, plan hash matches pre-overwrite content. T4 (H6): casan-harness.sh exports CASAN_STEP_NAME=$ACTION_NAME before agent-metrics.sh so nested model calls (model-call.py) and the provider- cost-lookup.py query share the same step label. metrics.jsonl now writes cost_source=provider_telemetry instead of word_count_estimate when a real Ollama call is made within the same step. Adversarial test: verified with CASAN_STEP_NAME=t4-telemetry-test end-to-end. adversarial-harness-tests.sh: 40 → 44 PASS / 0 FAIL (+3 T1, +1 T4) security-gate.sh: PASS=10 FAIL=0 SKIP=0 (verified, local ornith:9b) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
47 lines
1.4 KiB
JSON
47 lines
1.4 KiB
JSON
{
|
|
"bundle_id": "casan-okr-harness-policy",
|
|
"files": [
|
|
{
|
|
"bytes": 2856,
|
|
"path": ".specify/security/prompt-filter.yaml",
|
|
"sha256": "4bd0b747aed9751d0a39b0021656884672624c746fca972ccc38ce1856403cde"
|
|
},
|
|
{
|
|
"bytes": 1255,
|
|
"path": ".specify/security/output-policy.yaml",
|
|
"sha256": "742f73c04a3a2bdab88c140fc18299ece8ef63b093da221350452c555132cf05"
|
|
},
|
|
{
|
|
"bytes": 1935,
|
|
"path": ".specify/governance/approval-flow.yaml",
|
|
"sha256": "5ee774fd595fae08429fa7832fccf1c3fa7b607446e5f8b602b36dfabedbe5b9"
|
|
},
|
|
{
|
|
"bytes": 2003,
|
|
"path": ".specify/governance/risk-registry.yaml",
|
|
"sha256": "a37a7eb3db26389f3bf024637ed88a95bf159beec0f60b25fa17c969bb762440"
|
|
},
|
|
{
|
|
"bytes": 1053,
|
|
"path": ".specify/agentops/metrics.yaml",
|
|
"sha256": "3b8b7d1b71dd654bf600c5366b012daf7dea6415e71b50688872526bfac5af33"
|
|
},
|
|
{
|
|
"bytes": 2308,
|
|
"path": ".specify/level5/tool-registry.yaml",
|
|
"sha256": "c7f0081617b754b84a70ee6386277f3e8cd827ba8685d0245bc2b4f979951837"
|
|
},
|
|
{
|
|
"bytes": 722,
|
|
"path": ".specify/level5/model-fallback.yaml",
|
|
"sha256": "731f98e9ca8182af9183de3711c0376c2e5daf38c769f27a5556d438aa53e2d7"
|
|
},
|
|
{
|
|
"bytes": 389,
|
|
"path": ".specify/level5/drift-policy.yaml",
|
|
"sha256": "e81ea7435052b1cfbb3d296789a8d6c8bd839675150298a879ad7f5f1d853312"
|
|
}
|
|
],
|
|
"generated_at": "2026-07-01T02:23:42Z"
|
|
}
|