feat(epic4): подтверждать durable Task после атомарного PG-commit (Story 4.2)
CI / UI Checks (pull_request) Successful in 8s
CI / Rust Checks (pull_request) Successful in 19m34s
CI / Rust Feature Validation (pull_request) Skipped
CI / Frontend E2E (pull_request) Skipped
CI / Community Image Smoke (pull_request) Skipped
CI / Required Checks (pull_request) Successful in 1s
CI / Deploy (pull_request) Skipped

Application entry выдаёт Task ID только после атомарного PostgreSQL commit
Task+intent+capacity; replay/conflict, owner scope, bounded envelope,
terminal CAS и fail-closed readiness проверены на реальном PG.

Также включён принятый план перехода на rmcp (только документ, миграция не
запускается).
This commit is contained in:
bsodfather committed 2026-10-27 00:09:36 +00:00
1 parent cc612516a2
commit 2219a7217d
37 files changed
+4028 -136

No files matched your search

+11
View File
@@ -67,3 +67,14 @@ run_atdd "execution policy validation" -p admin-api --lib operation_validation::
run_atdd "execution admission store" -p crank-registry --test integration admission:: -- --test-threads=1
run_atdd "runtime admission budget" -p mcp-server --test admission_budget -- --test-threads=1
run_atdd "admission readiness" -p admin-api --lib routes::tests::readiness_checks -- --test-threads=1
# Story 4.2 (FR-22, FR-23): durable background Tasks. The lifecycle/envelope bounds are unit-level; the
# authoritative store (one-transaction acceptance, replay/typed conflict, shared bounded capacity,
# Task-linked intent guard, terminal CAS, retention, scope isolation, fail-closed health) and the
# application entry (verified principal, exact publication pin, foreign-scope denial, readiness) run
# against a real PostgreSQL schema. The migration suite proves a fresh and an already-migrated v25.
run_atdd "durable task domain bounds" -p crank-core --lib task:: -- --test-threads=1
run_atdd "runtime task identity" -p crank-runtime --lib tasks:: -- --test-threads=1
run_atdd "durable task store" -p crank-registry --test integration tasks:: -- --test-threads=1
run_atdd "durable task application entry" -p mcp-server --test integration durable_tasks:: -- --test-threads=1
run_atdd "durable task migration" -p crank-registry --test integration migrations:: -- --test-threads=1