Skip to content

#165 chore: re-render context-cadence.yml (gregoryfoster/skills#683) - #166

Merged
gregoryfoster merged 3 commits into
mainfrom
165-rerender-context-cadence
Dec 3, 2026
Merged

gregoryfoster merged 3 commits into
mainfrom
165-rerender-context-cadence

Conversation

@gregoryfoster

Copy link
Copy Markdown
Member

Refs #165 (closes after the post-merge dispatched run is read).

What

  • .github/workflows/context-cadence.yml re-rendered by install-cadence.sh, no flags, from skills 85768b9d: 1 file changed, 114 insertions(+), 16 deletions(-). It brings in curating-context: the cadence's pr render trusts GITHUB_REF_NAME, can reopen a squashed PR's rows, and discovers the PR twice gregoryfoster/skills#683:
    • Hold the run to the default branch (after Read the merge mode, before the credential preflight). A pr run on any ref but refs/heads/main fails with ::error:: before it measures anything.
    • The measurement PR ends mid-run. The take-in step exports TAKEN/TAKEN_PR. The taken tip is now in main's history (an FF or merge-commit merge): the row is merged into main's new tip and the branch restarts there. A squash, a close, a deleted branch or a failed fetch: ::error::, the row is not pushed, and the fix is to dispatch again, never Re-run jobs. CR 2575: a stale OPEN no longer reports "updated PR #N".
    • The schedule (14 16 * * 2) and the checkout pin (3d3c42e5aac5… # v7.0.1) are kept. .gitattributes and both merge drivers are unchanged.
  • CR 1: docs/SKILLS.md § Context budget says both behaviours.
  • CR 2: tests/test_ci.py's floor test covers context-cadence.yml (checked against a # v6.0.0 copy: assert 6 >= 7). docs/DEPENDENCIES.md says so.

Verified

  • install-cadence.sh --check: re-render: none (a re-render writes the installed file back). Every other line is as before.
  • The new guard step, run locally: refs/heads/main → on main, the default branch. refs/heads/feature/x and refs/tags/main → ::error::, exit 1. direct passes.
  • shellcheck -S warning is clean on the changed run: blocks. ruff, format, uv lock --locked, scripts/shellcheck.sh: green. pytest: 1143 passed, 16 skipped.

No deploy: no runtime path changes. After the FF merge: gh workflow run context-cadence.yml on main, and its row lands on PR #157.

🤖 Generated with Claude Code

gregoryfoster and others added 3 commits December 3, 2026 15:41
…plate

install-cadence.sh with no flags, on skills 85768b9d. Brings in
gregoryfoster/skills#683: a pr-mode run off the default branch is refused
before it measures, and a measurement PR that ends mid-run either restarts
the branch on the default tip (merged into its history) or fails the run
instead of reopening its rows. Schedule and the actions/checkout SHA pin
(v7.0.1, 3d3c42e5aac5) are kept; .gitattributes and the drivers unchanged.
install-cadence.sh --check: re-render none.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d of its PR wants a dispatch, not Re-run jobs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…loor too

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gregoryfoster
gregoryfoster merged commit 58e6f63 into main Dec 3, 2026
3 of 4 checks passed
@gregoryfoster
gregoryfoster deleted the 165-rerender-context-cadence branch December 3, 2026 15:52
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.

1 participant