delivery-reviewer (opus; no Bash, Edit, Write or NotebookEdit) is the
review-stage lead. It judges the PR through the new delivery-review
skill and posts one COMMENT review per round. Gitea refuses
REQUEST_CHANGES from a PR's own poster, and the reviewer runs as the bot
that opened the PR. The review opens with `Delivery review: round <n> —
blocking|clear`, and each blocking finding is tagged with the role that
must fix it: [test-author] (with its dispute key), [implementer] or
[human].
Routing: a [human] finding, or a 3rd blocking round, stops with Ready
for Human. Other blocking rounds post the Handoff and put `WIP:` back,
handing the PR to delivery-implement-lead. A clear round hands on to
delivery-operator. A relaunch finishes a crashed routing, using whether
a later Handoff links the review.
delivery-review checks the change against the acceptance criteria and
re-judges every test-path change itself, because a dispute round moves
the CI freeze boundary. It also judges post-merge assertion reasons,
security and the dry run. It reads the delivery doc at the PR's base
ref, and a PR that changes the test-path rules is a [human] finding.
Hand-back: delivery-handoff lets the implement stage take a PR, with
the inbound Handoff required and the gate checked on the issue it
closes. The implement lead first sends [test-author] findings through
delivery-test-first's dispute flow, which now takes review findings,
then gives the implementer the rest. Dispute verdicts are one keyed
`- Dispute verdict:` line copied into every Handoff comment, so later
sessions never re-judge an item or re-dispute a settled test.
delivery-repo-doc, delivery-test-author, delivery-implementer and
delivery-qa are aligned with these contracts. Package bumped to 0.5.0,
with the marketplace allow key and manifest.
Refs: #193
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
Implement stage for the delivery team: delivery-implement-lead runs
test-author -> implementer -> qa in sequence on a draft WIP: PR and
removes WIP: when qa passes, starting review. delivery-test-first turns
acceptance criteria into acceptance checks committed under the
Delivery-Stage: test-author trailer; delivery-ci-checks reads a PR's or
commit's CI by the names in docs/agents/delivery.md.
Agents follow ADR-0016 (no tools: lists, disallowedTools fences on the
lead and qa) and pin Claude model aliases without model-policy; Copilot
limitations are documented in docs/runtimes.md. delivery 0.4.0.
Refs: #192
ADR: ADR-0016, ADR-0031, ADR-0032
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
Why: apm-audit-ci replays the install into an empty tree, where packages
integrate in lockfile order and delivery's PreToolUse lands before
kyberforge's SessionStart. The session-start install merged into the
existing settings.json instead and appended PreToolUse after it. Same
hooks, different key order, so the byte-for-byte drift check failed.
Implementation Notes: deleted both files and reran apm install; the result
is byte-identical to the replay scratch and stable across reinstalls.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
Why: apm install resolved every first-party package to cbd6033, which brings
delivery from 0.1.0 to 0.3.0. That release ships the ADR-0032 guard as a
PreToolUse hook, so apm merged it into .claude/settings.json and
.claude/apm-hooks.json. These are apm's own output; leaving them uncommitted
is drift that fails the apm-audit-ci pre-push hook (ADR-0019).
Impact: every tool call in this repo now runs the delivery guard. It fails
closed via onFailure: block (Claude Code >= 2.1.295).
ADR: 0032
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
An agent with no gate-table row had no defined stop; it now stops first
in the inbound check with a plain comment. The item kind is checked
before the Handoff lookup, 'latest' means newest by creation time, and an
allowlist of '- none' counts as empty.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Why: every Stop posted a Handoff comment whose Next command relaunched the
stopping agent, including stops raised by the inbound rule itself. A second
launch then passed the inbound check, and a wrong-agent stop buried the
correct pointer.
Implementation Notes:
- Stops before the inbound check passed (Steps 1-2) post a plain comment;
later stops keep the relaunching Handoff comment.
- gates.md defines a Handoff comment strictly and owns the inbound stop
wordings; the planner stops at the inbound check in v1.
- Heading names and where-to-post live once, in handoff-comment.md.
- Gotcha and delivery-repo-doc checklist item: the two Status labels must
not share an exclusive scope.
- GLOSSARY gains Step mode and Run mode; ADR-0032 scopes the gate-label
check to stages that have one.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
A Stop wrote Next command `none`, and the inbound rule stopped on a
latest `none`, so a stage that stopped once stopped on every relaunch.
A Stop's Next command now relaunches the stage that stopped, `none`
means only the final stage, and the inbound rule stops only when the
latest Handoff comment does not launch this stage's agent. Gate checks
still run on a relaunch.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Define the inbound Handoff comment as the latest one whose Next command
launches this stage, and stop when the latest has Next command none.
Name the six headings in Step 2, keep the required/optional rule in the
gates table and the posting location in handoff-comment.md only, narrow
the description to one capability clause, and declare the Gitea MCP
tools the skill uses. Let delivery-repo-doc's format consumers restate
the minimum they parse, and add the next stage's command to the
glossary's Handoff comment entry.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Every delivery Stage lead needs the same entry and exit discipline: read
the repo's delivery doc, read the inbound Handoff comment, check the
stage's gate, and end with one fixed-shape Handoff comment that tells the
human the exact launch line for the next stage.
- delivery-handoff: entry checks, per-stage gate table (implement label,
review non-WIP PR, verify merged PR with a non-stale, non-dismissed
allowlisted approval), the Status/Ready for Human stop path, and the
Handoff template with Claude Code and Copilot CLI Next commands
- ADR-0032 amended: stage leads check gate state only in step mode; the
who-set-the-label check moves to the run-mode launcher (gitea-mcp has
no timeline method and the human already launches each stage)
- delivery-repo-doc format.md aligned with the amendment (0.1.2)
- delivery package 0.2.0 -> 0.3.0, with the executables.allow key and
marketplace entry kept in step
Refs #191
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
The allow-key paragraph said a version bump on one side stops the hook
deploying; apm 0.28.0 matches the grant version-blind (the 2026-09-19
correction in gates.md and ADR-0019). The sync gate now covers every
plugin shipping hooks or bin.
The Copilot section said apm packages deploy no hooks to Copilot. apm
0.28.0 shapes and deploys hooks per target: .github/hooks/ for copilot
(unverified on Copilot CLI) and .codex/hooks.json for codex. Replaced
it with an "Other runtimes" table, and noted the spurious "parked"
warning (#208).
Refs #190
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Two fresh-context adversarial reviews and a spec/standards review of the
guard found bypasses, false denies and fail-open paths. Fixes:
- Substitution bodies are parsed by the tokenizer itself, so an
apostrophe in a here-doc commit/PR body no longer hides later commands.
- Redirect operands never become words; every redirect target is checked
for secret paths and .git/hooks.
- Unquoted here-doc substitutions are analysed; stdin shells (bash -,
ssh host, pwsh) analyse their here-doc as a script.
- Option clusters ending in a value letter (bash -euo pipefail -c,
sudo -iu root) consume their value.
- PowerShell mode: backtick escapes, iex, cmd /c, -EncodedCommand denied.
- Malformed payloads and unknown runtimes fail closed; runtime comes from
the deploy path only.
- Linear-time parsing with size, word, command, depth and unwrap caps, so
Copilot cannot time out (and fail open) on long input.
- Wider secret coverage (.ssh/.kube globs and dirs, id_* suffixes, sops
age key, k3s/admin kubeconfigs, git-credentials, deploy keys, REV:path)
and hook-bypass routes (git config alias, .git/hooks writes, find
-delete, HUSKY=0, LEFTHOOK=0).
- Fewer false denies: commit/PR message values, find -name, search globs,
jq/yq filters, pytest -k, git -S/--grep, ssh -i naming, non-admin
kubeconfigs, quoted braces, option names, doc and test files.
- New allowlists: helmfile, terragrunt hcl/render, helm diff.
- delivery 0.2.0: a new hook changes compiled output (configure.md).
- ADR-0032: allowlists described as "no cluster or state change and no
secret printed"; Write added to the file tools.
Refs #190
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Ship one pre-tool-use hook in the delivery package. It denies the Never
tier on every runtime and asks before Odd jobs on Claude Code and Copilot
CLI (denying them on Codex and unknown runtimes):
- guard.py: stdlib-only Python; tokenises the shell line, unwraps
bash -c / env / sudo / eval / xargs / find -exec / rtk / uv run and
friends, checks file-tool paths for secret material, and uses read-verb
allowlists for kubectl, helm, flux and tofu
- hooks.json: no matcher, onFailure: block, 10s timeout
- tests/test-delivery-guard-hook.sh: 281 cases incl. bypass attempts and
per-runtime output shape
- root apm.yml: executables.allow delivery#0.1.0
- check-executables-allow-sync now covers every plugin shipping hooks/bin
- ADR-0032 amended: Copilot ask kept as an accepted risk, file tools and
allowlists recorded
Refs #190
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Why: the first drafting run against a real Ansible repo surfaced gaps the
skill left to guesswork: pointer placement in a sectioned AGENTS.md,
path-filtered and push-only workflows, link syntax, and caller-supplied
facts.
Implementation Notes: format.md pins the AGENTS.md placement rules
without changing the exact line, notes that "skipped" checks pass, uses
markdown links throughout section 5, and states the hard-stop consequence
of an uninstalled skill. gathering.md covers mixed repos, which workflows
count, the exact status-read tool calls and caller-supplied convention
pointers. SKILL.md adds the fast-forward and dirty-tree rule, caller
overrides, hook-failure handling and the remote-casing gotcha.
Impact: delivery-repo-doc 0.1.0 -> 0.1.1.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Why: the delivery team needs each consuming repo's specific facts (tool
skills per path, CI check names, test paths, human allowlist, credential
boundary) in one place it can read mechanically (ADR-0031, ADR-0032).
Implementation Notes: the skill owns the docs/agents/delivery.md format in
references/format.md, the single source the other delivery skills cite. It
drafts or updates that file plus a one-line AGENTS.md pointer as one PR,
taking repo facts from the repo and human facts only from the human.
Impact: first .apm/ content in the delivery package; Read and Propose
tiers only, never merges.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
This repo installs what it ships (ADR-0018), so root apm.yml now consumes
the four packages added in #205 and made installable in #206. Their
sibling dependencies (git, gitea, mattpocock, k8s) resolve transitively
and dedupe against the existing entries. apm.lock.yaml records the four
packages and the two fluxcd skills that gitops pins at v0.4.0.
Closes the hybrid-package check that #171 left open: the full suite
(strict) and every pre-push hook, including the apm-audit-ci install
replay, pass with gitops installed. gitops has no .apm/ primitives yet,
so only its upstream half is covered until its first skill lands.
Closes#188
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
A package fetched from a remote is valid only when it has a .apm/
directory, declares dependencies, or ships a skills/ bundle
(apm_cli/models/validation.py, detect_package_type). ansible and k8s were
published in #205 with none of these, so installing either fails with
"has apm.yml but is missing the required .apm/ directory". So does
gitops, which depends on k8s. The scratch check in #205 missed this
because a local-path install skips that validation.
Each package gets an empty .apm/ that git can track through a .gitkeep.
The placeholder becomes redundant once the package's first skill lands.
apm's validator now reports all four packages as valid. On main it
reports ansible and k8s as invalid.
Refs: #188
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Map #166 (Infra and agent-team packages) decided four new packages in
#171 (Package boundaries and names). Later build tickets only add
primitives, so each package must exist and install before they start.
Each package is at 0.1.0, targets claude, copilot and codex, and uses its
decided boundary as its description. delivery depends on git, gitea and
mattpocock. gitops depends on k8s and pins fluxcd/agent-skills
gitops-knowledge and gitops-repo-audit at v0.4.0. Sibling packages are
referenced in the remote git+path form the root apm.yml uses, unpinned
like every first-party dependency (ADR-0018), so a consumer outside this
repo can resolve them.
Root apm.yml does not consume them yet. Its dependencies resolve from the
remote main (ADR-0019), so wiring them in has to wait for this merge. It
is the same two-step plugins/mattpocock took.
The docs drop hard-coded package counts (README, AGENTS.md, GLOSSARY.md,
docs/spec/gates.md), which had gone stale. They also add mattpocock to the
architecture boundary table and give it a README bullet.
Impact: the catalog gains four packages, so the marketplace version goes
from 0.7.0 to 0.8.0 (minor).
Refs: #188
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Setting up the boundary in ansible-homelab-mono changed four things.
Test paths leave the protected file patterns, since protecting them
blocks the test author; the CI test-path check guards them. The Flux PR
dry run is an offline rendered diff, because a live flux diff needs
write RBAC. The pre-merge Ansible --check --diff is reopened, as check
mode runs PR-controlled code with production credentials. Root agent
sessions and same-repo branches reaching repo secrets are accepted risks.
Refs: #184, #200, #201
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
QA now judges a draft (WIP:) PR's CI checks instead of a pushed branch,
since most repos run CI on PRs only; removing WIP: hands off to review.
The test author always writes acceptance checks. Adds the Acceptance
check term to the glossary.
Refs: #173
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
ADR-0032 settles the safety model for the infra and delivery packages:
action tiers, the secrets rule, odd jobs in HITL sessions, the dry run
as the PR apply gate, and the layered enforcement with credentials as
the real boundary. Glossary: odd jobs run only in HITL sessions.
Refs #172
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Why: the repo is public and the skill-write examples carry upstream copies.
obra/superpowers writing-skills is MIT and its copy had no notice. The
anthropics skill-creator copy (Apache-2.0) is whitespace-normalised by the
pre-commit hooks, and Apache 2.0 section 4(b) asks for modified files to be
marked. anthropic-best-practices.md reproduced Anthropic's documentation
page in full; superpowers' MIT licence does not extend to Anthropic's docs
and no open licence for that page was found.
Implementation Notes:
- add obra/superpowers MIT LICENSE beside the writing-skills copy
- record licence and whitespace-only modification in skill-creator sources.md
- replace anthropic-best-practices.md with a link to the canonical page
- ADR-0020 still cites anthropic-best-practices.md:187 as a historical
reference; the original remains in git history
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Why: the example folder carries a copy of Matt Pocock's writing-great-skills
(SKILL.md, GLOSSARY.md). Upstream mattpocock/skills is MIT, which requires the
copyright and permission notice to accompany copies; the folder had none.
The LICENSE is taken verbatim from upstream at v1.3.2.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Why: the repo now lives at Mortis/Holocron. apm records the exact owner/repo
string in the lock and in hook ownership, so the lowercase mortis/holocron
from the previous commit would drift from what the replay resolves.
Implementation Notes:
- match the exact Mortis/Holocron case in manifests, READMEs, submodule
and tracker references
- regenerate apm.lock.yaml against the new source
- prune the orphaned Defame1297/holocron packages and drop the stale
kyberforge SessionStart entry apm left behind, which would otherwise have
run the hook twice; `apm audit --ci` passes all 10 checks afterwards
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Why: the repo is moving from Defame1297 to the mortis org and becoming
public. Its own apm dependencies and the wiki submodule were addressed by
the old owner over SSH, which anonymous public users cannot clone, and the
manifests declared MIT without shipping the licence text.
Implementation Notes:
- add MIT LICENSE
- repoint apm dependency, homepage/repository and marketplace owner URLs
from Defame1297 to mortis over HTTPS
- drop the personal email from author/owner blocks
- move the docs/wiki submodule to HTTPS
- point tracker references at mortis/holocron
Impact: apm.lock.yaml and .claude/apm-hooks.json are apm output and are
intentionally not regenerated here; mortis/holocron does not exist until
the transfer, so `apm install` is re-run after it and committed separately.
ADRs and dated notes keep their original links as historical record.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Moves bats-assert 697471b..dc1aa63 and bats-support 0954abb..787ac47, the commits the
working tree already had checked out. Upstream changes are CI and repo configuration only.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
ADR-0031 records the outcome of the wayfinder ticket "Team roster and
hand-off model" (#170): one fresh session per stage run as its stage-lead
agent, no lead spanning stages, a test-author -> implementer -> qa team
inside implement, agents adding judgement only over hooks and CI, and
step mode on Claude Code and Copilot CLI for v1. GLOSSARY gains Human on
the loop, Gate, Stage, Stage lead, Role agent, Handoff comment and Odd job.
Refs: #170
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Git exports GIT_DIR to the hooks it runs, so under the run-tests pre-push
hook the validate-provenance-skill.bats fixtures' `git -C "$tmp"` calls
resolved to this repo: 84 failures, core.bare=true and an emptied index on
every push. run-tests.sh now unsets git's repo-locating variables before
any suite runs. Reproduced with GIT_DIR pointed at a throwaway repo (61
failures) and verified clean after the fix (463/463).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Upstream wayfinder resolves research tickets by calling the Skill tool with
`research`, expecting one cited findings note per question. That name landed
on bin's reference-tree skill, which researches a tool's docs into topic files
plus sources.md and stops to ask for an output path, stalling an AFK subagent.
Implementation Notes:
- bin's skill becomes `research-docs` (skill 2.0.0, bin 3.0.0) with a boundary
clause routing single-question research to `research`.
- mattpocock pins upstream research#v1.3.2 (0.4.0).
- write-docs, GLOSSARY's Provenance chain and skill-author's template now
name `research-docs`.
BREAKING CHANGE: `research` now resolves to upstream's single-note skill;
invoke `research-docs` for a per-topic reference tree.
Fixes: #161
ADR: 0030
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Why: after #162 merged, apm update moved the holocron refs to 060aad7 and
mattpocock to 0.3.0, and apm install resolved its eight new transitive
pins (codebase-design, code-review, to-tickets, to-spec, implement,
implement-spec, retro, writing-for-agents). This records that resolution so
the committed lock matches what is deployed.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Why: implement and implement-spec carry the to-spec and to-tickets output
through to code, and retro feeds environment improvements back from a
session. retro calls writing-for-agents, so it is pinned with it. All
outward skill calls (tdd, code-review, setup-matt-pocock-skills) are already
pinned, so the set stays closed.
Impact: writing-for-agents is model-invoked and triggers on skill and
AGENTS.md edits, overlapping skill-author and agentsmd-author. Deploys on the
next apm update after this lands on main (ADR-0019).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Why: a full read of the pinned skills found references to upstream skills
that were never pinned. improve-codebase-architecture and tdd call
codebase-design through the Skill tool, tdd sends refactoring to code-review,
and setup-matt-pocock-skills names to-tickets and to-spec as consumers of the
tracker doc. All four are leaves at v1.3.2: their only outward pointer is
setup-matt-pocock-skills, which is already pinned.
Impact: deploys on the next apm update after this lands on main (ADR-0019).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Add docs/agents/ (Gitea issue tracker, triage label mapping, domain docs)
and an Agent skills block in AGENTS.md. Rename CONTEXT.md to GLOSSARY.md
and update live references; ADRs and research notes keep the old name as
historical record.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
plugins/onedev only redistributed OneDev's TOD skills and is no longer wanted. It is removed from
the catalog and from the root dependencies, together with TOD's pinned dependency and the eight
deployed skills.
plugins/mattpocock replaces it as a root dependency, so this repo runs wayfinder and the other
pinned upstream skills the same way every consumer gets them. The lock is re-resolved with
`apm update` rather than `apm install`: it still pinned the first-party plugins at a commit from
before #157, whose bin still carried the six copied skills, which the new wrapper then replaced.
The apm-audit-ci waiver (ADR-0026) stays: plugins/mattpocock is a package that declares
dependencies and no primitives, which is exactly the case it covers. Comments and gates.md that named
onedev as the live example now say it was removed; ADR-0026 gets a dated note, and its decision
is unchanged.
Impact: catalog 0.6.1 -> 0.7.0 (a package removed). Anyone consuming `onedev` from the marketplace
loses it. No first-party plugin version changes.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Six skills in plugins/bin were hand-maintained copies of mattpocock/skills from the 1.0.x era
(grill-me, grill-with-docs, tdd, prototype, improve-codebase-architecture, triage), most of them
verbatim apart from link rewrites. They now come from upstream at v1.3.2 through the
plugins/mattpocock wrapper, together with diagnosing-bugs. bin keeps its own diagnose, research,
write-docs, caveman and zoom-out; diagnose stays alongside diagnosing-bugs until the two are
compared and migrated.
Moving them left four routing targets (tdd, triage, grill-with-docs, improve-codebase-architecture)
resolving nowhere, which fails the corpus-wide backstop. The resolver now also learns the skills a
plugin pulls from a third-party repo subpath (owner/repo/<path>/<skill>#ref), without a network or an
apm_modules/ tree. A whole-repo dependency such as TOD names no skill and mints none. ADR-0029
records the decision and the rejected alternative of rewording the clauses.
Impact: bin 1.1.9 -> 2.0.0 (skills removed, so bin-only consumers lose them and must add mattpocock);
mattpocock 0.2.0; kyberforge 2.2.1 and factory-audit 1.0.6 for the resolver change; catalog 0.6.1.
Upstream marks grill-me, grill-with-docs, triage and improve-codebase-architecture hand-invoked, so
forge's Call of grill-with-docs is now blocked by the host and its inline fallback always runs.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Matt Pocock's wayfinder skill was previously carried as hand-copied files in a custom
plugin, which drift from upstream. apm installs a single skill straight from a git
subpath, so no copy is needed.
Wayfinder is hand-invoked and calls `grilling` and `domain-modeling`, and reads the
tracker doc that `setup-matt-pocock-skills` writes. All four are pinned to
mattpocock/skills v1.3.2 so the calls resolve. `research` and `prototype` are omitted
because the bin plugin already ships skills of those names.
A marketplace.packages entry takes only a local source path, so plugins/mattpocock is a
primitive-less wrapper carrying the pinned dependencies, the same mechanism as
plugins/onedev (ADR-0026). The pin is deliberate: tracking a third-party main would
import its drift.
Impact: catalog gains a package, so marketplace version goes 0.5.3 -> 0.6.0 (minor).
The root apm.yml does not consume the wrapper, so `apm install` here is unaffected.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Three clean-context reviewers checked the skill against apm 0.28.0. Fix what
they showed to be wrong: a failed hidden-character install still writes the
Copilot and Gemini outputs and withholds only the Claude command; a multi-key
input item turns each key into an argument. Add the symptom row, use "prompt
file" for the source concept, name the Claude slash-commands source for the
forge discriminator, drop an ambiguous Step 3 pointer and a "trim" heading
with no trim guidance, and tighten two bats assertions. CONTEXT.md now says
"a single-file command that is not a SKILL.md".
Refs #149
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
A scaffolded body that mentions $ARGUMENTS ships that text in the deployed
command, where Claude Code substitutes it and Gemini rewrites it to {{args}}.
Move the warning into the template comments, which are deleted on fill-in.
Refs #149
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Add prompt-author, shaped like instructions-author: dispatch to create or
improve, a scaffold script that also creates .apm/prompts/, a minimal
template, and references on schema, per-target field survival, content and
verification. Verification is a throwaway apm install because apm compile
never reads prompts.
Forge gains a Prompt file row and a prompt-file-or-hand-invoked-skill
discriminator, and apm-workflow points at prompt-author from compile.md.
Bump kyberforge to 2.2.0 and the root pin, version and marketplace.
Refs #149
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
A Skill is loaded by description-matching, not defined as a slash command. The new Prompt file term covers the apm .prompt.md primitive so prompt-author has a vocabulary that does not collide with Skill.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Fold throwaway-install experiments into prompt-gotchas and
prompt-target-mapping. Resolves root-level discovery, manifest type
advisory behaviour, compile ignoring prompts, per-target key survival
and collision/cleanup behaviour, and records where the published docs
disagree with the observed behaviour (Gemini silent drops, same-name
collisions, --force on critical hidden characters).
Refs: #149
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Add prompt-target-mapping and prompt-gotchas for the apm .prompt.md
primitive from the published apm docs, correct the preserved-key set in
prompt-primitive-schema, and add prompt-standards research covering
Copilot/VS Code prompt files, Claude Code commands, Prompty, Dotprompt
and MCP prompts. No vendor-neutral prompt-file standard was found.
Refs: #149
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
Four clean-context reviewers checked the skill against apm 0.28.0 by
experiment. Fix the target-mapping, schema, verify and SKILL.md claims
they showed to be wrong, add the missing README row and forge Gotcha
entry, note the AGENTS.md import caveat in forge, and close three test
gaps (mismatched quotes, prefix type, tilde root) found by mutation.
Refs #148
Co-Authored-By: Claude Code <[email protected]>
Claude-Session: https://claude.ai/code/session_01KkT7RSDwDbmrM9T34b6sTi
Quote the template description so the raw scaffold is valid YAML, reject
newline-containing names in new-instructions.sh, correct the empty-compile
facts (exit 1, --clean exits 0), and finish removing commit steps from the
skill-author, agent-author and forge references. Adds regression tests.
Refs #148
Co-Authored-By: Claude Code <[email protected]>
Claude-Session: https://claude.ai/code/session_01KkT7RSDwDbmrM9T34b6sTi
- instructions-author: keep two Gotchas, move the rest to the Step 2 contract
and verify.md; add references/content.md on what belongs in an instructions
file and tighten the template bullets to match
- instructions-author, skill-author, agent-author: remove the commit
verification step; committing is out of scope for author skills
- skill-author 1.0.6, agent-author 1.0.4 (ADR-0022 patch bumps)
Refs #148
Co-Authored-By: Claude Code <[email protected]>
Claude-Session: https://claude.ai/code/session_01KkT7RSDwDbmrM9T34b6sTi
Scaffolds and revises apm instructions files, with a throwaway-package
verification recipe because `apm compile --validate` always exits 0 and
Claude Code drops `description`. Routed from forge and linked from
apm-workflow's compile reference. Bumps kyberforge to 2.1.0 and the catalog
to 0.5.2.
Fixes#148
Co-Authored-By: Claude Code <[email protected]>
Claude-Session: https://claude.ai/code/session_01KkT7RSDwDbmrM9T34b6sTi
The existing schema doc covered only Claude and Copilot and called missing
description and empty content errors when apm 0.28.0 only warns. Rewrite it
with the applyTo grammar and add per-target compile/install mapping and a
gotchas doc (unquoted globs, install-vs-compile discovery, dedup and
overwrite behaviour), all verified against the apm 0.28.0 binary.
Refs: #148
Co-Authored-By: Claude Code <[email protected]>
Claude-Session: https://claude.ai/code/session_01KkT7RSDwDbmrM9T34b6sTi
The apm-audit-ci pre-push hook already fails when pretty-format-json sorts
apm-owned JSON, so a dedicated test only improved the diagnosis while adding
~100 lines of bash and a pre-commit cache dependency. Remove the test and the
comment, gates.md and LESSONS.md text that pointed at it; the --no-sort-keys
fix itself is unchanged.
Refs: #102
Co-Authored-By: Claude Code <[email protected]>
Claude-Session: https://claude.ai/code/session_01KkT7RSDwDbmrM9T34b6sTi
pretty-format-json sorts object keys by default, but apm emits insertion
order and `apm audit --ci` diffs its output byte-for-byte. A file in the
formatter's scope therefore drifts on every commit with an empty git diff.
Pass --no-sort-keys so `.claude/settings.json` and `.claude/apm-hooks.json`
round-trip untouched and drop them from the exclude. marketplace.json stays
excluded: it carries literal em dashes the formatter re-escapes to —.
tests/test-pretty-json-tool-owned.sh runs the repo's real autofix hooks over
copies of the four tracked apm-owned files and fails if any is rewritten, so
losing the flag fails a test instead of surfacing as drift.
Refs: #102
Co-Authored-By: Claude Code <[email protected]>
Claude-Session: https://claude.ai/code/session_01KkT7RSDwDbmrM9T34b6sTi
The kyberforge version bump needs the matching executables.allow key in
the root apm.yml (ADR-0019) and a regenerated checked-in marketplace.json,
or the pre-push gates check-executables-allow-sync and apm pack
--check-clean fail.
Refs: #143
Co-Authored-By: Claude Code <[email protected]>
Claude-Session: https://claude.ai/code/session_01KkT7RSDwDbmrM9T34b6sTi
factory-audit flagged forge's description and body as over the ADR-0020
targets (250 chars / 600 words). The description now uses three boundary
clauses and the body is 595 words. The context: fork vs /fork gotcha moved
to references/author-routes.md, the only place the fork-or-inline choice
is made. No routing row or behaviour changed.
Fixes: #143
Co-Authored-By: Claude Code <[email protected]>
Claude-Session: https://claude.ai/code/session_01KkT7RSDwDbmrM9T34b6sTi