Files
MikrotikManager/docs/mcp-bandwidth-node-registry-acceptance-20261026.json
T

175 lines
9.8 KiB
JSON

{
"stage": "Persistent canonical node registry SQL host and read-only genuine CHR observation",
"date": "2026-10-26",
"fullPlanComplete": false,
"canonicalRegistryComponentAccepted": true,
"productionWired": false,
"productionEnrollmentReady": false,
"normalMigrationCount": 39,
"normalMigrationManifestChanged": false,
"automaticProvisioning": false,
"defaultPoolOrKeySupplied": false,
"namespace": "mmapp_control",
"tables": [
"bandwidth_node_authority",
"bandwidth_nodes",
"bandwidth_node_aliases",
"bandwidth_node_events"
],
"sqlGuards": {
"newFixedInvokerFunctions": 5,
"alwaysTriggers": 10,
"coreTruncateHelperReused": true,
"noPublicServerOrEpochFk": true,
"nodeClaimAndUuidImmutable": true,
"aliasesHaveImmutableIncarnation": true,
"terminalAliasesNeverReactivate": true,
"eventChain": "exactly one enroll plus zero/one matching terminal event",
"nodeUpdatePrivilegeAdded": false
},
"host": {
"methods": [
"register(genuineObservation,scope)",
"resolve(genuineObservation,scope)",
"retire(serverId,tombstone|quarantine,scope)"
],
"callerCannotChooseNodeUuid": true,
"noAutoEnrollOnResolve": true,
"genuineObservationInspectorCaptured": true,
"originalAuthorityVerifierReceivesFrozenNativeEvidence": true,
"freshAuthorityIsLastAsyncCheckBeforeSql": true,
"requiresActualBeginAndCommitCommands": true,
"physicalCommitUncertaintyNeverRetries": true,
"existingRegistrationReceiptIsNotNativeCapability": true,
"boundedWallAndOriginalMonotonicBudgetMs": 10000,
"originalAuthorityAndObservationExpiryNeverExtend": true,
"hmacDomains": [
"claim",
"node",
"alias",
"event"
],
"separateStableIssuerKeyRequired": true,
"canonicalKeyIndependentOfAddressCredentialsEpochOrMcpGeneration": true
},
"sqlAcceptance": {
"cases": 18,
"checks": [
"actual restricted LOGIN registry role: precise registry DML, no node/authority UPDATE, no DELETE, no core access or elevated flags",
"missing external authority refuses without bootstrap/seed; owner explicitly installs synthetic quiescence/installation/separate issuer key record",
"two genuine native aliases share one random canonical UUID with distinct incarnations; existing registration is a receipt; resolve/serialized observation never auto-enroll",
"fixed original grant receives deeply frozen genuine inspected claims/source as fourth argument and denies different approved intent before any PG checkout; credentials/endpoint remain private",
"typed claim kinds/full vectors never collapse; native claim drift cannot mint a replacement key; credentials/endpoint epoch drift with same observed claims preserves the canonical UUID",
"actual core reserve/arm/unknown quarantine survives alias tombstone/quarantine/new alias and SQL app-server DELETE byte-for-byte; replacement alias cannot evade unknown occupancy",
"two independent bounded PG clients/host instances start behind a real BEGIN barrier and concurrently enroll same native claim as exactly one node/two incarnations",
"real register and retirement COMMITs lose ACK only AFTER server completion: durable rows persist, calls refuse, fresh host returns existing receipt without reactivation/native capability",
"actual COMMIT succeeds but wrapper drops command and returns rows-only: host refuses the ACK; durable enrollment survives and fresh registration only reads existing receipt with no second node/event",
"owned structurally valid INSERT fixtures with individually forged prior node/alias/event MACs refuse genuine-observation resolve/register with exact data unchanged; no trigger disabling or immutable UPDATE",
"real pre-COMMIT genuine-inspect wrapper revokes original write grant: final authorize runs after inspection, no subsequent physical SQL/COMMIT and no committed node/alias/event",
"normal-role terminal reactivation and missing terminal event fail; actual owner replica-mode node/alias/event/TRUNCATE mutations refuse, ten ALWAYS guards and exact data preserved",
"fixed original grant write denial, authority epoch drift between guards and stale genuine source endpoint epoch all refuse without registry mutation",
"stalled original authorizer is bounded; late success after deadline never checks out PG or commits a registry row",
"original authority expires during private claim proof; replacing grant expiry and resolving late proof cannot resume old SQL/COMMIT",
"actual relation-lock/deadline destroys bounded runtime backend; unlock cannot produce late node/alias/event COMMIT",
"actual original grant expires while host-only wall clock rewinds 60 seconds during deferred private proof: real monotonic timer rejects, backend disappears, late proof sends no SQL/COMMIT and exact registry data stays unchanged",
"actual public-only dump/shared transactional restore replaces observable application row while exact seven control tables, canonical aliases and unknown core occupancy survive"
],
"actualLocalhostLicenseGets": 37,
"realCommitAckLosses": 2,
"droppedCommitCommands": 1,
"normalMigrationCount": 39,
"externalIssuerFixtureOnly": true,
"restrictedRegistryRole": true,
"coreUnknownPairPreserved": true,
"realChrCalls": 0,
"productionWired": false,
"limitations": [
"Synthetic explicit operator/quiescence authority and localhost license identities only; no genuine production enrollment readiness, physical uniqueness, clone resistance or dispatch wiring",
"No cross-process registry test; concurrency uses two real backend sessions/host instances"
]
},
"realChrReadonlyAcceptance": {
"checkedAt": "2026-10-25T22:08:55.435Z",
"accepted": true,
"routerHosts": [
"194.226.121.150",
"104.165.244.7"
],
"viaPinnedSshHostForFirst": "161.104.46.222",
"secondUsesDirectHttp": true,
"fixedPath": "GET /system/license",
"confirmedChrReplies": 2,
"elapsedMs": 1125,
"claimKinds": [
[
"system-id"
],
[
"system-id"
]
],
"claimVectorsEqual": false,
"claimValuesReturned": false,
"credentialsReturned": false,
"routerMutations": 0,
"serverFileMutations": 0,
"serverCommandsExecuted": 0,
"canonicalNodeIdsCreated": 0,
"testSourceOnly": true,
"productionSourceCatalogUsed": false,
"physicalUniquenessVerified": false,
"cloneResistanceVerified": false
},
"review": {
"freshAuthorityAfterAsyncInspectionGapFixed": true,
"commitRowsOnlyAcknowledgementTrapFixed": true,
"unnecessaryNodeRowLockPrivilegeRemoved": true,
"returnedRowIdentitiesExplicitlyMatched": true
},
"validation": {
"typesExitCode": 0,
"lintExitCode": 0,
"backendBuildExitCode": 0,
"runnerSyntaxExitCode": 0,
"diffCheckExitCode": 0
},
"remaining": [
"Operational registry key/source/catalog/role assembly and actual original human enrollment/quiescence authority",
"Final Linux source-issuer positive/fault acceptance after pending explicit remote payload permission",
"Capacity/terminal retention with no automatic unknown release",
"Mandatory common native gate across all eight caller kinds",
"Complete public speed workflow with original native semantics, pause/pings/history/error and public runtime parity",
"Broader DB source rollback/clone/writer gates, routing controller, remaining collectors and full UI/network acceptance"
],
"externalApproval": {
"linuxBundleTransferAndRuntimeLaunchPending": true,
"remoteRunnerFileCreationRejected": true,
"noBundleOrRuntimeUploaded": true,
"noRemoteSqlOrRuntimeProcessesStarted": true,
"readonlySshTcpForwardingNotARemoteCodeExecution": true
},
"deployed": false,
"productionDatabaseChanged": false,
"committed": false,
"pushed": false,
"sha256": {
"backend/src/services/bandwidth-node-registry.ts": "353fbab05dcff25b5b93d2fb43ae50bbc42a0ee331e0d07365d01af11825d245",
"backend/src/services/bandwidth-node-registry-schema.ts": "0bfdd29d1921e8619fe62974568e02c0884186169843e427076732e165ea4561",
"backend/src/services/bandwidth-node-registry.sql.test.ts": "d6d1bd8ff208dd1878fd55867d4327404e5329681658d014f738d06b716e7a17",
"backend/src/services/bandwidth-node-observation.ts": "5af6d306a6b0d40b3b9fa46a357d29d7a35161bb5b196987015224adfbbc88f3",
"backend/src/services/bandwidth-admission-schema.ts": "70345b9ac44432b32d8b78fcf0fccc2c5757dd0663923be913c51fed13e4328b",
"backend/src/services/bandwidth-admission-storage.ts": "b7b8c0537550df49cc02fbf68f60cbfcbe4d19594d7d4fe66b9219ac80242ae1",
"backend/scripts/test-mcp-postgres.mjs": "64215d09838e1681c766d37679ea782d6b1da5a03eeeaf877b5cf245e7733677",
"backend/package.json": "bc0603217299ed6b11cc4c9a7c78bf92aa858af3ae44fc4107190969a6634ca0",
"tmp/bandwidth-node-registry-sql-final.log": "65fc072671dafa0162cab4a20ea653ccfd4915d852f25f6834ae3485958c1d3e",
"tmp/bandwidth-node-registry-all-types-final.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"tmp/bandwidth-node-registry-lint-final.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"tmp/bandwidth-node-registry-build-final.log": "4f26b355b57fa516cf22f7286ea65b24c6b8d066f666278b5e704f5aa528e2d3",
"tmp/bandwidth-node-chr-readonly-v2-result.json": "200768122d829696eec16ddb67561960a7616ec2c53f78f534d90b0394824664",
"tmp/bandwidth-node-chr-tunnel-readonly-v2-result.json": "3e343dc017c93d14a587ca15436667c7df4e65e50275b9f68249e95b21b3d7c6",
"tmp/bandwidth-node-chr-tunnel-readonly.mts": "2e8dfa4e6e86eb52a0442d4f720f47edecffbb18a405b6a1f2b27e97fc8b62b5",
"tmp/bandwidth-node-chr-tunnel-readonly.py": "24234ade53cfa2ea4bbf8f69ed2bd0a1421571cc50e491c9ae4b8151b57677be",
"tmp/test-server-known-hosts": "c6ca709ca0b0e498e5cfe5ec211f3570009faf60bc4ab3bf172372842f70d2c9"
}
}