Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ptr727/ProjectTemplate
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.428
Choose a base ref
...
head repository: ptr727/ProjectTemplate
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.0.438
Choose a head ref
  • 11 commits
  • 15 files changed
  • 2 contributors

Commits on Aug 23, 2026

  1. Correct Deploy-Site Script Inventory in Reusable-Workflows Doc (#927)

    Fixes #925.
    
    The "Deploy-site" adoption section in `docs/reusable-workflows.md`
    assumed Blog's deploy carries three scripts (`deploy/make-release.sh`,
    `deploy/prune-releases.sh`, `checks/check-live-urls.sh`) folding 1:1
    into the hub's three-mode `deploy` hook invocation
    (`build`/`prune`/`verify`). Blog's actual repo has no
    `deploy/prune-releases.sh`, retention is the tail of `make-release.sh`
    itself.
    
    This works through the build/prune/verify split against Blog's real
    `deploy/make-release.sh` and `checks/check-live-urls.sh`, as the
    reference adoption the issue asked for:
    
    - Corrects the script inventory (two scripts, not three).
    - Clarifies where the hub-owned upload/flip sequence ends and the hook's
    own `build` mode begins, since `make-release.sh`'s own swap-and-prune
    tail runs entirely against the ephemeral `bundle-path` scratch tree the
    hook is passed, never the live host.
    - Explains why `make-release.sh`'s internal hard-link-against-previous
    check is inert in CI (the scratch tree is empty every run, so it never
    has a previous release to compare against), and that the property that
    actually matters for the fleet's retention floor is the hub-owned remote
    `--link-dest`, which nothing currently asserts a floor on.
    - Explains why `prune` mode is a no-op for Blog specifically: its deploy
    credential is a forced `rsync` command confined write-only, so it can't
    observe or delete the remote destination, and retention there is owned
    by a host-side timer instead (already recorded in Blog's own
    `OPERATIONS.md`), a pattern `deploy-site-task.yml`'s own code comments
    already anticipate.
    - Restores (corrected) the "why a hook, not a path convention" rationale
    the original prose made, since dropping the false three-script claim
    shouldn't drop that reasoning too.
    
    Along the way this surfaced a real, separate gap: `verify` mode has no
    secret-forwarding path for a repo that gates a non-production
    environment behind a token, the way Blog's `checks/check-live-urls.sh`
    needs `PANGOLIN_ACCESS_TOKEN_ID`/`PANGOLIN_ACCESS_TOKEN` for its staging
    auth gate. `deploy-site-task.yml` declares no such secret today. That's
    tracked as a new open checklist item rather than solved here, since the
    shape (a named pair vs. a generic passthrough) is its own design
    decision.
    
    No code changes, `docs/reusable-workflows.md` only. Verified locally:
    `prose_lint.py --diff HEAD` clean, `repo_gate.py --check eol` clean,
    `markdownlint-cli2` clean.
    
    🤖 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 deploy-site adoption guidance for build, prune, and
    verification workflows.
    * Documented environment-variable handling and responsibilities between
    the hub and site-specific hooks.
    * Added a rollout decision item regarding staging authentication secrets
    in deployment verification.
    
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    
    Co-authored-by: Claude Sonnet 5 <[email protected]>
    ptr727 and claude authored Aug 23, 2026
    Configuration menu
    Copy the full SHA
    fc489dd View commit details
    Browse the repository at this point in the history
  2. Add drive-pr and merge-and-release Skills (#923)

    Packages the recurring feature-to-develop-to-main drive, and the
    merge-plus-release step (with a hub-only Skills refresh), as two new
    fleet Skills.
    
    - `drive-pr`: drives a PR's review loop from feature into develop and,
    when asked, on to a mergeable develop -> main promotion PR, applying
    pr-review-conduct's finding disposition throughout, looping a
    promotion-PR finding back through its own feature -> develop fix cycle.
    Asks once how far to drive when the request does not say.
    - `merge-and-release`: merges a ready promotion PR and, when asked,
    dispatches the release, refreshing this machine's installed Skills first
    when the repo is this hub. Asks once how far to go when the request does
    not say.
    
    Both skills point to pr-review-conduct, operational-vs-release-workflow,
    repo-worktree, and skill-lifecycle for their mechanics rather than
    restating them.
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    ## Summary by CodeRabbit
    
    * **New Features**
    * Added guided workflows for moving feature pull requests through
    review, merge, and optional promotion.
    * Added release workflows for approved promotions, including
    verification, dispatching, monitoring, and cleanup.
      * Registered the new capabilities across supported skill catalogs.
    
    * **Documentation**
    * Documented approval requirements, authorization boundaries, review
    feedback handling, merge verification, escalation, and safe cleanup
    procedures.
    * Clarified failure reporting and safeguards against unauthorized or
    incomplete release operations.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    ptr727 authored Aug 23, 2026
    Configuration menu
    Copy the full SHA
    f969ca5 View commit details
    Browse the repository at this point in the history
  3. Track Deploy-Site Verify-Mode Secret Gap in TODO.md (#930)

    Adds a bullet to the "Hub-Hosted Reusable Workflows" cluster tracking
    #929, the `deploy-site-task.yml` verify-mode secret-forwarding gap
    surfaced while working out #925.
    
    No design decision made here, just the pointer per TODO.md's own
    convention ("File implementation defects separately").
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    
    ## Summary by CodeRabbit
    
    * **Documentation**
    * Added a planning item covering secure secret forwarding for deployment
    hook invocations.
    * Included staging authentication requirements to help guide future
    deployment improvements.
    * Linked the item to the relevant tracking issue for follow-up and
    implementation.
    
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    
    ---------
    
    Co-authored-by: Claude Sonnet 5 <[email protected]>
    ptr727 and claude authored Aug 23, 2026
    Configuration menu
    Copy the full SHA
    f49a3f4 View commit details
    Browse the repository at this point in the history
  4. Declare require_extra_approval_for_unattributed_changes in Rulesets (#…

    …932)
    
    Fixes #926.
    
    GitHub added the `pull_request` ruleset parameter
    `require_extra_approval_for_unattributed_changes` and enabled it by
    default on every new and existing ruleset (it requires one more approval
    than the configured threshold when Copilot opens a PR under its own app
    identity rather than attributed to a person). It was absent from the
    hub's committed payloads, so `configure.sh check` flagged every repo
    carrying it, including the hub's own `develop`/`main` rulesets, as
    drift, even though nothing was ever actually misconfigured.
    
    Confirmed live `true` on both of the hub's own rulesets and on Blog's
    before choosing the value, so this commits what GitHub already applies
    fleet-wide rather than picking a new default. It also has no live
    behavioral effect today, since it only matters once
    `required_approving_review_count` is above zero, which is 0 on every
    ruleset checked so far.
    
    One correction to the issue's ask:
    `repo-config/operational/develop.json` carries no `pull_request` rule at
    all (operational repos take direct signed pushes to `develop`, no PR
    gate), so there's no `pull_request` parameters object there to add the
    key to. Only `develop.json` and `main.json` changed.
    
    Verified: `repo-config/configure.sh check ptr727/ProjectTemplate
    release` now passes clean (previously would flag `develop`/`main` rule
    `pull_request` parameters as mismatched, matching the issue's own repro
    against Blog).
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-authored-by: Claude Sonnet 5 <[email protected]>
    ptr727 and claude authored Aug 23, 2026
    Configuration menu
    Copy the full SHA
    614604d View commit details
    Browse the repository at this point in the history
  5. Track Blog gitattributes Divergence Decision in TODO.md (#934)

    Adds a cluster to TODO.md tracking #931: whether Blog's \`-text\` plus
    explicit named \`eol=lf\` pins plus a rotted-pin gate is an accepted
    alternative to the fleet's \`text=auto eol=lf\` default.
    
    Reflects the issue's own follow-up comment, which changes the original
    post's position: option 3 (ask Blog to adopt \`text=auto eol=lf\`) is
    now ruled out, since it would defeat \`eol-coverage\` (the check #634
    built for exactly this failure mode) for the one repo whose bug caused
    that check to exist. The comment now leans toward option 1 (document the
    alternative in \`line-endings.md\`) over option 2 (a plain registry
    driftNote), and raises a secondary open question about whether
    \`eol-coverage\` runs in Blog's own CI.
    
    No decision made here, this is the pointer per TODO.md's own convention,
    the actual call is explicitly the maintainer's per the issue.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    
    ## Summary by CodeRabbit
    
    * **Documentation**
    * Added a decision record documenting Blog’s divergence from the
    standard `.gitattributes` pattern.
    * Linked the decision to the relevant tracking issue for future
    reference.
    
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    
    ---------
    
    Co-authored-by: Claude Sonnet 5 <[email protected]>
    ptr727 and claude authored Aug 23, 2026
    Configuration menu
    Copy the full SHA
    18dd75e View commit details
    Browse the repository at this point in the history
  6. Add markdown-exclude-globs Input to validate-task.yml (#935)

    Fixes #924.
    
    `validate-task.yml`'s Lint Markdown step hardcoded `globs: '**/*.md'`
    with no `workflow_call` input to narrow or exclude paths, and
    `.markdownlint-cli2.jsonc` is declared `"fidelity": "verbatim", "whole":
    true` in `spec/files.json`, so a downstream repo has no way to edit it
    locally either. Blog vendors the PaperMod theme under `themes/PaperMod/`
    and carries an imported WordPress content archive under `content/**`,
    both git-tracked, so adopting the hub's `validate-task.yml` as
    documented would start linting several hundred posts and an entire
    vendored theme tree Blog does not author and cannot keep clean, breaking
    the PR gate rather than improving it.
    
    ## The fix
    
    An optional `markdown-exclude-globs` input, appended after `**/*.md` in
    the Lint Markdown step's own `globs:` block, so a caller only ever
    narrows the default, never restates or replaces it:
    
    ```yaml
        with:
          markdown-exclude-globs: |
            !content/**
            !themes/*/**
    ```
    
    Empty by default. Verified this doesn't error against the action's own
    source (`DavidAnson/markdownlint-cli2-action`'s `dist/index.mjs` at the
    pinned SHA): `getInput("globs").split(separator).filter(String)`, so the
    blank line an empty input leaves behind is dropped, not passed to the
    CLI as an empty glob. Confirmed with a local test fixture too: without
    the exclude globs, `content/**` and `themes/**` files are linted (and
    fail); with them, only the caller's own files are.
    
    `docs/reusable-workflows.md`'s "Adopting the Gates" section documents
    the new input with Blog's own case as the example.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    ---------
    
    Co-authored-by: Claude Sonnet 5 <[email protected]>
    ptr727 and claude authored Aug 23, 2026
    Configuration menu
    Copy the full SHA
    e95d8b1 View commit details
    Browse the repository at this point in the history
  7. Make Feature-Branch Cleanup Explicit in drive-pr and merge-and-release (

    #933)
    
    Fixes a real gap from driving PR #923 through its own review loop: the
    feature branch that PR's own task landed on
    (task/drive-pr-merge-release-skills) was left dangling on origin after
    merge, because merge-and-release's 'never --delete-branch' rule (correct
    for a promotion PR, whose head is develop) got applied to what was
    actually an ordinary feature-branch merge.
    
    - drive-pr's feature -> develop merge never passes --delete-branch (that
    flag needs to switch the current worktree to the base branch to delete
    the feature branch, which fails when develop is already checked out
    elsewhere, the ordinary case in this layout). It merges with a plain `gh
    pr merge --squash`, then deletes the remote branch explicitly, `git push
    origin --delete <branch>`, as part of cleanup from the base clone.
    - merge-and-release's procedure is reordered to the requested sequence:
    merge, dispatch and correlate the release run, refresh hub Skills, then
    cleanup last.
    - merge-and-release's cleanup step now has two required parts: the
    promotion PR's own worktree (never deletes develop), and a defensive
    sweep for any already-merged feature-branch worktree or branch
    drive-pr's own cleanup should have removed but might not have (an
    interrupted loop, a fix landed by hand, a maintainer merge in the UI),
    verified via GitHub's own PR state (mergedAt, head SHA) rather than git
    merge-base --is-ancestor, which never proves a squash merge finished,
    then removed with git branch -D under the confirmed post-squash
    exception.
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    ## Summary by CodeRabbit
    
    - **Release Process**
    - Improved workflow tracking by matching releases to the correct commit
    and reporting missing, ambiguous, failed, or timed-out runs.
    - Repositories without a configured release trigger now skip unnecessary
    release processing.
    - Skills and release-related updates refresh consistently after release
    handling.
    
    - **Cleanup**
    - Improved post-merge cleanup for feature worktrees and branches while
    protecting important shared branches.
    
    - **Documentation**
    - Clarified merge and release procedures, including safer branch
    handling, explicit merge steps, and reliable cleanup.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    ptr727 authored Aug 23, 2026
    Configuration menu
    Copy the full SHA
    e11669c View commit details
    Browse the repository at this point in the history
  8. Stop merge-and-release's Hub Refresh from Force-Discarding Local main (…

    …#937)
    
    Found via a qodo review finding on the develop -> main promotion PR
    (#936), confirmed against the actual procedure.
    
    `merge-and-release/SKILL.md` step 5 told an agent to run \`git fetch
    origin main\` then \`git checkout -B main origin/main\` to refresh the
    hub checkout's local main after a promotion merges. \`-B\`
    unconditionally force-resets the branch to the fetched tip, discarding
    any unpushed local commits or a dirty tree, and doesn't notice main
    checked out in another worktree, violating the fleet's own Repository
    Boundaries and Write Safety rule (no reconciling non-fast-forward state,
    no work-discarding operations as task convenience).
    
    ## The fix
    
    \`git switch main\` (or \`git switch -c main origin/main\` the first
    time this checkout has no local \`main\` at all), then \`git merge
    --ff-only origin/main\`. Both refuse rather than discard: \`switch\` on
    a dirty tree or a \`main\` owned by another worktree, \`merge
    --ff-only\` on anything but a clean fast-forward. Same outcome on the
    ordinary path (a hub checkout whose local main is stale or absent), a
    stop-and-report instead of silent data loss on the unusual one.
    
    Edited the source (\`.agents/skills/merge-and-release/SKILL.md\`) and
    regenerated both derived trees with \`scripts/build_dist.py\`, verified
    with \`--check\` and \`scripts/tests/test_build_dist.py\`.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    
    ## Summary by CodeRabbit
    
    - **Bug Fixes**
    - Improved branch refresh safety by preventing local changes from being
    discarded.
    - Refresh operations now stop and report when worktrees are dirty,
    branches conflict, or updates cannot be applied as a fast-forward.
    - Existing local branches are updated safely, while missing branches are
    created from the remote source.
    
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    
    ---------
    
    Co-authored-by: Claude Sonnet 5 <[email protected]>
    ptr727 and claude authored Aug 23, 2026
    Configuration menu
    Copy the full SHA
    37725f7 View commit details
    Browse the repository at this point in the history
  9. Add SITE_AUTH_TOKEN_ID/SITE_AUTH_TOKEN Secret Handoff to Deploy-Site …

    …Verify Hook (#938)
    
    `deploy-site-task.yml`'s `verify` hook invocation had no path to forward
    a secret — only GitHub Environment variables (`SITE_BASE_URL`,
    `DEPLOY_SSH_USER`, `DEPLOY_SSH_HOST`) crossed into any hook invocation.
    Blog's `checks/check-live-urls.sh` needs a
    `PANGOLIN_ACCESS_TOKEN_ID`/`PANGOLIN_ACCESS_TOKEN` pair to open its
    staging environment's auth gate, which was blocking Blog's
    `deploy-site-task.yml` adoption (tracked in
    `docs/reusable-workflows.md`'s Stage 5 rollout).
    
    ## Change
    
    - Declares an optional, generic `SITE_AUTH_TOKEN_ID`/`SITE_AUTH_TOKEN`
    secret pair (`required: false`) under `on.workflow_call.secrets`.
    - Forwards both as `env:` on the `verify` hook invocation only, the same
    mechanism the task already uses for GitHub Environment variables (plain
    `env:`, not a declared `with:` input, so no other mode needs to
    declare/pass an input it doesn't use).
    - Names no vendor on the hub task: Blog's own caller maps its
    `PANGOLIN_ACCESS_TOKEN_ID`/`PANGOLIN_ACCESS_TOKEN` secrets to these
    generic names in its own `secrets:` block.
    - Updates `docs/reusable-workflows.md`'s hook-contract prose and ticks
    the Stage 5 rollout checklist item that tracked this decision.
    - Removes the now-resolved `TODO.md` item.
    
    Fixes #929
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    ## Summary by CodeRabbit
    
    - **New Features**
    - Deploy workflows can now perform token-gated live-site verification
    using optional site authentication credentials.
    - Authentication credentials must be supplied together and are used only
    during verification.
    
    - **Documentation**
    - Added guidance for configuring authentication during deploy
    verification.
    - Clarified secret policies and how to map site authentication
    credentials for deployment.
    
    - **Chores**
    - Removed the completed task related to forwarding authentication
    credentials during deployment.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    
    ---------
    
    Co-authored-by: Claude Sonnet 5 <[email protected]>
    ptr727 and claude authored Aug 23, 2026
    Configuration menu
    Copy the full SHA
    3f4de59 View commit details
    Browse the repository at this point in the history
  10. Shorten New Deploy-Site Secret Prose Below the 25-Word Cap (#941)

    Follow-up to #938, prompted by a CodeRabbit finding on the develop ->
    main promotion PR (#936): several sentences #938 added to
    `deploy-site-task.yml`'s assert-step comment and
    `docs/reusable-workflows.md` ran past comment-and-doc-style's 25-word
    cap for new prose.
    
    ## Change
    
    - Splits the four over-length sentences into shorter ones, no content
    removed.
    - Leaves pre-existing long sentences in the same paragraphs untouched
    (they predate #938 and #929; the sentence-length rule is opt-in for the
    existing corpus, binding only for new prose).
    
    🤖 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 handling of optional authentication-token mappings during
    deployment verification.
    - Documented that partial token mappings are forwarded to verification
    hooks and treated as configuration errors.
      - Explained exceptions for environment-scoped deployment secrets.
    - Expanded reusable workflow guidance for verification inputs,
    environment-variable forwarding, and caller-managed token mappings.
    
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    
    ---------
    
    Co-authored-by: Claude Sonnet 5 <[email protected]>
    ptr727 and claude authored Aug 23, 2026
    Configuration menu
    Copy the full SHA
    9e27e72 View commit details
    Browse the repository at this point in the history
  11. Promote Develop to Main (#936)

    Promotes develop to main.
    
    Closes #924, Closes #925, Closes #926.
    
    #929 and #931 are filed and tracked in TODO.md but not resolved, both
    are pending a maintainer decision, so they stay open.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    ## Summary by CodeRabbit
    
    - **New Features**
    - Added guided workflows for pull-request review, promotion, merging,
    and release steps.
      - Added configurable Markdown file exclusions to validation workflows.
    - Added deployment verification using optional authentication
    credentials, including incomplete-credential validation.
      - Added Skill refresh support after releases.
    
    - **Documentation**
    - Documented pull-request, promotion, release, deployment, and
    validation workflows.
    - Added rollout guidance and follow-up items for deployment
    authentication and line-ending consistency.
    
    - **Configuration**
    - Enabled additional approval requirements for unattributed changes on
    development and production branches.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    ptr727 authored Aug 23, 2026
    Configuration menu
    Copy the full SHA
    7383114 View commit details
    Browse the repository at this point in the history
Loading