Skip to content

Promote the WORKFLOW.md Section 4 Claim Fixes to Main - #1676

Merged
ptr727 merged 1 commit into
mainfrom
develop
Sep 18, 2026
Merged

ptr727 merged 1 commit into
mainfrom
develop

Conversation

@ptr727

@ptr727 ptr727 commented Sep 18, 2026

Copy link
Copy Markdown
Owner

Promotes #1673 to main. The delta is that one change and nothing else, develop having held no content main lacked when the branch was cut.

Closes #1200.

What promotes

Four of the five edits #1200 was re-scoped to, all in WORKFLOW.md section 4, plus the two surfaces those edits put in disagreement if left alone.

  • D2.2 states the category, a dependent of validate-release carrying no status-check function with an absent if: included, rather than naming dotnet-publish, build-nuget and build-pypi and going stale the next time a target lands.
  • D4.1 cites D7.3 for an output's compared form rather than restating the coercion, and no longer claims that every job gates on the plan. A job downstream of the plan either gates on its outputs or inherits the skip through needs:, which is what the hub's publisher and the shipped caller stubs actually do.
  • D9.3 is scoped to a multi-line bash run: block, matching GOVERNANCE.md "Workflow YAML Conventions", whose "Shells" bullet now states the single-line exclusion outright, reaches a bash script by shebang rather than by an .sh extension, and sends a piped or chained one-liner to a multi-line block.
  • D3.4 states that the develop build stays pip install --pre-selectable and does not always lead the stable release, replacing an item that said nothing about ordering after its false MUST was removed.

WORKFLOW.md section 3 carried D4.1's clause verbatim and moves with it. references/d-guarantees.md and references/architecture.md regenerate into all three distributions.

Why #1200 closes on four edits rather than five

Item 5 asked D9.5 to state that workflow YAML is LF regardless of .editorconfig, with the reason that Actions and Dependabot rewrite it that way. #1388 deleted that exact rule on the maintainer's call, because the whole-unit reads showed the reason false: under the paired * text=auto eol=crlf git stores LF and checks out CRLF, so a Dependabot commit of LF bytes leaves nothing mixed, and Actions never writes a workflow file. WORKFLOW.md section 2, the comment-and-doc-style line-ending policy, and that policy's operational-repo rule all agree with the deletion, so Line endings follow .editorconfig is true as written and implementing item 5 would reinstate a deleted rule carrying a disproved reason. Confirmed with the maintainer before the feature branch was pushed, and recorded on #1200 and in #1673's own body.

Review record

#1673 carried five local adversarial passes raising 15 findings, every one fixed, the last pass clean. Copilot reviewed the merged head with full file coverage and raised nothing. CodeRabbit raised one finding, the Husky snippet's missing set -eu, which is real, pre-existing, outside the diff, and filed as #1674. #1675 holds the one other pre-existing defect the passes found, D4.1 and section 3 calling the plan the first job where the hub runs assert-dispatch-ref ahead of it.

🤖 Generated with Claude Code

Implements four of the five edits #1200 was re-scoped to, all in
`WORKFLOW.md` section 4 and all answered on that issue. The fifth is
declined, since the tree had already settled it in the opposite
direction. #1200 is not closed by this pull request, a
`develop`-targeted closing reference not registering, and the promotion
carries it instead.

## The four edits

- **D2.2 states the category rather than the instances.** It named
`dotnet-publish`, `build-nuget` and `build-pypi` as the dependents of
`validate-release` carrying no status-check function. The claim was true
and went stale the next time a target landed, which is the shape that
produced the original defect. The item now says `validate-release` has
such dependents, and the property sentence above it covers an absent
`if:` the way D5.2 already does. The category is the missing
status-check function rather than the `if:` spelling, since `if: ${{
inputs.enable_x == true }}` and an absent `if:` skip on a skipped need
exactly as a bare input does.
- **D4.1 cites D7.3 for the compared form.** D7.3 already carries the
coercion rule for a job or step output, so D4.1 names the compared form
and cites it rather than restating the reason. Two further claims in the
same sentence were wrong and move with it. The plan reads the event, the
actor and the ref alone, so it decides neither the release-path
exclusion, which is the publisher's `on.push.paths`, nor the schedule's
main-only bound, which is schedule config. And "every job gates on it"
was false in both directions: this repository's own publisher runs
`assert-dispatch-ref` with no `if:` and no `needs:` at all, while the
shipped caller stubs run `publish-nuget` with `needs: [validate,
publish]` and no `if:`, inheriting the skip rather than gating, which
their own comment states is deliberate. Both sections now say that a job
**downstream of** the plan either gates on its outputs or inherits the
skip through `needs:`.
- **D9.3 is scoped to a multi-line block, and so is its home.** As
written the guarantee read as universal and was violated by the
single-line `run:` steps in this repository's own tree, so a carrier
following it literally failed its own audit. `GOVERNANCE.md` "Workflow
YAML Conventions" wins on the style rules and named a `run:` block
without qualifying it, which left the narrowed guarantee disagreeing
with its own home. That bullet now states the single-line exclusion
outright, reaches a committed bash script by shebang rather than by an
`.sh` extension, and sends a one-liner that pipes or chains commands to
a multi-line block, since `pipefail` and `-u` guard inside a single
command rather than after it.
- **D3.4 states the ordering that holds.** The unenforced MUST that
develop must sort above the default release is already gone, and D3.4
said nothing about ordering at all. It now states that the develop build
stays `pip install --pre`-selectable and that such a build does not
always lead the stable release, and it claims no more than that.

`WORKFLOW.md` section 3 carried D4.1's clause verbatim, so it moves in
the same change rather than being left to contradict section 4, and
`references/d-guarantees.md` and `references/architecture.md` regenerate
into all three distributions.

## The declined item

**D9.5 is left as written.** The answer recorded on #1200 was to state
that workflow YAML is LF regardless of `.editorconfig`, with the reason
that Actions and Dependabot rewrite it that way. #1388 deleted that
exact rule on the maintainer's call, because the whole-unit reads showed
the reason false: under the paired `* text=auto eol=crlf` git stores LF
and checks out CRLF, so a Dependabot commit of LF bytes leaves nothing
mixed, and Actions never writes a workflow file. Section 2, the
`comment-and-doc-style` line-ending policy, and that policy's
operational-repo rule all agree with the deletion, so `Line endings
follow .editorconfig` is true as written. Confirmed with the maintainer
before this branch was pushed.

## Three sharper drafts of D3.4 that were each false

Recorded so a later round does not re-derive them.

- **A commit count.** A merge-commit promotion adds to main's git height
and main's own line can already be longer, so on this repository's
current graph develop trails by two rather than by one.
- **A bare height comparison.** PEP 440 compares the release segment
first and NBGV restarts the height at a bump, so a develop-only floor
bump leads on the floor while its height sits far below main's.
- **A promotion clause.** A promotion is a human merge, and D4.1 says a
human merge never auto-publishes, so it moves no registry version and
settles nothing about which build leads.

## Verification

The declared local gate set in `OPERATIONS.md` "Local Verification"
passes whole, `test_install.py` included at 63/63 on a clean tree. Five
local adversarial passes ran against this branch, raising 15 findings,
every one fixed. The last pass is clean and its receipt is recorded.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Documentation**
* Clarified release workflow behavior when publishing is skipped,
including how downstream jobs inherit or evaluate that decision.
* Added guidance for comparing release versions, including
development-release ordering and pre-release installation behavior.
* Refined shell scripting requirements for Bash workflows and committed
scripts.
* Improved CI terminology and examples for dependent jobs and
conditional checks.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Copilot AI lite review requested due to automatic review settings September 18, 2026 03:37
@coderabbitai

coderabbitai Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 52 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 287112fc-c0de-4c1e-a0b5-8038dd29643b

📥 Commits

Reviewing files that changed from the base of the PR and between ca2551b and a4bd55b.

⛔ Files ignored due to path filters (5)
  • .claude-plugin/fleet-skills/.source-digests/workflow-ci-contract is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/skills/workflow-ci-contract/references/architecture.md is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/skills/workflow-ci-contract/references/d-guarantees.md is excluded by !.claude-plugin/fleet-skills/**
  • .github/skills/workflow-ci-contract/references/architecture.md is excluded by !.github/skills/**
  • .github/skills/workflow-ci-contract/references/d-guarantees.md is excluded by !.github/skills/**
📒 Files selected for processing (4)
  • .agents/skills/workflow-ci-contract/references/architecture.md
  • .agents/skills/workflow-ci-contract/references/d-guarantees.md
  • GOVERNANCE.md
  • WORKFLOW.md

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ptr727

ptr727 commented Sep 18, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Sep 18, 2026 •

Copy link
Copy Markdown
⚠️ Action not completed

Review rate limited.


Your included review limit is currently reached under our Fair Usage Limits Policy. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 52 minutes.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The edited WORKFLOW.md text still asserts that the plan job is “first”, which is contradicted by the hub’s own publish-release.yml job ordering.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Promotes the develop-proven documentation/contract updates for CI/workflow behavior into main, focusing on clarifying WORKFLOW.md section 4 guarantees and aligning GOVERNANCE.md “Workflow YAML Conventions” with those guarantees across the distributed skill/reference copies.

Changes:

  • Refines WORKFLOW.md release-model and D-guarantee language around publish gating/inheritance, output truthiness, and version ordering nuances.
  • Updates GOVERNANCE.md shell guidance to scope set -Eeuo pipefail to multi-line bash run: blocks and bash-script shebangs, and clarifies the single-line and POSIX sh exceptions.
  • Regenerates the distributed reference surfaces (skills + plugin copies + digest) to match the updated canonical text.
File summaries
File Description
WORKFLOW.md Updates the canonical workflow behavioral contract and release model prose.
GOVERNANCE.md Aligns Workflow YAML shell conventions with the narrowed D9.3 guarantee.
.agents/skills/workflow-ci-contract/references/d-guarantees.md Source reference copy of D-guarantees updated to match WORKFLOW.md.
.agents/skills/workflow-ci-contract/references/architecture.md Source reference copy of release-model architecture updated to match WORKFLOW.md.
.github/skills/workflow-ci-contract/references/d-guarantees.md Generated distribution copy of D-guarantees updated.
.github/skills/workflow-ci-contract/references/architecture.md Generated distribution copy of architecture updated.
.claude-plugin/fleet-skills/skills/workflow-ci-contract/references/d-guarantees.md Generated plugin distribution copy of D-guarantees updated.
.claude-plugin/fleet-skills/skills/workflow-ci-contract/references/architecture.md Generated plugin distribution copy of architecture updated.
.claude-plugin/fleet-skills/.source-digests/workflow-ci-contract Updates the plugin source digest to reflect the regenerated content.
Review details

Suppressed comments (1)

WORKFLOW.md:166

  • D4.1 also describes plan as the "first" job, but the hub's own publish-release.yml runs assert-dispatch-ref ahead of it (so plan is not universally first). Keeping this accurate matters because this file is carried as an architecture/contract reference.
- **D4.1 Gated single-branch publish.** Output: PRs smoke-test and publish nothing. A **human merge never auto-publishes**. A first `plan` job (`publish-plan-task.yml`) decides once. A job downstream of it either gates on the plan's outputs or inherits the skip through `needs:`. A gate on an output takes the compared form D7.3 requires rather than a bare truthiness test. A publish runs on a **code-affecting bot push to `main`** (gated to the codegen App / Dependabot `github.actor`, with an Actions-only bump matching no release path and publishing nothing), a **dispatch** of `main`/`develop`, or a **main-only weekly schedule** (Docker). A source-only repo publishes on dispatch only. Each run builds one branch.
  • Files reviewed: 9/9 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread WORKFLOW.md Resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Eight more WORKFLOW.md section 4 claims the workflows falsify or a reader cannot act on

2 participants