Repository navigation
Closed
Description
Defect
Whole-unit review of WORKFLOW.md while settling the ordering item of #1522 found these statements contradicted by the tree or by the document itself. None was introduced there, and #1522, #1523, and #1524 hold the earlier rounds' findings. Each wants checking before it is fixed, since a finding against prose can be a reading the text does not intend.
Section 6, the hugo row
- The secret-mapping rationale is inverted. "because the task's own job is where the environment resolves, the caller maps the crossing secrets explicitly under
secrets:... so the explicit mapping is what supplies the value the task's environment-bound job then reads."deploy-site-task.ymlsays the job's own environment binding is what determines the real value, anddocs/reusable-workflows.md"Deploy-site." says the mapping is needed only because the task declares the secretrequired: true, the value the job reads being governed by the task'senvironment:. A reader who maps a different value at the caller expects the task to use it, and it does not. - The accepted environment names are never stated. The row says the task "re-asserts the environment name in a job of its own" and that "any ref may reach a non-production environment", but not what the name is checked against.
deploy-site-task.ymlaccepts exactlyproductionandstaging, so a repo naming its non-production environment anything else passes everything the row describes and fails at the name assertion. - The deploy hook's contract is short of what the task asserts. Beyond the four inputs WORKFLOW.md Sections 3, 4 and 6 Carry Statements the Tree Contradicts #1523 already names, the row gives neither the hook's required path,
.github/actions/deploy/action.yml, nor what itsbuildinvocation must produce,${RUNNER_TEMP}/bundle/releases/<id>/andbundle/current, both of which the task hard-asserts. Naming only the inputs still leaves a hook that fails.
Section 6, the library row
- It names a trigger its own shape does not carry. "S9 on a scheduled re-run skips release-create and the asset-delete". Section 3 and D4.1 give the weekly schedule to Docker alone, the
libraryshape carries no Docker target, and the section's own reading rule takes triggers from the publisher'son:block rather than from the type. A push re-run is the S9 path this example reaches. - It cites a stub a carrying repository cannot locate. "as D1.2 and the hub's release-with-smoke stub both have it" names no path, and that stub lives only inline in the hub's
docs/reusable-workflows.md, which records that no catalog snippet carries it yet. D1.2 alone already supports the rule.
Section 4, Behavioral Contract
- D9.1's "sole exception" omits local-path calls. "Every action SHA-pinned with a version comment (sole exception: the documented lagging-tag tool)." A local
uses: ./.github/workflows/validate-task.ymlor./.github/actions/docker-preparecannot take a SHA pin, and the hub's own workflows carry many, so read literally the item marks them defects.GOVERNANCE.md"Workflow YAML Conventions", which D9.1 points to, has the same gap. - D4.1 names
planthe first job, which the hub's own publisher contradicts. "A firstplanjob (publish-plan-task.yml) decides once and every job gates on it"..github/workflows/publish-release.ymlrunsassert-dispatch-reffirst withplanneeding it, and its own comment callsplanredundant with that job in practice, whilecatalog/snippets/workflows/publish-release.ymldoes start withplan. An auditor reading the output literally fails the hub's publisher.
Metadata
Metadata
Assignees
Labels
No labels
Activity
ptr727 commentedon Sep 11, 2026
A second whole-unit round over the same sections, after the ordering claim was dropped, found these further statements in text that change did not touch.
Section 6
edarow contradicts itself on whether it has a build leaf. "Adds a file target: distribution is a GitHub release data zip that a local EDA install pulls, supplied by the repo's own release task", and then "such a repo has no leaf for S1 to smoke-build", with a test line naming S2, S3 and S7 but not S1, while thehomeassistantrow it points to says "S1 smoke-builds the zip". A reader cannot tell whether anedarepo carries the build-target construct that decides whether S1 and S4 apply, and nothing named uploads therelease-asset-*zip S7 attaches. The same sentence says generation "and its version injection are deterministic from the design inputs", where the version comes from NBGV per section 3 "Versioning" and D3.3.dockerrow's test line undercounts the develop leg's tags. "Non-default pushes the develop tag (amd64 only).".github/actions/docker-prepare-default/action.ymltags the develop leg with bothdevelopand theSemVer2version, as thebuild-docker-task.ymlheader says every image carries its moving tag plus a version tag, so a trace built from this row predicts one tag where the leaf pushes two.Section 4
release-asset-<branch>-<target>, which the NuGet anddotnet-publishdefault leaves emit, carries the branch in the middle, so read literally D6.3 flags D6.1's own name. The property that matters is that the name carries the branch.inputs.branch, nevergithub.ref_name." A top-level publisher started bypushhas noinputs.branch, andcatalog/snippets/workflows/publish-release.ymland thepublish-pypistub indocs/reusable-workflows.mdreadgithub.ref_namefor the branch they pass and the artifact they download and delete. The rule reads as scoped to called workflows without saying so.run:is a block. "Bashrun:blocks startset -Eeuo pipefail." The hub's workflows and actions carry single-linerun:steps without it, such asrun: uv sync --all-groups --frozen, so either they break D9.3 or the rule should say one-line steps are exempt.'!.github/workflows/**'. Underdorny/paths-filter's defaultsomemode a negation of both docs and.github/workflows/**also marks a workflow-only change, violating D1.4 instead, and undereverymode a negation listing docs does not mark a docs-only change at all. The unit names neither the tool nor the mode, so a reader cannot check the claim.== 'true'". The reason before it is that a composite action's inputs are strings whatever the caller passed, while outputs are strings because GitHub stores them as strings. The instruction is right and the stated cause is not.ptr727 commentedon Sep 11, 2026
A third whole-unit round over section 4, after D3.4's Prevents clause was corrected, found these further statements in text that change did not touch.
.github/workflows/validate-task.yml's rename loop skips a missing report with[ -e "$report" ] || continue, so a test project whose coverage extension is absent or below the version floor writes no report and the step passes. Either the requirement covers both legs or the reason should be one that only holds for Python.ignore, which a repo may override where its quality bar requires a threshold." Read literally, "which" is theignoreexclusion, while the setting that relates to a threshold is the earlierinformational: trueon the project and patch statuses, so the sentence never says a repo may turninformationaloff to set one.build-baseDocker repo. "Input: a real publish where one enabled build fails. Output: nothing publishes.".github/workflows/build-docker-task.ymlpushes inside eachbuild-dockermatrix leg throughdocker/build-push-action, anddocker-build-basepushes the shared base before any product leg builds, with no job that pushes only after every leg succeeds. One image leg can fail after a sibling leg or the base has reached the registry, andgithub-releasethen skips on itsneeds:, leaving pushed images with no tag or release, the partial publish D4.5's Prevents line rules out.fail-fastcancels only legs still running. A single-image repo withoutbuild-baseis unaffected.Drop the Promise That the develop .dev0 Build Sorts Above the Default…
Build the PyPI Version From the Release Tag, and Hand the build-pypi …
ptr727 commentedon Sep 11, 2026
One more section 4 statement the tree contradicts, found by whole-unit review of
.agents/skills/workflow-ci-contract/references/d-guarantees.md(the generated include of section 4) while settling #1522, and not introduced there. It sits beside #1369 item 9, which covers the same item's Prevents clause rather than its heading.D5.2's heading and opening sentence contradict its own package-job rule. "Gate the delete to the condition that made the artifact redundant" and "the delete runs exactly when the consumption it follows happened". For a package publish job the item then gates the delete on the download having succeeded rather than on the push, as
!cancelled() && steps.<download-step-id>.outcome == 'success', which the catalog publisher stub ships. On a failed push that delete runs although the consumption it follows, the push, never happened, which the item itself concedes a few sentences later ("costs the run its Re-run failed jobs route"). A reader held to the heading flags the shipped stub as non-conforming, and one who writes the delete to match the heading gates it on the push and strands the artifact the Prevents clause rules out.Name the Build Jobs That Do Not Opt Out of the Smoke Skip in D2.2 (#1533
Name the Build Jobs That Do Not Opt Out of the Smoke Skip in D2.2 (#1534
ptr727 commentedon Sep 24, 2026
One more section 4 cross-reference the tree contradicts, found while carrying hub
03ed883into ptr727/aiopurpleair.D4.1 cites D7.3 for a rule D7.3 does not state. D4.1 (as reworded in #1673) says "A gate on an output takes the compared form D7.3 requires rather than a bare truthiness test." D7.3 is "A
github.event.inputsboolean is compared as a string" and speaks only ofgithub.event.inputs.<name>and theinputscontext. It says nothing about job outputs such asneeds.plan.outputs.publish, so a reader following the pointer finds no rule about outputs at all.'true'), or D7.3 is widened to cover job outputs and D4.1 keeps the pointer..github/skills/workflow-ci-contract/references/d-guarantees.md.mainat03ed883,WORKFLOW.mdD4.1 and D7.3. Audit run stampaudit run 2026-09-24T22:35:30Z | hub 03ed883.The downstream copy (an
intent-fidelityWORKFLOW.md) states the output comparison directly instead of citing D7.3, as a local adaptation.Correct the WORKFLOW.md Statements the Tree Contradicts (#1799)