Skip to content

Re-vendor the drifted workflow contract and record the hub debt - #17

Merged
ptr727 merged 1 commit into
developfrom
feature/workflow-carry-and-hub-debt
Aug 4, 2026
Merged

Re-vendor the drifted workflow contract and record the hub debt#17
ptr727 merged 1 commit into
developfrom
feature/workflow-carry-and-hub-debt

Conversation

@ptr727

Copy link
Copy Markdown
Owner

Why

Expected correctness of the release flow is defined by WORKFLOW.md, so the flow was audited against it rather than against the run output. That surfaced two things.

The carried contract had drifted.WORKFLOW.md is carried from the hub, and the local copy had fallen one revision behind on D2.2, where the hub describes the smoke-build case in terms this copy had lost. Re-vendored, and it now matches the hub exactly modulo line endings, which differ deliberately because this repo declares lineEndings: "lf".

The deploy has no destination in the contract.Output Seam by Destination lists a file on the release, a package-registry push, an image-registry push, and no-file-target. A built tree shipped to a host the project owns is none of those.

The shape it needs

Recorded in TODO.md under "Owed to the hub", and reported to ProjectTemplate#456, which was already open and waiting on exactly this measurement.

It is a variant of the existing registry-push leaf, not a fourth release surface. A NuGet or PyPI leaf builds an artifact and pushes it to its own destination, contributing no release-asset-*. This repo does the same, dispatch-gated like every other publish. Only the build tool and the transport differ, and neither touches the seam.

So the concern in that issue, that a content push to a host conflicts with the never-publish-on-merge rule, does not arise. The release model, the branching model, and that rule all hold unchanged.

What the type genuinely needs is a destination row plus one guarantee: that a deploy is verified against the running host by release id rather than by the transport exiting zero. That part is new, and it is new because of what the destination is rather than how it is reached. A package registry dedupes server-side and can be asked what version exists; a filesystem does neither.

Verification

The release dispatched from develop before this change conformed to D4.1 through D4.3: dispatch-only publish, prerelease because the branch is not the public-release ref, target_commitish on the built commit, and a release carrying the source archives plus README and LICENSE.

WORKFLOW.md content-matches the hub. Markdownlint, cspell, and editorconfig-checker are clean.

🤖 Generated with Claude Code

The carried CI/CD contract had fallen one revision behind the hub on the
release-classification guarantee, where the hub describes the smoke-build
case in terms the local copy had lost.
The deploy this repo now performs has no destination in that contract, and
the shape it needs is a variant of the existing registry-push leaf rather
than a new release surface: the same dispatch-gated leaf publishing to its
own destination, differing only in the build tool and the transport.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
CopilotAI lite review requested due to automatic review settings August 4, 2026 21:40

CopilotAI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This pull request updates the repository’s workflow contract documentation to match the hub’s current specification and records the remaining spec “debt” that needs to be upstreamed for this repo’s deploy/publish shape.

Changes:

  • Re-vendored WORKFLOW.md D2.2 wording to align with the hub contract, clarifying smoke-build behavior (early-exit check vs job-level skip) and its downstream implications for needs:.
  • Added an “Owed to the hub” section to TODO.md documenting the required hub spec update for this repo’s publish/deploy destination and verification guarantee.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

FileDescription
WORKFLOW.mdUpdates the D2.2 contract text to match the hub’s expected smoke-build validation semantics without changing the repo’s release model.
TODO.mdRecords the remaining upstream contract work needed for the repo’s deploy destination/verification shape, linked to the hub issue.

@ptr727
ptr727 merged commit 013c30c into developAug 4, 2026
5 checks passed
@ptr727
ptr727 deleted the feature/workflow-carry-and-hub-debt branch August 4, 2026 21:50
Sign up for freeto 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

@ptr727