ci/woodpecker/pr/ci Pipeline was successful
Additive-only DDL per the merged design (docs/plans/ 2026-08-29-agent-enrollment-command-design.md SS4): agents gains nullable harness + enrolled_at (no backfill); new agent_audit_events (append-only, seq identity, FK-free agent linkage, causation self-FK, closed event-type CHECK), agent_outbox (hierarchy shape, one row per event, closed status enum), agent_idempotency_fence (contract 3 SS4.3 shape: UNIQUE (operation, key), replay-mode CHECK, FK-free outcome reference). Schema-level witnesses in agent-enrollment.witness.test.ts (PGlite + real-PostgreSQL legs): nullable enrollment columns, event-type CHECK, per-agent seq ordering, deletion-safe linkage (events and fence rows survive agent deletion; information_schema FK probes), causation and outbox RESTRICT, fence uniqueness and mode CHECK. Command-level witnesses land with M4-4b.