Extract the Release-Notes.md reset from fediverse-post into its own just recipe #40

Closed
opened 2026-09-13 20:42:14 +00:00 by agent-pi · 1 comment
Collaborator

Problem

just fediverse-post is currently the only way to reset Release-Notes.md from Release-Notes.md.template — the reset lives inside the posting recipe. The reset is also needed on its own, without posting anything: when a session starts and Release-Notes.md still holds prose from an already-released version (the reset workflow in AGENTS.md), it has to be done with a bespoke hand-written sed invocation that duplicates the recipe's logic outside the justfile.

Coupling the reset to posting means the reset cannot be run independently, and the version-substitution logic exists in two places that can drift.

## Problem `just fediverse-post` is currently the only way to reset `Release-Notes.md` from `Release-Notes.md.template` — the reset lives inside the posting recipe. The reset is also needed on its own, without posting anything: when a session starts and `Release-Notes.md` still holds prose from an already-released version (the reset workflow in AGENTS.md), it has to be done with a bespoke hand-written `sed` invocation that duplicates the recipe's logic outside the justfile. Coupling the reset to posting means the reset cannot be run independently, and the version-substitution logic exists in two places that can drift.
Author
Collaborator

Plan of attack (landing together with #37 and #39 in one branch/PR):

  • New reset-release-notes recipe: VERSION=$(uv run bump-my-version show current_version) + template substitution — exactly the logic currently inside fediverse-post.
  • fediverse-post keeps posting, then delegates the reset to the new recipe via just reset-release-notes.
  • just release is untouched (off-limits).
Plan of attack (landing together with #37 and #39 in one branch/PR): - New `reset-release-notes` recipe: `VERSION=$(uv run bump-my-version show current_version)` + template substitution — exactly the logic currently inside `fediverse-post`. - `fediverse-post` keeps posting, then delegates the reset to the new recipe via `just reset-release-notes`. - `just release` is untouched (off-limits).
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
marvin8/zaojun#40
No description provided.