Pulse/pkg/aicontracts
rcourtman fe09420bcb Add coverage tests for agentexec lifecycle codec and aicontracts pure helpers
The docker container lifecycle codec in agentexec had a contract test that never
exercised the codec functions at runtime, leaving decode, bind, validate and
identity helpers at zero coverage. This adds a table-driven test taking each to
near or full coverage including every validation error arm. In aicontracts,
CloneActionReference, IsNilAlertPayload and DefaultEngineConfig were uncovered,
so this covers the nil and populated arms and asserts CloneActionReference
produces an independent deep copy.

Both are new test-only files. No source changed. Verified with go test, gofmt
and go vet, with each target function confirmed to move off zero coverage.
2026-07-17 06:53:16 +01:00
..
action_broker.go Add canonical action result truth 2026-07-11 21:27:00 +01:00
aicontracts_safety_branchcov0716_test.go Add Go branch-coverage tests for models config securityutil and aicontracts helpers 2026-07-16 14:20:13 +01:00
alert_analyzer.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
contracts_test.go Separate Patrol evidence and model-turn budgets 2026-07-16 17:50:08 +01:00
fix_execution.go Expose server-authored action policy provenance 2026-07-12 00:18:43 +01:00
interfaces.go Publish Patrol investigation limits live 2026-07-15 10:49:16 +01:00
investigation.go Separate Patrol evidence and model-turn budgets 2026-07-16 17:50:08 +01:00
investigation_pure_w0716_coverage_test.go Add pure branch-coverage tests for the fresh Patrol and Docker drop 2026-07-16 22:27:29 +01:00
orchestrator_deps.go Separate Patrol evidence and model-turn budgets 2026-07-16 17:50:08 +01:00
purehelpers_w0717_coverage_test.go Add coverage tests for agentexec lifecycle codec and aicontracts pure helpers 2026-07-17 06:53:16 +01:00
remediation.go Make Patrol reasoning model-owned 2026-05-15 12:22:52 +01:00
safety.go backend and governance: MCP contract, agent capabilities, API, and release-control 2026-06-23 17:26:15 +01:00
safety_test.go backend and governance: MCP contract, agent capabilities, API, and release-control 2026-06-23 17:26:15 +01:00