diff --git a/.beads/issues.jsonl b/.beads/issues.jsonl index f36fa78..1a0a7fa 100644 --- a/.beads/issues.jsonl +++ b/.beads/issues.jsonl @@ -1,6 +1,6 @@ {"_type":"issue","id":"videoreg-7oy.14","title":"Limited release verifier: reject incomplete source, delivery and role attestations","description":"Independent review of deploy/release-artifact.py with24 synthetic temporary-fixture tests found6 accepted invalid attestations: empty agent string, wrong role appSourceManifestSha256, empty appSourceFiles with hash([]), and empty/omitted/duplicated deploymentFiles. Existing tar safety, hash checks and PENDING publication refusal pass. No app/production/workflow mutations were performed; Git reads in tests are explicit fixture stubs.","design":"Keep the nondeploying verifier and existing separate app/delivery commits. Narrow compromise: require nonempty unique app source rows; exact unique DEPLOY_FILES coverage; bind every role app manifest to the candidate app hash; require nonempty string agent IDs. Preserve prepare-only for preparation, never publication. Do not edit rejected master workflow or deploy as a workaround.","acceptance_criteria":"All24 temporary-fixture tests pass, including six newly rejected cases. Actual pending release still refuses normal publication verification until five real same-artifact scoped decisions exist. Same reviewer reads the narrow helper diff and records exact fixture evidence. R3 payload and deployment remain unchanged by tests.","status":"closed","priority":1,"issue_type":"bug","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T16:44:10Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T16:47:47Z","closed_at":"2026-10-26T16:47:47Z","close_reason":"Same-reviewer final guard inspection after2676e47 and independent24/24temporaryfixturetests passed; initial6attestationgaps fixed. RealPENDINGpacketstillrefusesnormalpublicationverify. No workflow/production action; R3limitedpayloadapprovalseparate, deliverycodereviewstillrequired.","labels":["blocking","limited-release","role-programmer-expert"],"dependencies":[{"issue_id":"videoreg-7oy.14","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T19:44:10Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"videoreg-7oy.13","title":"Limited release content veto: disclose missing series frames and unavailable ZIP/AVI/software at point of use","description":"Independent content manager identifies concrete boundedrelease harm: fivepartialseries expose showallavailablecounts without originalseries gaps; GPS4salvagedJPEG/unavailablefullZIP notexplicit; oldfront/rearAVI andEXE/USB.BIN availabilityunclear. This is separatefromfullhistory119unresolved; fixreadercopywithactualcounts/evidence, nofabricatedfiles.","acceptance_criteria":"Fivepartialgallerypages discloseavailableX/originalY andnoncontinuity; GPS4completeJPEGs fromcorruptZIP/fullZIPunavailable; samples explicitmissingfrontrearAVI; downexplicitnoverifiedEXE/USB.BINdownloads. Samecontentreviewer verifiesexactnewbuild andapprovesonlyboundedpublication; fullrecoveryissuesstayopen.","status":"closed","priority":1,"issue_type":"bug","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T16:19:28Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T16:36:08Z","closed_at":"2026-10-26T16:36:08Z","close_reason":"Independent content reviewer verified exact R3 78274fbe09c0fd7d0b8d94830db1f31fa76b1db9/export4d998c25dd09d5b6d08e011e235fb7212568dcc60dd37da24a3194655de02e01: eight availability bodies and nine full-page pixels/HTTP pages read; five partial-series counts match source inventory; GPS partial ZIP, unavailable AVI and software explicit. ALLOW LIMITED PUBLICATION ONLY. Full historical recovery .1 remains mandatory open. Evidence docs/rebuild-v2/evidence/content-limited-release-r3.json.","dependencies":[{"issue_id":"videoreg-7oy.13","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T19:19:28Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} -{"_type":"issue","id":"videoreg-7oy.12","title":"Decide and verify bounded publication of the reviewed useful corpus, retaining full recovery blocks","description":"Coordinator explicitly requests separatefive-roledecision onboundedrelease ofexactreviewedR2corpus; fullhistoricalcompleteness cannotbeclaimed andmandatoryrecoveryissuesstayopen. Needconcretecandidate/reader-facingmissingfileclarity/true404s/no misleadingcurrentclaims. No forcePASS or globalinfrachange.","acceptance_criteria":"Allfivepreviousrolesnewlyassessactualartifactlimitedboundary; concreteharm/ambiguityfixedandsamereviewerverified; agreedreleaseinventory/hashrecorded. Fullrecovery.1/.4/.7/.8remainopen, exactsite-specificdeploy/local/publicidentity/TLScheckedifpublished, no existingpendingapprovalbypassed.","notes":"AllfiveSAMErolesfinalR3ALLOW: source78274fbe/appfbd0d831/export4d998c25, realJSON+reportSHApacketstrictverify5passed, content.13andverifier.14closed. Fullrecovery119/.1/.4/.7/.8OPENmandatory. Initialworkflowmutationauto-reviewrejectedbefore5; afterrealapprovals retryacceptedfeaturebranchpreparation ONLY. Deliverycode f2494e8 inprogrammerreview; no mastermerge/deployyet. Frozen472files12.36MB preservesexactreviewedpayload; actualruntime/TLS.10pending.\nIndependentprogrammerDELIVERYCODEreviewALLOW exactD f2494e8 (workflowSHA0ea44828...), scopedR3source782/appfbd/export4d998. Readentireworkflow/wrapper/helper/Docker/stack+diff;24/24fixtures,actualfullverify5roles andfreshboundedwrapper131HTTP0technical119unresolved independentlypassed. Report limited-delivery-pipeline.md, evidence limited-delivery-review.json/programmer-delivery-crawl.json. No merges/build/registry/productionmutations. Nativeimage/runtime/digest/TLSactualchecks .10stillrequired; nofullhistoryacceptance.","status":"in_progress","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T16:17:00Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T16:57:13Z","started_at":"2026-10-26T16:21:29Z","dependencies":[{"issue_id":"videoreg-7oy.12","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T19:16:59Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} +{"_type":"issue","id":"videoreg-7oy.12","title":"Decide and verify bounded publication of the reviewed useful corpus, retaining full recovery blocks","description":"Coordinator explicitly requests separatefive-roledecision onboundedrelease ofexactreviewedR2corpus; fullhistoricalcompleteness cannotbeclaimed andmandatoryrecoveryissuesstayopen. Needconcretecandidate/reader-facingmissingfileclarity/true404s/no misleadingcurrentclaims. No forcePASS or globalinfrachange.","acceptance_criteria":"Allfivepreviousrolesnewlyassessactualartifactlimitedboundary; concreteharm/ambiguityfixedandsamereviewerverified; agreedreleaseinventory/hashrecorded. Fullrecovery.1/.4/.7/.8remainopen, exactsite-specificdeploy/local/publicidentity/TLScheckedifpublished, no existingpendingapprovalbypassed.","notes":"AllfiveexactR3ALLOW+deliveryprogrammerALLOW; production1333actualRestore5andpublishedgatePASS but imagebuildDockerHubauthTLS timeout, Push/DeploySKIPPED. No servicechange. SeparatebasefixprogrammerALLOW: knownownregistry9b5immutablebase actualamd64nginx1.28.3, noONBUILD/Volumes, oldwebrootremoved; strictE3/amd64/nginx/digestgatesretained. Deliverysourcef3c197d usesownregistry only. Retryingexistingworkflowonce; full119/.1/.4/.7/.8OPEN.","status":"in_progress","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T16:17:00Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T17:07:53Z","started_at":"2026-10-26T16:21:29Z","dependencies":[{"issue_id":"videoreg-7oy.12","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T19:16:59Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"videoreg-7oy.11","title":"V2 CI verification: remove PyPI runtime dependency and reach complete crawl","description":"Actual publicGiteaUI run1321 job1519:types21testsbuild passed; pinnedPythondependencyinstall failed PyPIreadtimeout, completecrawl skipped. This is separate from intentional unresolvedinventoryfailure. ExistingpinnednpmSharpavailable; exactpurePythonparserlicenses canbevendored offline. No app/production changes.","acceptance_criteria":"Real CI reaches completecrawl with0technicalerrors, outputs actualbuildsource identity and expanded258inventory/119unresolved. Do not claim overallPASS or mask restorationblock. Offline parser andfullrasterdecode tested; source unchangedR2.","notes":"\nOfflineCI tooling implemented and locally verified: vendored36purePythonfiles withupstreamlicenses/SHAmanifest; Python-S/noPillow Sharp0.34.5 fullraw168rasters andpositive+corruptfixture pass; defaultPillow full168crosscheck pass;35HTML131HTTP0technicalerrors. sourceCommit derivedactualhealth4a0d828, repositoryHead separate44c5797, builtGit appmanifest==current72adae..., exportadb919... unchanged. Inventory258/119unresolved remainsBLOCKED. programmer-candidate.md offlineCIappendix and programmer-offline-deps.json. ActualGitearunnerrerun stillrequired; nofakeCIpass.","status":"closed","priority":1,"issue_type":"bug","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T16:03:29Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T16:14:30Z","closed_at":"2026-10-26T16:14:30Z","close_reason":"ActualGiteaUI run1324/job1523 sourcee8cef39 observed:offlinevendor36hashes+damagedPNGregression+preview2+mock4291+FULLcrawl executed131HTTP168rawrasters0technicalerrors119unresolved. PyPIremoved. OverallFailure intentionalrestorationgate119, no whole-sitePASS/deploy. Evidenceci/run1324.json.","dependencies":[{"issue_id":"videoreg-7oy.11","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T19:03:28Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"videoreg-7oy.10","title":"V2 public runtime: verify apex and www exact accepted build and trusted TLS","description":"Apex currently resolves77.91.88.137 with trustedTLS HTTP200 but still rejectedV1commit9b5b080. www resolves sameIP but curl60 certificate validation failure. V2 stack apex+www host rule prepared locally, notdeployed before mandatory review/recovery gates. Scope only videoreg service; no globalTraefik/DNS orACME massretry.","acceptance_criteria":"After acceptedV2publish viaexistingGitea/zz path, verify exactimmutableimage and healthcommit, complete representativeHTTPchecks, trustedTLSbothapex/www. Record evidence and keepopenotherwise.","status":"open","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T15:30:38Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T15:30:38Z","dependencies":[{"issue_id":"videoreg-7oy.10","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T18:30:38Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"videoreg-7oy.9","title":"V2 exact Semrush PDF lead: recover complete svk-002-mn.pdf and identify actual document type","description":"Actual Semrush anchor lead1backlink/1domain. OriginalURL http://videoreg.ru/download/svk-002-mn.pdf; CDX20090205154916. HTTP200download473313bytes is malformed:pdfinfo top-levelpagesnull/xref failure, no valid page count. Do not advertise as recovered or relabel anonymousUVR2CH manual. Try other exact original/www/apex dates or legitimate manufacturer duplicate; verify title/model/allpages, PDFstructure/noJavaScript andsourcehash. Keep exact lead unresolved if no complete verified file; fullrelatedmanuals4areseparate.","notes":"Recovered exact full PDF via short-date2009 replay:872857bytes curl0, pdfinfo3pages JSno, scanned pages100–102 read visually by root. Denis Kirin, Mobile News January2008 test, not manual. Immutable raw+render manifest evidence/svk002-review. Validated public copy queued; companion/content-manager review and HTTPsamehash pending before closure.","status":"closed","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T14:47:06Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T15:28:45Z","closed_at":"2026-10-26T15:28:45Z","close_reason":"Recovered full exact872857byte3page SVK002 MobileNewsJan2008 test; root+contentmanager read100–102pixels, authorattribution andusefulcompanionpublishedlocally. PDFnoJSvalid, HTTP200matchesfullsourceSHA; evidence/svk002-review/manifest.json + downloads-http.json. Earliercorrupt/truncatedcopiesnotpublic.","labels":["blocking","pdf","recovery","semrush"],"dependencies":[{"issue_id":"videoreg-7oy.9","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T17:47:05Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0} diff --git a/deploy/docker/Dockerfile.web b/deploy/docker/Dockerfile.web index 1a3f63f..125df76 100644 --- a/deploy/docker/Dockerfile.web +++ b/deploy/docker/Dockerfile.web @@ -7,8 +7,7 @@ COPY tsconfig.json vitest.config.ts ./ COPY web-front web-front COPY ingestion ingestion RUN npm run build -ARG BASE_IMAGE=nginx:1.28-alpine -FROM ${BASE_IMAGE} +FROM nginx:1.28-alpine RUN rm -rf /usr/share/nginx/html COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf COPY deploy/legacy-map.conf /etc/nginx/conf.d/00-videoreg-legacy.conf diff --git a/docs/rebuild-v2/evidence/ci/run1333-observed-ui.txt b/docs/rebuild-v2/evidence/ci/run1333-observed-ui.txt new file mode 100644 index 0000000..06f6757 --- /dev/null +++ b/docs/rebuild-v2/evidence/ci/run1333-observed-ui.txt @@ -0,0 +1,117 @@ +Explore +Help +Sign In +huncode +/ +videoreg.ru +Watch +1 +Star +0 +Fork +0 +Code +Issues +Pull Requests +Actions +Packages +Projects +Releases +Wiki +Activity +Back to workflow master +Record five exact R3 limited approvals and independently reviewed frozen delivery packet +#11 +Summary +All jobs +production +2m43s +Run Details +Workflow file +production + +Failure + +Set up job +31s +Checkout +28s +Setup Node for build +23s +Prepare deployment metadata +0s +Install dependencies +26s +Build static site +15s +Restore exact five-role reviewed limited export +0s +Verify published corpus without claiming complete history +3s +Verify static output +1s +Login to container registry +0s +Build static image +27s +1 +Run set -euo pipefail +11 +#0 building with "default" instance using docker driver +12 +13 +#1 [internal] load build definition from Dockerfile +14 +#1 transferring dockerfile: +15 +#1 transferring dockerfile: 414B 0.0s done +16 +#1 DONE 0.3s +17 +18 +#2 [internal] load metadata for docker.io/library/nginx:1.28-alpine +19 +#2 ERROR: failed to authorize: failed to fetch anonymous token: Get "https://auth.docker.io/token?scope=repository%3Alibrary%2Fnginx%3Apull&service=registry.docker.io": net/http: TLS handshake timeout +20 +------ +21 + > [internal] load metadata for docker.io/library/nginx:1.28-alpine: +22 +------ +23 +Dockerfile:1 +24 +-------------------- +25 + 1 | >>> FROM nginx:1.28-alpine +26 + 2 | RUN rm -rf /usr/share/nginx/html +27 + 3 | COPY ***/nginx.conf /etc/nginx/conf.d/default.conf +28 +-------------------- +29 +ERROR: failed to build: failed to run Build function: failed to fetch anonymous token: Get "https://auth.docker.io/token?scope=repository%3Alibrary%2Fnginx%3Apull&service=registry.docker.io": net/http: TLS handshake timeout +30 +Error: Process completed with exit code 1. +Push static image +0s +Configure remote Docker +0s +Deploy production stack +0s +Complete job +8s +Job summaries +production +Vitest Test Report +Summary +Test Files: ✅ 9 passes · 9 total +Test Results: ✅ 21 passes · 21 total +Powered by Gitea +Version: 28.2.0 +Page: 3ms Template: 0ms +Auto +English +Licenses +API diff --git a/docs/rebuild-v2/evidence/ci/run1333.json b/docs/rebuild-v2/evidence/ci/run1333.json new file mode 100644 index 0000000..f13a9e8 --- /dev/null +++ b/docs/rebuild-v2/evidence/ci/run1333.json @@ -0,0 +1,16 @@ +{ + "run": 1333, + "job": 1532, + "sourceCommit": "419520e44f2e9867114082fdf5ca871cbfdab252", + "observedAt": "2026-10-26T17:07:04.108182+00:00", + "status": "Failure", + "restoreFiveRoleFrozenExport": "success", + "publishedCorpusGate": "success", + "failureStep": "Build static image", + "reason": "auth.docker.io TLS handshake timeout beforebaseimagebuild", + "registryPush": "skipped", + "deployment": "skipped", + "productionChanged": false, + "evidence": "run1333-observed-ui.txt", + "remedy": "Separatelyprogrammerapproved exactknownownregistryamd64nginx1.28.3 base digest; maintainallgates" +} diff --git a/docs/rebuild-v2/evidence/delivery.json b/docs/rebuild-v2/evidence/delivery.json index 0b62d42..d6c09e7 100644 --- a/docs/rebuild-v2/evidence/delivery.json +++ b/docs/rebuild-v2/evidence/delivery.json @@ -25,5 +25,13 @@ "ciRetryEvidence": "ci/run1324.json", "ciBuildSourceCommit": "e8cef39175f293b36e3f7a89484b39c66552b7ef", "ciAppSourceSha256": "72adaeab317c83069c2ca92599940955372768776367da42b26ed0a7d521e822", - "ciExportSha256": "fd1ca9499c8ad1291dbd5240877ae2b4a868a5ebbacf7456696d57cbca7716df" + "ciExportSha256": "fd1ca9499c8ad1291dbd5240877ae2b4a868a5ebbacf7456696d57cbca7716df", + "limitedReleaseAppSource": "78274fbe09c0fd7d0b8d94830db1f31fa76b1db9", + "limitedReleaseExportSha256": "4d998c25dd09d5b6d08e011e235fb7212568dcc60dd37da24a3194655de02e01", + "deliveryCodeCommit": "f2494e8d1fb6c60380f78fdf40d56910d7d01b6c", + "productionTriggerCommit": "419520e44f2e9867114082fdf5ca871cbfdab252", + "masterFastForward": "056f1a6..419520e", + "fiveLimitedApprovalsVerified": true, + "productionStage": "awaiting actual Gitea production job and Swarm/runtime verification", + "fullHistoricalRestorationAccepted": false } diff --git a/docs/rebuild-v2/evidence/known-registry-nginx-base.json b/docs/rebuild-v2/evidence/known-registry-nginx-base.json new file mode 100644 index 0000000..3d0fad7 --- /dev/null +++ b/docs/rebuild-v2/evidence/known-registry-nginx-base.json @@ -0,0 +1,59 @@ +{ + "checkedAt": "2026-10-26T17:05:18.862991+00:00", + "image": "git.pryanik.synology.me/huncode/videoreg.ru:9b5b080e6019@sha256:2fb63f2666d7c57643328aae1e76cdc5c3e498f704e007a7c57f2fecb033053e", + "checks": [ + { + "command": [ + "ssh", + "-o", + "BatchMode=yes", + "-o", + "ConnectTimeout=10", + "zz", + "docker image inspect 'git.pryanik.synology.me/huncode/videoreg.ru:9b5b080e6019@sha256:2fb63f2666d7c57643328aae1e76cdc5c3e498f704e007a7c57f2fecb033053e' --format '{{.Architecture}} {{.Os}} {{.Id}}'" + ], + "returncode": 0, + "stdout": "amd64 linux sha256:2fb63f2666d7c57643328aae1e76cdc5c3e498f704e007a7c57f2fecb033053e\n", + "stderr": "" + }, + { + "command": [ + "ssh", + "-o", + "BatchMode=yes", + "-o", + "ConnectTimeout=10", + "zz", + "docker run --rm --entrypoint nginx 'git.pryanik.synology.me/huncode/videoreg.ru:9b5b080e6019@sha256:2fb63f2666d7c57643328aae1e76cdc5c3e498f704e007a7c57f2fecb033053e' -v" + ], + "returncode": 0, + "stdout": "", + "stderr": "nginx version: nginx/1.28.3\n" + }, + { + "command": [ + "git", + "show", + "9b5b080e6019770438dc04af4eaf67d1f8035617:Dockerfile" + ], + "returncode": 0, + "stdout": "FROM nginx:1.28-alpine\nCOPY deploy/nginx.conf /etc/nginx/conf.d/default.conf\nCOPY web-front/out/ /usr/share/nginx/html/\nEXPOSE 8080\nHEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 CMD wget -qO- http://127.0.0.1:8080/health/ready >/dev/null || exit 1\n", + "stderr": "" + } + ], + "purpose": "Read cached existing own released staticbase; no service/router change", + "selectedImageConfig": { + "Architecture": "amd64", + "Entrypoint": [ + "/docker-entrypoint.sh" + ], + "Cmd": [ + "nginx", + "-g", + "daemon off;" + ], + "User": "", + "OnBuild": null, + "Volumes": null + } +} diff --git a/docs/rebuild-v2/releases/current.json b/docs/rebuild-v2/releases/current.json index dabb21a..d265636 100644 --- a/docs/rebuild-v2/releases/current.json +++ b/docs/rebuild-v2/releases/current.json @@ -79,11 +79,11 @@ "sha256": "f8abfddb2682146976ca33dcf2c9d3bad1baf29f2f7e90de242fefa25de5540c" } ], - "deploymentSourceCommit": "f2494e8d1fb6c60380f78fdf40d56910d7d01b6c", + "deploymentSourceCommit": "f3c197d76f3b6d424d9f43caa3fa72cd757d4a75", "deploymentFiles": [ { "path": "Dockerfile", - "sha256": "95f1b037a7a401375b53d5f0dacf6ff9f3ececf0c3984d5d0312eb0e6f6af117" + "sha256": "c63d04d76f507e21beed1bbf5427e062deee4518f9b30ac3c0edf271dd0e7bd5" }, { "path": "deploy/nginx.conf", @@ -119,7 +119,7 @@ }, { "path": ".gitea/workflows/master.yml", - "sha256": "0ea44828d3182b18d06b4186870796ed4939ad219536471462daa92a88a9eb2f" + "sha256": "28c8e59540b291f6dafaf17c593161c62310a3588876d42395acf875c7c7b772" } ], "exportManifestSha256": "4d998c25dd09d5b6d08e011e235fb7212568dcc60dd37da24a3194655de02e01", @@ -2517,5 +2517,11 @@ "agent": "/root/v2_programmer", "path": "docs/rebuild-v2/reviews/limited-delivery-pipeline.md", "sha256": "44a86542c4dc31d4a9fb01c6ea13a30ff5ff9446844fa01107d247a2e7d7cff1" + }, + "baseDeliveryReview": { + "agent": "/root/v2_programmer", + "decision": "ALLOW", + "path": "docs/rebuild-v2/reviews/limited-delivery-base-fix.md", + "sha256": "f381c6c3e0152f1a7be9a08593931f985e06d3240ad68d3e356de3d79f1f4d54" } } diff --git a/docs/rebuild-v2/reviews/limited-delivery-base-fix.md b/docs/rebuild-v2/reviews/limited-delivery-base-fix.md new file mode 100644 index 0000000..dca1809 --- /dev/null +++ b/docs/rebuild-v2/reviews/limited-delivery-base-fix.md @@ -0,0 +1,31 @@ +# Independent review: immutable registry base fix + +Decision: **ALLOW** the proposed narrow delivery-only change. Reviewed 2026-10-26. This authorizes the described implementation within the already approved limited-release pipeline; it does not assert that the changed pipeline has already built or deployed successfully. + +Use `ARG BASE_IMAGE=nginx:1.28-alpine` followed by `FROM ${BASE_IMAGE}` in Dockerfile, with CI explicitly passing exactly `git.pryanik.synology.me/huncode/videoreg.ru:9b5b080e6019@sha256:2fb63f2666d7c57643328aae1e76cdc5c3e498f704e007a7c57f2fecb033053e`. Preserve `--pull --platform linux/amd64` and all existing verification steps. No floating registry tag substitute is covered by this decision. + +## Inspected evidence and effect + +I independently read `git show 9b5b080e6019:Dockerfile`: its five lines start from nginx:1.28-alpine, copy only default.conf and the static public tree, expose8080, and define the same ready healthcheck. It contains no application executable, custom entrypoint, ONBUILD, user, or volume directive. I also read that revision's complete nginx.conf and the current replacement. Current Dockerfile lines2–5 delete the entire inherited public tree, overwrite default.conf, install the generated legacy map, and copy the frozen reviewed export. Thus the old V1 pages and default50x cannot remain in the served tree. The lower image layers still contain old bytes, but they are not exposed by the nginx root and do not become part of the reviewed public export. + +`docs/rebuild-v2/evidence/known-registry-nginx-base.json`, checked at17:05:18UTC, records successful actual zz inspection of this exact reference: linux/amd64; actual `nginx -v` reports nginx/1.28.3. `pre-limited-production-readonly.json` separately records the service using the same exact digest and apex health identifying source9b5b080e6019770438dc04af4eaf67d1f8035617. This is stronger evidence than a tag name alone. I read these captured results; I did not perform a new registry pull or production container operation. + +The coordinator reports actual CI1333/job1532 passed frozen five-role restore and the full published technical gate, then failed obtaining DockerHub metadata with TLS handshake timeout; push/deploy were skipped. Switching the base fetch to the already authenticated existing registry addresses that specific network dependency. It needs no new credentials, mirror, daemon settings, or service changes. A pinned own image is reproducible at the selected runtime version; retrying the floating upstream tag can instead resolve a different upstream image. + +## Required unchanged delivery guarantees + +The previous exact delivery-code review applies to the unchanged stages. In the currently inspected workflow, lines150–155 retain native amd64 build/assertion, real nginx configuration validation, and exact image-public-tree verification against all472 frozen files before push. Lines161–166 push and resolve the new resulting image digest for Swarm. The new final image must have its own resulting digest; the old base digest is only the FROM input, never the replacement service image. + +`deploy/release-artifact.py:33–42` checks the exact ten deployment files against both working hashes and the separately named deployment source revision. Therefore the Dockerfile/workflow change must be committed as a new delivery revision D, and the release manifest regenerated with those actual file hashes and D. Do not suppress this check or leave the prior f2494e8 deployment identity in place. The five immutable payload approvals remain valid because their app source, app manifest and export remain exactly: + +- Source C:78274fbe09c0fd7d0b8d94830db1f31fa76b1db9. +- App manifest:fbd0d8316c235eda0819afc2f4f69a87dff29138208a3c13ed0016ade74f541d. +- Export:4d998c25dd09d5b6d08e011e235fb7212568dcc60dd37da24a3194655de02e01. + +Retain the fresh complete technical crawl, the explicit119unresolved/full-history-blocked result, five exact report/hash guards, archive/tree guards, immutable resulting digest deployment, and isolation to the videoreg stack. A base change is not permission to relabel a rebuilt Next export as the reviewed frozen bytes. + +## Tradeoff and actual completion + +This intentionally inherits the already released nginx1.28.3 runtime rather than obtaining a newer upstream patch through the failing network path. It also retains lower-layer V1 static bytes and increases image history size; those bytes were public already, and the mandatory root deletion plus exact tree check prevents their accidental publication. Normal runtime patch maintenance can later update the base with its own verification. No concrete new publication harm warrants blocking this bounded fix. + +No production or application mutation was performed by this reviewer. The fix still needs its actual CI build/push result and selected-digest rollout/runtime/TLS evidence under `.10`. Full historical recovery `.1/.4/.7/.8` remains mandatory and open; this decision accepts only the already scoped useful corpus.