- Pin all Dockerfile and Compose image refs to @sha256 digests (re-verified
immediately before commit) and add scripts/check-image-digests.sh to CI.
- Add Zod as a runtime dependency and define structural schemas for high-risk
collections: agent_task, ai_summary, agent_action_log, impact_claim,
stakeholder_feedback, and financial events (expense/sales/revenue).
- Wire Zod validation ahead of existing governance/authorization/workflow
checks in create/update hooks; use full schemas for creates and partial
schemas for updates; preserve unknown fields via passthrough.
- Add Vitest coverage for valid/invalid types, enum/status values, partial
updates, unknown-field preservation, and sanitized error messages.
Docker socket runner-isolation mitigation remains a coordinated infra
follow-up requiring OneDev runner-owner approval.
Follow-up to KI-48.
Base Image Pinning:
Hooks Zod Validation (M3):
Docker socket runner-isolation mitigation remains a separate coordinated infrastructure change requiring OneDev runner-owner approval.