Files
MikrotikManager/docs/mcp-bandwidth-native-window-acceptance-20261028.json
T

378 lines
25 KiB
JSON

{
"format": "mcp-bandwidth-native-window-acceptance-v1",
"createdAt": "2026-10-28T09:10:58.265Z",
"acceptedScopedSql": true,
"fullPlanComplete": false,
"currentStage": {
"closedComponents": 5,
"openItems": 5,
"tracker": "docs/mcp-speed-progress.md"
},
"checks": {
"v1": {
"exitCode": 0,
"log": "tmp/mcp-registry-fusion-v1-pg-20261028.log",
"sha256": "4b33c3dd9161b928bfab70d98df6f266637336a0d24ba60c16b071b3e734fad6",
"evidence": {
"cases": 25,
"checks": [
"actual separate owner/combined least-privilege runtime/restricted application roles, explicit external core+registry DDL with 12 functions, normal39 unchanged, no bootstrap rows auto-created",
"actual configured core+node source, genuine native reader and registry host compose register/resolve through one session with actor sealed intent; same claims preserve canonical UUID across aliases",
"third credential-provider ID denied before any credential fetch, native POST or control mutation",
"exact address/VRF remote policy denial preserves control ledger and sends zero POST",
"a NEW genuine license observation with changed original claims is refused between phases before reserve/native; no token renewal, alias adoption or control mutation",
"real configured broker terminal response beyond 5.3s observation TTL releases both owners without grant renewal; exact max duration/body and actual configuration intent/acknowledged audit; four core leases available during native wait",
"one dropped physical POST leaves both exact owners unknown-busy; fresh attempt on same pair sends zero additional POST and never retries",
"genuine operator tombstone after resolve is caught by same-physical alias fence before reservation/native dispatch; unrelated unknown owners preserved",
"four actual occupied core leases authenticate signed node role/catalog/claim/node/alias/event MACs through the SAME ephemeral fence with no fifth checkout; shared registry writer lock persists through real BEGIN/COMMIT and data remains exact",
"same-physical node fence refuses forged claims, replaced alias incarnation and original signed source hash without changing any of eight control tables",
"binding/HMAC never grant actor permission; unknown/malformed/root-mismatched signing inputs refuse, proof input captured before await, closed session unusable and actor denial changes no row",
"bootstrap verifier requires its own active genuine core lease: different factory, fake facade and released lease cannot establish provenance",
"four concurrent sessions saturate actual core pool: binding/proof/query retain four distinct original backend PIDs with no nested fifth checkout/deadlock",
"wrong issuer key/pin, same-key-as-core bootstrap, cross-install/schema/signature/unknown-field records and missing bootstrap refuse; valid different signed bootstrap cannot replace original live session; no auto rows or data mutation",
"actual excess runtime ACL and disabled registry guard refuse via fixed source/role/catalog verification; guard disabling is metadata-only negative fixture with zero data writes",
"real original actor revoke DURING global catalog observation before INSERT: final core dispatch guard forbids physical write/COMMIT and preserves exact data",
"real original actor revoke DURING global catalog observation before COMMIT: final core dispatch guard forbids physical write/COMMIT and preserves exact data",
"actual issuer-key file changes AFTER PostgreSQL node-catalog result and before HMAC: operation refuses without returning stale proof or changing any control row",
"actual bootstrap file changes AFTER PostgreSQL node-catalog result and before HMAC: operation refuses without returning stale proof or changing any control row",
"closing an actual session while original actor guard is stalled rejects before gate/deadline; releasing late guard dispatches no further physical SQL and changes no row",
"direct actual core lease release rejects query stalled AFTER checkout within750ms while guard gate is closed; late guard continuation sends zero main/late SQL and preserves all eight tables",
"captured genuine raw dispatch fence expires when actual query finishes: retained query and valid signed bootstrap verification reject without any new physical driver query",
"real restricted-application-role public-only dump/shared restore changes public marker while all eight external control tables and canonical UUID survive; fresh operational resolve succeeds",
"valid externally signed core-generation renewal rejects original leased core/node sessions; fresh session resolves SAME persistent canonical UUID with unchanged seven non-identity tables and unchanged issuer/bootstrap",
"terminal registry authority and core source quarantine reject new operational sessions while every node/alias/event/core-occupancy row stays unchanged"
],
"executionHostAcceptance": {
"checks": [
"third credential-provider ID denied before any credential fetch, native POST or control mutation",
"exact address/VRF remote policy denial preserves control ledger and sends zero POST",
"a NEW genuine license observation with changed original claims is refused between phases before reserve/native; no token renewal, alias adoption or control mutation",
"real configured broker terminal response beyond 5.3s observation TTL releases both owners without grant renewal; exact max duration/body and actual configuration intent/acknowledged audit; four core leases available during native wait",
"one dropped physical POST leaves both exact owners unknown-busy; fresh attempt on same pair sends zero additional POST and never retries",
"genuine operator tombstone after resolve is caught by same-physical alias fence before reservation/native dispatch; unrelated unknown owners preserved"
],
"scenarios": 6,
"serviceContextAcceptance": {
"checks": [
"human-approved genuine production runner: two exact sealed service steps, SQL running/executing/intent provenance, private decrypted input and redacted public intent; tokens expire on step exit",
"explicit autonomous dangerous-operation grant: two genuine service steps with approved=false, same principal/plan/generation/expiry provenance, verification and no human approval fabrication"
],
"flows": 2,
"verifiedServiceSteps": 4,
"productionRunnerTokens": 4,
"currentPlanChecks": 12,
"rejectedPlanChanges": 8,
"rejectedGrantChanges": 3,
"pendingReplayRefusals": 2,
"nativeRequests": 0,
"operatorAuthoritySynthetic": true,
"productionActivation": false
},
"actualLocalhostBandwidthPosts": 2,
"actualLocalhostLicenseGets": 58,
"productionActivation": false,
"operatorAuthoritySynthetic": true,
"remotePolicySynthetic": true,
"realChrCalls": 0
},
"nativeLocalhostGets": 16,
"realChrCalls": 0,
"normalMigrationCount": 39,
"explicitOwnedExternalInstallation": true,
"productionReady": false,
"runtimeDispatchIntegrated": false,
"limitations": [
"Genuine signatures/native localhost observations but synthetic operator/quiescence and actor grants; no production enrollment/physical uniqueness/clone fencing/native dispatch readiness",
"No automatic schema/bootstrap/key creation, external-provider rollback guarantee or production source catalog promotion is inferred from this fixture"
]
}
},
"v2": {
"exitCode": 0,
"log": "tmp/mcp-restored-review-v2-pg-20261028.log",
"sha256": "6f487261f937cced5e282fa492c825b754a53cda7f00b22c8ae8411b98993c03",
"evidence": {
"cases": 23,
"checks": [
"explicit non-superuser owner plus separate managed/external LOGIN roles: exact table ACLs, no core occupancy or foreign alias access",
"genuine localhost v1/v2 license GETs; independent PG sessions concurrently share original typed claim/node MAC issuer and advisory lock, yielding exactly one canonical node",
"resolve absent and serialized private observation never auto-enroll; typed software-only identity does not collapse with system/full vector",
"genuine Ed25519 signed core record and bootstrap v2 + owner-only key files authenticate configured source.open/keyedProof; actual managed/external registry transactions reuse existing canonical node with operational HMAC domains; signed v1 footprint and forged v2 pin refuse",
"actual configured v2 same-lease alias fence verifies two managed participants through BEGIN/SELECT/COMMIT, rejects changed original source pin without data mutation",
"actual reserve/arm/unknown core occupancy survives managed quarantine, external terminal retirement/replacement alias byte-for-byte; overlapping attempt remains refused",
"actual signed v2 mixed managed-source/external-destination fence uses genuine v2 observations on one physical PG lease: final marker only for valid distinct canonical participants, zero native DML",
"before real final peer marker: changed signed source pin, same-canonical aliases, terminal external alias and separately forged alias/event MACs refuse with zero marker sends and unchanged rows; valid replacement external alias shares occupied canonical node and cannot bypass actual unknown journal occupancy",
"ALWAYS reference guards reject absent node/alias under real replica mode; owner TRUNCATE, alias rebinding/reactivation and event deletion refuse without durable mutation",
"real PG extension and combined catalogs pass stable full digests; incoming FK disable, managed immutable-body replacement, extension column default, external guard disable and overprivileged role fail and restore exact pins; v1 catalog intentionally refuses extension; signed production pin remains open",
"real COMMIT persists enrollment and retirement before lost ACK/rows-only wrappers: Unknown/no automatic replay, one physical COMMIT, no rollback, durable event counts remain one/two during fresh reconciliation",
"original operator grant revoked after actual event INSERT and before final authority SELECT: real transaction rolls back, COMMIT is not sent; fresh genuine observation remains denied",
"actual authenticated same-lease armed row, two owners and reserve/arm event MACs; registry/canonical/owner locks exclude a rival, physical close releases locks without ledger mutation; unknown occupancy cannot send or clear",
"actual v2 peer host: revoked original fixture grant denies before credential fetch; independently changed exact address/VRF/zone mapping proof denies before any POST or ledger mutation",
"actual signed core/node v2 host resolves genuine managed source and external destination with distinct real managed credential provider, alias fence and reserve/arm/complete; exactly one localhost btest POST preserves literal body/address/duration3s, terminal releases both owners",
"actual native SQL producer excludes registry/canonical/owner-row rivals on one lease; physical backend and locks retire while response is held and both owners remain armed; 5.2-second response retains original native lifetime",
"actual dropped native response leaves unknown_busy with two owners and no replay; a genuinely enrolled different external alias of the same node cannot send another POST or alter existing unknown occupancy",
"genuine Ed25519 operator grant, native managed/external license GET and branded coordinator compose with configured signed-v2 node source and actual PostgreSQL registry factories to reuse one canonical node",
"deleted signed grant and revoked independent quiescence fixture reject genuine registration before credentials, source lease or registry SQL",
"real coordinator registration COMMIT persists exactly one enrollment before grant-file revocation: bridge returns Unknown with no automatic replay, and original capability cannot reopen credentials",
"actual writer composition: original Ed25519 grant before synthetic external Q; genuine localhost managed/external license GET and actual registries reuse the same UNKNOWN-occupied canonical with unchanged journal/owners",
"each operation uses one configured physical PID and session-exclusive 8723116 through credentials and registry COMMIT; rival native shared acquisition refuses, raw ownership checks avoid nested source checkout, final owner destroys",
"actual acknowledged COMMIT followed by grant withdrawal returns owner UNKNOWN without replay; revoked synthetic external stop rejects before configured lease and credentials; production stop issuer remains absent"
],
"actualLocalhostLicenseGets": 89,
"actualLocalhostBtestPosts": 2,
"actualCommitLosses": 2,
"rowsOnlyCommitAcks": 2,
"normalMigrationCount": 39,
"coreUnknownPairPreserved": true,
"realChrCalls": 0,
"productionWired": false,
"combinedSignedProductionPin": false,
"limitations": [
"Synthetic explicit operator/quiescence and issuer fixture only; no production enrollment, clone resistance, authenticated bandwidth endpoint mapping or caller activation claim",
"One runner-owned ephemeral localhost cluster; no remote DB/CHR; native evidence uses localhost license responder"
]
}
},
"peers": {
"exitCode": 0,
"log": "tmp/mcp-original-providers-peers-20261028.log",
"aggregatePassed": 130,
"mockedBoundaryPassed": 26,
"networkObservationPassed": 9,
"directObservationBeforeFibRegressionPassed": 7
},
"native": {
"exitCode": 0,
"log": "tmp/mcp-restored-review-native-20261028.log",
"passed": 57
},
"mcp": {
"exitCode": 0,
"log": "tmp/mcp-restored-review-full-mcp-20261028.log"
},
"build": {
"exitCode": 0,
"log": "tmp/mcp-component-final-build-20261028.log"
},
"types": {
"exitCode": 0,
"log": "tmp/mcp-component-final-types-20261028.log",
"includesSqlHelpersAndTests": true
},
"lint": {
"exitCode": 0,
"log": "tmp/mcp-restored-review-lint-20261028.log",
"followupLog": "tmp/mcp-restored-review-lint-followup-20261028.log",
"errors": 0,
"remainingWarningsInCheckedFiles": 0
},
"currentComponentsLint": {
"exitCode": 0,
"log": "tmp/mcp-component-final-lint-20261028.log",
"maxWarnings": 0
},
"restProvenanceAndProvider": {
"exitCode": 0,
"log": "tmp/mcp-original-providers-auth-regression-20261028.log",
"genuineFastifyAndJwt": true,
"sqlAndNativeProviderUnitStubsOnly": true,
"includesFullMcpRegression": true,
"bandwidthCallersActivated": false
},
"dockerStopComponent": {
"exitCode": 0,
"log": "tmp/mcp-docker-stop-component-20261028.log",
"passed": 22,
"syntheticHttpOnly": true,
"realDockerCalls": 0,
"operatingAcceptanceComplete": false,
"contract": "docs/bandwidth-operator-docker-stop.md"
},
"schedulerOrigin": {
"exitCode": 0,
"log": "tmp/mcp-scheduler-authority-component-20261028.log",
"passed": 20,
"actualAlsWithSyntheticScheduler": true,
"bandwidthCallersActivated": false
},
"directReaderChr": {
"exitCode": 0,
"evidence": {
"accepted": true,
"createdAt": "2026-10-28T09:01:56.530Z",
"routerMutations": 0,
"remoteExec": false,
"serverFileChanges": 0,
"credentialsReturned": false,
"claimsReturned": false,
"addressesReturned": false,
"productionMappingVerified": false,
"sourceAuthority": "synthetic-acceptance-fixture",
"productionSourceCatalogUsed": false,
"nativeDispatchAdmissible": false,
"fullRibRead": false,
"bandwidthPosts": 0,
"elapsedMs": 2500,
"checks": {
"fixedProductionReaderUsed": true,
"genuineManagedSource": true,
"genuineExternalRemote": true,
"sourceMainVrfObserved": true,
"sourceCurrentPolicyAllDisabled": true,
"actualOwnedRemoteAddressObserved": true,
"originalSourceExpiryPreserved": true,
"originalRemoteExpiryPreserved": true,
"sourceRibNotRead": true,
"remoteRibNotRead": true,
"basePairTwelveGets": true,
"dispatchAuthorityNotIssued": true
},
"discoveryGets": 4,
"discoveryScalarReads": 0,
"readerCatalogueGets": 8,
"readerLicenseGets": 4,
"readerEffectiveDefaultReads": 1,
"syntheticCanonicalIdsCreated": 0,
"realRegistryUsed": false,
"physicalUniquenessVerified": false,
"effectiveRoutingVerified": false,
"effectiveNatVerified": false,
"configurationFenceHeld": false,
"forwardingHandlersDrained": true,
"tunnelCounters": [
{
"forwardedGets": 10,
"forwardedScalarReads": 1,
"denied": 0,
"responseBytes": 5835,
"lastForwardedResource": "/system/license",
"lastForwardedMethod": "GET",
"routingTableMetadata": {
"status": 200,
"shape": "array",
"rowCount": 1,
"allRowsObjects": true,
"allIdsCanonical": true,
"mainRowCount": 1,
"mainFlags": {
"fib": {
"present": true,
"type": "string",
"value": "",
"recognized": false
},
"disabled": {
"present": false
},
"invalid": {
"present": true,
"type": "string",
"value": "false",
"recognized": true
},
"dynamic": {
"present": true,
"type": "string",
"value": "true",
"recognized": true
}
}
}
},
{
"forwardedGets": 6,
"forwardedScalarReads": 0,
"denied": 0,
"responseBytes": 5130,
"lastForwardedResource": "/system/license",
"lastForwardedMethod": "GET"
}
],
"pinnedSshOnly": true,
"helperExitCode": 0
},
"productionMappingVerified": false,
"configurationFenceHeld": false
},
"restOriginalSqlTcp": {
"exitCode": 0,
"log": "tmp/mcp-rest-speed-original-owned-pg-v2-20261028.log",
"sha256": "2c043fad6613dfab022bf54d1dab4d044e4687326af6d5e59fdb00adf41d3c4c",
"evidence": {
"checks": [
"actual signed JWT/Fastify request -> original provider -> real bounded metadata/credentials/probe SQL -> two actual localhost Basic-auth GETs; exact static-first body/address/interfaces/30s baseline; private cap cannot recapture",
"actual SQL/file changes after metadata await: key/generation/owner revocation/probe projection/disabled participant refuse before any native GET or credential payload transfer",
"real separate PG session rotates endpoint epoch at actual credential SELECT boundary; MATERIALIZED complete-pair gate returns zero credential rows and zero native GET",
"private capability retains original key/generation/epoch/probe/owner after capture; real subsequent changes refuse readOriginal without renewing intent or performing a native call",
"real Fastify TCP caller disconnect aborts original private request signal and closes a genuinely pending native HTTP GET socket; no second GET, POST, history or automatic replay"
],
"actualReadOnlyNativeGets": 3,
"actualNativePosts": 0,
"metadataQueries": 32,
"credentialQueries": 26,
"credentialPayloadRows": 48,
"actualSql": true,
"actualFastifyJwt": true,
"actualPendingTcpClosed": true,
"historyUnchanged": true,
"automaticReplay": false,
"realChrCalls": 0,
"runtimeCallerActivation": false
},
"wholeSpeedWorkflowVerified": false
},
"directReaderFibRegression": {
"exitCode": 0,
"log": "tmp/mcp-peer-direct-fib-final-20261028.log",
"passed": 8,
"measuredGetterRequired": true,
"blankFibNeverAssumedTrue": true
}
},
"sourceSha256": {
"backend/src/services/bandwidth-control-identity.ts": "901b321c8a69e7207f26a07d06962f448bf76797acf999657f5a3e0c2d7bb1e6",
"backend/src/services/bandwidth-control-registry-identity.ts": "1cc28368c4a5752c5da68a04ee271daa1e4b457bd48eae6d35995cf904950c6f",
"backend/src/services/bandwidth-control-source.ts": "b8ed2b2836b642220e7a05da1882d3b81250e205b5eeea0fda391623e699012d",
"backend/src/services/bandwidth-node-source.ts": "f78896067b55339d9339e68b93b4eb9018c61fd90d057d20109f51b2dddba55e",
"backend/src/services/bandwidth-node-registry.ts": "5c06378be71f8de95fa50074c8369d96466ff86400bc0aee54f9deb313bf6eeb",
"backend/src/services/bandwidth-external-node-registry.ts": "7580e40f590220438e1f31a80df7c882eb7cca1a89aae18fc56f4e6e95d1f455",
"backend/src/services/bandwidth-native-dispatch-source.ts": "70923a2f7ff06f785ec9761ad2f93b15e86cb3526cd348238521a8f5f878bdeb",
"backend/src/services/bandwidth-peer-execution-host.ts": "e2ae1c2d0177e1a2c69503348f5db761541ee9e9beeec7d8ad98a46a6a3884cd",
"backend/src/services/bandwidth-operator-writer-window.ts": "793c55083a61b5026b8f934c4cbb0eff15bde3f90662ee58573a3d52f00d0ca0",
"backend/src/services/bandwidth-operator-writer-composition.ts": "5657bb435bfd06e510b755fcf6dd7d4c004236e725526c53061913a046ac0fc6",
"backend/src/plugins/auth.ts": "956b995d501df0b9a926e24d9603f798571cf4bb2a0a334ed480116dd7f158be",
"backend/src/services/bandwidth-operator-docker-stop.ts": "f01f6933e27715051f417c9ce66ee33a90ca1885c7cfa395501f620415effe98",
"backend/src/services/bandwidth-rest-speed-original.ts": "5ce67983390d51db6ed559f6e1c3176d15e4767d2f82f2575951d368f3fed4fc",
"backend/src/services/scheduler-automatic-root.ts": "e40ac83684063f42006fbbd21a4f994bdfbc77a66dc4b3249d173be73163da57",
"backend/src/services/bandwidth-peer-direct-observation.ts": "1146023a2190b1ed4e3e6a2c7829f54e929d64e601f20fcf129fbd525c885cde",
"backend/src/services/bandwidth-rest-speed-original.sql-helper.ts": "297f44c11a01c000d86ea3c6d9e52e537787915ced02a0168e6f288535d711fc",
"backend/scripts/test-mcp-postgres.mjs": "9f8ac15fd911d03fbcba98ef13b313e7e7fcc7cc271aaefe1d28fb9b85712baf"
},
"changes": [
"One fixed MATERIALIZED core plus registry identity statement; both original strict validators retained",
"Fresh entry and exit file validation, latest genuine bootstrap and original actor checks; original five-second TTL unchanged",
"Bounded synchronous proof batches from one existing fresh key snapshot, with source and authority guards before and after",
"Native SQL owner/event authentication and shared registry/canonical/owner-row barriers held until actual ClientRequest finish",
"Native physical backend and locks released while response remains pending; 5.2-second response retains original native lifetime",
"Operator session-exclusive writer window on one configured PID through credentials and registry COMMIT; post-ACK revoke returns UNKNOWN without replay",
"Actual Fastify REST provenance fixes first deadline/signal, signed JWT claims and current revocation, and retires at response; no bandwidth callers activated"
],
"unchanged": [
"39 normal migrations",
"Original expiry and cancellation",
"Unknown occupancy and no automatic replay",
"No deployment or working database access"
],
"remaining": [
"S3-06: operating acceptance of Docker-only adapter on a prepared supported installation; SQL acceptance still uses an explicitly synthetic quiescence fixture",
"S3-07: production wire-address/VRF/zone/DNS/NAT mapping and operating writer fences",
"S3-08: original providers and mandatory integration of all caller families",
"S3-09: complete public REST/MCP speed workflow, pause, after-ping and history",
"S3-10: final compatibility/fault/restart/restore/UI and two-CHR acceptance",
"Other eight packages of the full MCP plan remain in the remaining-work register"
],
"productionActivated": false,
"realChrReadOnlyAcceptance": true,
"realChrMutations": 0
}