Files
MikrotikManager/docs/mcp-flow-write-transaction-pg-acceptance-v3.json
T

45 lines
2.5 KiB
JSON

{
"recordedAt": "2026-10-24T14:12:28.085Z",
"fullPlanComplete": false,
"productionEngineWired": false,
"mcpAdapterMediated": false,
"scope": "Real PostgreSQL transaction contract only; private schema and shadow publication tables, not production rebuild executor acceptance",
"validation": {
"command": "npm --prefix backend run test:traffic-flow:pg",
"exitCode": 0,
"log": "tmp-mcp-flow-write-pg-v4.log",
"logSha256": "8bb91e66e4ba1f21544b59d467b7e619670cd59f3de7e8f1674a1845fd07f8ee",
"scopedLintExitCode": 0
},
"cases": [
"atomic hour/day/event/receipt rollback",
"same batch result without replay",
"source proof mismatch refusal",
"lost ACK after actual PostgreSQL COMMIT and durable receipt reconciliation",
"actual pg_locks waiter until predecessor transaction completes",
"shared writer excludes exclusive body",
"revocation before COMMIT rolls back all effects",
"actual receipt absence waits for predecessor rollback",
"production purge exclusion blocks shared ingest body until unlock",
"cached receipt denied after authority revoked during observed real advisory-lock wait",
"fake receipt SELECT late revocation returns no success/body/INSERT/COMMIT"
],
"sources": {
"backend/src/services/traffic-flow-write-transaction.ts": "8e3bf346e9d052877787d7350d03ee4a636abd0c6f95a5d03b36e0e9fbd330a8",
"backend/src/services/traffic-flow-write-transaction.pg.test.ts": "454b2f72306463c9d5250007976d344b27d77b3208197a1419e3e49fd15bc59d",
"backend/drizzle/0032_flow_write_receipts.sql": "ca89054c375261f847d1f4a6e87ccf8f83f1f7279f957b89b0ae447b6a468020",
"backend/src/db/index.ts": "b76334b2a912d016c0505b9eafb04d1dec2cce8a3e5e5dfdc85ad93b99996ea0",
"backend/src/db/sql-bind.ts": "34bd2cf22da1ee5bd189c5ad1366b58ad907f13f8a970cae7d8cfe21abf9e920",
"backend/scripts/test-mcp-postgres.mjs": "a4c4a06eed3fd38827be96a4ceb29d69cdea7d6d40f777962637c33e2fc9c75a",
"backend/src/services/traffic-flow-writer-exclusion.ts": "9008bd21bbaa23cbf9b924e8e018c1f10799579c001bbbcdac335cf269ae76f6",
"backend/src/services/traffic-flow-write-transaction.test.ts": "114cd63dd5b7f1d6be42c232e3f47e65b92187fc7d947183921422a495805e97"
},
"notProven": [
"real rebuild publication with production cube schemas",
"engine/drain/purge production integration",
"MCP scope and protection admission",
"native routing or forwarding"
],
"supersedes": "docs/mcp-flow-write-transaction-pg-acceptance-v2.json"
}