8.5 KiB
Independent limited-delivery code review
Reviewer: /root/v2_programmer. Date:26October2026.
Decision: ALLOW this exact site-specific limited-delivery pipeline. No blocking code defect found in the inspected revision. This approves the reviewed delivery implementation for the already approved bounded R3 payload; it does not assert that deployment has happened, that a native image has passed its future CI checks, or that full historical recovery is accepted.
Exact identities
- Delivery-code revision inspected:
f2494e8d1fb6c60380f78fdf40d56910d7d01b6c. - Actual master workflow SHA-256:
0ea44828d3182b18d06b4186870796ed4939ad219536471462daa92a88a9eb2f. - Frozen application source:
78274fbe09c0fd7d0b8d94830db1f31fa76b1db9. - Reviewed active app manifest:
fbd0d8316c235eda0819afc2f4f69a87dff29138208a3c13ed0016ade74f541d. - Reviewed export manifest:
4d998c25dd09d5b6d08e011e235fb7212568dcc60dd37da24a3194655de02e01. - The actual release packet has472files, archive size12361918bytes, decision
ALLOW_LIMITED_PUBLICATION, and deployment source pinned separately to the inspected delivery revision.
Read the entire actual workflow, wrapper/helper, Dockerfile, nginx configuration and Swarm stack, and the actual diff from the previous guarded helper revision. This was not an approval based on the owner's summary.
Actual file/line inspection and findings
| Inspected code | Assessment |
|---|---|
.gitea/workflows/master.yml:39–42 |
Full source history is fetched, so the frozen app revision and later delivery revision are available to the source-at-revision checks. |
:77–98 |
Ordinary npm type/test/build still runs. Its intermediate export is then replaced by release-artifact.py verify --restore --tree, with no prepare-only bypass. Restore validates archive/hash/membership into a fresh temporary directory before replacing only this project's out tree. The reviewed source/export identities populate image labels separately from the delivery commit. |
:99–124 |
Vendored verifier dependencies and real corrupt-raster behavior are checked. A job-owned bind(0) preview has bounded readiness and EXIT cleanup. The fresh limited-publication wrapper runs against the restored artifact. No PyPI transport dependency is reintroduced. |
:146–155 |
Image packaging requests linux/amd64, asserts image architecture, runs actual nginx -t, creates only a temporary verification container and pipes its public tree into the approval-requiring exact image-tar verifier before image push. set -euo pipefail propagates a failed copy/verifier; cleanup targets only the container ID created by this step. |
:157–166 |
Existing own-repository registry credentials publish the verified image. A repository digest is obtained after push and validated as @sha256:<64hex>; IMAGE is replaced by that digest for deployment. The delivery does not depend on mutable latest for its selected service image. |
:168–184 |
The existing authorized zz remote-Docker path and docker stack deploy --with-registry-auth -c deploy/stack.yml videoreg are used. No bootstrap, DNS mutation, global Traefik edit, global prune or unrelated stack operation is introduced. |
deploy/verify-published-corpus.py:7–15 |
First independently verifies all five actual approvals and the exact current tree. Removes an old report before invoking the checker, requires a newly created report, accepts only the checker's expected0/1 completion, rejects any technical errors and compares source/app/export identities. It explicitly prints fullHistoricalRestorationAccepted:false and retains the actual unresolved count/status. This is a separately defined bounded gate, not blind continue-on-error or a relabelled full-restoration PASS. |
deploy/release-artifact.py:7, :26–55 |
The new wrapper itself is included in the exact required deployment-source file set. Nonempty/unique app rows, complete unique delivery rows, exact Git/file hashes, five distinct real role records, per-role source/app/export scope and report hashes are mandatory. No publication step uses prepare-only. |
:57–101 |
Streaming tar processing permits regular files only, confines names, rejects duplicates/missing/extra/changed members and applies size limits. Archive SHA and canonical manifest ordering are retained. The same reviewed manifest verifies the image public tree, preventing unreviewed inherited files from entering delivery. |
Dockerfile:1–7 |
The base nginx public directory is removed inside this image before COPY, so inherited files such as50x.html cannot survive unnoticed. Only the frozen public output is copied; raw archives, evidence, Git credentials and the old server code are not published by this Dockerfile. |
deploy/nginx.conf:1–19, deploy/stack.yml:1–38 |
Static routes, exact legacy map and real404 remain unchanged. One replica/service on the existing external network, unique videoreg router/service, only apex/www of this domain, existing resolver, start-first update and rollback-on-health-failure. No public service port is added outside Traefik. |
The earlier automatic approval rejection was respected: no workflow edit was executed before the frozen artifact and five real decisions existed. This review concerns the subsequently accepted, concrete retry and exact code above; it is not an indirect workaround for that rejection.
Independent nonmutating verification actually performed
- Read all five actual role JSON records referenced by the real packet: programmer, content manager, creative director, designer and illustrator; each names a distinct real agent, ALLOW_LIMITED_PUBLICATION and the same R3 source/export. Hashes were then checked by the actual helper, not merely counted from filenames.
- Repeated
check-release-artifact.py: 24/24 temporary-fixture tests PASS after the wrapper was added to the deployment source set. Actual log:evidence/limited-delivery-fixtures.log. - Ran the real helper read-only, without restore or prepare-only:
python3 deploy/release-artifact.py verify \
--manifest docs/rebuild-v2/releases/current.json --tree web-front/out
It returned verified, exact R3 source/export,5role approvals and fullHistoricalRestorationAccepted:false.
- Independently ran the actual limited-publication wrapper against the already running local preview, writing a separate fresh report:
python3 deploy/verify-published-corpus.py \
--manifest docs/rebuild-v2/releases/current.json \
--base http://127.0.0.1:50541 \
--report docs/rebuild-v2/evidence/programmer-delivery-crawl.json
It returned exit0 for the bounded published-corpus gate. The underlying full report remained blocked-unresolved-inventory with258inventory entries/119unresolved, while checking35HTML,33content routes,131HTTP,1116local references,168fully decoded rasters and0technical errors. All source/app/export identities matched the real approved packet. Evidence was fresh, not a stale committed PASS file.
- Parsed all nine multiline Bash blocks independently with
bash -n; all passed. The two single-line npm steps bring the workflow's total run commands to eleven.
No app source, signed role report/approval, release payload, master merge, container image, registry, Swarm service, DNS or production state was mutated by this review. Native image build/push/deploy were not executed by this reviewer.
Actual remaining operational verification
The code submits a Swarm update; its last service-list command is not by itself proof that the selected digest is running or that trusted public TLS is ready. The owner must observe the actual rollout, selected task image/digest and health, verify public R3 health metadata and representative/unknown routes/download bytes, and test apex/www trusted TLS. Keep .10 open until that actual evidence exists, including rollback status if Swarm rejects the new task.
These are the already established runtime completion checks, not a new approval request or a reason to keep technically approved code in perpetual review. The selected new image must be the native amd64 digest produced and verified by this workflow, not the earlier ARM preparation image, the old V1 digest, or a separately rebuilt export relabelled as R3.
The full historical .1/.4/.7/.8 recovery work remains mandatory and open. This delivery ALLOW does not close those issues or the epic and does not claim the119missing historical targets were recovered. Publication is only the exact useful corpus approved by the five scoped decisions and now preserved through the inspected pipeline.