-
Edit a campaign's description, and bump to 0.27.0
released this
2026-08-24 02:53:49 +00:00 | 57 commits to master since this releasecampaign setreached the title and the codename, so the description a
campaign was filed with was the description it kept: fixing a typo in the
one field nothing could edit meant a hand edit of the file, or refiling the
campaign and reassigning every member.Both halves arrive together, which is why d637288 left this out rather than
adding the flag.campaign set --descriptionreplaces the section and
campaign append --descriptionadds a paragraph to it, because asetwith
noappendis the half that is easy to reach for and wrong: replacing a
description to add a sentence is how the rest of it gets lost.appendis a campaign's own subcommand rather than the top-level one, which
resolves a ticket.resolve_in's tiers are the same over both directories,
so one positional naming either object could resolve in each with nothing
but a flag to say which was meant, and it would make a liar of the
explanationresolve_ticketgives a ticket search that names a campaign.The section is the
DESCRIPTIONentry and the surgery is
set_section_body,append_section_bodyandSection::normalise, not a
copy scoped to campaigns.SECTION_ORDERneeds no campaign variant: a
campaign holds one section where a ticket holds four, and the followers a
campaign does not have are simply not in the file, so its description
anchors against## Metadata, wherecampaign_bodywrites it.Still no
--clear, and that is now a decision rather than a deferral: a
campaign's description has no cleared form, so an empty--description ""
is a paragraph break here as it is everywhere else, and the refusal for an
all-blank value says there is nowhere to go back to instead of naming a flag
that does not exist.replaced_itemsandappended_itemshold that check
once for both objects, with the way out as the caller's argument.The section refusal no longer says "Ticket", since a campaign reaches it
too.Co-Authored-By: Claude Opus 5 (1M context) noreply@anthropic.com
Downloads