Skip to content

D4.1 and Section 3 Call the Plan the First Job, and the Hub Runs One Ahead of It #1675

Closed

Description

@ptr727

WORKFLOW.md D4.1 and section 3's "Release Model" both open with "a first plan job (publish-plan-task.yml) decides once". "First" is false of this repository's own publisher.

.github/workflows/publish-release.yml runs assert-dispatch-ref first, and plan declares needs: [ assert-dispatch-ref ], so the plan is the second job rather than the first. That entry job is required rather than incidental: it implements D2.3, and GOVERNANCE.md "Workflow YAML Conventions"'s validate-at-entry bullet requires the entry assertion be a job of its own that later jobs needs:.

The shipped caller stubs in catalog/snippets/workflows/publish-release.yml and docs/reusable-workflows.md carry no such job, their dispatch-ref assertion living inside publish-plan-task.yml's own decide step, so "first" is true there and false in the hub. Nothing in WORKFLOW.md, GOVERNANCE.md or docs/reusable-workflows.md mentions assert-dispatch-ref at all.

Found by two local adversarial passes during #1673. The wording is older than that pull request, which scoped the sentence's second half to a job downstream of the plan and left "first" alone, so this is filed rather than folded in.

Done is both surfaces stating what actually holds, either by dropping "first" or by naming the entry job the hub runs ahead of the plan, with references/architecture.md and references/d-guarantees.md regenerated. Whether the stubs should also carry an assert-dispatch-ref job is a separate question and not part of this.

Activity

  1. added
    pre-existing
    prose
    decision
    on Sep 18, 2026
  2. ptr727 commented on Sep 18, 2026

    @ptr727
    OwnerAuthor

    Decision (ptr727, 2026-09-17): drop the word "first".

    Both surfaces read "a plan job (publish-plan-task.yml) decides once", with no claim about ordering. It is the smallest edit, it is true of the hub and of every shipped caller stub alike, and it says nothing the contract has to keep in step as a workflow's job list changes.

    The entry job is already covered where it belongs. D2.3 requires a dispatch from any ref other than main or develop to fail fast, and GOVERNANCE.md "Workflow YAML Conventions"'s validate-at-entry bullet requires the assertion be a job of its own that later jobs needs:. Neither needs D4.1 to name it.

    The three considered alternatives were declined. Naming the entry job as optional buys accuracy for a clause in two places plus a name the contract then owns. Scoping the sentence to the caller shape leaves the hub's own publisher described nowhere. Leaving it as loose prose was declined because two independent reviewers raised it in one round, on #1676, so it would keep being re-reported against any pull request touching these lines.

    Done is WORKFLOW.md D4.1 and section 3's "Release Model" both stating it without "first", with references/d-guarantees.md and references/architecture.md regenerated into all three distributions, and this issue closed. The decision label comes off with this comment, the answer being recorded here.

  3. removed
    decision
    on Sep 18, 2026
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

    pre-existingprose

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions