feat: add run quality assurance - #100
Conversation
99870f5 to
2ce2d55
Compare
75a6a71 to
f60818b
Compare
Bounded SemVer architecture handoff — version-preparation delivery ownerShared clarification for the owner-reported blocker: pcvantol/forge#49 (comment) . This does not close the independent QA R1–R5, queue QD1–QD7 or existing SemVer implementation findings and grants no merge/install/publish permission. The product repositories own version sources/policy/helpers. EP owns the bounded version-operation-to-candidate execution, using its existing Managed Git/GitHub delivery boundary and the actually configured scoped actor. Inspected EP main Implement the minimal operation adapter under existing admission/lease/qualification/evidence semantics: verify operation authorization, expected baseline/head, source-event provenance, policy digest and allowlisted paths; apply the product helper; publish manifest+prepared receipt as one candidate; bind exact head/PR/checks/merge separately through genuine delivery evidence. A checked receipt is not a grant. Avoid a self-referential commit loop by never amending that receipt with its own containing commit SHA or subsequent CI result. Retain per-unique-eligible-source-event allocation and one feature bump per lineage; no extra bump on retries, check runs, repair SHA or the version-operation's own candidate/finalization events. Batching may combine candidate publication but must retain and count its frozen event set. Enforce existing independent assurance/review and repository merge policy. No arbitrary command runner, new execution mode, queue, event daemon, PAT, App provisioning or protection bypass is requested. Establish source/controlled candidate qualification via existing authorized bootstrap development if necessary; do not circularly demand the new adapter be installed before its own PR can be written. Autonomous event-to-EP routing and installed writer qualification must remain explicitly unproven until tested. Coordinate ownership with the active assurance/queue and SemVer sessions; no concurrent writers on #100. No source, runtime, grant, budget or permission changes were made by this comment. |
|
Coordination: the generic EP version-preparation execution seam now has its own implementation PR #105 ( |
Architect follow-up — exact-head hosted outcome after diagnostic changeReviewed head: The previously RUNNING validation is now FAILURE, run Observed on that run:
The new bounded diagnostics did their job. The failing operation is: The CLI reports: {"error":"EP Server store is unavailable.","ready":false}The preceding server output contains several Next bounded action: inspect the real storage exception behind the CLI's generic store-unavailable result, retain safe redacted exception/category/timing details in qualification diagnostics, reproduce the actual phase transition around durability-accept with the installed artifact and simultaneous server/worker activity, and add the regression at the failing boundary. Inspect lock/transaction lifetime and repeated schema initialization as hypotheses, not as a proven diagnosis. Do not just suppress BrokenPipe, add unlimited retries, lower thresholds, or reset CENTRAL. Then run the complete hosted chain again and attach the new exact head/base and coverage evidence. Historical 1,309-test coverage is not the skipped current measurement. This comment adds no new product scope and makes no claim to have re-reviewed all R/QD/SemVer closures. |
…into codex/ep-run-quality-assurance # Conflicts: # src/engineering_platform/execution_host.py
…into codex/ep-run-quality-assurance
Exact-head qualification updateReviewed candidate:
Remaining exact blocker: the repository status Owner Authorization is FAILURE with |
Post-merge exact-SHA closurePR #100 is normaal gesquasht naar
Dit is repository- en artifactkwalificatie; geen productiepublicatie, runtime-installatie, credential/grantmutatie of aanvullende release. |
Doel
Implementeert
EP_RUN_QUALITY_ASSURANCE_V1: onafhankelijke Quality- enSecurity-review, durable assurance-evidence, begrensde herstelrondes en
bewijspariteit in lifecycle, receipt en dashboard.
Kernwijzigingen
dezelfde kandidaat. Nieuwe Managed PR-publicatie blijft achter actuele lokale
validatie en beide vereiste reviews.
de dashboardmodal toont dezelfde quality/security- en herstelidentiteiten als
de historische projectie.
bevestigingsmodals en toestandafhankelijke, rechts uitgelijnde actieknoppen.
QUEUED → DEFERRED|QUARANTINED|DECLINED,DEFERRED → QUEUED,QUARANTINED → QUEUED|DECLINED;DECLINEDisterminaal. Directe quarantaine-afwijzing voorkomt een worker-eligible window.
expected-state/revision-CAS, append-only eventbewijs en claim-raceprotectie.
Een geclaimde submission geeft
409; een actie annuleert nooit een actieverun.
uitvoeringsresultaat. Een onuitgevoerde afwijzing krijgt dus geen gefingeerde
run, commit of terminal receipt.
Autorisatie en contracten
actieve project-scoped credential en een expliciete capability:
QUEUE_HOLD_RESUMEofQUEUE_DECLINE.bijgehouden. Producercredentials verlenen geen operatorrechten.
verkeerde types, stale modals en conflicterend operation-ID-hergebruik.
kwalificatie test
401zonder bearer,403zonder capability en degeautoriseerde CAS-flow inclusief
QUARANTINED → DECLINED.Migratie en herstel
idempotent voor reeds aanwezige additieve queue-evidence. Dit herstelt een
aangetroffen upgradefout zonder handmatige databasepatch of tweede authority.
Kwalificatie en actuele status
HTTP/OpenAPI/Postman en alle vier dashboardshards zijn op recente heads groen
uitgevoerd.
lokalisatiechecks zijn groen op recente heads.
80.20%; de laatste meting faalde noguitsluitend op
execution_host.pyenserver.py. Gerichte regressietestsvoor de nieuwe server- en providerprocessgrenzen zijn toegevoegd en een
nieuwe CI-meting draait. Deze PR claimt daarom nog geen volledig groene head.
Risico en grenzen
kwalificatiecompositie; normale productcompositie blijft fail-closed.
geautoriseerde disposable repository en gecontroleerde cleanup; zij is geen
standaard-CI-remote-write.
gefabriceerde execution-evidence toegevoegd.
SemVer-reconciliatie
De product-eigen SemVer-grens is aangescherpt op de actuele PR-head: de TOML-writer is begrensd tot
[project].version; beide eigenpackage-lock.jsonrootvelden worden gevalideerd en geprojecteerd; alle projecties worden vóór writes gevalideerd. De gewone wheelbuilder blijft read-only.Bron- en installed-consistency zijn nu afzonderlijk: de installed-check draait via een geïsoleerde interpreter tegen het daadwerkelijk geïnstalleerde wheel en weigert source-path shadowing. EP #105 blijft de afzonderlijke, nog niet geïnstalleerde source-level delivery-adapter; deze PR claimt geen grant, protected merge, publicatie of runtime-installatie.
Bootstrap release cadence V2
BOOTSTRAP_RELEASE_CADENCE_V2: EP helper en operationele documentatie zijn read-only-CI reconciled; docs-only/no-allocation is regressiegedekt. De nog onafhankelijke assurance- en Owner Authorization-gates blijven ongewijzigd.