Skip to content

docs(claude.md): document local-workflow update policy#265

Merged
max-sixty merged 3 commits into
mainfrom
hourly/review-24331105292
Apr 13, 2026
Merged

docs(claude.md): document local-workflow update policy#265
max-sixty merged 3 commits into
mainfrom
hourly/review-24331105292

Conversation

@tend-agent
Copy link
Copy Markdown
Collaborator

@tend-agent tend-agent commented Apr 13, 2026

Summary

Per maintainer guidance (comment): document the local-workflow update policy in CLAUDE.md rather than adding skip logic to the nightly skill. Tend's tend-*.yaml workflows track the latest published release; nightly regen via uvx tend@latest init is the source of truth, updating earlier to the latest release is fine, and the in-tree generator should not push workflows beyond the latest release. The lag between a generator commit and the next release is expected and closes at the next release.

The earlier nightly-skill skip is reverted; only CLAUDE.md changes remain.

Test plan

  • Future nightly runs on tend continue to regen against uvx tend@latest; reviewers reading CLAUDE.md understand the resulting "revert" PRs are expected during the post-commit/pre-release window

When `generator/pyproject.toml` exists (i.e. on the tend repo itself),
Step 5 of the nightly skill now regenerates workflows via the in-tree
generator instead of `uvx tend@latest`. Adopter repos without `generator/`
fall through to the existing `uvx tend@latest` path unchanged.

Motivation: PR #264 (from run 24330194038) ran `uvx tend@latest init` with
PyPI's `tend` at 0.0.11 (released 2026-04-10). `main` has 10 generator
commits landed since — #223 (drop hardcoded job timeouts), #225 (dedup
review events), #227 (workflow_extra), #228 (paginate), #231 (inline-reply
guidance), #233 (drop bot-author filter on issue_comment), #235 (prompt →
skill), #254 (notifications freshness gate + bot-closed-PR drop), etc.
Regenerating against the stale wheel reverted each of these. Maintainer
flagged the PR as regressions; diagnosis confirmed the PyPI lag.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@tend-agent tend-agent added the claude-behavior Behavioral issues found by review-reviewers label Apr 13, 2026
@max-sixty
Copy link
Copy Markdown
Owner

I think instead we should just avoid upgrading the local workflows outside of releases

Per maintainer feedback on #265: rather than running the in-tree generator
during nightly, skip Step 5 entirely when generator/pyproject.toml exists.
Workflow regeneration on tend itself happens as part of the release flow,
not nightly — that avoids both PyPI-lag reverts and divergence between
local workflows and the published generator.

Adopter repos (no in-tree generator) continue to regen via uvx tend@latest.
@tend-agent tend-agent changed the title fix(nightly): use in-tree generator on tend to avoid PyPI-lag reverts fix(nightly): skip workflow regen on tend, defer to release flow Apr 13, 2026
@tend-agent
Copy link
Copy Markdown
Collaborator Author

Agreed — that's the cleaner framing. Pushed 19aa2ae which replaces the in-tree-generator approach with an early skip in Step 5 when generator/pyproject.toml exists. Adopter repos (no in-tree generator) continue to regen via uvx tend@latest unchanged.

One note: with this change, the only path that updates tend's local workflows is the release flow, but the release skill doesn't currently include a regen step. Want me to open a follow-up PR adding uv run --project generator tend init to the release skill, or would you rather handle it ad-hoc per release?

@max-sixty
Copy link
Copy Markdown
Owner

let instead just make a note in our Claude.md that we update each night to the latest release; that it's ok to update earlier to the latest release; but not to update beyond it

Replaces the nightly-skill skip with a CLAUDE.md note per maintainer
guidance: workflows track the latest published release, can be updated to
latest release at any time, but must not be pushed beyond it via the
in-tree generator. The lag between a generator commit and the next
release is expected.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@tend-agent tend-agent changed the title fix(nightly): skip workflow regen on tend, defer to release flow docs(claude.md): document local-workflow update policy Apr 13, 2026
@tend-agent
Copy link
Copy Markdown
Collaborator Author

Done — pushed 6b3d1dc which reverts the nightly-skill skip and adds a paragraph to CLAUDE.md documenting the policy: workflows track the latest published release, updating earlier to latest release is fine, in-tree generator should not push workflows beyond the latest release, and the lag between a generator commit and the next release is expected. PR title/description updated to match.

@max-sixty max-sixty merged commit 075d0e4 into main Apr 13, 2026
3 checks passed
@max-sixty max-sixty deleted the hourly/review-24331105292 branch April 13, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude-behavior Behavioral issues found by review-reviewers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants