Repository navigation
fix(validator): an unresolvable engine pin names itself instead of dying silently (charly#723) - #196
Conversation
…ing silently (charly#723) A charly TAG can exist with no published release (measured live 2026-10-13: 717 tags, 272 releases) and `vars.CHARLY_VERSION` names the TAG. The `Ensure charly` step then 404s, every later step is `skipped`, and the run ends with NO verdict and NO comment (measured on opencharly/sdk#317) — the author sees nothing to act on. - Ensure charly now classifies the failure and hands it to the gate's EXISTING INCONCLUSIVE machinery instead of dying: the review step is skipped (the gate never reviews with a different engine — that is the pin's purpose), Parse verdict carries INCONCLUSIVE + infra, and the gate posts the canonical `## validator INCONCLUSIVE` comment naming the pin, the tag, the measured class and the two operator remedies. Classified `infra`, it is EXCLUDED from AI_REVIEW_AUTO_CLOSE_AFTER: it is the operator's environment, not the author's diff. - The sub-case is named with the API, not the release page. MEASURED live: the page answers 200 for an existing tag whose release is ABSENT (it falls back to the tag view) and 404 only for a tag that does not exist; the API discriminates exactly (200 published / 404 absent / 404 nonsense), and this job holds contents:write so a DRAFT is visible as draft=true. - New optional `charly-version` input: the pin (and this path) can be exercised on demand without touching the org variable. NOT changed, and why — the issue's ask 3 ("tag-on-merge must publish a release for every tag") is REFUTED by re-measurement: the two releases its thread called draft=true are both published now, all 12 newest tags have releases, the 445 unpublished tags are historical (minted before the publisher existed), and the pin only moves forward. The publisher (charly's release-binary.yml) works. Ask 1's source build is deliberately not implemented: this step is tokenless-curl-only by design and a `go build` would add a toolchain + module-proxy dependency to the org's most sensitive file for a case the loud comment already makes actionable. Also adds scripts/proof-unresolvable-pin.sh, the committed harness that executes the changed branches against the real endpoints in the unresolvable-pin state — the only live way to drive this path (a dispatch would post a comment and a red check on a real PR), and a governance row keeping the class name in this path. Driver: opencharly/charly#723 (the issue lives in the pin's repo, the fix in the gate's; it is closed from the thread once this lands). Assisted-by: dsh deepseek-v4.1-flash (analysed on a live system)
Review — BLOCKHead SHA: Change class: hook/workflow — and specifically a self-modifying-security change: Security screen (T4): finding. Blocks
Notes (non-blocking)
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
|
T4 SIGN-OFF — posted from Who is posting, stated plainly because the rule is about the account and nothing else. This comment is attached to the What is being signed off. PR Why it is a strengthening, not a weakening — the whole reason a sign-off is the right instrument here.
What I am NOT signing off. Nothing here authorizes the source-build fallback the driver issue also suggested (deliberately not implemented — this step is tokenless-curl-only by design), nor any auto-merge or bypass behaviour. This sign-off covers exactly the diff at head Agent: |
|
STATUS — round 1 BLOCK addressed: the T4 sign-off is posted at the operator's explicit direction (comment RCA (fresh, per R1)
Live state, from the same round (not part of this PR's gate)The full read-only org ruleset exclude set does not match the non-target repos
charly-images: delete_branch_on_merge must be true
layer-kokoro-tts: delete_branch_on_merge must be true
layer-podcast-audio: delete_branch_on_merge must be true
news-podcast: allow_auto_merge must be true
news-podcast: delete_branch_on_merge must be true
plugin-task-old-16365: default branch is 'feat/plugin-task' and there is NO 'main' ref … (opencharly/.github#193)
plugin-task-zzbootstrap: default branch is 'feat/plugin-task' and there is NO 'main' ref … (opencharly/.github#193)
zz-probe3-7319 / zz-probe2-13988 / zz-bootstrap-probe-xyz: no default branch yet (empty repo)
omarchy-eval-artifacts: default branch 'runs' — declared by design
pixelflux: default branch 'av1' — declared by designA single Agent: |
Review — PASSHead SHA: Security screen: PASS — T4 applies ( Checklist: All applicable rules PASS or NA. Comments considered:
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
A charly TAG can exist with no published release — measured live 2026-10-13: 717 tags, 272 releases — and
vars.CHARLY_VERSIONnames the tag. TheEnsure charlystep thencurl -fsSLsreleases/download/$TAG/..., 404s, and the step died there: every later step wasskipped, so the run ended with no verdict and no comment at all (measured onopencharly/sdk#317) — an author could see nothing to act on. The only loud branch on that step was the unset pin.The gate now names the class instead of dying, and never reviews with a different engine.
Ensure charlyclassifies the failure and hands it to the gate's existing INCONCLUSIVE machinery: it writesengine_unresolved/pin_tag/pin_from/pin_classand exits 0;Run the review engineis skipped (reviewing without the pinned binary — or worse, with a stale on-PATH engine — is the exact class the pin exists to prevent);Parse verdictcarriesINCONCLUSIVE+infra; and the gate posts the canonical## validator INCONCLUSIVEcomment naming the pin, the tag, the measured class and the two operator remedies.infra, it is excluded fromAI_REVIEW_AUTO_CLOSE_AFTER— the operator's environment, not the author's diff (the splitopencharly/.github#170established). The required check still goes RED, so unreviewed code still cannot merge.contents: write, so a DRAFT shows asdraft=true.charly-versioninput lets a specific pin — including this path — be exercised on demand without touching the org variable.scripts/proof-unresolvable-pin.shexecutes the changed branches against the real endpoints in the unresolvable-pin state. That is the only live way to drive this path: a dispatch would post an INCONCLUSIVE comment and a red required check on whatever real PR it targeted.Two asks of
charly#723are deliberately NOT implemented, and the reason is measurement:tag-on-mergepublish a release for every tag" — is REFUTED. The two releases that issue's thread calleddraft=trueare both published now (v2026.279.0513published 2026-10-06,v2026.250.10142026-09-07); all 12 newest tags have releases; the 445 unpublished ones are historical, minted before the publisher existed, and the pin only moves forward. The publisher (charly'srelease-binary.yml, fired by the tag push /workflow_runoftag-on-merge/ dispatch, walking tags newest-first for the newest unreleased one) works. Backfilling 445 releases would be churn with no consumer — and the issue's own reproduction tagv2026.271.0720now resolves (HTTP 200).curl-only by design (its own comment records the token-injection failures), and ago buildwould add a Go toolchain + module-proxy dependency to the org's most sensitive file, for a state the loud comment already makes actionable for the one actor who can fix it (the operator). If the operator wants the build, it is a small addition inside the same branch — say so and it goes in.Driver:
opencharly/charly#723(the issue lives in the pin's repo, the fix in the gate's; it is closed from that thread once this lands).How tested
Committed head
482b0438a490a151854a93247803a2e5bb88fe2a(git rev-parse HEAD; nothing else pushed from it).The changed branches executed LIVE against the real endpoints, with an unreleased tag (
v2026.244.0751: API 404, asset 404) —bash scripts/proof-unresolvable-pin.sh v2026.244.0751:The probe defect, measured (why the class is API-based):
The control (the resolvable path is unchanged and still resolves):
The normal path is untouched code, and it executed live on every validator run in the org today — including this repo's own
#191and#194(both reached a verdict and merged). The unresolvable path is additive and can only be entered by the fetch failing.Static + change-class gate on this head:
Rulebook compliance
git-workflow,repo-setup,agents,strict-policy,root-cause-analyzer), plus this repo'sAGENTS.md:.githubis PR-only and its gate is a self-modifying-security surface, so this change strengthens it (a verdict-less block becomes a named, actionable, classified one) and relaxes nothing (the check still goes RED; no auto-merge path is touched).charly#723was re-measured; ask 3 came back refuted (the drafts are published, the newest tags are released, the issue's own reproduction tag now resolves) and is therefore not "fixed" — implementing it would have been churn against a false premise. Two findings this work surfaced are filed, not parked:opencharly/.github#195(the gate holdscontents: writeit never uses) and the driver row itself. The one defect my own first version had (the page probe) was found by executing it live and fixed before the push.infralabel rather than adding a second comment contract; the sub-case naming is one place in one step.gh release view …) works with nothing butgh, and the docblock in the step now describes what runs.scripts/governance-claims.tsvgains a row so the class name cannot drift out of this path.git statusclean before and after the commit; worktree.worktrees/dsh-opencharly/dotgithub, branchfeat/unresolvable-engine-pinoff freshorigin/main(0174ba1); no force-push, no directmain, no hook bypass.Verdict class: infra) rather than asserted in prose.charlyruntime source changes. Change class: workflow/tooling in this repo, gated byworkflow-checks.ymlplus the changed branches executed live.Change classification
Hook/workflow infrastructure (the org gate's engine-pin bootstrap and its INCONCLUSIVE classification); no
charlyruntime, deploy target or candy change. Gate: this repo'sworkflow-checks.ymlplus the live branch executions pasted above. Attribution:analysed on a live system— the changed branches ran against real endpoints and the real org release state, without claiming the pushed head's CI job has completed.Filed issues
opencharly/.github#195— the review gate declarescontents: writeand performs no contents write; remove it in both the reusable and the org-required caller, keepingcontents: read(which this PR's new fail-path probe needs).opencharly/charly#723— closed from its own thread once this lands (a.githubPR cannot close acharlyissue by keyword).Agent:
dsh-opencharlyAssisted-by: dsh deepseek-v4.1-flash (analysed on a live system)