Skip to content

Name the Validate and Docker Hooks, and Point the Release Skill at Section 3 - #1545

Merged
ptr727 merged 2 commits into
developfrom
feature/1540-validate-and-docker-hooks
Sep 11, 2026
Merged

ptr727 merged 2 commits into
developfrom
feature/1540-validate-and-docker-hooks

Conversation

@ptr727

@ptr727 ptr727 commented Sep 11, 2026 •

Copy link
Copy Markdown
Owner

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 The Release Skill's Override-Seam Section Carries Statements the Tree Contradicts, Found Settling #1523 #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.ai/code/session_01SjJ6HmHg8u8SSdotSezKqk

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.

ptr727 and others added 2 commits September 11, 2026 12:17
…ction 3

Settle #1540 and #1539, statements the #1523 change wrote or left that
the tree contradicts.

D1.2 sends a repo whose tests take another shape to its own validate
hook, which the validator runs where it exists, rather than to a
replacement validator. Section 3's Build bullet names the Docker leaf's
docker-prepare hook, which a docker_matrix bypasses, and the
docker-build-base hook beside it, both of which the release task reaches
through its build-docker job. The no-build PR stub
and the release-with-smoke stub in docs/reusable-workflows.md say a
tokenless coverage upload can skip silently rather than reach Codecov.

The release skill's override-seam section restated section 3 and
disagreed with it in four places, so it is now a pointer to section 3,
which the workflow-ci-contract skill carries whole.

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
…nput

The validate hook receives no secret, so D1.2 now sends a repo whose
other-shape tests owe D1.6's coverage upload to a replacement validator
rather than the hook, which could never pass CODECOV_TOKEN.

The release skill's override-seam pointer names the inputs a caller of
the hub release task sets beyond the enable_* values, docker_image and
the project-path inputs, which WORKFLOW.md section 3 does not name.

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Copilot AI lite review requested due to automatic review settings September 11, 2026 19:35
@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 performed

Review finished.

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.

@coderabbitai

coderabbitai Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: a4926532-37e3-4b81-9a53-be299ca78549

📥 Commits

Reviewing files that changed from the base of the PR and between 09971b8 and 2da7763.

⛔ 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

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The change updates workflow documentation for Docker build hooks and custom validation hooks. It revises coverage-token wording in workflow examples and updates canonical review metadata for the affected documentation units.

Changes

Workflow contract documentation

Layer / File(s) Summary
Release build contract
.agents/skills/operational-vs-release-workflow/references/release-publish-mechanics.md, .agents/skills/workflow-ci-contract/references/architecture.md, WORKFLOW.md
The documentation now covers Docker preparation, caller-provided Docker matrices, shared Docker base builds, and centralized architecture guidance.
Validation contract
.agents/skills/workflow-ci-contract/references/d-guarantees.md, WORKFLOW.md, catalog/snippets/workflows/test-pull-request.yml, docs/reusable-workflows.md
The validation contract now supports repository-specific validation hooks and clarifies that coverage upload can skip silently without CODECOV_TOKEN.
Canonical review records
reports/canonical-review.json
Review digests, findings, hub commits, and timestamps are updated. Duplicate behavioral-contract entries are consolidated.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to 2da77

The documentation and canonical review record updates introduce no identified merge-blocking risk.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main changes: naming the validation and Docker hooks and pointing the release skill to WORKFLOW.md section 3.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/1540-validate-and-docker-hooks

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.

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 guidance sections still overstate when the validate hook and certain release-task inputs are usable/required, which can misroute adopters into configurations that cannot run under the reusable tasks’ fixed runner/permission/secret constraints.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This PR updates the workflow contract and related guidance so repos adopting the reusable validator and release tasks have accurate override instructions for validation hooks, Docker hooks, and Codecov coverage upload behavior, and it refreshes the canonical-review tracking for the touched canonical units.

Changes:

  • Expand the “Build” layer description to explicitly name Docker’s docker-prepare and docker-build-base hooks and how docker_matrix bypasses defaults.
  • Reword Codecov notes in the reusable-workflows doc and the test-pull-request.yml snippet to match tokenless best-effort upload behavior.
  • Replace the release skill’s override-seam restatement with a pointer to WORKFLOW.md section 3, plus update canonical review digests/stamps.
File summaries
File Description
WORKFLOW.md Updates workflow contract prose for build-layer hooks and validator hook guidance.
reports/canonical-review.json Refreshes canonical-unit digests, findings counts, and stamps for the reviewed units.
docs/reusable-workflows.md Adjusts Codecov coverage comment wording in the reusable workflow docs.
catalog/snippets/workflows/test-pull-request.yml Adjusts Codecov coverage comment wording in the canonical PR workflow snippet.
.agents/skills/workflow-ci-contract/references/architecture.md Mirrors the updated “Two Layers” architecture wording in the skill source.
.agents/skills/workflow-ci-contract/references/d-guarantees.md Mirrors the updated D1.2 validator guidance in the skill source.
.agents/skills/operational-vs-release-workflow/references/release-publish-mechanics.md Points override-seam guidance at WORKFLOW.md section 3 (and retains a caller-input sentence).
.github/skills/workflow-ci-contract/references/architecture.md Generated skill copy updated to match the skill source.
.github/skills/workflow-ci-contract/references/d-guarantees.md Generated skill copy updated to match the skill source.
.github/skills/operational-vs-release-workflow/references/release-publish-mechanics.md Generated skill copy updated to match the skill source.
.claude-plugin/fleet-skills/skills/workflow-ci-contract/references/architecture.md Generated plugin skill copy updated to match the skill source.
.claude-plugin/fleet-skills/skills/workflow-ci-contract/references/d-guarantees.md Generated plugin skill copy updated to match the skill source.
.claude-plugin/fleet-skills/skills/operational-vs-release-workflow/references/release-publish-mechanics.md Generated plugin skill copy updated to match the skill source.
.claude-plugin/fleet-skills/.source-digests/workflow-ci-contract Updates plugin source-digest to reflect regenerated content.
.claude-plugin/fleet-skills/.source-digests/operational-vs-release-workflow Updates plugin source-digest to reflect regenerated content.
Review details
  • Files reviewed: 15/15 changed files
  • Comments generated: 3
  • Review effort level: Lite

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

Comment thread WORKFLOW.md Resolved
@ptr727
ptr727 merged commit fd53763 into develop Sep 11, 2026
9 checks passed
@ptr727
ptr727 deleted the feature/1540-validate-and-docker-hooks branch September 11, 2026 19:42
ptr727 added a commit that referenced this pull request Sep 11, 2026
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.com/claude-code)

https://claude.ai/code/session_01SjJ6HmHg8u8SSdotSezKqk
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.

2 participants