Skip to content

Six more WORKFLOW.md section 4 and 5 claims a carrier cannot act on #1219

Closed as duplicate

Description

@ptr727

Six more claims in WORKFLOW.md sections 4 and 5, in the shape #1200 and #1202 already carry: a rule a reader cannot act on, a rule the shipped stub contradicts, or a rule whose scope the document itself falsifies. None was touched by #1215, which settled D1.6 and D4.5's recovery only.

1. D4.5 names a "gate" and supplies only a needs: edge, while the stub says not to write one

D4.5: "A package target's separate publish job needs its own gate for the same reason, since it sits outside the github-release and Docker needs: chains: it needs: the release-task call, so a failed build skips it with the rest."

It names a required gate and then gives only a needs: edge, no expression. The shipped publish-nuget stub in docs/reusable-workflows.md carries the opposite instruction: "A skipped publish job skips this one too, so no separate release gate is needed." A carrier who reads "gate" as the !failure() && !cancelled() guard the same item prescribes two sentences earlier writes exactly what the stub says not to write.

2. D5.1's MAY exemption covers the whole population its MUST binds

D5.1: "the job that downloads a cross-job transfer artifact deletes it (by exact name/pattern) right after consuming it. An intermediate consumed only within the same run MAY instead rely on the retention-days: 1 backstop."

Section 3 defines every workflow artifact as "an intra-run handoff only". So every cross-job transfer artifact is consumed within the same run, and the MAY exemption admits the entire population the MUST binds. The item gives no test that separates the two cases.

3. D5.2 bills the same deletion as a cost and as a prevention

The item says deleting the package artifact "costs the run its Re-run failed jobs route", then its own Prevents clause credits that same deletion with "stranding a downloaded artifact when the push it fed fails". D5.4 already guarantees retention-days: 1 on every upload, so the deletion buys at most a day of storage while spending a recovery route. Whether the trade is intended is not stated.

4. Section 4's preamble mis-scopes Input:

The preamble says an item carries an Input: "only where the guarantee applies to a particular trigger or state rather than to every run", and that "An item carrying neither still binds every repo whose shape its domain covers."

Its own items falsify that split. D1.6's Input: is "a C# or Python repo's validation/test job" and D2.4's is "a workflow with either/or or must-pair inputs". Both are repo or workflow shapes, which the preamble assigns to items carrying no Input: at all. A reader using the preamble to scope D1.6 reads it as trigger-scoped rather than shape-scoped.

5. D1.6's publisher-stub claim is false of this repository's own publisher

D1.6: "The publisher stub's validation job names the secret and every pull request stub's validation job passes no secrets: key at all."

This repository's .github/workflows/publish-release.yml validate job passes no secrets: key. The claim is true only of the template in docs/reusable-workflows.md, which the sentence never locates, and which a repository carrying WORKFLOW.md does not necessarily have.

6. The re-dispatch recovery is a TOCTOU with no check behind it

D4.5's re-dispatch recovery is conditioned on the branch tip not having moved, stated as an operator precondition with no way to satisfy it. workflow_dispatch resolves github.sha when the dispatch lands, not when the operator read the tip, so a push landing in that window silently produces a different NBGV version. validate-release checks branch-versus-prerelease consistency, never identity with the release being repaired, and the existing-release check then sees a new tag, reports exists=false, and cuts a new release rather than erroring. Following the named recovery literally can therefore mint an unintended release, and the item names neither the window nor any check that would catch it.

Related

Found by the adversarial passes on #1215. Same class as #1200, #1202, #1206 and #1212. #1201 records that no part of section 5 checks D4.5 at all, which is why items 1 and 6 reach nothing today.

Activity

  1. added
    prose
    on Sep 5, 2026
  2. ptr727 commented on Sep 5, 2026

    @ptr727
    OwnerAuthor

    Rolled up per #1315 into the unit tracker(s) #1369: every finding this issue enumerates appears there as a numbered line naming this issue. Closing as a duplicate of those trackers so no finding is lost and this bundle stops being a unit of work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    prose

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions