3.1 KiB
Reviewer Gate — Adversarial unit compatibility
Verdict
GO после трёх исправлений. Построены пары независимо реализуемых units; найденные shared-data/ownership holes закрыты в AD-10, AD-12 и AD-13.
Critical / High
Нет открытых Critical/High findings.
Constructed incompatible pairs and disposition
Admin capability publisher vs artifact store
До исправления обе стороны могли соблюдать AD-10, но выбрать противоположный порядок записи bytes/metadata и оставить dangling refs после crash.
Исправлено: bytes пишутся и проверяются идемпотентно первыми; metadata/owner refs коммитятся после; orphan sweep имеет grace period, delete учитывает durable refs/retention.
Admin/MCP product event producers vs registry rollup
До исправления разные apps могли придумать одинаково допустимые, но несовместимые event names/payload versions.
Исправлено: crank-core является единственным владельцем versioned ProductEvent vocabulary; apps только эмитят typed events, registry сохраняет и сворачивает.
Per-process telemetry spool vs PostgreSQL incident sink
До исправления каждый app мог выбрать свой deduplication key и создать дубли или потерять loss record при недоступной БД.
Исправлено: crank-core::TelemetryLossSink; durable local tombstone живёт до acknowledgement, registry uniqueness использует service + destination + spool-record ID.
Pairs checked without findings
- Capability publishers vs MCP catalog reader: exact Published refs, typed binding tables and atomic catalog revision converge.
- MCP version adapters vs Task engine: protocol state cannot alter internal Task semantics; unsupported clients use published fallback/error.
- Sync runtime vs Task worker: both pass the same admission policy and unified runtime pipeline; Execution Attempt remains separate from Task.
- Admin approval writer vs worker recovery: full-scope uniqueness and conditional PostgreSQL transitions prevent competing records.
- Load control vs saturated runner: signed plan, reserved control capacity, heartbeat and local kill path converge on one stop authority.
- Migrator N vs service N-1: ledger consolidation plus expand/migrate/contract and N/N-1 read window define compatible ownership.
Medium / Low tail
- Canonical serialization/signature details for
LoadAuthorizationPlanand Evidence Manifest belong in their feature specs; both must include schema version, digest and key identity to satisfy the existing signed-contract Rules. - Concrete Task fairness algorithm can differ internally only if it meets one policy snapshot and PRD SLO evidence; cross-unit surface is already fixed.