115 lines
7.3 KiB
JSON
115 lines
7.3 KiB
JSON
{
|
|
"stage": "Opt-in common bandwidth SQL journal accepted on disposable PostgreSQL",
|
|
"date": "2026-10-26",
|
|
"fullPlanComplete": false,
|
|
"sqlProposalAccepted": true,
|
|
"publicSpeedAdapterAccepted": false,
|
|
"normalMigrationCount": 39,
|
|
"normalEnrollmentChanged": false,
|
|
"newNormalMigrationMarkerCreated": false,
|
|
"inventory": {
|
|
"tools": 358,
|
|
"pending": 5,
|
|
"mediated": 195,
|
|
"routes": 262,
|
|
"excluded": 62
|
|
},
|
|
"sql": {
|
|
"transactionBudgetMs": 10000,
|
|
"alwaysGuards": 9,
|
|
"tables": [
|
|
"bandwidth_attempts",
|
|
"bandwidth_node_occupancy",
|
|
"bandwidth_attempt_events"
|
|
],
|
|
"statementBudgetMs": 5000,
|
|
"immutableBindingAndOwnership": true,
|
|
"defaultPoolOrIo": false,
|
|
"occupancyKeyExcludesGeneration": true,
|
|
"fixedSearchPathFunctions": 6,
|
|
"allPriorEventsHmacChecked": true,
|
|
"singleUseLocalNewAcknowledgement": true,
|
|
"unknownBusyNoAutomaticRelease": true,
|
|
"atomicPairReservation": true
|
|
},
|
|
"actualAcceptance": {
|
|
"proposalOnly": true,
|
|
"normalMigrationCount": 39,
|
|
"normalEnrollmentChanged": false,
|
|
"productionRestoreAccepted": false,
|
|
"runtimeDispatchIntegrated": false,
|
|
"nativeChrCalls": 0,
|
|
"actualCommitAckLosses": 4,
|
|
"eventCount": 37,
|
|
"cases": [
|
|
"reserve rollback before real COMMIT leaves neither half-pair nor attempt",
|
|
"two independent processes/backend PIDs: A-B blocks B-C/reversed B-A; disjoint C-D succeeds; repeat has no new ACK",
|
|
"concurrent independent connections reserve intersecting pairs atomically: exactly one winner",
|
|
"actual reserve COMMIT then lost ACK retains pair; independent process cannot reclaim",
|
|
"actual arm COMMIT then lost ACK: persisted armed pair survives fresh store and has no repeat reserve ACK",
|
|
"real pg_terminate_backend of committed arm backend AFTER loopback dispatch, while remote held running: new process remains blocked; socket close/quarantine retains pair",
|
|
"quarantine lost-commit never clears armed occupancy",
|
|
"quarantine rollback-before-commit never clears armed occupancy",
|
|
"real completion COMMIT ACK loss releases both only with terminal proof; stale complete/quarantine/no-send never clears newer owner",
|
|
"forged terminal/no-send evidence refused; changed endpoint epoch does not free canonical node",
|
|
"server DELETE does not cascade into canonical occupancy; active attempt DELETE rejected and pair preserved",
|
|
"quarantined canonical nodes cannot be reclaimed by new control/credential generation; expired altered binding cannot rearm",
|
|
"same-instance local admission arm versus reserved cancel race: one local winner; not evidence of a database CAS race",
|
|
"actual two-client distinct-backend reserved UPDATE CAS race after shared BEGIN barrier: arm versus release, one committed winner, loser rows=0/ROLLBACK, complete event HMAC and 0-or-2 occupancy",
|
|
"actual DML guards refuse immutable binding, node identity/owner replacement, active occupancy DELETE, event UPDATE/DELETE, attempt DELETE and full journal TRUNCATE; exact rows unchanged",
|
|
"owned replica mode in three separate rolled-back transactions cannot DELETE active attempt/occupancy or TRUNCATE journal; nine ALWAYS triggers and six fixed search_path functions verified in pg_catalog",
|
|
"real wall-clock original execute expiry refuses arm; bounded original cleanup can quarantine without freeing pair",
|
|
"real relation lock and 200ms owned deadline destroy blocked adapter backend; after unlock no late COMMIT/occupancy",
|
|
"uppercase original UUID spelling is preserved in new ACKs while PostgreSQL identity and event HMACs use canonical UUID",
|
|
"every persisted transition event verified with keyed fixture HMAC including terminal completion proof",
|
|
"real pg_dump/pg_restore into separate owned DB preserves exact proposal table hashes/unknown occupancy, nine ALWAYS triggers, six fixed search_path functions and 39 markers; corrupted archive header rejected"
|
|
],
|
|
"limitations": [
|
|
"No production native transport/broker integration or schema/control enrollment: SQL proposal only",
|
|
"No real remote-completion/physical identity enrollment; terminal evidence is explicitly synthetic keyed fixture proof",
|
|
"No aged retention/automatic GC integration; no automatic unknown release policy is supplied",
|
|
"Deleting synthetic servers tests canonical-key independence; there is no implemented server-to-physical-node mapping"
|
|
]
|
|
},
|
|
"validation": {
|
|
"backendBuild": "passed",
|
|
"eslint": "passed",
|
|
"strictSourceAndTests": "passed",
|
|
"ownedSql": "passed",
|
|
"coverage": "358 tools/195 mediated/62 excluded/5 pending",
|
|
"diffCheck": "passed"
|
|
},
|
|
"limits": [
|
|
"No production database role isolation claim; owner/superuser DDL control is outside these structural guards",
|
|
"Private terminal/no-send authenticity is supplied by trusted callbacks; the owned test uses synthetic keyed evidence",
|
|
"Dump/restore checks proposal data and guard metadata plus corrupted archive header; production archive authenticity and restored dispatch readiness remain unproven",
|
|
"No canonical physical-node issuer, trusted control-generation bootstrap, normal schema enrollment, capacity/retention integration, mandatory transport wiring or full public speed workflow"
|
|
],
|
|
"next": [
|
|
"complete trusted generation/canonical-node enrollment and capacity/restore boundary",
|
|
"wire mandatory bandwidth capability into all fixed native dispatch callers",
|
|
"integrate complete speed-test/history/failure/no-replay service and public MCP adapter",
|
|
"repeat actual public runtime and multi-process acceptance on the final enrolled source"
|
|
],
|
|
"productionRestoreAccepted": false,
|
|
"runtimeDispatchIntegrated": false,
|
|
"realChrTouched": false,
|
|
"productionDatabaseTouched": false,
|
|
"deployed": false,
|
|
"sha256": {
|
|
"backend/src/services/bandwidth-admission-storage.ts": "ac2d4f345b5eb27a7b83c999619e4d7247eba137d495e7d31fc5969300b31687",
|
|
"backend/src/services/bandwidth-admission-schema.ts": "1853e2de43797454ca335d7d4069421e6737afaac2c0bd7e087408529e68e172",
|
|
"backend/src/services/bandwidth-admission.sql.test.ts": "e1eab6197fcf74a6fc00a3169e562d6342f4f934b53c88cefc2bcc0b6f4e1b9f",
|
|
"backend/src/services/bandwidth-admission-process.sql-helper.ts": "8898c09aff079e8a205aa316a4bef9ef98b74b0010e2ac7715df1cc6d56b1f14",
|
|
"backend/src/services/bandwidth-admission.ts": "4754026971d1c420f370b1632b003cc5c923a00cea233cff5ec78ecb212423ad",
|
|
"backend/scripts/test-mcp-postgres.mjs": "89a4ef86eca4d33079ef927d3b65daf3df589cc7fa5e4738c40c3915fb4a6f08",
|
|
"backend/package.json": "21bc48dbacb256c710fd2f6463ba750a5add828fbb233ec5d3e0a7d61d04ef62",
|
|
"tmp/bandwidth-admission-sql-final.log": "caf0bc0d44543fb3b0e6ffe4dd40d61407f5be2e04dad769ceb504c4c4666bbf",
|
|
"tmp/bandwidth-sql-types-final.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
|
"tmp/bandwidth-sql-lint-final.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
|
"tmp/bandwidth-sql-build-final.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
|
|
"tmp/bandwidth-sql-coverage-final.log": "f12c8403e4ad08e750e71565ce15df5eb44154076e5acd8991b22b6eb2a50214",
|
|
"tmp/bandwidth-sql-diff-final.log": "21d72af86c39e228166bc1e02a6fbe5ffad8740746e46adb13ff42c84a85ae67"
|
|
}
|
|
}
|