Commit Graph
761 Commits
Author SHA1 Message Date
Defame1297andClaude Opus 5.5 01fe1fb767 docs: run apm only through the uv-pinned invocation
README, the AGENTS.md session rules, architecture.md and the .gitignore
comments now give the pinned `uv run --frozen apm` form for every apm
command in this repo and the two one-time online setup steps. A new
session rule says a bare `apm` reaches the global 0.28.0, which this repo
does not use. README and AGENTS.md add the setup note for a checkout
deployed by apm 0.28: move .claude/skills, agents and commands aside
before the first 0.39 install, or apm refuses with "no trustworthy local
deployment baseline".

Refs #272

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 11:49:22 +00:00
Defame1297andClaude Opus 5.5 7e63f22bf8 docs: re-verify the apm 0.28.0 claims in hook and test comments
Checked against apm 0.39.3 live and in its source. The apm-audit-ci
description and comments now give 15 root checks and 2 plugin checks,
about 70 s through uv run, manifest-parse as a named row, and the new
"nothing to scan" wording. The run-bats copytree note, the #204 git-env
test header and its LESSONS entry say what holds on 0.39.3.

Refs #272

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 11:49:22 +00:00
Defame1297andClaude Opus 5.5 c2ba7f01bf fix(apm): regenerate apm.lock.yaml from a fresh apm 0.39.3 install
The lock committed in e87bd67 was written by `apm update` over an
apm_modules/ that apm 0.28.0 had populated. The 22 pinned third-party
dependencies (fluxcd gitops skills and mattpocock skills) were reused
from that cache, so the lock lacked their carried_licenses and LICENSE
deployment records. A fresh install writes them, which left the
committed lock out of step with every new checkout and failed
apm-pack-check-clean there on a content-hash mismatch.

Regenerated with `uv run --frozen apm install` after moving apm_modules/
aside: +331/-1, only carried_licenses for those 22 dependencies, their 22
LICENSE deployment records, and generated_at. A second fresh install into
another empty apm_modules/ left the lock byte-identical. Still the
sanctioned lock rewrite (ADR-0034); no tracked .claude/ file changed.

Refs: #271

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 11:27:04 +00:00
Defame1297andClaude Opus 5.5 126831e96f fix(scripts): expand APM_CMD bash-3.2-safely in apm-pack-check-clean
The helper now seeds APM_CMD empty, and a bare "${APM_CMD[@]}" on an
array that can be empty fails under `set -u` on bash 3.2. The bash-4
construct scan in tests/test-vale-wrap.sh caught it at pre-push. Use the
guarded expansion that run_apm already uses.

Refs: #271

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 10:29:51 +00:00
Defame1297andClaude Opus 5.5 b0977d4073 feat(scripts): fail the push on a parked executable in apm.lock.yaml
apm records each dependency's executables decision as `exec_status:` in
the lock. A gated_* value means the trust gate parked that package's
hooks, bin or MCP servers. Root `apm audit --ci` still passes in that
state, so a wrong key would leave the SessionStart hook or the delivery
guard uninstalled with every gate green (spike #269, section 7.3).

check-executables-allow-sync now scans the lock's dependencies and fails
on any gated_* entry, naming its identity and status, with a Why/Fix
block that starts from `apm approve --list`. It runs even when no plugin
here ships executables. The test covers deployed, two gated_* values
under both readers, the no-plugin case, and that neither the next
dependency nor the deployments: section is misreported. gates.md and the
hook description note it.

Refs: #271

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 10:12:06 +00:00
Defame1297andClaude Opus 5.5 045e43f0f8 fix(scripts): describe allow-sync keys as <identity>#<version>
A comment and the name-mismatch message still described the bare
<name>#<version> key. Both now say <identity>#<version>, and that the
directory name is what finds the identity, through the root dependency
entry's `path: plugins/<dir>`.

Refs: #271

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 10:11:41 +00:00
Defame1297andClaude Opus 5.5 5089856c0d fix(scripts): anchor the apm version check to its CLI banner
Match `CLI version X.Y.Z`, the banner apm prints, instead of any
`version X.Y.Z`, so other version-like text on stdout is not taken for
apm's version. Fail clearly when APM holds only whitespace, instead of
running an empty command.

The seam B test now pins both properties. The fake uv also writes a
banner-shaped `uv CLI version 0.0.1` to stderr, so a parser reading the
merged stream fails it (23 failures with the round-1 bug restored). A
stub that prints `version 0.40.0` before a 0.28.0 banner must still fail.
The git-env test's stub prints the real banner.

Refs: #271

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 10:11:28 +00:00
Defame1297andClaude Opus 5.5 0696ce31e7 test(kyberforge): keep the real-apm probe off the network
The probe moves HOME to an empty dir, which also moved uv's cache and its
managed Pythons, leaving uv cold. Pin UV_CACHE_DIR and
UV_PYTHON_INSTALL_DIR to the real ones resolved beforehand, and set
UV_OFFLINE so the probe runs the synced pin and never fetches. Verified
under `unshare -rn`.

Refs: #271

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 09:47:45 +00:00
Defame1297andClaude Opus 5.5 dca0b5823b fix(scripts): refuse a dependency URL with a port in the allow-sync gate
How apm 0.39 writes a port into a package identity is unverified, so a
key derived from a git: URL with a port could be wrong while looking
right. The gate now fails clearly on one, naming `apm approve --list` as
the way to read the real identity. The script and gates.md record that
only an https URL on a lowercase host was checked against apm.

The test drops its GNU-only `sed -i` for a python3 rewrite, and covers
ssh:// and https URLs with a port under both readers.

Refs: #271

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 09:47:38 +00:00
Defame1297andClaude Opus 5.5 615d3dd881 fix(scripts): parse the apm version from stdout and its banner only
require_apm_version merged stderr into the --version output and took the
first X.Y.Z. When `uv run --frozen` syncs first, uv prints
`Using CPython 3.14.6` on stderr, so the check parsed 3.14.6 and passed
whatever apm reported. It now reads stdout only, matches apm's
`version X.Y.Z` banner, and shows the captured stderr only on failure.

The fake uv in the seam B test now writes that line to stderr, so the
regression stays pinned. Resolve the repo root with CDPATH cleared.

Refs: #271

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 09:47:30 +00:00
Defame1297andClaude Opus 5.5 a48f0fdf5b docs: document the uv-pinned apm setup and full-identity allow keys
README: uv replaces the global apm as a prerequisite, setup starts with
`uv sync --frozen`, and the offline note names both one-time steps.
gates.md: the apm hooks run through scripts/lib/apm.sh with plain
--frozen (and why the gates, unlike the SessionStart hook, keep the
sync), and check-executables-allow-sync expects the full package
identity apm 0.39 matches on.

Refs: #271

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 08:47:53 +00:00
Defame1297andClaude Opus 5.5 e87bd67c1f chore(apm): regenerate apm.lock.yaml with the pinned apm 0.39.3
Written by `uv run --frozen apm update --yes` on apm 0.39.3: lockfile
version 4, apm_version 0.39.3, and every dependency resolved to main at
feef6d8, which records kyberforge 2.3.0 from #270. This is the one
sanctioned exception to discarding lock churn on a feature branch
(ADR-0034, ADR-0019).

With the full-identity approvals both hooks stay deployed (exec_status
deployed). .claude/settings.json and .claude/apm-hooks.json keep the
PreToolUse guard and SessionStart entries; their only change is
kyberforge 2.3.0's hook timeout, 380 to 400. No apm-owned file was edited
by hand.

Refs: #271

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 08:47:43 +00:00
Defame1297andClaude Opus 5.5 5842be70cc test(kyberforge): run the instructions-author bats suite on the pinned apm
need_apm now runs apm through scripts/lib/apm.sh, so the suite exercises
the repo-pinned 0.39.3 and never a PATH apm. In this repo a missing uv or
an apm below 0.39.2 fails rather than skips, so run-tests.sh --strict
cannot pass without running these tests. Outside the repo it still falls
back to PATH apm and skips without one.

Three assertions pinned 0.28.0 behaviour and are updated to 0.39.3's:
compile --target claude writes a CLAUDE.md that imports AGENTS.md, an
unquoted applyTo fails install closed and deploys nothing, and compile
warns when applyTo matches no file. The skill's own text still describes
the 0.28.0 behaviour; that is left for a skill update.

Refs: #271

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 08:47:35 +00:00
Defame1297andClaude Opus 5.5 7291b46271 feat(scripts): run the apm gates through the uv-pinned apm
Add scripts/lib/apm.sh, the one place the repo spells its apm command:
`uv run --project <repo root> --frozen apm`. --project comes from the
helper's own location, so it names the repo root even when apm runs inside
plugins/<name>/. Sourcing it keeps the git-env scrub (#204), and
require_apm_version fails with a clear message, naming `uv sync --frozen`,
when the resolved apm is below 0.39.2, unreadable, or uv is missing. APM
overrides the command, as ADR-0034 provides.

apm-audit-ci.sh and apm-pack-check-clean.sh use it. The audit script's
matching logic is unchanged; only its verified-against note now records
0.39.3.

tests/test-apm-gate-invocation.sh is seam B: a fake uv and a stub apm
first on a PATH without the real ones. It proves the command shape,
--project from a plugin directory, the scrub, and the version floor.
test-apm-hooks-git-env.sh reaches its stub through a fake uv, and the
real-apm probe in test-apm-current-hook.sh now runs the pinned apm.

Refs: #271

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 08:47:12 +00:00
Defame1297andClaude Opus 5.5 d15688ee99 build: pin apm-cli 0.39.3 per repo with uv
Add a root pyproject.toml with no build system, uv package mode off,
Python 3.11 or later, and a dev dependency group pinning apm-cli==0.39.3,
as ADR-0034 decides. Commit the uv.lock that hashes apm-cli and its
transitive dependencies, and ignore uv's .venv/.

Refs: #271

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 08:47:06 +00:00
Defame1297andClaude Opus 5.5 e1a99a7291 fix(apm): key executables.allow on the full 0.39 package identity
apm 0.39.3 matches executable grants on the package identity
<host>/<owner>/<repo>/<path>. The bare kyberforge#<version> and
delivery#<version> keys that 0.28.0 matched no longer match, so the first
0.39 install parks both hooks and rewrites .claude/settings.json without
them, while root apm audit --ci stays green (spike #269, on #268).

Rename both keys to git.rkdr.net/Mortis/Holocron/plugins/<name>#<version>
with type-level grants, as `apm approve --list` names them on 0.39.3. Keep
the version suffix convention; apm strips it before matching. Do not use
`apm approve`, which would content-pin, strip the block's comments and
park the hook on every script edit.

check-executables-allow-sync now derives each expected key from root
apm.yml's git + path dependency entry for the plugin, fails a bare key with
a message saying why, and fails a shipping plugin with no such entry. Both
readers carry the change, and the test covers URL and path spellings.

Refs: #271

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 08:46:38 +00:00
Defame1297 feef6d8307 Merge pull request 'feat(kyberforge): SessionStart hook resolves the repo-pinned apm (#270)' (#274) from feat/270-hook-resolves-pinned-apm into main
Reviewed-on: #274
kyberforge-v2.3.0
2026-12-02 08:14:05 +00:00
Defame1297andClaude Opus 5.5 45d740eef1 fix(kyberforge): pick the timeout binary first and tidy review-round-2 points
Review round 2 of #270, all non-blocking.

- Resolve `timeout`/`gtimeout` before choosing apm, so a machine with
  neither stays silent on every path, the uv not-synced notice included.
- The uv-path unreadable-version notice also offers `uv sync --frozen`.
- Tests: a `timeout` shim replaces the real binary in the whitelisted PATH
  (and backs `gtimeout`), so the suite runs on macOS without coreutils; add
  a PATH-route case where `apm --version` exits 1, and a no-timeout case on
  the uv path; fix two stale comments.
- ADR-0034: contract item 1 now spells out `--frozen --no-sync --offline`
  and the missing-environment short-circuit; amendment dated 2026-12-02.
- ADR-0019: the 2026-12-02 amendment moves below the 2026-09-16 one.
- docs/hooks.md: rewrap an over-long line.

Refs: #270

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 00:51:25 +00:00
Defame1297andClaude Opus 5.5 367cc1c259 fix(kyberforge): bound the SessionStart hook portably and sharpen its notices
Review round 1 of #270.

- Resolve `timeout`, else `gtimeout`, once after choosing apm, and call it
  through "$to" at all three sites. Stock macOS has neither `timeout` nor a
  GNU coreutils default, so the `--version` call failed there and every
  session printed a false too-old notice. With neither binary the hook exits
  0 silently. The budget test now parses `"$to" N` too.
- Check that the project environment ($UV_PROJECT_ENVIRONMENT, else
  <root>/.venv) exists before taking the uv path. If it is missing, print a
  fixed not-synced notice and never call uv, because `uv run --no-sync`
  would create an empty .venv in the consumer repo.
- Separate "version too old" from "version unreadable or timed out", with a
  fixed literal for each on each path, so a timeout no longer blames an
  unsynced environment.
- Raise the hooks.json timeout from 380 to 400 for the 375s script budget,
  refresh the outdated-timing comment, and note the budget in ADR-0019.
- Tests: no timeout binary, gtimeout only, missing and relocated project
  environment, a failing `uv run`, `--offline` required on every uv call,
  and the hostile-output notice compared to its exact literal.
- ADR-0034: until the #271 cutover, this repo prints the too-old notice and
  auto-refresh is paused.

Refs: #270

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 00:25:14 +00:00
Defame1297andClaude Opus 5.5 1fb8cc797b feat(kyberforge): resolve the repo-pinned apm in the SessionStart hook
The hook now picks one apm and uses it for both the outdated check and the
update (ADR-0034): `uv run --project <root> --frozen --no-sync --offline apm`
when the project pins apm-cli (a quoted apm-cli requirement in pyproject.toml
plus a uv.lock) and uv is on PATH, else the PATH apm, else it exits silently.
uv is only ever called as `uv run`; `--no-sync` keeps a plain run from syncing
the environment, and `--offline` keeps uv off the network.

Before the outdated check it reads `--version`. Below 0.39.2, or when the
version cannot be read, it prints a fixed notice naming the chosen binary and
skips the check, since an older apm refuses a lockfile v4 and would report it
as up to date. All advice strings are fixed literals that name the chosen
binary; no command output is interpolated.

Tests use seam A: a fake uv first on a whitelisted PATH logs every call and
reaches the pinned fake apm only through `uv run`. They cover pin plus uv, pin
without uv, pin without uv.lock, no pin, no apm, too-old and boundary
versions, stale and current output on both paths, and hostile output.
ADR-0034 is amended to record that seam.

Impact: kyberforge 2.2.1 -> 2.3.0, catalog 0.9.0 -> 0.9.1.

Refs: #270

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 00:05:03 +00:00
Defame1297 0ad15c80bc Merge pull request 'docs(adr): pin apm per repo with uv (#265)' (#267) from docs/plan-pin-apm-per-repo into main
Reviewed-on: #267
2026-12-01 22:40:31 +00:00
Defame1297andClaude Opus 5.5 5ca2056046 docs(research): refresh apm reference set to 0.39.3 (#265)
Add lockfile-and-compatibility, approvals-and-executables and
migration-0-28-to-0-39 topics; update installation, cli-reference, the
prompt, hooks and instructions topics for 0.39.x behaviour; label the
remaining 0.28.0 observations by version. Sources: the v0.39.3 source,
CHANGELOG and docs; Context7 was unavailable.

Refs #265

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-01 21:46:06 +00:00
Defame1297andClaude Opus 5.5 a0997cbcf7 docs(adr): pin apm per repo with uv (ADR-0034)
Record that apm is pinned per repo with uv (minimum 0.39.2, pinned
0.39.3), shipped hook-first, with the consumer hook fallback contract.
Add forward notes on ADR-0019 and ADR-0033 for their 0.28.0 claims,
pending re-verification on 0.39.3.

Refs #265, #245

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-01 21:14:27 +00:00
Defame1297 e17237a9e2 Merge pull request 'docs(readme): document consumer pinning with the object form (#235, #236)' (#259) from docs/consumer-pinning-readme into main
Reviewed-on: #259
Reviewed-by: Defame1297 <[email protected]>
2026-12-01 20:08:16 +00:00
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