Skip to content

Reconcile source-only release docs with the inlined publisher (#379 items 4, 5) - #381

Merged
ptr727 merged 2 commits into
developfrom
source-only-release-docs-379
Jul 21, 2026
Merged

ptr727 merged 2 commits into
developfrom
source-only-release-docs-379

Conversation

@ptr727

@ptr727 ptr727 commented Jul 21, 2026

Copy link
Copy Markdown
Owner

From #379 (Financial-Modeling adoption), items 4 and 5 plus the three sibling occurrences of the same defect.

The mismatch

The docs described a source-only repo's release as the multi-target build-release-task.yml edited down (get-version -> validate-release -> github-release, expect_release_assets: false). But the actual reference — the hub's own publish-release.yml, and spec/files.json appliesTo (which excludes source-only from build-release-task.yml) — is the opposite: a source-only repo carries no build-release-task.yml and publishes via a standalone dispatch-only publish-release.yml that inlines nbgv + action-gh-release, gated by the reusable validation task.

Reconciled every occurrence

  • AGENTS.md "Release Model" (item 4) — the override seam does not apply to source-only; describe the standalone inlined publisher.
  • WORKFLOW.md §6 source-only (item 5) — no build-release-task.yml to edit down; de-duped the validation-gate sentence.
  • WORKFLOW.md "no file target" (sibling) — split source-only out of the Docker/PyPI-only expect_release_assets group.
  • WORKFLOW.md D4.3 (sibling) — qualified the expect_release_assets path to release-task repos; source-only reaches tag-only via inlined action-gh-release.
  • WORKFLOW.md operational (sibling) — its source-only publisher no longer cites expect_release_assets.

Verification

markdownlint clean (32 files); CRLF preserved; expect_release_assets fully decoupled from source-only (remaining mentions explicitly say it does not apply). The orchestration-baseline vs source-only tension is resolved by the "Release Model" case stating the seam does not apply.

🤖 Generated with Claude Code

…tems 4, 5)

The docs described a source-only repo's release as the multi-target
build-release-task.yml edited down (get-version -> validate-release ->
github-release, expect_release_assets: false). The actual reference - the hub's
own publish-release.yml, and spec/files.json appliesTo - is the opposite: a
source-only repo carries no build-release-task.yml and publishes via a standalone
dispatch-only publish-release.yml that inlines NBGV and action-gh-release, gated
by the reusable validation task.

Reconcile every occurrence to that reality:
- AGENTS.md "Release Model" source-only case: the override seam does not apply;
  describe the standalone inlined publisher (item 4).
- WORKFLOW.md section 6 source-only: no build-release-task.yml to edit down;
  standalone inlined publisher; de-dupe the validation-gate sentence (item 5).
- WORKFLOW.md "no file target" (item at line 135) and D4.3: split source-only out
  of the Docker/PyPI-only expect_release_assets path - it has no release task, so
  expect_release_assets does not apply.
- WORKFLOW.md operational case: its source-only publisher no longer cites
  expect_release_assets.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Copilot AI review requested due to automatic review settings July 21, 2026 22:51

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.

Pull request overview

Reconciles the documented release model for source-only repositories with the actual reference implementation (standalone dispatch-only .github/workflows/publish-release.yml that inlines NBGV + softprops/action-gh-release), removing the prior implication that source-only repos use a trimmed-down build-release-task.yml and expect_release_assets.

Changes:

  • Updates WORKFLOW.md to scope expect_release_assets: false to no-file-target repos that still use the release task (Docker-only, PyPI-only), and to describe source-only publishing via the standalone inlined publisher.
  • Updates AGENTS.md "Release Model" to state the orchestration/build override seam does not apply to source-only repos and to describe the standalone publisher shape.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
WORKFLOW.md Refines the contract text to separate source-only publishing from release-task usage, and clarifies where expect_release_assets applies.
AGENTS.md Aligns "Release Model" documentation with the standalone source-only publisher implementation.

Comment thread WORKFLOW.md Resolved
… publisher (#381)

spec/project-types.json's sourceonly.release.tagonly check still asserted "the
caller passes expect_release_assets:false" - the release-task model this PR is
reconciling away. Update it (and the sibling nbgv.retained assertion) to the
standalone publish-release.yml shape: inlined action-gh-release, no
build-release-task.yml, no expect_release_assets. NBGV inlined to compute the tag.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Copilot AI review requested due to automatic review settings July 21, 2026 22:56

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.

Pull request overview

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

@ptr727
ptr727 merged commit f58b3f9 into develop Jul 21, 2026
7 checks passed
@ptr727
ptr727 deleted the source-only-release-docs-379 branch July 21, 2026 23:14
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