Skip to content

Correct Section 3, 4 and 6 Statements the Tree Contradicts - #1542

Merged
ptr727 merged 2 commits into
mainfrom
develop
Sep 11, 2026
Merged

ptr727 merged 2 commits into
mainfrom
develop

Conversation

@ptr727

@ptr727 ptr727 commented Sep 11, 2026 •

Copy link
Copy Markdown
Owner

Promotes develop to main, carrying #1541 and #1545. #1541 corrects the WORKFLOW.md sections 3, 4 and 6 statements the tree contradicted and points the no-build pull request stub and the release skill at the corrected rules. #1545 fixes what #1541's final passes left: D1.2's route for tests in another shape, the Docker hooks in section 3, the Codecov wording in both stubs, and the release skill's override-seam section, now a pointer to section 3. What the passes found and neither change wrote is filed as #1536 and #1543, and #1545's own final findings as #1544.

Closes #1523
Closes #1539
Closes #1540

🤖 Generated with Claude Code

https://claude.ai/code/session_01SjJ6HmHg8u8SSdotSezKqk

## Summary

Settles #1523, a set of `WORKFLOW.md` sections 3, 4 and 6 statements the
tree contradicts, and the D6.4 item its comment adds. Each item was
checked against the YAML before it was changed.

- **Add/drop surface (section 3, D6.4).** A caller reaches
`build-release-task.yml` by pin (`spec/divergences.json` retires a local
copy), so its surface is the `enable_<target>` value its publisher
passes, its publisher's `on.push.paths`, `expect_release_assets`, the PR
workflow's filter, output and enable-forward, and a package target's
publish job. The task's own inputs, build jobs and `needs:` entries
belong to the task. The .NET build job is named for what it is,
`dotnet-publish`. The build layer names the per-job hook
(`.github/actions/<job>/action.yml`) a caller shapes its leaf through.
The `library` row gains the publisher surfaces and no longer says a
caller can forward an `enable_library` the hub task does not declare.
- **Release model.** "A shared paths filter" becomes the publisher's own
`on.push.paths`. The unscoped "re-pushes nothing" now defers to D4.4,
which a dispatch refreshes.
- **D3.2, D3.3.** D3.2 binds every literal that keys default-branch
behavior rather than three named ones, and says the hub tasks and their
default leaves write `main`. D3.3 no longer says the maintainer bumps
the patch.
- **D4.4.** Names the `gh release view` check rather than the tag, and
says "package-registry" pushes are no-ops so it no longer contradicts
Docker re-pushing.
- **D5.1 and section 3.** Drop the same-run exception, which covered
every cross-job artifact.
- **D1.2, D1.6.** D1.2 states what the validator detects
(`*Tests*.csproj`, or a root `tests/` beside `uv.lock` or
`requirements*.txt`), so a repo with tests in another shape knows to
replace the call. The no-build catalog stub now carries the same comment
the release-with-smoke stub does, telling a C# or Python repo to map
`CODECOV_TOKEN`, since `docs/reusable-workflows.md` has a call needing
no secret pass no `secrets:` key.
- **`operational-vs-release-workflow` skill.** Its
`release-publish-mechanics.md` reference names the per-job hook path and
drops the verbatim-carry claim, matching section 3.
- **Section 6.** Scopes the release task's cleanup to its
`release-asset-*` step, files S5 and S6 under a push trigger only,
credits S11's publish to D8.3's bot push, reads the wrapper state file
for the build or image version, drops D6.3 from the artifact divergence,
names the deploy hook's path and four inputs, and stops claiming S2 and
S3 on every operational pull request.

The section 3 list now names `expect_release_assets`, which is the
section 3 half of #1524's second item.

The whole-unit passes raised further statements this change did not
write, filed as #1536 for `WORKFLOW.md` and #1539 for the skill
reference's override-seam section, rather than fixed here. #1539's first
item is on a sentence this change rewrote, left for that issue on the
maintainer's call to stop editing after a final round. The final diff
pass found two more on text this change wrote, D1.2's "tests in another
shape" sentence and the Build bullet's missing Docker hooks, filed the
same way as #1540.

## Verification

- `scripts/build_dist.py --check`, `spec/validate.py`,
`scripts/repo_gate.py --check eol`, `scripts/prose_lint.py`, and
`scripts/docker_lint.py` (editorconfig, actionlint, markdownlint,
cspell, shellcheck, shfmt, PSScriptAnalyzer) all pass.
- A whole-unit pass over each moved canonical unit, and a diff pass,
recorded per `local-strict-review`.

Refs #1523

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

https://claude.ai/code/session_01SjJ6HmHg8u8SSdotSezKqk


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

## Summary by CodeRabbit

* **Documentation**
* Clarified release workflow guidance, including build hooks, artifact
collection, release creation, versioning, and target-specific update
requirements.
* Refined CI validation rules for supported C# and Python test layouts.
* Updated workflow guidance for different repository types and clarified
pull request coverage configuration.
* Improved explanations of release triggers, no-op behavior, and
resource lifecycle expectations.

* **Chores**
* Refreshed canonical review records to reflect the latest documentation
review results.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Copilot AI lite review requested due to automatic review settings September 11, 2026 18:32
@coderabbitai

coderabbitai Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 53 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: ea50f670-abd6-4309-8c20-031f7b8ac4b5

📥 Commits

Reviewing files that changed from the base of the PR and between fb42028 and fd53763.

⛔ Files ignored due to path filters (8)
  • .claude-plugin/fleet-skills/.source-digests/operational-vs-release-workflow is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/.source-digests/workflow-ci-contract is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/skills/operational-vs-release-workflow/references/release-publish-mechanics.md 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/operational-vs-release-workflow/references/release-publish-mechanics.md is excluded by !.github/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 (7)
  • .agents/skills/operational-vs-release-workflow/references/release-publish-mechanics.md
  • .agents/skills/workflow-ci-contract/references/architecture.md
  • .agents/skills/workflow-ci-contract/references/d-guarantees.md
  • WORKFLOW.md
  • catalog/snippets/workflows/test-pull-request.yml
  • docs/reusable-workflows.md
  • reports/canonical-review.json

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 11, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

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

Updated docs still misstate the validate-hook capability for nonstandard test layouts and under-describe Docker’s hook surfaces, which can mislead adopters.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR promotes develop to main and updates the workflow contract documentation to align WORKFLOW.md sections 3, 4, and 6 with the repository’s actual GitHub Actions behavior, including updates to the related skill reference materials and canonical review records.

Changes:

  • Update WORKFLOW.md architecture and behavioral-contract prose (sections 3/4/6) to match current workflow implementation details.
  • Refresh skill reference documents and their distributed copies to reflect the updated workflow contract language.
  • Update canonical review tracking metadata and add a clarifying note to the no-build PR workflow stub.
File summaries
File Description
WORKFLOW.md Updates workflow contract prose for architecture, guarantees, and per-type walkthroughs.
reports/canonical-review.json Refreshes canonical review digests/metadata for the updated units.
catalog/snippets/workflows/test-pull-request.yml Adds a note about mapping CODECOV_TOKEN for PR coverage reporting.
.github/skills/workflow-ci-contract/references/d-guarantees.md Distributed copy updated to match revised D-guarantees text.
.github/skills/workflow-ci-contract/references/architecture.md Distributed copy updated to match revised architecture text.
.github/skills/operational-vs-release-workflow/references/release-publish-mechanics.md Distributed copy updated for override-seam wording.
.claude-plugin/fleet-skills/skills/workflow-ci-contract/references/d-guarantees.md Fleet plugin copy updated to match revised D-guarantees text.
.claude-plugin/fleet-skills/skills/workflow-ci-contract/references/architecture.md Fleet plugin copy updated to match revised architecture text.
.claude-plugin/fleet-skills/skills/operational-vs-release-workflow/references/release-publish-mechanics.md Fleet plugin copy updated for override-seam wording.
.claude-plugin/fleet-skills/.source-digests/workflow-ci-contract Updates plugin source digest for workflow-ci-contract.
.claude-plugin/fleet-skills/.source-digests/operational-vs-release-workflow Updates plugin source digest for operational-vs-release-workflow.
.agents/skills/workflow-ci-contract/references/d-guarantees.md Source-of-truth skill reference updated for D-guarantees.
.agents/skills/workflow-ci-contract/references/architecture.md Source-of-truth skill reference updated for architecture.
.agents/skills/operational-vs-release-workflow/references/release-publish-mechanics.md Source-of-truth skill reference updated for override-seam wording.
Review details
  • Files reviewed: 14/14 changed files
  • Comments generated: 5
  • Review effort level: Lite

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

Comment thread WORKFLOW.md Resolved
Comment thread WORKFLOW.md Resolved
…ction 3 (#1545)

## Summary

Settles #1540 and #1539, the statements the #1523 change (#1541) wrote
or left that the tree contradicts, so promotion #1542 does not carry
them to `main`.

- **D1.2.** A repo whose tests take another shape can run them from its
own `.github/actions/validate/action.yml` hook, which
`validate-task.yml` runs where it exists. The hook receives no secret,
so a repo whose other-shape tests owe D1.6's coverage upload still
replaces the validator.
- **Section 3, Build.** Names the Docker leaf's `docker-prepare` hook,
which a caller's `docker_matrix` bypasses, and the `docker-build-base`
hook beside it, both reached through the release task's `build-docker`
job, which forwards `docker_matrix` and `docker_build_base`.
- **Codecov wording.** The no-build stub and the release-with-smoke stub
in `docs/reusable-workflows.md` say a tokenless upload can skip
silently, matching D1.6, rather than that coverage reaches Codecov.
- **Release skill, override seam.** The section restated `WORKFLOW.md`
section 3 and disagreed with it in all four places #1539 lists, so it is
now a pointer to section 3, which the `workflow-ci-contract` skill
carries whole. Its two remaining sentences on the hub defaults went too,
being false for the Docker default and misrouting the overrides that
need no hook. It keeps one sentence naming the inputs a caller sets
beyond `enable_*`, `docker_image` and the project-path inputs, which
section 3 does not name.

The whole-unit passes raised further statements this change did not
write, filed as #1543 rather than fixed here. The final passes found
three more on text this change wrote, D1.2's hook route missing the
validator job's fixed runner and scope, and the skill's caller-input
sentence overreaching and living only in the skill, filed as #1544 on
the maintainer's call to stop editing after a final round.

## Verification

- `scripts/build_dist.py --check`, `spec/validate.py`,
`scripts/repo_gate.py --check eol`, `scripts/prose_lint.py`, and
`scripts/docker_lint.py` pass.
- A whole-unit pass over each moved canonical unit, and a diff pass,
recorded per `local-strict-review`.

Refs #1540, #1539

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

https://claude.ai/code/session_01SjJ6HmHg8u8SSdotSezKqk


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

## Summary by CodeRabbit

- **Documentation**
- Expanded guidance for Docker build customization, including
preparation hooks, caller-provided build matrices, and optional shared
base layers.
- Documented support for repositories with custom test layouts through
validation hooks.
- Clarified coverage-upload behavior when no Codecov token is provided.
- Consolidated workflow architecture and behavioral-contract references
for consistency.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings September 11, 2026 19:41
@ptr727

ptr727 commented Sep 11, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

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

Two updated statements still overgeneralize validator-hook and caller-input requirements in ways that can mislead adopters into incorrect workflow shapes.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (1)

.agents/skills/operational-vs-release-workflow/references/release-publish-mechanics.md:39

  • This sentence reads as if docker_image and the project-path inputs are required by any enabled target, but build-release-task.yml only forwards those to the hub default hooks. Callers that provide their own hooks (or pass docker_matrix directly) may not need them, so this wording can mislead adopters into thinking these inputs are universally required.
carries whole as its `references/architecture.md`. A caller of the hub-hosted
`build-release-task.yml` also sets the inputs its enabled targets need, `docker_image` and the
project-path inputs among them.
  • Files reviewed: 15/15 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread WORKFLOW.md Resolved
@ptr727

ptr727 commented Sep 11, 2026

Copy link
Copy Markdown
Owner Author

Answering the suppressed Copilot finding on this head:

.agents/skills/operational-vs-release-workflow/references/release-publish-mechanics.md:39: This sentence reads as if docker_image and the project-path inputs are required by any enabled target, but build-release-task.yml only forwards those to the hub default hooks. Callers that provide their own hooks (or pass docker_matrix directly) may not need them, so this wording can mislead adopters into thinking these inputs are universally required.

Real, and already filed as #1544 (its release-skill items) while settling #1540, left unfixed on the maintainer's call to stop editing after a final round. Only the hub defaults need those inputs, and the requirement belongs in WORKFLOW.md section 3's curation list, stated for where a hub default runs.

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

Labels

None yet

Projects

None yet

2 participants