Gate site-specific limited release on five exact approvals and verified frozen export bytes

This commit is contained in:
huncode committed 2026-10-26 19:50:48 +03:00
1 parent 2676e474a1
commit f2494e8d1f
4 files changed
+72 -4

No files matched your search

+3 -2
View File
@@ -1,12 +1,13 @@
{"_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":"ConcreteR2boundedproposal undernew5same-roledecisions. Contentfindingnotinfinitecorpusstop:5partialseries point-of-use counts/GPS4corruptZIP/missingAVI/EXEexplicit. Roottargeted8typedpages+about+health fixinprogress; contentblockseparatechild. Recovery119stillmandatoryopen, notepicPASS. ExactR3artifacttobereviewedbeforeanysite-specificpublish.\nNEW programmer limited-release boundary decision: ALLOW exactreviewedR2source4a0d828/app72adae/exportadb919 useful33routes; nofullrecoveryPASS. Actualunknown138/topic196/malformed/account andmissingGPSZIP/AVI404; all9PDFZIPexactbytes/ZIPCRCcleanPDFonly. See programmer-limited-release.md and programmer-limited-release.json. Content.13andruntime.10 stillpending; R3notimplicitlycovered. Preferredconcretepipeline frozenreviewedexporttar+strictmanifest inGit, existingGitea nativeamd64 image withbasehtmlcleanup+exactimagepublictree+sameDigestSwarm; oldARMimage andCIexportfd1notinterchangeable. Fullcorpus119unresolved .1/.4/.7/.8remainmandatoryOPEN/BLOCKED.","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:28:50Z","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":"ConcreteR2boundedproposal undernew5same-roledecisions. Contentfindingnotinfinitecorpusstop:5partialseries point-of-use counts/GPS4corruptZIP/missingAVI/EXEexplicit. Roottargeted8typedpages+about+health fixinprogress; contentblockseparatechild. Recovery119stillmandatoryopen, notepicPASS. ExactR3artifacttobereviewedbeforeanysite-specificpublish.\nNEW programmer limited-release boundary decision: ALLOW exactreviewedR2source4a0d828/app72adae/exportadb919 useful33routes; nofullrecoveryPASS. Actualunknown138/topic196/malformed/account andmissingGPSZIP/AVI404; all9PDFZIPexactbytes/ZIPCRCcleanPDFonly. See programmer-limited-release.md and programmer-limited-release.json. Content.13andruntime.10 stillpending; R3notimplicitlycovered. Preferredconcretepipeline frozenreviewedexporttar+strictmanifest inGit, existingGitea nativeamd64 image withbasehtmlcleanup+exactimagepublictree+sameDigestSwarm; oldARMimage andCIexportfd1notinterchangeable. Fullcorpus119unresolved .1/.4/.7/.8remainmandatoryOPEN/BLOCKED.\nProgrammerR3actualscopedALLOW saved releases/approvals/programmer_expert-r3.json withreportSHA; source78274fb/appfbd0d8/export4d998c independentlymatched; everychangedarticlebody/About/healthread. Standaloneverifier6gaps fixed,24/24safe fixturesPASS,.14closed; pendingpacketnormalverifyrefused. Masterunchangedafterautoreviewrejection. Separateactualdeliveryworkflowcodereview/nativeimage/publicruntime conditionsremain; nofullhistoryPASS.","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:47:49Z","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}
{"_type":"issue","id":"videoreg-7oy.8","title":"V2 restoration blocker: recover unresolved historic bodies and important media","description":"Full CDX yielded883HTMLcaptures,121HTML URLkeys,259resource URLkeys;25realHTMLbodies fetched after all distinct pre/post2015 snapshots and www/apexvariants. Known inventory170normalizedURLs includes59unresolved content leads plus1partial listing, and important installation/examplevideo media remain unavailable. Keep explicit unresolved coverage rather than modern substitutes. Some HTTP200media invalid: directSVK002PDF structurally corrupt; only2ZIP-contained manuals valid. Continue linked-source/alternatearchive and mandatorySemrush work. Acceptance: each meaningful URL reconciled to real edited body, evidenced equivalent, genuine spam/commercial exclusion, or concrete external blocker; missing mandatory recovery not optional followup or PASS.","notes":"Expandedknowninventory258/nonexcluded158:119unresolved =99baseline +20newSemrush epoch/fragment/encoded/malformedleads. ActualR2app/exportunchanged,5rolesapprovedscopedsubsetonly. Primaryresources63missing/invalid,25sampleframesmissing,1partialZIPremain. Nextprioritybatch3actualtargets tried,0newvalidatedbodies; no bulkretry/no429. Notoptional/complete.","status":"open","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T13:59:42Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T16:05:13Z","labels":["archive","blocking","restoration"],"dependencies":[{"issue_id":"videoreg-7oy.8","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T16:59:41Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7oy.7","title":"V2 required: reconcile Noxtools Semrush backlink targets with complete videoreg inventory","description":"Direct user requirement: root coordinator inspects Semrush in shared in-app Noxtools session sequentially. Prepare lost URL/title/questions under docs/rebuild-v2/semrush. Consume actual root exports site-restoration-status/semrush-recovery/videoreg.ru, individually assess target URLs/anchors/referring contexts, add legitimate new paths to inventory and fetch real bodies/snapshots. Backlinks are leads only, not recovered text or source truth. No invented Semrush results; no takeover of shared browser. Acceptance: actual provided export scope documented, each legitimate new target reconciled/restored or explicit unresolved blocker, full editorial/outbound gate repeated.","notes":"All83actualobservedIndexedPageURLs now reconciled inexactorder;17metadataonly,89reported/6unseen. Inventory238→258 adds20unresolvedtargets;32exactURLvariants epochunknown notassumedBloxspam. Per83 dispositions/sha andbounded3target7requestrecoverybatch saved. topic196CDX[], product138archive404wrappers,ZIPtransportfailure;0newbodies,0HTTP429. Anchors3/52 LostVital6/18stillpartial. FullSemrush/recoverymandatoryopen.","status":"in_progress","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T13:49:39Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T16:05:12Z","started_at":"2026-10-26T14:35:25Z","labels":["blocking","recovery","semrush"],"dependencies":[{"issue_id":"videoreg-7oy.7","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T16:49:39Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7oy.6","title":"V2 illustrator veto: replace generic hero with inspected technical diagrams in recovered SVK pages","description":"Actual V1 pixels inspected: home-1440.png, home-360.png, guides-choose-360.png under docs/rebuild-v2/evidence/designer-initial. Hero depicts a generic camera and provides no explanation of recovered original SVK design. Recovered auto20070228153116 full cp1251 body describes one/two USB cameras, SVK recorder, FLASH media and Windows viewing; distinct road/guard modes. Existing article has no explanatory visuals or actual integrated V2 candidate proof. This blocks V2 illustration acceptance.","design":"Options: retain decorative camera; use only low-resolution archived photographs; add precise mobile-first explanatory diagrams alongside selected recovered photographs. Chosen compromise: two original SVG diagrams for signal chain and relative road/guard capture cadence, with model-specific context and no invented wiring instructions or rate claims. Root integrates these only where the body discusses them; metadata remains internal.","acceptance_criteria":"Open both actual SVG renderings and inspect their exact integrated candidate pages at narrow and wide widths; verify legible labels, crop/layout, alt text, intrinsic size/load, no external references, subject consistency with auto snapshot; record URL, screenshot paths and candidate source/build hash. No final PASS before integrated pixels are viewed.","notes":"R2 same-reviewer verification completed for exactsource4a0d828ef070d305bea57d6a5d16d612fc16a0e2 app72adaeab317c83069c2ca92599940955372768776367da42b26ed0a7d521e822 exportadb919f431cb965359d7297194dbec7115c19dc8f0ddbe8340f303a2f1531603. Opened all7changed actual R2 screenshots plus5nativegallery crops. Rehashed68ss+18appsourcefiles;61R1pixel-identical,182publicassetblobs unchanged, all3SVG/CSS/articleJSON/figuregallerysourceunchanged. No new illustration defect; .6 stays scopedclosed. FinalR2evidence illustrator-final-r2/verdict.json +delta-manifest.json and appended illustrator-candidate.md. Whole-site/corpus acceptance explicitly NOT granted; mandatory unresolved99corpus remains separate.","status":"closed","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T13:20:47Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T15:45:58Z","started_at":"2026-10-26T13:22:20Z","closed_at":"2026-10-26T15:33:30Z","close_reason":"Same illustrator verified exactcandidate integrated diagrams/photos at360/1440, alt/ratios/load and gallery6→30 actualframes. Subject-specific illustration finding resolved; whole-site/corpus acceptance remains blocked separately.","labels":["blocking","role-illustrator","v2"],"dependencies":[{"issue_id":"videoreg-7oy.6","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T16:20:47Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7oy.5","title":"V2 creative veto: replace generic shopping journey with coherent SVK technical library","description":"Independent V2 audit opened all six baseline layouts at narrow and wide widths using actual captured pixels in docs/rebuild-v2/evidence/designer-initial and fetched live baseline pages at50541. Homepage still leads with generic dashcam buying slogan, four modern paragraph guides, unrelated 2026 seller catalog and decorative camera; recovered auto20070228153116 is specifically SVK/VR-001 ≤5fps USB-camera+FLASH hardware with operating modes and installation examples. Thus subject, visual language and user journey do not match recovered corpus. Process/date/provenance badges and the seller-catalog block compete with reader needs. No substantive library/article/media templates exist for actual historical content; old auto redirect is semantically wrong.","design":"Options: keep modern generic landing and append archive links; mimic obsolete commercial brochure; or use a technical-library editorial direction. Chosen compromise: technical library with a compact factual hardware visual, distinct paths for identifying the recorder, modes/FAQ, installation examples and reading recorded files; recovered product facts remain historically scoped, modern practice/tool pages subordinate and clearly applicable. Retain useful material, remove sales CTAs/process decoration. Typography and diagram/photo use must serve long technical articles rather than repeated empty cover cards.","acceptance_criteria":"Review exact V2 candidate homepage, listings/search, long/short recovered pages, table/image-heavy templates, tool and404 at360 and1440 with independently opened screenshots bound to build hash. Homepage/navigation and related links must expose recovered SVK corpus with coherent journeys; images clarify actual subject; no misleading current shop posture or repetitive production-process badges. Calculator must state applicability to stream bitrate and not imply that SVK JPEG/frame recording has the same input model unless actual frame-size mode is implemented. No final PASS until corpus/editorial/visual gaps are actually resolved.","notes":"R2 exactsource4a0d828, appSHA72adaeab, exportadb919f. Independent view28R1pixels,7newR2pixels; actual-byte comparison25/28reviewedviewsidentical,3changedreviewedviewsallreopened.14liveHTTPpageschecked. Historical technical-library direction/modelscoping/subjectvisuals/JPEGvsstream journey resolved. Genuine R1home formula ambiguity fixed with explicit full denominator+reserve and actually viewed360/1440+source/liveHTML. Report docs/rebuild-v2/reviews/creative-candidate.md and creative-r1/r2evidence. Close onlycreative-direction veto; overall corpus99+Semrush mandatoryblocks remain open, no site/publication PASS.","status":"closed","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T13:20:14Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T15:39:34Z","started_at":"2026-10-26T13:21:28Z","closed_at":"2026-10-26T15:39:34Z","close_reason":"Same creative reviewer verified exact R2 library direction, meaningful imagery, scoped models/JPEGtool and corrected homepage formula; role-specific veto resolved. Mandatory unresolved corpus/Semrush and overall publication remain blocked separately.","labels":["blocking","role-creative-director","v2"],"dependencies":[{"issue_id":"videoreg-7oy.5","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T16:20:13Z","created_by":"E.Gavrilov","metadata":"{}"}],"comments":[{"id":"01a17904-98d3-7138-b7f9-88e224c36378","issue_id":"videoreg-7oy.5","author":"E.Gavrilov","text":"New bounded-publication decision (not full-restoration PASS): ALLOW exact reviewed28-material library source4a0d828/app72adae/exportadb919, after independent18/18active-sourcehash match and live point-of-use body/link checks on home/library/about/documents/demo/samples/GPS/catalog/manuals/journal/tool plus3real404 paths. Actual doc actions checked PDF200; no fabricated lost-software/AVI/ZIP offer or full-history/current-sale guarantee found. New report docs/rebuild-v2/reviews/creative-limited-release.md; evidence creative-limited-release/point-of-use.json. Prior full visual review remains only hash-proven unchanged evidence. Full .1/.4/.7/.8 recovery and .10 runtime/TLS blocks remain mandatory; other role decisions and real pending conditions not waived.","created_at":"2026-10-26T16:21:47Z"}],"dependency_count":0,"dependent_count":0,"comment_count":1}
{"_type":"issue","id":"videoreg-7oy.5","title":"V2 creative veto: replace generic shopping journey with coherent SVK technical library","description":"Independent V2 audit opened all six baseline layouts at narrow and wide widths using actual captured pixels in docs/rebuild-v2/evidence/designer-initial and fetched live baseline pages at50541. Homepage still leads with generic dashcam buying slogan, four modern paragraph guides, unrelated 2026 seller catalog and decorative camera; recovered auto20070228153116 is specifically SVK/VR-001 ≤5fps USB-camera+FLASH hardware with operating modes and installation examples. Thus subject, visual language and user journey do not match recovered corpus. Process/date/provenance badges and the seller-catalog block compete with reader needs. No substantive library/article/media templates exist for actual historical content; old auto redirect is semantically wrong.","design":"Options: keep modern generic landing and append archive links; mimic obsolete commercial brochure; or use a technical-library editorial direction. Chosen compromise: technical library with a compact factual hardware visual, distinct paths for identifying the recorder, modes/FAQ, installation examples and reading recorded files; recovered product facts remain historically scoped, modern practice/tool pages subordinate and clearly applicable. Retain useful material, remove sales CTAs/process decoration. Typography and diagram/photo use must serve long technical articles rather than repeated empty cover cards.","acceptance_criteria":"Review exact V2 candidate homepage, listings/search, long/short recovered pages, table/image-heavy templates, tool and404 at360 and1440 with independently opened screenshots bound to build hash. Homepage/navigation and related links must expose recovered SVK corpus with coherent journeys; images clarify actual subject; no misleading current shop posture or repetitive production-process badges. Calculator must state applicability to stream bitrate and not imply that SVK JPEG/frame recording has the same input model unless actual frame-size mode is implemented. No final PASS until corpus/editorial/visual gaps are actually resolved.","notes":"R2 exactsource4a0d828, appSHA72adaeab, exportadb919f. Independent view28R1pixels,7newR2pixels; actual-byte comparison25/28reviewedviewsidentical,3changedreviewedviewsallreopened.14liveHTTPpageschecked. Historical technical-library direction/modelscoping/subjectvisuals/JPEGvsstream journey resolved. Genuine R1home formula ambiguity fixed with explicit full denominator+reserve and actually viewed360/1440+source/liveHTML. Report docs/rebuild-v2/reviews/creative-candidate.md and creative-r1/r2evidence. Close onlycreative-direction veto; overall corpus99+Semrush mandatoryblocks remain open, no site/publication PASS.","status":"closed","priority":1,"issue_type":"task","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T13:20:14Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T15:39:34Z","started_at":"2026-10-26T13:21:28Z","closed_at":"2026-10-26T15:39:34Z","close_reason":"Same creative reviewer verified exact R2 library direction, meaningful imagery, scoped models/JPEGtool and corrected homepage formula; role-specific veto resolved. Mandatory unresolved corpus/Semrush and overall publication remain blocked separately.","labels":["blocking","role-creative-director","v2"],"dependencies":[{"issue_id":"videoreg-7oy.5","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T16:20:13Z","created_by":"E.Gavrilov","metadata":"{}"}],"comments":[{"id":"01a17904-98d3-7138-b7f9-88e224c36378","issue_id":"videoreg-7oy.5","author":"E.Gavrilov","text":"New bounded-publication decision (not full-restoration PASS): ALLOW exact reviewed28-material library source4a0d828/app72adae/exportadb919, after independent18/18active-sourcehash match and live point-of-use body/link checks on home/library/about/documents/demo/samples/GPS/catalog/manuals/journal/tool plus3real404 paths. Actual doc actions checked PDF200; no fabricated lost-software/AVI/ZIP offer or full-history/current-sale guarantee found. New report docs/rebuild-v2/reviews/creative-limited-release.md; evidence creative-limited-release/point-of-use.json. Prior full visual review remains only hash-proven unchanged evidence. Full .1/.4/.7/.8 recovery and .10 runtime/TLS blocks remain mandatory; other role decisions and real pending conditions not waived.","created_at":"2026-10-26T16:21:47Z"},{"id":"01a17919-fb34-7b90-8c0d-41d8a2d8a4bb","issue_id":"videoreg-7oy.5","author":"E.Gavrilov","text":"Final R3 bounded creative decision: ALLOW_LIMITED_PUBLICATION only source 78274fbe09c0fd7d0b8d94830db1f31fa76b1db9 / export 4d998c25dd09d5b6d08e011e235fb7212568dcc60dd37da24a3194655de02e01. Independently opened24fullpage R3 views, fetched12actual bodies and matched18/18source hashes. Five partial series, GPS4/corruptZIP, unavailableAVI/EXE/USB.BIN and selectedscope now explicit at use. RepLine truncated
{"_type":"issue","id":"videoreg-7oy.4","title":"V2 programmer veto: replace sampled smoke with complete corpus and outbound verification","description":"Baseline056f1a6 deploy/smoke-static.py15 hardcodes ten URLs;27-34 parses only this seed set and fetches extra links without recursive parsing;12-14 ignores external and absolute same-origin URLs, srcset/action/CSS/script contexts. No archive URL inventory is consumed, no body/hash/duplicate or outbound-ledger gate exists. nginx.conf11 and serve-local.py14-15 redirect historic /auto.shtml to new generic choose although docs/provenance.json12-21 explicitly records no recovered body. Thus prior25/25 cannot substantiate corpus restoration or equivalent legacy routing.","design":"Options: keep sampled smoke as endpoint health only; or introduce complete exported-site+inventory reconciliation with a distinct evaluated outbound ledger and clear known failure reports. Chosen compromise proposed: retain useful small health smoke but name it narrowly; add deterministic complete crawler driven by output manifest and discovered URLs, reconcile every historical URL and audit each external occurrence. Publish no equivalence redirect without source evidence; unresolved bodies remain mandatory blockers.","acceptance_criteria":"For exact V2 source/build hash, enumerate complete generated HTML set and discovered meaningful archive URLs; recursively check all internal links/fragments/assets including new pages; reconcile every inventory item to restored/equivalent/explicit-exclusion/unresolved, never count unresolved as recovered. Extract href/src/srcset/action, CSS url and script destinations from source/build/DOM and match each external occurrence to reviewed keep/remove reason. Report missing/thin/duplicate/error bodies and real404. Test legacy destination substantive equivalence or keep unresolved without false redirect. Independent programmer review reads code/diff and re-runs resulting checks; unresolved archive corpus blocks full V2 acceptance.","notes":"Exact independent review source d0fd706, app manifest bd8027c94de4dd943fcbd5f42dd2f907746b2ac63d3d9174401859180b3aff24 and export4c1c42a4465165e33e947fdf595804d63d4735aefb5f6aba2f419118d143d1dd matched owner. Complete checker now implemented and independently repeated:35HTML33content130HTTP1116refs168raster15external occurrences,0technicalerrors,all28typedarticlesexported.238inventoryitems still99unresolved: restoration remains mandatoryBLOCKED; not relabelled follow-up. Exactreport docs/rebuild-v2/reviews/programmer-candidate.md and independent evidence programmer-built-crawl.json. No final V2PASS.\nR2 same-reviewer delta audit: actualdiff d0fd706..4a0d828 read; formula includesreserve+cams, fullbodysearch includescode+linklabels. Independent R2crawl exactappSHA72adaeab... andexportadb919f4... matched:35HTML130HTTP1116refs168rasters0errors99unresolved. See programmer-candidate.md R2appendix and programmer-built-crawl-r2.json. .4 remainsBLOCKED mandatorycorpus; noV2PASS.\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.\nNEW programmer limited-release boundary decision: ALLOW exactreviewedR2source4a0d828/app72adae/exportadb919 useful33routes; nofullrecoveryPASS. Actualunknown138/topic196/malformed/account andmissingGPSZIP/AVI404; all9PDFZIPexactbytes/ZIPCRCcleanPDFonly. See programmer-limited-release.md and programmer-limited-release.json. Content.13andruntime.10 stillpending; R3notimplicitlycovered. Preferredconcretepipeline frozenreviewedexporttar+strictmanifest inGit, existingGitea nativeamd64 image withbasehtmlcleanup+exactimagepublictree+sameDigestSwarm; oldARMimage andCIexportfd1notinterchangeable. Fullcorpus119unresolved .1/.4/.7/.8remainmandatoryOPEN/BLOCKED.","status":"blocked","priority":1,"issue_type":"bug","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T13:15:48Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T16:28:51Z","started_at":"2026-10-26T13:27:19Z","labels":["blocking","role-programmer-expert","v2"],"dependencies":[{"issue_id":"videoreg-7oy.4","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T16:15:47Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"videoreg-7oy.3","title":"V2 designer veto: usable reference layouts and recoverable missing-page state","description":"Independent live V1 review at 127.0.0.1:65390, base056f1a6, build tree f8c9d6ff616f4e56abf5485fc6beec334011a58b9605b6e81aeb9e30c64d9f60. Opened12 actual pixels across home, choose/save articles, catalog,calculator,404 at360/1440. On catalog360 five cards repeat the same narrow dark generic image rail and consume3125px without a useful comparison view; values are buried behind per-card details and titles break into many lines. Local404 is an unstyled English Python error with no route back into content. V1 articles have only paragraph sections, no actual long/list/table/diagram template evidence; landing four-card list has no library/search result or zero-results state. Process badges NEW MATERIAL and repeated2026 provenance boilerplate occupy article/footer UI. V1 sign-offs superseded; V2 design acceptance remains blocked.","design":"Chosen compromise updated after independently reading recovered auto-20070228153116.html Windows1251 introduction/installation sections: historical technical СВК/VR-001 library, structured device/application/FAQ/documentation index, source-specific camera-recorder-storage and mode diagrams, full article layouts, useful search and Russian recoverable404. Avoid modern marketplace/tall repeated placeholder rails and process boilerplate. Unknown restored corpus not accepted. Old manufacturer sales/support must not imply current active service.","acceptance_criteria":"Provide exact V2 candidate source/build identity. Same reviewer inspects actual home, library/search positive+negative, every distinct long/short/table/image article template, tool and localized404 at360and1440; opens pixels, verifies no clipping or horizontal body overflow, keyboard focus/skip link, data table/diagram handling and article/findability journeys. Catalog if retained must expose useful comparable facts without decorative repeated tall rails;400/404 states must preserve HTTP semantics and provide navigation. No production-process badges or repetitive archival disclaimer copy in ordinary article UI. Review source/body inventory; corpus unknown/unrecovered cannot be accepted as restored. Report actual URLs/screenshots opened and verdict.","notes":"Initial V2 designer audit is docs/rebuild-v2/reviews/designer-initial.md. Opened all12 narrow/wide pixels plus calculator recheck; exact build manifest saved. Blocking layout/findability/404/process-copy findings; no V2 PASS.\nFresh V2 candidate designer audit: docs/rebuild-v2/reviews/designer-candidate.md. Exact source d0fd7068bbdf6f810f3ff39c649a0464177a8642, source manifest bd8027c94de4dd943fcbd5f42dd2f907746b2ac63d3d9174401859180b3aff24, export4c1c42a4465165e33e947fdf595804d63d4735aefb5f6aba2f419118d143d1dd. Actually opened36 pixels:30 candidate images of15 distinct routes at360/1440 plus6 independent search/table/gallery states. Read CSS, actual article/table/code/gallery/search source. Independently tested GPS15/zero0/reset28 both widths, skip focus/target, keyboard table scroll0to40 and gallery6to30. Concrete layout/findability/404/process-copy veto resolved. Scope explicitly excludes whole-site PASS:99 corpus entries unresolved; .8/.1/.7 and production parity remain mandatory blockers, not optional follow-up.\nR2 same-role designer delta re-review appended to designer-candidate.md. Exactsource4a0d828ef070d305bea57d6a5d16d612fc16a0e2 appSHA72adaeab317c83069c2ca92599940955372768776367da42b26ed0a7d521e822 exportadb919f431cb965359d7297194dbec7115c19dc8f0ddbe8340f303a2f1531603. Opened all7 changed R2 pixels: home360/1440, stx/evening/day/rain/roundabout360. Formula with reserve and camera count readable both widths, galleries fit. Actual2-file diff read, allsource/screenshot hashes match; R2 functional report15pass reviewed as owner evidence. No material design regression; scoped issue remains closed;99 unresolved recovery entries still block whole-site V2.\nOriginal veto author /root/v2_designer independently completed R2 same-reviewer verification; docs/rebuild-v2/reviews/designer-original-reviewer-final.md. Exact source4a0d828ef070d305bea57d6a5d16d612fc16a0e2 sourceManifest72adaeab317c83069c2ca92599940955372768776367da42b26ed0a7d521e822 exportadb919f431cb965359d7297194dbec7115c19dc8f0ddbe8340f303a2f1531603. Actually opened30 R2 full-page screenshots15URLs×360/1440 plus5 independently captured search/empty/table-right images; verified18 source files and68 screenshot hashes, independently recomputed both manifest hashes. Own live checks: GPS15/empty0/reset28 both widths, keyboard reset, focused table ArrowRight scroll, code322px/body360, gallery30, skip-link, true Russian404. All four original concrete design findings resolved for recovered subset, .3 may remain scoped closed. Whole-site restoration remains BLOCKED by99 unresolved inventory entries and mandatory Semrush/content/runtime gates; no broadPASS or deploymeLine truncated
{"_type":"issue","id":"videoreg-7oy.2","title":"V2 programmer veto: prevent local preview traversal outside exported site","description":"At baseline056f1a6, deploy/serve-local.py18-20 builds target=OUT/path then reads arbitrary is_file under /health/ without resolve containment. Independently reproduced curl --path-as-is /health/../../../AGENTS.md on127.0.0.1:65390: HTTP200 application/json,3793bytes exactly equal project AGENTS.md; no secret files requested. This is real local file disclosure from preview and must block candidate acceptance.","design":"Options: remove direct health branch and serve through a safe rooted handler; or normalize URL/decode once, reject traversal and require resolved paths remain inside OUT including symlink resolution. Chosen compromise proposed: explicit rooted static handler, fail closed for traversal and unknown health routes; preserve normal generated health JSON behavior and GET/POST404 parity.","acceptance_criteria":"Independent repeat confirms raw dot-segment, percent-encoded dot/slash, absolute-path and symlink traversal cannot read outside OUT; normal /health/live and /health/ready200JSON; known content/assets200; unknown/API GET+POST404. Add meaningful regression checks against safe sentinel outside export, not sensitive files. Reinspect exact V2 code/build and live PID.","notes":"Initial report saved docs/rebuild-v2/reviews/programmer-initial.md. Owner added containment after actual .html selection; ordinary current source inspection confirms final-selection check now present at27-33, directory listing disabled. Safe earlier evidence retained; per owner no further sensitive probes or exploit exploration. Exact V2 candidate, regression evidence and normal HTTP/source review still required; do not treat current V1 output as V2PASS.","status":"closed","priority":1,"issue_type":"bug","owner":"gavrilovdev@yandex-team.ru","created_at":"2026-10-26T13:14:44Z","created_by":"E.Gavrilov","updated_at":"2026-10-26T15:25:45Z","started_at":"2026-10-26T13:16:38Z","closed_at":"2026-10-26T15:25:45Z","close_reason":"Exact-candidate review d0fd706: inspected final resolve_public selected-file containment, safe temporary-fixture check-preview2/2 independently passed (ordinary path/root, raw+encoded dot segments and direct/extensionless outside symlink fixture). Normal live HTTP full crawl130 checks passed, HEAD200/API GET+POST404/unknown404. Candidate export containment scan rejected no outside-root files. Initial disclosure fixed for reviewed candidate; full V2 acceptance remains blocked by .4 corpus99 unresolved.","labels":["blocking","role-programmer-expert","v2"],"dependencies":[{"issue_id":"videoreg-7oy.2","depends_on_id":"videoreg-7oy","type":"parent-child","created_at":"2026-10-26T16:14:44Z","created_by":"E.Gavrilov","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
+53 -1
View File
@@ -38,6 +38,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node for build
uses: actions/setup-node@v4
@@ -81,6 +83,46 @@ jobs:
COMMIT_SHA: ${{ github.sha }}
run: npm run ci:quality
- name: Restore exact five-role reviewed limited export
shell: bash
run: |
set -euo pipefail
manifest=docs/rebuild-v2/releases/current.json
test -f "$manifest"
python3 deploy/release-artifact.py verify --manifest "$manifest" --restore --tree web-front/out
python3 - <<'PYIDENTITY' >> "$GITHUB_ENV"
import json
data = json.load(open('docs/rebuild-v2/releases/current.json'))
print('REVIEWED_SOURCE_COMMIT=' + data['sourceCommit'])
print('REVIEWED_EXPORT_SHA=' + data['exportManifestSha256'])
PYIDENTITY
- name: Verify published corpus without claiming complete history
shell: bash
run: |
set -euo pipefail
python3 -S scripts/rebuild-v2/verify-vendor.py
node scripts/rebuild-v2/check-raster-sharp.mjs
python3 deploy/serve-local.py > "${RUNNER_TEMP}/videoreg-limited-preview.log" 2>&1 &
preview_pid=$!
trap 'kill "$preview_pid" 2>/dev/null || true' EXIT
base=$(python3 - "$preview_pid" <<'PYREADY'
import json, pathlib, sys, time, urllib.request
for attempt in range(50):
try:
state = json.loads(pathlib.Path('.local-run/server.json').read_text())
if state['pid'] == int(sys.argv[1]):
with urllib.request.urlopen(state['url'] + '/health/ready', timeout=1) as response:
if response.status == 200:
print(state['url']); break
except (OSError, ValueError, KeyError):
pass
time.sleep(0.1)
else:
raise SystemExit('Reviewed preview did not become ready')
PYREADY
)
python3 deploy/verify-published-corpus.py --manifest docs/rebuild-v2/releases/current.json --base "$base" --report "${RUNNER_TEMP}/videoreg-limited-fresh-crawl.json"
- name: Verify static output
shell: bash
run: |
@@ -103,7 +145,14 @@ jobs:
- name: Build static image
shell: bash
run: docker build --pull --tag "${IMAGE}" .
run: |
set -euo pipefail
docker build --pull --platform linux/amd64 --label "org.opencontainers.image.revision=${REVIEWED_SOURCE_COMMIT}" --label "me.videoreg.export-sha256=${REVIEWED_EXPORT_SHA}" --label "me.videoreg.delivery-commit=${GITHUB_SHA}" --label "me.videoreg.scope=reviewed-corpus-only" --tag "${IMAGE}" .
test "$(docker image inspect "$IMAGE" --format '{{.Architecture}}')" = amd64
docker run --rm --entrypoint nginx "$IMAGE" -t
cid=$(docker create "$IMAGE")
trap 'docker rm -f "$cid" >/dev/null 2>&1 || true' EXIT
docker cp "$cid:/usr/share/nginx/html/." - | python3 deploy/release-artifact.py image-tar --manifest docs/rebuild-v2/releases/current.json
- name: Push static image
shell: bash
@@ -112,6 +161,9 @@ jobs:
docker push "${IMAGE}"
docker tag "${IMAGE}" "${IMAGE_REPO}:latest"
docker push "${IMAGE_REPO}:latest"
digest=$(docker image inspect "$IMAGE" --format '{{index .RepoDigests 0}}')
[[ "$digest" =~ @sha256:[a-f0-9]{64}$ ]]
echo "IMAGE=$digest" >> "$GITHUB_ENV"
- name: Configure remote Docker
shell: bash
+1 -1
View File
@@ -4,7 +4,7 @@ from pathlib import Path,PurePosixPath
import argparse,gzip,hashlib,json,os,re,shutil,subprocess,sys,tarfile,tempfile
ROOT=Path(__file__).resolve().parents[1]
ROLES={'designer','creative_director','content_manager','illustrator','programmer_expert'}
DEPLOY_FILES=['Dockerfile','deploy/nginx.conf','deploy/legacy-map.conf','deploy/legacy-matchers.json','deploy/legacy-routes.json','deploy/serve-local.py','deploy/stack.yml','deploy/release-artifact.py','.gitea/workflows/master.yml']
DEPLOY_FILES=['Dockerfile','deploy/nginx.conf','deploy/legacy-map.conf','deploy/legacy-matchers.json','deploy/legacy-routes.json','deploy/serve-local.py','deploy/stack.yml','deploy/release-artifact.py','deploy/verify-published-corpus.py','.gitea/workflows/master.yml']
def sha(b):return hashlib.sha256(b).hexdigest()
def hash_manifest(rows):return sha(json.dumps(rows,ensure_ascii=False,sort_keys=True,separators=(',',':')).encode())
def require(ok,message):
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env python3
"""Bounded publication gate; full historical restoration remains explicit."""
from pathlib import Path
import argparse,json,os,subprocess,sys
ROOT=Path(__file__).resolve().parents[1]
p=argparse.ArgumentParser();p.add_argument('--manifest',required=True);p.add_argument('--base',required=True);p.add_argument('--report',required=True);args=p.parse_args()
subprocess.run([sys.executable,str(ROOT/'deploy/release-artifact.py'),'verify','--manifest',args.manifest,'--tree','web-front/out'],cwd=ROOT,check=True)
report=Path(args.report);report.unlink(missing_ok=True)
env=dict(os.environ,PYTHONPATH=str(ROOT/'scripts/rebuild-v2/vendor'),PYTHONDONTWRITEBYTECODE='1',VIDEOREG_RASTER_DECODER='sharp')
r=subprocess.run([sys.executable,'-S',str(ROOT/'scripts/rebuild-v2/check-built.py'),'--base',args.base,'--report',str(report)],cwd=ROOT,env=env)
if not report.is_file():raise SystemExit('No fresh complete crawl report; cannot publish')
x=json.loads(report.read_text());m=json.loads((ROOT/args.manifest).read_text());summary=x['summary']
if r.returncode not in (0,1) or summary['technicalStatus']!='passed' or summary['errors'] or x['errors']:raise SystemExit('Published corpus technical gate failed')
if x['sourceCommit']!=m['sourceCommit'] or x['sourceManifestSha256']!=m['appSourceManifestSha256'] or x['exportManifestSha256']!=m['exportManifestSha256']:raise SystemExit('Crawl checked another artifact')
print(json.dumps(dict(publishedCorpusTechnicalGate='passed',scope=m['scope'],sourceCommit=x['sourceCommit'],exportManifestSha256=x['exportManifestSha256'],roleApprovals=len(m['roleApprovals']),fullHistoricalRestorationAccepted=False,fullHistoricalRestorationStatus=summary['restorationStatus'],unresolved=summary['unresolvedInventoryItems'])))