Files
MikrotikManager/docs/mcp-restore-audit-source-applied-20261103.json
T

106 lines
5.4 KiB
JSON

{
"date": "2026-11-03",
"status": "source-applied-genuine-owned-pg-http-accepted",
"patchSha256": "9d48461012aad8874f4438459c15d43f81b0ffb3b44035ac615a3f1c8bc27034",
"files": [
{
"path": "backend/package.json",
"preimageSha256": "57fdf0f736348948560516ee6d8a90c04d6560680b5d269a1b60617b6ecda9f6",
"candidateSha256": "3171f6b046de630fa6edd0b7cf555594d3b746bbca059a80e7e09bc91c6247d5",
"appliedSha256": "3171f6b046de630fa6edd0b7cf555594d3b746bbca059a80e7e09bc91c6247d5",
"normalizedLfEquivalent": true
},
{
"path": "backend/src/db/bootstrap.ts",
"preimageSha256": "3df7b060aa5d91b12bde822734688a26d5b3a18f2d6ace490aa805ac0a1018c0",
"candidateSha256": "ce2f7337dca5ead87e981b07ad20a12b9063d4c4d849e5172bea98d43ca9a6c3",
"appliedSha256": "ce2f7337dca5ead87e981b07ad20a12b9063d4c4d849e5172bea98d43ca9a6c3",
"normalizedLfEquivalent": true
},
{
"path": "backend/src/modules/mcp/database-restore.ts",
"preimageSha256": "30863f664d18980bd3d1c262e2241b851c24b3f3cc3291aa84df538dcaf9604f",
"candidateSha256": "eb353c105cf22403d779dc4ce0e3bd9183ba991cfb9dce8f66e8f39ffaf629c7",
"appliedSha256": "ab657d9d045c1c679dae204b2c1ef654a30f674dfd4f53a7c7e74877a79c57e6",
"normalizedLfEquivalent": true
},
{
"path": "backend/src/routes/mcp.ts",
"preimageSha256": "c5720b7cd5c3c5d1bfe0bb46d5aebc14893823d7cf66adb9550e2289a682091f",
"candidateSha256": "e4ce52af68b8d5f4632968298f3940528fe1d771ddc5cdae67d36a9bd9590304",
"appliedSha256": "22e2ae3fa952e1bc03050af406c5e79b90b6596c3864fa81efa9c6ea5d705f71",
"normalizedLfEquivalent": true
},
{
"path": "backend/src/services/database-maintenance-startup.ts",
"preimageSha256": "bfa812186d33a9b413fcf7e6e640102d4277055c23b623a9e2ebfd26a06c2122",
"candidateSha256": "ca0d5fa98e8ca570fc54b2e256023233fe02e4667356b41df3bd93b452def9c7",
"appliedSha256": "ca0d5fa98e8ca570fc54b2e256023233fe02e4667356b41df3bd93b452def9c7",
"normalizedLfEquivalent": true
},
{
"path": "backend/src/services/database-maintenance-startup.test.ts",
"preimageSha256": "a3782316a470bd09f1e65bb445f3250c07e5a9cff5ebc150da3a4375baffa0da",
"candidateSha256": "091c6ade22b4102f3ca700d75e068c63c24b5f59594c6b4b6f4147c8014ad376",
"appliedSha256": "091c6ade22b4102f3ca700d75e068c63c24b5f59594c6b4b6f4147c8014ad376",
"normalizedLfEquivalent": true
},
{
"path": "backend/src/services/database-restore-audit.ts",
"preimageSha256": null,
"candidateSha256": "6e10e1ebdf31faa5f2a0db4808c81d4639523da83e4893c44d8fa10c6bfbea05",
"appliedSha256": "6e10e1ebdf31faa5f2a0db4808c81d4639523da83e4893c44d8fa10c6bfbea05",
"normalizedLfEquivalent": true
},
{
"path": "backend/src/services/database-restore-audit.test.ts",
"preimageSha256": null,
"candidateSha256": "c0ac242c9981300209309af67c780f5866ad88a5ebdb35ac99e8311efe9c2169",
"appliedSha256": "c0ac242c9981300209309af67c780f5866ad88a5ebdb35ac99e8311efe9c2169",
"normalizedLfEquivalent": true
}
],
"additionalControlPlaneInventory": "backend/mcp-coverage.json",
"behavior": {
"liveRestore": "After fsynced applied receipt, shared idempotent importer runs outside restore relabeling catch. Audit failures never turn confirmed restore into unknown.",
"startup": "Strict external guard before SQL; audit reconciliation after migrations and optional legacy import before business startup.",
"legacyActor": "Separate recovered event by database-maintenance-reconciler, exact receipt SHA, no invented original actor.",
"inspection": "Human settings-admin read-only audit-status route; not a model business tool.",
"lostCommit": "Destroy uncertain owner; next attempt reads existing evidence before insert. No restore replay.",
"retention": "Preserve original finishedAt and configured retention; expired audit not resurrected."
},
"verification": {
"installedSystemDatabaseProfileExitCode": 0,
"backendBuildExitCode": 0,
"restCoverageExitCode": 0,
"coverage": {
"mediated": 200,
"excluded": 63,
"pending": 0
},
"startupAndAuditSelectedPassed": 26,
"startupAndAuditSelectedSkipped": 1,
"skipReason": "Host denied owned hardlink fixture",
"actualFreshProcessFilesystemChecks": true,
"sqlModelOnlyForImporter": false,
"genuinePgAccepted": true,
"genuinePgReport": "docs/mcp-restore-audit-genuine-acceptance-20261103.json"
},
"failedOwnedPg": {
"firstRunBeforeFirstCompletedCase": true,
"setupCauseEstablished": false,
"importerBehaviorAccepted": false,
"retirementSource": "tmp/mcp-restore-audit-owned-pg-20261103/failed-run-retirement.json",
"retirementSourceSha256": "aeec6e14e339f3331738cc85d7f2134301663aad728d56d0cdfa802d60489dc8",
"nativeProcessesAndChildrenRetired": true,
"portFree": true,
"exactPartialDirectoryRemoved": true,
"workingDbOrRemoteTouched": false,
"nextStep": "Review a new bounded Windows-native runner and phase/SQLSTATE diagnostics before another isolated run."
},
"openOriginalLifecycleGap": "Historical unknown/unconfirmed remains blocking after a later explicit successful restore. A human resolution workflow with known-current proof is still required; old outcomes must not be relabeled or ignored.",
"fullDbDirectionComplete": false,
"publishedImageUpdated": false,
"deployed": false
}