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