Commit Graph
737 Commits
Author SHA1 Message Date
Defame1297andClaude Opus 5.5 389b5cc425 docs(readme): document consumer pinning with the object form
Expand README "For external consumers" with how to pin a plugin at
<plugin>-v<x.y.z> using apm's object form, why the shorthand form fails
on this host, and that Renovate updates are planned but untested
(ADR-0033 consequence 3). Point the ref: line in the bin, core, git and
kyberforge READMEs at that section.

Refs #235, #236

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 19:54:37 +00:00
Defame1297 276fd1f099 Merge pull request 'docs(adr): amend ADR-0033 for object-form pins (#235, #236)' (#258) from docs/adr-0033-consumer-pin-amendment into main
Reviewed-on: #258
Reviewed-by: Defame1297 <[email protected]>
2026-11-29 19:20:59 +00:00
Defame1297andClaude Opus 5.5 b4a452b690 docs(adr): amend ADR-0033 — withdraw apm-manager packageRule
Renovate's apm manager reads only the shorthand form, which apm cannot
install for a Gitea subpath, so the overridePackageName rule cannot work.
Record the object-form consumer pin and the planned, untested customManagers
route. The tag shape decision is unchanged.

Refs #235, #236

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 18:51:20 +00:00
Defame1297 0abe97270b Merge pull request 'chore(apm): lock plan 0.5.0' (#257) from chore/lock-plan-0.5.0 into main
Reviewed-on: #257
2026-11-29 18:32:21 +00:00
Defame1297andClaude Opus 5.5 1e1c2c1ce2 chore(apm): lock plan 0.5.0
Refresh the lock after #256: write-docs is now deployed from plan, not bin.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 18:12:28 +00:00
Defame1297 3b0dcc32d4 Merge pull request 'feat(plan)!: wire existing skills into /plan and move write-docs into plan' (#256) from feat/plan-skill-wiring into main
Reviewed-on: #256
Reviewed-by: Defame1297 <[email protected]>
bin-v5.0.0 plan-v0.5.0
2026-11-29 18:05:55 +00:00
Defame1297andClaude Opus 5.5 c4bee9e3b9 docs(plan): make outline step 7 docs commands conditional
Match the prompt: the write-docs and research-docs commands are given
only when step 5 listed docs, and the output path is asked only for
research-docs topics.

Refs: #255

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 17:34:25 +00:00
Defame1297andClaude Opus 5.5 fe0e297f98 fix(plan): tighten /plan hand-offs after review
Ask researchers to flag reference-doc needs, add the wayfinder "no"
branch, name the docs branch and give only applicable doc commands,
resolve the label ID before stripping Ready for Agent from the spec,
point the /to-spec rerun at step 8's block, and call /write-docs and
/research-docs user-run.

Refs: #255
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 17:33:24 +00:00
Defame1297 99054c8cd2 feat(plan)!: move write-docs from bin into plan
Why: write-docs belongs next to research-docs in plan, the plugin that owns
turning work into documented specs and tickets (ADR-0031 amendment, !251).

Implementation notes:
- write-docs moves from bin to plan as a pure rename; SKILL.md is
  byte-for-byte unchanged (it already sits at ADR-0020's body-size budget).
- Versions: bin 4.0.0 -> 5.0.0, plan 0.4.0 -> 0.5.0 (the single plan bump
  for spec #252). plan gains the documentation keyword.
- README plugin bullets move documentation from bin to plan; plan's outline
  now says write-docs ships in plan.
- marketplace.json regenerated with apm pack.

BREAKING CHANGE: bin no longer ships write-docs; install plan for it.
Refs: #253
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 17:17:48 +00:00
Defame1297andClaude Opus 5.5 6638385a51 feat(plan): wire existing skills into /plan
Step 2 grills with grilling plus domain-modeling (no GLOSSARY.md or ADR
edits; candidates go to step 7) and exits early on the wayfinder track
with a copyable /wayfinder command. Step 5 uses codebase-design only on
module or interface changes and lists the docs needed downstream. Step 7
hands out /write-docs and /research-docs commands for the docs PR. Steps
8-10 show /to-spec and /to-tickets as code blocks, strip Ready for Agent
via gitea-labels-milestones, and group tickets under a Spec: milestone.
The outline moves these items into "What ships today".

Refs: #255

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 17:09:32 +00:00
Defame1297andClaude Opus 5.5 bc04eaaed5 feat(plan): add wayfinder track to plan-track
Work too large for one agent session, or with decisions that cannot be settled yet, needs a
third track. /wayfinder is hand-invoked, so plan-track names it only as a command for the user
to run. Wayfinder is checked before spec-and-tickets because it ends the /plan flow early.

Refs: #254
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 16:13:55 +00:00
Defame1297 0d99a41a57 Merge pull request 'docs(plan): record skill wiring decisions for /plan' (#251) from docs/plan-skill-wiring into main
Reviewed-on: #251
2026-11-29 16:05:39 +00:00
Defame1297andClaude Opus 5.5 bfe096b64d docs(plan): record skill wiring decisions for /plan
Add the Spec: milestone convention to the issue-tracker doc, update the
plan outline for three tracks (wayfinder), skill wiring and the agreed
not-yet-built items, and amend ADR-0031 for write-docs moving to plan.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 14:08:11 +00:00
Defame1297 43a42ce9f6 Merge pull request 'chore(apm): lock plan 0.4.0' (#250) from chore/lock-plan-0.4.0 into main
Reviewed-on: #250
2026-11-29 13:55:50 +00:00
Defame1297andClaude Opus 5.5 3414c039a8 chore(apm): lock plan 0.4.0
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 13:04:26 +00:00
Defame1297 219a084c25 Merge pull request 'feat(plan): bare-bones /plan MVP with gate, research, validate and record agents' (#249) from feat/plan-mvp into main
Reviewed-on: #249
Reviewed-by: Defame1297 <[email protected]>
plan-v0.4.0
2026-11-29 11:49:58 +00:00
Defame1297andClaude Opus 5.5 e31e8686b9 docs(plan): tighten /plan approval wording and outline notes
/plan is hand-invoked like /ship, step 6 states that agreeing also
approves the docs PR, and the outline's agent notes are corrected.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 11:20:50 +00:00
Defame1297andClaude Opus 5.5 cf875e6e1a fix(plan): unroute agent descriptions and regenerate marketplace
Agent descriptions named the /plan prompt in slash form, which the
agent validator reads as an unresolved routing target. Regenerate
marketplace.json for plan 0.4.0. /plan now strips the ready label from
filed tickets without acceptance criteria, and the outline notes the
packages plan assumes are installed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 10:51:44 +00:00
Defame1297andClaude Opus 5.5 b7747d27b6 feat(plan): add bare-bones /plan MVP with gate, research, validate and record agents
Add the /plan orchestrator prompt for outline steps 0-10, four stub
agents (plan-gate, plan-researcher, plan-validator, plan-recorder) and
the plan-track skill. Steps 8-10 hand off to the hand-invoked /to-spec
and /to-tickets, which the user runs as their approval. /next now
offers /plan as a handoff. Bump plan to 0.4.0.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 10:48:44 +00:00
Defame1297 b98340d432 Merge pull request 'docs(plan): add sequence diagram to outline' (#248) from docs/plan-outline-sequence-diagram into main
Reviewed-on: #248
2026-11-29 10:39:36 +00:00
Defame1297andClaude Opus 5.5 1a887a750e docs(plan): add sequence diagram to outline
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 10:04:57 +00:00
Defame1297 1a2b63e2cb Merge pull request 'chore(apm): lock plan 0.3.0' (#247) from chore/lock-plan-0.3.0 into main
Reviewed-on: #247
2026-11-29 09:41:57 +00:00
Defame1297andClaude Opus 5.5 ffaf1678da chore(apm): lock plan 0.3.0
Records the apm update after #246: every Holocron package resolves to
9ae0c8c, so research-docs and the planning skills deploy from plan, and
codebase-design deploys from plan instead of mattpocock.

Refs: #246
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 09:29:20 +00:00
Defame1297 9ae0c8ce09 Merge pull request 'feat(plan)!: pull planning skills and research-docs into plan' (#246) from feat/plan-primitives into main
Reviewed-on: #246
bin-v4.0.0 mattpocock-v0.5.0 plan-v0.3.0
2026-11-29 07:38:58 +00:00
Defame1297 7661d14b43 feat(plan)!: move codebase-design into plan and amend ADR-0031
Why: codebase-design is the deep-module vocabulary that planning relies on
when it shapes a spec or ticket breakdown, so it belongs beside the other
planning skills. ADR-0031 still said the thinking tools live in mattpocock,
which this PR makes untrue.

Implementation notes:
- The codebase-design v1.3.2 pin moves from plugins/mattpocock to plugins/plan.
  mattpocock's tdd and improve-codebase-architecture now reach it through plan.
- mattpocock's description says "architecture review" instead of "codebase
  design"; marketplace.json is regenerated to match.
- ADR-0031 gets a dated amendment listing what moved to plan, why
  setup-matt-pocock-skills is pinned in both packages, and why delivery
  does not need to depend on plan.

BREAKING CHANGE: mattpocock no longer ships codebase-design; install plan
for it.
Refs: #246
ADR: 0031
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-28 23:15:23 +00:00
Defame1297 9dad7fa71c feat(plan)!: pull planning skills and research-docs into plan
Why: plan owns turning a ticket or idea into a spec and tickets, but the skills
that do that work lived elsewhere: Matt Pocock's planning skills in the
mattpocock wrapper and research-docs in bin. Pulling them into plan is the
first step to growing the plugin from what already exists.

Implementation notes:
- The upstream pins for wayfinder, grilling, grill-me, grill-with-docs,
  domain-modeling, research, prototype, triage, to-spec and to-tickets move
  from plugins/mattpocock to plugins/plan, still at v1.3.2.
- setup-matt-pocock-skills is pinned in both packages: it writes the tracker
  doc that plan's wayfinder, to-spec, to-tickets and triage read, and that
  mattpocock's code-review and implement-spec read. apm dedupes the pin.
- research-docs and its evals move from bin to plan unchanged. It may be
  split out again later.
- Cross-package routes (improve-codebase-architecture -> grilling,
  implement-spec -> to-spec) still resolve under ADR-0029's corpus-wide walk.
- Versions: plan 0.2.0 -> 0.3.0, mattpocock 0.4.0 -> 0.5.0, bin 3.0.0 -> 4.0.0.
  marketplace.json regenerated with apm pack.

Impact: a consumer that installs only mattpocock or only bin no longer gets
these skills and must add plan.

BREAKING CHANGE: mattpocock no longer ships the planning skills and bin no
longer ships research-docs; install plan for them.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-28 20:20:32 +00:00
Defame1297 8cc8667bb3 Merge pull request 'feat(plan): refine outline and ship /ship temporarily' (#244) from feat/install-plan into main
Reviewed-on: #244
Reviewed-by: Defame1297 <[email protected]>
plan-v0.2.0
2026-11-28 19:46:05 +00:00
Defame1297 a84ce90694 Merge branch 'main' into feat/install-plan 2026-11-28 19:45:55 +00:00
Defame1297andClaude Opus 5.5 f5cbaa78e2 feat(plan): refine outline and ship /ship temporarily
Why: a grilling round on the outline settled its general shape. The outline
now has two tracks (spec and tickets, or tickets only), three entry points
that all start at one gate, a validation split between a cheap gate before
grilling and a deep check after research, named loop-backs with a two-loop
park cap, a docs PR that records decisions before the spec, and a single
approval to file tickets and set Ready for Agent. Undecided points are
listed under "Open for later".

/ship moves into the plugin unchanged from the personal command, so the
/ship that /next hands off to ships with the package rather than living
only in one maintainer's ~/.claude. It is marked temporary: implementation
does not belong in plan long term.

Impact: the description in apm.yml, marketplace.json and architecture.md
no longer claims the plugin stops before implementation. plan goes to
0.2.0 because it ships a new prompt.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-28 19:12:29 +00:00
Defame1297 e4abbd06df Merge pull request 'feat(apm): install plan in this repo' (#243) from feat/install-plan into main
Reviewed-on: #243
2026-11-28 18:27:23 +00:00
Defame1297andClaude Opus 5.5 d782239d19 feat(apm): install plan in this repo
This repo installs what it ships (ADR-0018), so root apm.yml now consumes
the plan package added in #241. It could not be wired in that PR because
root dependencies resolve from remote main (ADR-0019). apm.lock.yaml
records plan 0.1.0 and its one deployed file, .claude/commands/next.md.

plan is the first package to ship a prompt, so .claude/commands/ is apm
install output for the first time. It joins .claude/skills/ and
.claude/agents/ in .gitignore for the same reason: committing a deployed
copy would add a mirror of plugins/<name>/.apm/ to drift against.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-28 17:55:44 +00:00
Defame1297 5920287122 Merge pull request 'feat(marketplace): add plan skeleton package' (#241) from feat/plan-plugin-scaffold into main
Reviewed-on: #241
Reviewed-by: Defame1297 <[email protected]>
plan-v0.1.0
2026-11-28 17:52:12 +00:00
Defame1297 a489b1c536 Merge branch 'main' into feat/plan-plugin-scaffold 2026-11-28 17:51:59 +00:00
Defame1297 4380dd03ce Merge pull request 'fix(tests): stop fixture helpers leaking temp dirs into /tmp' (#242) from fix/test-fixture-tmp-leak into main
Reviewed-on: #242
Reviewed-by: Defame1297 <[email protected]>
2026-11-28 17:37:10 +00:00
Defame1297andClaude Opus 5.5 b1b6deeac9 feat(marketplace): add plan skeleton package
Why: add a home for turning a ticket or idea into a validated, researched
spec and agent-ready tickets, stopping before implementation (that is
delivery's job).

- New `plan` package at 0.1.0 (hybrid; claude, copilot, codex).
- docs/outline.md records the maintainer's intended flow (validate, grill
  if needed, research repo + online, plan with options, agree, write
  epic/feature spec, propose ticket breakdown) as intent only; nothing is
  built yet beyond the prompt.
- Ships the existing personal `/next` command as
  .apm/prompts/next.prompt.md with its body unchanged.
  `disable-model-invocation` is dropped because apm prompt files do not
  support it (verified by a throwaway apm install: clean, body identical).
- Root apm.yml does not consume it yet: its dependencies resolve from
  remote main (ADR-0019), so wiring it in is a follow-up after merge, the
  same two-step as ansible/k8s.

Impact: the catalog gains a package; marketplace version 0.8.1 -> 0.9.0
(minor).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-28 16:07:12 +00:00
Defame1297 da88cd8d32 fix(tests): stop fixture helpers leaking temp dirs into /tmp
Why: new_repo/make_fixture/make_repo created a mktemp dir and appended
it to the cleanup array, but every caller runs them as R="$(helper)".
The append happens in that command-substitution subshell and is lost,
so the EXIT trap removed nothing. Each run leaked one dir per call:
31, 54, 22 and 9 for the four suites, about 1,700 dirs on one day.

Implementation Notes:
- Each suite creates one RUN_TMP root up front with a single
  `trap 'rm -rf "$RUN_TMP"' EXIT`; every fixture is `mktemp -d` under
  it, so cleanup no longer depends on where the helper runs.
- The CLEANUP_DIRS / FIXTURES arrays are gone from these four suites.
- test-check-scope-walkup-sync.sh and test-check-apm-agents-valid.sh
  already register fixtures in the caller and are unchanged.

Assisted-by: Claude Code
2026-11-28 14:40:47 +00:00
Defame1297 8ffff54fbc Merge pull request 'feat(release): tag each plugin release as <plugin>-v<version>' (#234) from feat/223-plugin-release-tags into main
Reviewed-on: #234
2026-11-27 20:36:32 +00:00
Defame1297andClaude Opus 5.5 6dc081793c docs(agents): check the remote before treating a release tag as published
tag-plugin-releases.sh reads local tags only, so a tag that --apply created
but nobody pushed reports OK and exit 0. Tell agents to confirm with
git ls-remote before calling the release done.

Refs: #223
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-27 19:53:11 +00:00
Defame1297andClaude Opus 5.5 62650543ec fix(scripts): use one whole-history first landing for release tags
Why: the untagged-run branch looked for an earlier run of a version only
from the start of the wanted range, while tag validation used the first
landing across all history. After a backfill, a revert to a pre-backfill
version was tagged on the revert commit, and the next dry run reported
that tag as a later landing: exit 2, blocking --apply for every plugin.

Implementation Notes:
- first_run() returns the first valid run of a version over the whole
  first-parent history; tag validation, the tagged-elsewhere check, the
  backfill start and the untagged-run check all use it.
- An untagged version whose first landing lies before the wanted range
  reports RELEASED with a "before the tagged range; not tagged" note; no
  tag is created and the exit code is unaffected.
- Preflight rejects a plugin name whose tag git check-ref-format refuses
  (e.g. a..b, a*) before any history is read, so a glob character never
  reaches a pathspec or ref pattern; tags are listed once and filtered by
  exact prefix instead of a for-each-ref glob.
- git rev-list failure and an empty run list now exit 2 with a FAIL
  message instead of being read as no history or crashing.
- The error footer addresses agents (stop and report, AGENTS.md) and the
  maintainer (fix by hand, ADR-0033) separately.

Impact: ADR-0033 defines first landing precisely, documents the preflight,
and documents the maintainer escape from an INVALID run (hand-cut tag on
the next valid version; --apply stays all-or-nothing). New tests cover the
revert repro, a backfill range holding a pre-range version, the INVALID
escape, rev-list failure/empty history, a glob plugin name, and the footer.

Refs: #223
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-27 19:25:16 +00:00
Defame1297andClaude Opus 5.5 0a52c8597d docs(adr): let the agent push release tags on explicit approval
Why: the maintainer decided the agent pushes release tags itself. A
pushed tag is an immutable release (an irreversible publish), so each
push still needs the maintainer's explicit yes in the conversation; the
approval, not who types the command, is the control.

Implementation Notes:
- ADR-0033 Decision: after --apply the agent shows the exact tags and
  the printed push line, and on an explicit yes runs exactly that
  `git push origin <tag>...` (never --tags, never other refs). The
  maintainer-only and free Propose-tier variants are recorded as
  rejected options.
- ADR-0033: --apply requires origin/main's first-parent history, and a
  tag on a later landing of its version is an error.
- AGENTS.md, README.md and gates.md state the same rule; exit 2 still
  means stop and report, never hand-fix, move or delete a tag.

Refs: #223
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-27 18:35:12 +00:00
Defame1297andClaude Opus 5.5 03bacd6e5a fix(scripts): gate --apply on main's first-parent line and reject later-landing tags
Why: a commit of an already-merged feature branch is an ancestor of
origin/main, so the ancestor check let --apply walk that branch's
first-parent history and tag a feature commit (git-v1.3.9 on 025ad4a).
A valid annotated tag on a later run of a recurring version was also
accepted as the start point, hiding the versions between its first
landing and that run.

Implementation Notes:
- --apply now requires the ref on origin/main's first-parent list;
  otherwise exit 2 and no tags.
- A tag must peel to the FIRST run of its version; one on a later run
  is an ERROR row and never the start point.
- apm.yml pathspecs use :(literal), so a plugin name is never a glob.
- Repeated --plugin values are de-duplicated (bash 3.2-safe).
- The printed push hint says the push runs only on the maintainer's
  explicit yes to that exact line.

Impact: tests cover all but the literal pathspec, which has no
observable effect on run grouping today and is defensive.

Refs: #223
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-27 18:34:20 +00:00
Defame1297andClaude Opus 5.5 c8853c7a44 docs(agents): stop and report on a release-tag script exit 2
An exit 2 from scripts/tag-plugin-releases.sh means a mis-cut tag or bad
input that only the maintainer may resolve; tags are immutable, so an
agent must never hand-fix, move or delete one.

Refs: #223
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-27 18:14:36 +00:00
Defame1297andClaude Opus 5.5 b3fd1f2f0c fix(scripts): validate every release tag and gate --apply on origin/main
A mis-cut tag could serve as the start point and silently drop the runs
before it: x-v9.9.9 or a lightweight x-v1.0.1 on a later landing hid an
untagged 1.1.0 and --apply succeeded. Every reachable <p>-v<semver> tag is
now validated (annotated, peels to a landing of its own version); an
invalid one is an ERROR row naming it, blocks --apply, and is never the
start point.

Also from review:
- --apply needs origin/main and a ref on it; no local-main fallback.
- A version with literal quotes is invalid, not stripped.
- Plugin dirs are listed NUL-separated; a leading-dash name exits 2.
- With no tags, the backfill starts at the current version's first
  landing, so a recurring version is released once, there (Case 2, 12d).
- expect_row ERE-escapes plugin and version.

ADR-0033 updated to match.

Refs: #223

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-27 18:14:23 +00:00
Defame1297andClaude Opus 5.5 b3cdcc9bbb docs(adr): align ADR-0033, AGENTS.md and delivery.md on release tags
ADR-0033 said the git-v1.3.8 one-off could be cut "with --ref", which without
--plugin tags every plugin at that commit, and said an agent may run --apply
only when asked, contradicting AGENTS.md. It also did not cover a reverted
version, which the script now reports as RELEASED.

- ADR-0033: a version is released once, at its first landing (revert case);
  the one-off is the exact --ref <sha> --plugin git --apply command; agents run
  --apply locally after a bump merges and the maintainer pushes; hand or Gitea
  create_tag cuts are a maintainer path.
- AGENTS.md: agents cut release tags only with the script.
- delivery.md: Conventions bullets reduced to pointers, per the
  delivery-repo-doc format (section 6, no restating).

Refs: #223

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-27 17:56:27 +00:00
Defame1297andClaude Opus 5.5 f677698887 fix(scripts): release a recurring version once, at its first landing
A reverted bump left a run whose tag peeled to an earlier landing, which the
script reported as ERROR. Because --apply is all-or-nothing, that ERROR stayed
in the wanted set forever and blocked every other plugin's tag.

A version is now released once, at its first landing. A run whose tag peels to
an earlier run of the same version, or whose untagged version already appears
earlier in the wanted set, reports RELEASED with a note and never blocks other
rows. A tag on no landing of its version remains ERROR.

Also: preflight every new tag name with git check-ref-format; report the tags
already created, with their push line, and exit 2 if git tag fails mid-run;
reject whitespace in apm.yml name and version. New tests cover the revert,
in-set repeats, delete and re-add, an off-history tag, an invalid version in the
wanted set, origin/main default resolution, and --apply with --plugin and --ref.

Refs: #223

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-27 17:55:47 +00:00
Defame1297andClaude Opus 5.5 8b54a60fc8 docs(agents): add the release-tag rule and delivery onboarding doc
AGENTS.md gains a session rule: a merged plugin version bump gets its
release tag via scripts/tag-plugin-releases.sh, and pushing the tag is
the maintainer's action (ADR-0032, ADR-0033). docs/agents/delivery.md
onboards the repo to the delivery team: checks, test paths, human
allowlist, and credential boundary.

Refs: #223

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-27 17:41:12 +00:00
Defame1297andClaude Opus 5.5 227d8f09a0 chore(apm): switch tagPattern to {name}-v{version} and bump catalogue to 0.8.1
The marketplace build tagPattern now matches the per-plugin tags of
ADR-0033. Every entry has a local source:, so the compiled
marketplace.json is unchanged apart from the catalogue version bump.

The .gitignore comment for the root plugin.json now warns that apm pack
reads an existing copy back in preference to apm.yml, so releases must
be packed with --force.

Refs: #223

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-27 17:41:02 +00:00
Defame1297andClaude Opus 5.5 32d81b32d2 docs(adr): record ADR-0033 plugin release tags as <plugin>-v<version>
Every plugin version on main gets an annotated <plugin>-v<version> tag,
cut by scripts/tag-plugin-releases.sh after merge. No hook can enforce
it: merges via Gitea run no local hook, and pre-commit skips a pushed
tag on an already-pushed commit, so tagging is a maintainer step.

ADR-0024 gains a forward note that its rejected option 2, ground 2, is
now addressed; gates.md explains why tagging is not a gate, and README
lists the maintainer's post-merge steps.

Refs: #223

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-27 17:40:51 +00:00
Defame1297andClaude Opus 5.5 bc53b98d61 feat(scripts): add tag-plugin-releases.sh to cut per-plugin release tags
Consumers pinning a holocron package (Renovate's apm manager, apm
outdated) need a <plugin>-v<version> tag per plugin version; the
repo-level v* tags match no plugin. The script derives each wanted tag
from the ref's first-parent history of plugins/<p>/apm.yml, targeting the
commit where the version first landed on main.

It is a dry run by default (exit 1 when tags are missing); --apply
creates the missing tags locally and prints the push command. It never
pushes, fetches, moves, or deletes a tag.

Refs: #223

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-27 17:40:39 +00:00
Defame1297 4722cfc14f Merge pull request 'chore(apm): update lock to Holocron main 92d39ae' (#233) from chore/apm-lock-update-92d39ae into main
Reviewed-on: #233
2026-11-27 16:39:36 +00:00