Author SHA1 Message Date
Defame1297andClaude Opus 5.5 5e059c002c docs(research): capture enforcement-hook options for the infra package
Answers #168: what apm 0.28.0 can ship as a hook, which targets honour
argument-level deny/ask, portable alternatives, and a layered design.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-12 18:11:36 +00:00
Defame1297 8eb3d3ae00 Merge pull request 'chore(lock): record bin 3.0.0, mattpocock 0.4.0 and upstream research' (#165) from chore/lock-research-split into main
Reviewed-on: Defame1297/holocron#165
2026-11-12 15:14:56 +00:00
Defame1297andClaude Opus 5.5 fd98bf3f4c chore(lock): record bin 3.0.0, mattpocock 0.4.0 and upstream research
Records the install after #164 merged: holocron refs at the merge, the
renamed research-docs skill in bin, and the new upstream research pin.

Refs: #161
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-12 15:08:37 +00:00
Defame1297 60f9b22210 Merge pull request 'feat(bin)!: rename research to research-docs and pin upstream research' (#164) from fix/161-research-split into main
Reviewed-on: Defame1297/holocron#164
2026-11-12 15:05:03 +00:00
Defame1297andClaude Opus 5.5 0223b6e1bf feat(bin)!: rename research to research-docs and pin upstream research
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
2026-11-12 11:53:01 +00:00
Defame1297 516c85cb48 Merge pull request 'chore(lock): record mattpocock 0.3.0 and its new upstream skills' (#163) from chore/lock-mattpocock-0.3.0 into main
Reviewed-on: Defame1297/holocron#163
2026-11-12 11:45:04 +00:00
Defame1297andClaude Opus 5.5 8be0d2cfa1 chore(lock): record mattpocock 0.3.0 and its new upstream skills
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
2026-11-11 22:39:15 +00:00
Defame1297 060aad7592 Merge pull request 'feat(mattpocock): pin missing and pipeline Pocock skills' (#162) from feat/mattpocock-missing-skills into main
Reviewed-on: Defame1297/holocron#162
2026-11-11 22:37:15 +00:00
Defame1297andClaude Opus 5.5 0683e8f380 chore(marketplace): regenerate for mattpocock 0.3.0
Why: apm-pack-check-clean rejects a marketplace.json that no longer matches
what apm pack generates from the bumped plugin version.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-11 22:27:50 +00:00
Defame1297andClaude Opus 5.5 0db6ab7c28 feat(mattpocock): pin implement, implement-spec, retro and writing-for-agents
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
2026-11-11 22:15:44 +00:00
Defame1297andClaude Opus 5.5 aa95fa8472 feat(mattpocock): pin codebase-design, code-review, to-tickets and to-spec
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
2026-11-11 21:57:48 +00:00
13 changed files with 747 additions and 50 deletions

No files matched your search

+2 -2
View File
@@ -18,7 +18,7 @@
{
"name": "bin",
"description": "Skills for everyday AI-assisted development work that is not tied to a single tool, forge or language, and has not yet been split into a focused plugin.",
"version": "2.0.0",
"version": "3.0.0",
"category": "Utilities",
"source": "./plugins/bin"
},
@@ -46,7 +46,7 @@
{
"name": "mattpocock",
"description": "Matt Pocock's agent skills — planning, grilling, test-first development, triage and bug diagnosis — redistributed from upstream at a pinned release.",
"version": "0.2.0",
"version": "0.4.0",
"category": "Productivity",
"source": "./plugins/mattpocock"
},
+1 -1
View File
@@ -84,7 +84,7 @@ resolve against.
_Avoid_: the marketplace, upstream
**Provenance chain**:
The three-stage traceability record linking a skill back to its research inputs: `/research` produces
The three-stage traceability record linking a skill back to its research inputs: `/research-docs` produces
topic docs and a `sources.md`; the author skill records which sources informed which files in
`references/sources.md` and `source_keys` frontmatter; `factory-audit` validates the chain is complete
and internally consistent.
+483 -36
View File
@@ -1,12 +1,12 @@
lockfile_version: '1'
generated_at: '2026-11-11T17:04:38.837222+00:00'
generated_at: '2026-11-12T15:06:53.274038+00:00'
apm_version: 0.28.0
dependencies:
- repo_url: Defame1297/holocron
name: bin
host: git.rkdr.net
resolved_commit: 30fb33fc52bdf3d3c82e5e3e6801d4d7ce9bd80d
version: 2.0.0
resolved_commit: 60f9b22210a6de7d30ce2826b39dece2216300d1
version: 3.0.0
virtual_path: plugins/bin
is_virtual: true
package_type: apm_package
@@ -18,10 +18,10 @@ dependencies:
- .claude/skills/diagnose/assets/hitl-loop.template.sh
- .claude/skills/diagnose/references/feedback-loops.md
- .claude/skills/diagnose/references/regression-seams.md
- .claude/skills/research
- .claude/skills/research/SKILL.md
- .claude/skills/research/references/file-format.md
- .claude/skills/research/references/topics.md
- .claude/skills/research-docs
- .claude/skills/research-docs/SKILL.md
- .claude/skills/research-docs/references/file-format.md
- .claude/skills/research-docs/references/topics.md
- .claude/skills/write-docs
- .claude/skills/write-docs/SKILL.md
- .claude/skills/zoom-out
@@ -32,17 +32,17 @@ dependencies:
.claude/skills/diagnose/assets/hitl-loop.template.sh: sha256:b2932630950e5210075bcd6f850e5accf30c101c5367b29eac3a29b4dd8084c8
.claude/skills/diagnose/references/feedback-loops.md: sha256:5ed81b331fcf7dfc229b92be7250fd786064f8363dbf55bf6b6e5e9b5f5e1daf
.claude/skills/diagnose/references/regression-seams.md: sha256:fdb24c383628d239e54424f72258860612d6fe8a1fc5d0057ab5073628cc71f4
.claude/skills/research/SKILL.md: sha256:fda628b1756446da59ef41ae3820e82c3475d25bfad50c197953920d3cec0b37
.claude/skills/research/references/file-format.md: sha256:29d5583beaa531d26895c54def112039730490c312401648a6bdb7dd5278fb3c
.claude/skills/research/references/topics.md: sha256:757abb7b6be44c3d3c0dd1f4818a344e08877810d36bf8be60ea7189cba8d12f
.claude/skills/write-docs/SKILL.md: sha256:c42904870feb2023b19a01e67c0a2a880ba7d72b30117c6a271b471ec7ae319f
.claude/skills/research-docs/SKILL.md: sha256:93023786f71dac5a77e60eca0be09e6510dfd45509f5e8cbc755395fe8774539
.claude/skills/research-docs/references/file-format.md: sha256:29d5583beaa531d26895c54def112039730490c312401648a6bdb7dd5278fb3c
.claude/skills/research-docs/references/topics.md: sha256:757abb7b6be44c3d3c0dd1f4818a344e08877810d36bf8be60ea7189cba8d12f
.claude/skills/write-docs/SKILL.md: sha256:861bfa52ec1f7f5c2bc335da4e8d92880259c02c2edacb1ad79cca3a3c557d08
.claude/skills/zoom-out/SKILL.md: sha256:35a81f26d8867ad063c5b8d50b4e7ffee9f6c0afa260b52137083fc7392ffe90
content_hash: sha256:0e8216b9a270927d2fcef8d5cce8e276564d0b603e1ada3a7fe80cc61f2cc838
content_hash: sha256:47e6d405e754b56c0bb508c363ea12ec575cb37650af6d83d6a58848a4dddf6a
declared_license: MIT
- repo_url: Defame1297/holocron
name: core
host: git.rkdr.net
resolved_commit: 30fb33fc52bdf3d3c82e5e3e6801d4d7ce9bd80d
resolved_commit: 60f9b22210a6de7d30ce2826b39dece2216300d1
version: 1.1.4
virtual_path: plugins/core
is_virtual: true
@@ -97,7 +97,7 @@ dependencies:
- repo_url: Defame1297/holocron
name: git
host: git.rkdr.net
resolved_commit: 30fb33fc52bdf3d3c82e5e3e6801d4d7ce9bd80d
resolved_commit: 60f9b22210a6de7d30ce2826b39dece2216300d1
version: 1.3.9
virtual_path: plugins/git
is_virtual: true
@@ -212,7 +212,7 @@ dependencies:
- repo_url: Defame1297/holocron
name: gitea
host: git.rkdr.net
resolved_commit: 30fb33fc52bdf3d3c82e5e3e6801d4d7ce9bd80d
resolved_commit: 60f9b22210a6de7d30ce2826b39dece2216300d1
version: 1.3.10
virtual_path: plugins/gitea
is_virtual: true
@@ -297,7 +297,7 @@ dependencies:
- repo_url: Defame1297/holocron
name: kyberforge
host: git.rkdr.net
resolved_commit: 30fb33fc52bdf3d3c82e5e3e6801d4d7ce9bd80d
resolved_commit: 60f9b22210a6de7d30ce2826b39dece2216300d1
version: 2.2.1
virtual_path: plugins/kyberforge
is_virtual: true
@@ -494,10 +494,10 @@ dependencies:
.claude/skills/factory-audit/tests/validate-provenance-agent.bats: sha256:e5ee7702a16d053430db43eed4f0435ad19caf0012e52c5005b2e0a98b36b56a
.claude/skills/factory-audit/tests/validate-provenance-skill.bats: sha256:0ca63a4790035fce3d3907179a6c3831b681bdba5f7ae099183c86a65cb581cc
.claude/skills/factory-audit/tests/validate-skill.bats: sha256:4065195bfe9faf5338e858acc7e97f3a6fe67004f083fbdb0a3717f097b7a4d3
.claude/skills/forge/SKILL.md: sha256:c9b105a411646c22ed4f402697c1c24cc21323328ec49641f7702da87855399a
.claude/skills/forge/SKILL.md: sha256:562249dd1a0a2632e2b5bdeac864a6cdc6ab33a2d05a59ed1fb1fb919a42ee98
.claude/skills/forge/references/apm-routes.md: sha256:b7d74d12ff34648be968db3e9db66c1be2efa420cad0eceea20374aa100659aa
.claude/skills/forge/references/author-routes.md: sha256:cfbc0502a60d1f444c2e5e76a392329cfa92b1ec51d1f365cc0772312e064a4d
.claude/skills/forge/references/sources.md: sha256:83655f431664d3af81703688d8aae401da027ea2c3d967e291c9ea491854905e
.claude/skills/forge/references/sources.md: sha256:77b03bb128d339b056958fbe91c00bd16020ab89c5c0aca297eb1c3494874df8
.claude/skills/forge/references/version-bump.md: sha256:8e6275fd5bc7f9ee1bfeea8b9cdecdd43eb1c838e9e499bba9a35b2a581885ec
.claude/skills/instructions-author/SKILL.md: sha256:c3b00c42b0831ff292bd6616935bc3f0e7d6ec7be24961ccd52cc5a21d6a2145
.claude/skills/instructions-author/assets/README.md: sha256:f661694f81755f0a839434569edbcb28c544dc9f32bdec6f8db622e2f19b8e1e
@@ -527,8 +527,8 @@ dependencies:
.claude/skills/prompt-author/scripts/new-prompt.sh: sha256:f5f0fc5cc3dedf23ea754b2620b56a808cd65f1714144ec04ea797bd25340dcd
.claude/skills/prompt-author/tests/README.md: sha256:975f6940b83a8f9650656a7acdab870289031d91db74d4ab74da298b3df01bbd
.claude/skills/prompt-author/tests/new-prompt.bats: sha256:9ad1fdc9b65f8032181d2ce93f9f6bf38ec84341e98f748d66874978e4dafdbb
.claude/skills/skill-author/SKILL.md: sha256:7bd4b7cf35bf07e44d445c616faf928f8580a072041bcb1980ce9d56aeee5d29
.claude/skills/skill-author/assets/templates/SKILL.md: sha256:0b11f68eedfe4e5a4a2456d1015f414fe68e311d971d0ad67c927c67e325ec08
.claude/skills/skill-author/SKILL.md: sha256:baa0c16e0ed7ed94504e21c82eadc498b5a96af40ca0260dcd64dcbf3bbf9c6a
.claude/skills/skill-author/assets/templates/SKILL.md: sha256:66aa10702d336bac25f54285172e0769b11891531b471d3b843b2302e434dea4
.claude/skills/skill-author/assets/templates/assets/README.md: sha256:b72e51e643c45ded210a257e475d5661035d2aa5ed581e3294fd2aed00765c4b
.claude/skills/skill-author/assets/templates/references/sources.md: sha256:fe126720ba890b98e829f2626e3f5a361a0c2ce47eda97bd3f7dc1812ddd62b7
.claude/skills/skill-author/assets/templates/scripts/README.md: sha256:ee427eed6a562a6e86898c69c35508c518d5b3c633ae803e587fbab37514f2b2
@@ -542,13 +542,13 @@ dependencies:
.claude/skills/skill-author/scripts/new-skill.sh: sha256:a7e99f04da68230372ca8b14da8c5e6a4a035efdd5d10d9c77e2e8c92da85c35
.claude/skills/skill-author/tests/README.md: sha256:81d301b04a489d5340234948188ff96466c3c3ab7f20a88ec2e570d1434a7b8c
.claude/skills/skill-author/tests/new-skill.bats: sha256:105d6fb09203f84a17a040b1fc91a674313c1dafcd4ddd0d267b36795c22d410
content_hash: sha256:0fa03f9a05e1d4e8d1e11cbf66e5c78dfaf307ce3aef7d1bda6fb82001fd9119
content_hash: sha256:f68635c3ff7feaed9572a6ea9dcf6d209fe3c24f5c993d44ca4fdf49081b191a
declared_license: MIT
exec_status: deployed
- repo_url: Defame1297/holocron
name: lint
host: git.rkdr.net
resolved_commit: 30fb33fc52bdf3d3c82e5e3e6801d4d7ce9bd80d
resolved_commit: 60f9b22210a6de7d30ce2826b39dece2216300d1
version: 1.1.9
virtual_path: plugins/lint
is_virtual: true
@@ -576,13 +576,55 @@ dependencies:
- repo_url: Defame1297/holocron
name: mattpocock
host: git.rkdr.net
resolved_commit: 30fb33fc52bdf3d3c82e5e3e6801d4d7ce9bd80d
version: 0.2.0
resolved_commit: 60f9b22210a6de7d30ce2826b39dece2216300d1
version: 0.4.0
virtual_path: plugins/mattpocock
is_virtual: true
package_type: apm_package
content_hash: sha256:403e8303f17209ad30687bd35caf9bfbcb4ef407c594b36d7ff4bc98a53ec994
content_hash: sha256:474f27ecf7c6a86cc14bf36ddb59d09fa00e38d36a5243dcf405471ef8a3d568
declared_license: MIT
- repo_url: mattpocock/skills
name: code-review
host: github.com
resolved_commit: d1478fcb140db0b93c0c8df17bcfd311844749d0
resolved_ref: v1.3.2
version: unknown
virtual_path: skills/engineering/code-review
is_virtual: true
depth: 2
resolved_by: Defame1297/holocron
package_type: claude_skill
deployed_files:
- .claude/skills/code-review
- .claude/skills/code-review/SKILL.md
- .claude/skills/code-review/agents/openai.yaml
deployed_file_hashes:
.claude/skills/code-review/SKILL.md: sha256:9c921a8d88138a41401d8897ca1bb852088ab1b7b605cdd04edc13e3e8aab6dd
.claude/skills/code-review/agents/openai.yaml: sha256:8229ca854e11dc8e6aef2131ee03f31fb1561cf905fab9ccc325180cf3331352
content_hash: sha256:cf233fee7275f8d00b5d2f11da948738531eee9ae7cc8d5b13f815f39fef1c9f
- repo_url: mattpocock/skills
name: codebase-design
host: github.com
resolved_commit: d1478fcb140db0b93c0c8df17bcfd311844749d0
resolved_ref: v1.3.2
version: unknown
virtual_path: skills/engineering/codebase-design
is_virtual: true
depth: 2
resolved_by: Defame1297/holocron
package_type: claude_skill
deployed_files:
- .claude/skills/codebase-design
- .claude/skills/codebase-design/DEEPENING.md
- .claude/skills/codebase-design/DESIGN-IT-TWICE.md
- .claude/skills/codebase-design/SKILL.md
- .claude/skills/codebase-design/agents/openai.yaml
deployed_file_hashes:
.claude/skills/codebase-design/DEEPENING.md: sha256:f3dd099ce99289bd213914d8ee3e2429b78309c3957ca4583f7659551b1d53c1
.claude/skills/codebase-design/DESIGN-IT-TWICE.md: sha256:c222ab5a82e0405672eb9062d62496139a08828e45d07fc5f18e4952c10fac1a
.claude/skills/codebase-design/SKILL.md: sha256:2c20617f87ec8af6a434859f381b2f061a69b530444e74eb39e78bb016a6d1e2
.claude/skills/codebase-design/agents/openai.yaml: sha256:edebc9e4fcfe102114012575eaa9600b9b5fd08c311664f389c36e7bc717740f
content_hash: sha256:667012327c54634ddc0fea22ccdf5d43c797b97038a6d4aadc09de29d50d0185
- repo_url: mattpocock/skills
name: diagnosing-bugs
host: github.com
@@ -646,6 +688,44 @@ dependencies:
.claude/skills/grill-with-docs/SKILL.md: sha256:7de372c13488f1ee96cc11cd8907b56b6809cc93eef776eeddd37de6b6cbe3fe
.claude/skills/grill-with-docs/agents/openai.yaml: sha256:94cd0ab161fb468a836349f5ed482ba58ce8e709a05c57ce533d739dbd35cca9
content_hash: sha256:9e8f732b806727978f1ad8d2fb9ce4467da68f7482d63c4bb5a73f2b1a0c797c
- repo_url: mattpocock/skills
name: implement
host: github.com
resolved_commit: d1478fcb140db0b93c0c8df17bcfd311844749d0
resolved_ref: v1.3.2
version: unknown
virtual_path: skills/engineering/implement
is_virtual: true
depth: 2
resolved_by: Defame1297/holocron
package_type: claude_skill
deployed_files:
- .claude/skills/implement
- .claude/skills/implement/SKILL.md
- .claude/skills/implement/agents/openai.yaml
deployed_file_hashes:
.claude/skills/implement/SKILL.md: sha256:483bdc4ccf4ac31d86ac7beeaa0d0db80313e71e120bb8c59b3196ae5decd53d
.claude/skills/implement/agents/openai.yaml: sha256:8970a8596ade0c28ab427f41a4ea242d6bdf6186c59ebf55e1238dbecaab79dc
content_hash: sha256:c7c4d38c8dd9a05fcad046f79aeb275c7f31a87d7bceb4f3a133f125e6f4bfbb
- repo_url: mattpocock/skills
name: implement-spec
host: github.com
resolved_commit: d1478fcb140db0b93c0c8df17bcfd311844749d0
resolved_ref: v1.3.2
version: unknown
virtual_path: skills/engineering/implement-spec
is_virtual: true
depth: 2
resolved_by: Defame1297/holocron
package_type: claude_skill
deployed_files:
- .claude/skills/implement-spec
- .claude/skills/implement-spec/SKILL.md
- .claude/skills/implement-spec/agents/openai.yaml
deployed_file_hashes:
.claude/skills/implement-spec/SKILL.md: sha256:8d8300f7f12325dbfc99cad124a4bcc96ac0d02d0b2d73dfb348e9262afacfc4
.claude/skills/implement-spec/agents/openai.yaml: sha256:fd41efb42c60c96320d6531be7e4bf15cbf5518cd652d57dff27ccffa46988e9
content_hash: sha256:254a8c69719a6644fc462085569251b3fc8365770428738fc7bbb5398a3aa1fb
- repo_url: mattpocock/skills
name: improve-codebase-architecture
host: github.com
@@ -690,6 +770,44 @@ dependencies:
.claude/skills/prototype/UI.md: sha256:723211e878acbc7b6ff09755263f3295cde724ba902ff0064da41eed51d45ad3
.claude/skills/prototype/agents/openai.yaml: sha256:5af65e43ab41a350436697b81e27b7f848d36782043b73c322bb2c9fa9cc55dc
content_hash: sha256:090ae76b97353255ca29be783d69bcc1029e0195bdf43118d0b6f7ea9acc89b0
- repo_url: mattpocock/skills
name: research
host: github.com
resolved_commit: d1478fcb140db0b93c0c8df17bcfd311844749d0
resolved_ref: v1.3.2
version: unknown
virtual_path: skills/engineering/research
is_virtual: true
depth: 2
resolved_by: Defame1297/holocron
package_type: claude_skill
deployed_files:
- .claude/skills/research
- .claude/skills/research/SKILL.md
- .claude/skills/research/agents/openai.yaml
deployed_file_hashes:
.claude/skills/research/SKILL.md: sha256:1f629e18ab899412683bc6a1c4efb4339999e27c2fdac328f26ee10a8c031d33
.claude/skills/research/agents/openai.yaml: sha256:9b4c470d63221c1f68f22df70b83e2f12401b317babe0d1b7b5f24a974474d0d
content_hash: sha256:34a7c3808288b05ea422affe978ee4d301239817d822f4f50687f1957c17cf9a
- repo_url: mattpocock/skills
name: retro
host: github.com
resolved_commit: d1478fcb140db0b93c0c8df17bcfd311844749d0
resolved_ref: v1.3.2
version: unknown
virtual_path: skills/engineering/retro
is_virtual: true
depth: 2
resolved_by: Defame1297/holocron
package_type: claude_skill
deployed_files:
- .claude/skills/retro
- .claude/skills/retro/SKILL.md
- .claude/skills/retro/agents/openai.yaml
deployed_file_hashes:
.claude/skills/retro/SKILL.md: sha256:33fbc28568e3146f20fd908b12998bc0ab30aa4f4c87288199a40793efa94696
.claude/skills/retro/agents/openai.yaml: sha256:cb6fb9d7e6b4be5975f41f6def1dd00a1255bad5d9b02696b124c924a8b8745c
content_hash: sha256:e13af4f6dfecd777815adde57811398dc59d0118692a70d996968b59e3d13db8
- repo_url: mattpocock/skills
name: setup-matt-pocock-skills
host: github.com
@@ -742,6 +860,44 @@ dependencies:
.claude/skills/tdd/mocking.md: sha256:3ceb807fdf4a47d6a93d4d9a891e5ba6d362a6247bd08adc451feebfc17361ef
.claude/skills/tdd/tests.md: sha256:859f9e592c188fda4fc7277dd180e4ce9c7a2e13f6efe1f6f29eccc9d28c106a
content_hash: sha256:ef3cbb31aa8b1f8a3f9b6a042c230dc9312019e84cdc6337f60890f177fd5764
- repo_url: mattpocock/skills
name: to-spec
host: github.com
resolved_commit: d1478fcb140db0b93c0c8df17bcfd311844749d0
resolved_ref: v1.3.2
version: unknown
virtual_path: skills/engineering/to-spec
is_virtual: true
depth: 2
resolved_by: Defame1297/holocron
package_type: claude_skill
deployed_files:
- .claude/skills/to-spec
- .claude/skills/to-spec/SKILL.md
- .claude/skills/to-spec/agents/openai.yaml
deployed_file_hashes:
.claude/skills/to-spec/SKILL.md: sha256:43ad9cf318e5e7d3d1fa360253a37021796dc87a0c2e595ad262661a10f85088
.claude/skills/to-spec/agents/openai.yaml: sha256:1c5b4d1e3d8e52287ef19cc2742fdbbfae1914ac75d33af3e4c8174f08cc55bb
content_hash: sha256:cc5d718c2f810f4c9b081ea888af3ad3eb73bb8db6fc9fa92c3b1729637b7d56
- repo_url: mattpocock/skills
name: to-tickets
host: github.com
resolved_commit: d1478fcb140db0b93c0c8df17bcfd311844749d0
resolved_ref: v1.3.2
version: unknown
virtual_path: skills/engineering/to-tickets
is_virtual: true
depth: 2
resolved_by: Defame1297/holocron
package_type: claude_skill
deployed_files:
- .claude/skills/to-tickets
- .claude/skills/to-tickets/SKILL.md
- .claude/skills/to-tickets/agents/openai.yaml
deployed_file_hashes:
.claude/skills/to-tickets/SKILL.md: sha256:56ec23c5b2782785d4e65bff9e315b6d3aeb4ef977c174a219e99489fada1995
.claude/skills/to-tickets/agents/openai.yaml: sha256:21bc6215fffcd7614e9f772bb1760e87cc5fc7dcc707e7d282bc9414267a6090
content_hash: sha256:7cca8cd2afe55d1cd8bfc986df6a4cb4ad54411452575200804494b03c871ede
- repo_url: mattpocock/skills
name: triage
host: github.com
@@ -822,6 +978,27 @@ dependencies:
.claude/skills/grilling/SKILL.md: sha256:a146842ed93ca43d833550fa9adf02e58cb63c83fea9d4b4522995b82242d4e2
.claude/skills/grilling/agents/openai.yaml: sha256:1411d7df7d99b7e621a1ff8283c8133cc2464be63d064e52d8ce169c6800ee9b
content_hash: sha256:823f08ad33368a9626991e6782f7ae14b958e39ef8503f6bdb3b98a58d237a58
- repo_url: mattpocock/skills
name: writing-for-agents
host: github.com
resolved_commit: d1478fcb140db0b93c0c8df17bcfd311844749d0
resolved_ref: v1.3.2
version: unknown
virtual_path: skills/productivity/writing-for-agents
is_virtual: true
depth: 2
resolved_by: Defame1297/holocron
package_type: claude_skill
deployed_files:
- .claude/skills/writing-for-agents
- .claude/skills/writing-for-agents/SKILL-MECHANICS.md
- .claude/skills/writing-for-agents/SKILL.md
- .claude/skills/writing-for-agents/agents/openai.yaml
deployed_file_hashes:
.claude/skills/writing-for-agents/SKILL-MECHANICS.md: sha256:c768e6307c7c10728c401c213f2c4ba71c542127eeb7ad2956aabd15a0fa0059
.claude/skills/writing-for-agents/SKILL.md: sha256:551adca942227b44192edba88acd4e8db911f0121ce58ad16944ccf6a896a74a
.claude/skills/writing-for-agents/agents/openai.yaml: sha256:eacb24b2a618cfb81dacb0416f4fdd75ddf3a8060f8ddb99aae1b1e301907e4b
content_hash: sha256:8365ebe1d0c343d3d46970526f30fcf7c5e0c5e49fd39a3c882977024626ff3c
deployments:
- kind: project-relative
target: claude
@@ -1282,6 +1459,78 @@ deployments:
- git.rkdr.net/Defame1297/holocron/plugins/bin
active_owner: git.rkdr.net/Defame1297/holocron/plugins/bin
content_hash: sha256:3cb61266337806cfd27c407ca3c72ac049e3f81162afa0c5d5bceccc9c34094c
- kind: project-relative
target: claude
value: .claude/skills/code-review
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/code-review
active_owner: mattpocock/skills/skills/engineering/code-review
content_hash: null
- kind: project-relative
target: claude
value: .claude/skills/code-review/SKILL.md
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/code-review
active_owner: mattpocock/skills/skills/engineering/code-review
content_hash: sha256:9c921a8d88138a41401d8897ca1bb852088ab1b7b605cdd04edc13e3e8aab6dd
- kind: project-relative
target: claude
value: .claude/skills/code-review/agents/openai.yaml
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/code-review
active_owner: mattpocock/skills/skills/engineering/code-review
content_hash: sha256:8229ca854e11dc8e6aef2131ee03f31fb1561cf905fab9ccc325180cf3331352
- kind: project-relative
target: claude
value: .claude/skills/codebase-design
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/codebase-design
active_owner: mattpocock/skills/skills/engineering/codebase-design
content_hash: null
- kind: project-relative
target: claude
value: .claude/skills/codebase-design/DEEPENING.md
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/codebase-design
active_owner: mattpocock/skills/skills/engineering/codebase-design
content_hash: sha256:f3dd099ce99289bd213914d8ee3e2429b78309c3957ca4583f7659551b1d53c1
- kind: project-relative
target: claude
value: .claude/skills/codebase-design/DESIGN-IT-TWICE.md
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/codebase-design
active_owner: mattpocock/skills/skills/engineering/codebase-design
content_hash: sha256:c222ab5a82e0405672eb9062d62496139a08828e45d07fc5f18e4952c10fac1a
- kind: project-relative
target: claude
value: .claude/skills/codebase-design/SKILL.md
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/codebase-design
active_owner: mattpocock/skills/skills/engineering/codebase-design
content_hash: sha256:2c20617f87ec8af6a434859f381b2f061a69b530444e74eb39e78bb016a6d1e2
- kind: project-relative
target: claude
value: .claude/skills/codebase-design/agents/openai.yaml
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/codebase-design
active_owner: mattpocock/skills/skills/engineering/codebase-design
content_hash: sha256:edebc9e4fcfe102114012575eaa9600b9b5fd08c311664f389c36e7bc717740f
- kind: project-relative
target: claude
value: .claude/skills/diagnose
@@ -1785,7 +2034,7 @@ deployments:
owners:
- git.rkdr.net/Defame1297/holocron/plugins/kyberforge
active_owner: git.rkdr.net/Defame1297/holocron/plugins/kyberforge
content_hash: sha256:c9b105a411646c22ed4f402697c1c24cc21323328ec49641f7702da87855399a
content_hash: sha256:562249dd1a0a2632e2b5bdeac864a6cdc6ab33a2d05a59ed1fb1fb919a42ee98
- kind: project-relative
target: claude
value: .claude/skills/forge/references/apm-routes.md
@@ -1812,7 +2061,7 @@ deployments:
owners:
- git.rkdr.net/Defame1297/holocron/plugins/kyberforge
active_owner: git.rkdr.net/Defame1297/holocron/plugins/kyberforge
content_hash: sha256:83655f431664d3af81703688d8aae401da027ea2c3d967e291c9ea491854905e
content_hash: sha256:77b03bb128d339b056958fbe91c00bd16020ab89c5c0aca297eb1c3494874df8
- kind: project-relative
target: claude
value: .claude/skills/forge/references/version-bump.md
@@ -2632,6 +2881,60 @@ deployments:
- mattpocock/skills/skills/productivity/grilling
active_owner: mattpocock/skills/skills/productivity/grilling
content_hash: sha256:1411d7df7d99b7e621a1ff8283c8133cc2464be63d064e52d8ce169c6800ee9b
- kind: project-relative
target: claude
value: .claude/skills/implement
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/implement
active_owner: mattpocock/skills/skills/engineering/implement
content_hash: null
- kind: project-relative
target: claude
value: .claude/skills/implement-spec
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/implement-spec
active_owner: mattpocock/skills/skills/engineering/implement-spec
content_hash: null
- kind: project-relative
target: claude
value: .claude/skills/implement-spec/SKILL.md
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/implement-spec
active_owner: mattpocock/skills/skills/engineering/implement-spec
content_hash: sha256:8d8300f7f12325dbfc99cad124a4bcc96ac0d02d0b2d73dfb348e9262afacfc4
- kind: project-relative
target: claude
value: .claude/skills/implement-spec/agents/openai.yaml
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/implement-spec
active_owner: mattpocock/skills/skills/engineering/implement-spec
content_hash: sha256:fd41efb42c60c96320d6531be7e4bf15cbf5518cd652d57dff27ccffa46988e9
- kind: project-relative
target: claude
value: .claude/skills/implement/SKILL.md
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/implement
active_owner: mattpocock/skills/skills/engineering/implement
content_hash: sha256:483bdc4ccf4ac31d86ac7beeaa0d0db80313e71e120bb8c59b3196ae5decd53d
- kind: project-relative
target: claude
value: .claude/skills/implement/agents/openai.yaml
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/implement
active_owner: mattpocock/skills/skills/engineering/implement
content_hash: sha256:8970a8596ade0c28ab427f41a4ea242d6bdf6186c59ebf55e1238dbecaab79dc
- kind: project-relative
target: claude
value: .claude/skills/improve-codebase-architecture
@@ -3178,21 +3481,30 @@ deployments:
runtime: null
scope: project
owners:
- git.rkdr.net/Defame1297/holocron/plugins/bin
active_owner: git.rkdr.net/Defame1297/holocron/plugins/bin
- mattpocock/skills/skills/engineering/research
active_owner: mattpocock/skills/skills/engineering/research
content_hash: null
- kind: project-relative
target: claude
value: .claude/skills/research/SKILL.md
value: .claude/skills/research-docs
runtime: null
scope: project
owners:
- git.rkdr.net/Defame1297/holocron/plugins/bin
active_owner: git.rkdr.net/Defame1297/holocron/plugins/bin
content_hash: sha256:fda628b1756446da59ef41ae3820e82c3475d25bfad50c197953920d3cec0b37
content_hash: null
- kind: project-relative
target: claude
value: .claude/skills/research/references/file-format.md
value: .claude/skills/research-docs/SKILL.md
runtime: null
scope: project
owners:
- git.rkdr.net/Defame1297/holocron/plugins/bin
active_owner: git.rkdr.net/Defame1297/holocron/plugins/bin
content_hash: sha256:93023786f71dac5a77e60eca0be09e6510dfd45509f5e8cbc755395fe8774539
- kind: project-relative
target: claude
value: .claude/skills/research-docs/references/file-format.md
runtime: null
scope: project
owners:
@@ -3201,13 +3513,58 @@ deployments:
content_hash: sha256:29d5583beaa531d26895c54def112039730490c312401648a6bdb7dd5278fb3c
- kind: project-relative
target: claude
value: .claude/skills/research/references/topics.md
value: .claude/skills/research-docs/references/topics.md
runtime: null
scope: project
owners:
- git.rkdr.net/Defame1297/holocron/plugins/bin
active_owner: git.rkdr.net/Defame1297/holocron/plugins/bin
content_hash: sha256:757abb7b6be44c3d3c0dd1f4818a344e08877810d36bf8be60ea7189cba8d12f
- kind: project-relative
target: claude
value: .claude/skills/research/SKILL.md
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/research
active_owner: mattpocock/skills/skills/engineering/research
content_hash: sha256:1f629e18ab899412683bc6a1c4efb4339999e27c2fdac328f26ee10a8c031d33
- kind: project-relative
target: claude
value: .claude/skills/research/agents/openai.yaml
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/research
active_owner: mattpocock/skills/skills/engineering/research
content_hash: sha256:9b4c470d63221c1f68f22df70b83e2f12401b317babe0d1b7b5f24a974474d0d
- kind: project-relative
target: claude
value: .claude/skills/retro
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/retro
active_owner: mattpocock/skills/skills/engineering/retro
content_hash: null
- kind: project-relative
target: claude
value: .claude/skills/retro/SKILL.md
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/retro
active_owner: mattpocock/skills/skills/engineering/retro
content_hash: sha256:33fbc28568e3146f20fd908b12998bc0ab30aa4f4c87288199a40793efa94696
- kind: project-relative
target: claude
value: .claude/skills/retro/agents/openai.yaml
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/retro
active_owner: mattpocock/skills/skills/engineering/retro
content_hash: sha256:cb6fb9d7e6b4be5975f41f6def1dd00a1255bad5d9b02696b124c924a8b8745c
- kind: project-relative
target: claude
value: .claude/skills/setup-matt-pocock-skills
@@ -3297,7 +3654,7 @@ deployments:
owners:
- git.rkdr.net/Defame1297/holocron/plugins/kyberforge
active_owner: git.rkdr.net/Defame1297/holocron/plugins/kyberforge
content_hash: sha256:7bd4b7cf35bf07e44d445c616faf928f8580a072041bcb1980ce9d56aeee5d29
content_hash: sha256:baa0c16e0ed7ed94504e21c82eadc498b5a96af40ca0260dcd64dcbf3bbf9c6a
- kind: project-relative
target: claude
value: .claude/skills/skill-author/assets/templates/SKILL.md
@@ -3306,7 +3663,7 @@ deployments:
owners:
- git.rkdr.net/Defame1297/holocron/plugins/kyberforge
active_owner: git.rkdr.net/Defame1297/holocron/plugins/kyberforge
content_hash: sha256:0b11f68eedfe4e5a4a2456d1015f414fe68e311d971d0ad67c927c67e325ec08
content_hash: sha256:66aa10702d336bac25f54285172e0769b11891531b471d3b843b2302e434dea4
- kind: project-relative
target: claude
value: .claude/skills/skill-author/assets/templates/assets/README.md
@@ -3469,6 +3826,60 @@ deployments:
- mattpocock/skills/skills/engineering/tdd
active_owner: mattpocock/skills/skills/engineering/tdd
content_hash: sha256:859f9e592c188fda4fc7277dd180e4ce9c7a2e13f6efe1f6f29eccc9d28c106a
- kind: project-relative
target: claude
value: .claude/skills/to-spec
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/to-spec
active_owner: mattpocock/skills/skills/engineering/to-spec
content_hash: null
- kind: project-relative
target: claude
value: .claude/skills/to-spec/SKILL.md
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/to-spec
active_owner: mattpocock/skills/skills/engineering/to-spec
content_hash: sha256:43ad9cf318e5e7d3d1fa360253a37021796dc87a0c2e595ad262661a10f85088
- kind: project-relative
target: claude
value: .claude/skills/to-spec/agents/openai.yaml
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/to-spec
active_owner: mattpocock/skills/skills/engineering/to-spec
content_hash: sha256:1c5b4d1e3d8e52287ef19cc2742fdbbfae1914ac75d33af3e4c8174f08cc55bb
- kind: project-relative
target: claude
value: .claude/skills/to-tickets
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/to-tickets
active_owner: mattpocock/skills/skills/engineering/to-tickets
content_hash: null
- kind: project-relative
target: claude
value: .claude/skills/to-tickets/SKILL.md
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/to-tickets
active_owner: mattpocock/skills/skills/engineering/to-tickets
content_hash: sha256:56ec23c5b2782785d4e65bff9e315b6d3aeb4ef977c174a219e99489fada1995
- kind: project-relative
target: claude
value: .claude/skills/to-tickets/agents/openai.yaml
runtime: null
scope: project
owners:
- mattpocock/skills/skills/engineering/to-tickets
active_owner: mattpocock/skills/skills/engineering/to-tickets
content_hash: sha256:21bc6215fffcd7614e9f772bb1760e87cc5fc7dcc707e7d282bc9414267a6090
- kind: project-relative
target: claude
value: .claude/skills/triage
@@ -3630,7 +4041,43 @@ deployments:
owners:
- git.rkdr.net/Defame1297/holocron/plugins/bin
active_owner: git.rkdr.net/Defame1297/holocron/plugins/bin
content_hash: sha256:c42904870feb2023b19a01e67c0a2a880ba7d72b30117c6a271b471ec7ae319f
content_hash: sha256:861bfa52ec1f7f5c2bc335da4e8d92880259c02c2edacb1ad79cca3a3c557d08
- kind: project-relative
target: claude
value: .claude/skills/writing-for-agents
runtime: null
scope: project
owners:
- mattpocock/skills/skills/productivity/writing-for-agents
active_owner: mattpocock/skills/skills/productivity/writing-for-agents
content_hash: null
- kind: project-relative
target: claude
value: .claude/skills/writing-for-agents/SKILL-MECHANICS.md
runtime: null
scope: project
owners:
- mattpocock/skills/skills/productivity/writing-for-agents
active_owner: mattpocock/skills/skills/productivity/writing-for-agents
content_hash: sha256:c768e6307c7c10728c401c213f2c4ba71c542127eeb7ad2956aabd15a0fa0059
- kind: project-relative
target: claude
value: .claude/skills/writing-for-agents/SKILL.md
runtime: null
scope: project
owners:
- mattpocock/skills/skills/productivity/writing-for-agents
active_owner: mattpocock/skills/skills/productivity/writing-for-agents
content_hash: sha256:551adca942227b44192edba88acd4e8db911f0121ce58ad16944ccf6a896a74a
- kind: project-relative
target: claude
value: .claude/skills/writing-for-agents/agents/openai.yaml
runtime: null
scope: project
owners:
- mattpocock/skills/skills/productivity/writing-for-agents
active_owner: mattpocock/skills/skills/productivity/writing-for-agents
content_hash: sha256:eacb24b2a618cfb81dacb0416f4fdd75ddf3a8060f8ddb99aae1b1e301907e4b
- kind: project-relative
target: claude
value: .claude/skills/zoom-out
@@ -0,0 +1,45 @@
# `research` is upstream's single-question skill; bin's reference-tree skill becomes `research-docs`
**Status: accepted (2026-11-12).** Resolves #161. Builds on ADR-0029.
Upstream `wayfinder` (mattpocock `v1.3.2`) resolves a `wayfinder:research` ticket by having a
fresh-context subagent call the Skill tool with `research` (`SKILL.md` lines 77 and 115). It expects
upstream's contract: investigate **one question** against primary sources and write **one** cited
findings note, saved where the repo keeps such notes, that a pending decision waits on.
The bare name `research` resolved instead to bin's first-party skill, whose contract differs in
three ways that matter to wayfinder:
- It researches a **tool, library or API**, not an arbitrary question.
- It writes a **reference tree** (`<topic>.md` files plus a `sources.md` registry), the input of the
Provenance chain that `factory-audit` validates.
- It **stops and asks** when no output path is named. A wayfinder research subagent runs AFK, so
it stalls there.
The collision was silent: nothing warned that wayfinder's call landed on another contract.
**Decision.** Rename bin's skill to `research-docs` (bin 2.0.0 → 3.0.0, skill 1.0.2 → 2.0.0) and pin
upstream `mattpocock/skills/skills/engineering/research#v1.3.2` in `plugins/mattpocock` (0.3.0 →
0.4.0). Callers that want the reference tree route to `research-docs`: `write-docs` does, and
`GLOSSARY.md`'s Provenance chain and `skill-author`'s template name it.
**Rejected.**
- **Broaden bin's skill to cover both.** It would carry two output contracts behind one
description, against ADR-0020/0021's one-boundary rule, and the stop-and-ask gotcha that protects
the reference-tree run is exactly what stalls the AFK one.
- **Replace bin's skill with upstream's.** It drops the reference-tree pipeline the Provenance chain
depends on.
- **Rename bin's skill alone.** Upstream's call cannot be renamed without forking `wayfinder`, so it
would resolve to nothing.
- **Accept the partial fit.** Decision research that is not about one tool's docs keeps failing,
silently.
**Accepted cost: overlapping triggers.** Both skills are model-invoked. Upstream's description
("docs or API facts gathered") overlaps `research-docs`', and it cannot be edited without a fork.
`research-docs` carries the boundary clause ("Not a single question a decision waits on, answered in
one findings note -> `research`"); upstream's side has none, so a request to "research library X"
may route to either. Revisit if misrouting shows up in practice.
**Breaking for consumers.** Anyone invoking `research` for a reference tree now gets upstream's
single-note skill. That is why bin takes a major bump.
@@ -0,0 +1,183 @@
# Enforcement hooks: what apm can ship, and portable alternatives
Research for holocron issue #168 (map #166, "Infra and agent-team packages"). Captured 2026-11-12.
**Question.** Can the infra package *enforce*, not just instruct, the map's safety stance? The stance
blocks `kubectl apply/delete`, `helm upgrade`, unchecked `ansible-playbook`, `tofu apply`, vault
decryption, and reads of vault password files unless a human has approved. If it can, through what
mechanism?
**Short answer.** Partly. apm can ship one `PreToolUse`-style hook that reaches Claude Code,
Copilot (CLI and cloud agent), Codex and Gemini CLI, and each of those can deny a shell command
after inspecting its text. Only Claude Code and Copilot CLI can turn the block into an *ask*, which
is a real human approval. Every provider documents its hooks as best-effort guardrails rather than a
security boundary. Hooks see only the command text, so `sh -c`, a script the agent writes and then
runs, or a Python subprocess gets past them. Real enforcement has to come from credentials the agent
does not hold: a read-only kubeconfig, no apply credentials for tofu, an unreadable vault password
file and branch protection. Use the hook as the fast, explainable first layer, not the boundary.
Sources were the installed apm 0.28.0 source (`apm_cli/`, read from the pipx venv), the apm docs,
and each provider's official docs. Context7 was unavailable in this session (invalid API key), so
every citation below is a primary source fetched directly.
---
## 1. What apm ships as a hook, and where it lands
**Authoring.** Hook files are JSON keyed by lifecycle event, in `.apm/hooks/` or a root `hooks/`.
apm accepts the Claude shape (`PreToolUse`, nested `matcher` and `hooks`) and the Copilot shape
(`preToolUse`, flat entries with `bash`/`powershell`/`timeoutSec`). `${PLUGIN_ROOT}` and
`${CLAUDE_PLUGIN_ROOT}` resolve to the package root and are rewritten per target
([apm: Hooks and commands](https://microsoft.github.io/apm/producer/author-primitives/hooks-and-commands/);
`apm_cli/integration/hook_integrator.py` module docstring). kyberforge's `SessionStart` hook
(`plugins/kyberforge/.apm/hooks/hooks.json`) is exactly this. apm merges it into
`.claude/settings.json` with the command rewritten to
`${CLAUDE_PROJECT_DIR}/.claude/hooks/kyberforge/.apm/hooks/check-apm-current.sh` (ADR-0019, and the
deployed `.claude/settings.json`).
**Deployment per target** (apm docs table, confirmed against `_MERGE_HOOK_TARGETS` and
`integration/targets.py`):
| Target | Deployed to | Mode | Notes from source (apm 0.28.0) |
|---|---|---|---|
| claude | `.claude/settings.json` | merged | Reshaped to the nested matcher schema, default matcher `*` (`_to_claude_hook_entries`). |
| copilot | `.github/hooks/<pkg>-<name>.json` | one file per hook | Events renamed to camelCase, `version: 1` added (`hook_integrator.py` ~L1087). |
| codex | `.codex/hooks.json` | merged | `require_dir=True`: skipped unless `.codex/` already exists. No event rename and no reshape (Codex uses Claude's names and shape). |
| gemini | `.gemini/settings.json` | merged | `require_dir=True`. `PreToolUse` becomes `BeforeTool` and timeouts become milliseconds (`_to_gemini_hook_entries`). |
| cursor | `.cursor/hooks.json` | merged | `require_dir=True`, `version: 1` added. **No entry in `_HOOK_EVENT_MAP` and no shape transform** (see section 4). |
| opencode | none | skipped | "OpenCode has no hooks concept" (`targets.py`). |
**Executable-trust gate.** Hooks are an executable primitive. When the consuming `apm.yml` has an
`executables:` block, a hook deploys only if the consumer approves it (`apm approve`). Without the
block, every executable deploys silently (`apm_cli/security/executables.py` docstring; ADR-0019).
That gate works in the safety stance's favour: a consumer can see, and has to approve, the guard
hook.
**What apm does *not* ship:**
- Permission rules, sandbox settings, or any `settings.json` key other than `hooks`. No source path
writes `permissions` or `sandbox`. A repo-authored key in `.claude/settings.json` is permanent
`apm audit --ci` drift (ADR-0018, AGENTS.md).
- Tool-name translation in matchers. A `"matcher": "Bash"` is written verbatim to every target, but
the shell tool is `Bash` in Claude and Codex, `Shell` in Cursor
([Cursor hooks](https://cursor.com/docs/agent/hooks)), and `run_shell_command` in Gemini
([Gemini hooks reference](https://geminicli.com/docs/hooks/reference/)). Copilot's flat format
has no matcher at all.
- `bin/` on `PATH`. A package's `bin/` deploys at **user scope only**, for the Claude target only,
into the skill directory's `bin/` (`skill_integrator.py` ~L1571–1670, "bin/ deploy is user-scope
only"). It is not a channel for portable wrapper scripts.
## 2. Can a pre-tool hook inspect arguments and deny or ask? Per target
| Provider | Event | Sees the command? | Deny | Ask (human approval) | Failure mode |
|---|---|---|---|---|---|
| **Claude Code** | `PreToolUse` | `tool_input.command` | exit 2 (stderr is the reason) or `permissionDecision: "deny"` | **Yes**, `permissionDecision: "ask"` | Fails open on error or timeout unless `"onFailure": "block"`. Runs in subagents too. |
| **Copilot CLI / cloud agent** | `preToolUse` (`PreToolUse` alias) | `toolArgs` (camelCase) or `tool_input` (PascalCase) | `permissionDecision: "deny"` | **CLI yes. Cloud agent treats `ask` as `deny`.** | Crashes and non-zero exits **fail closed**; timeouts fail open. |
| **Copilot in VS Code** | `preToolUse` | `toolArgs` | `deny` | Documented only loosely | Preview. Also reads the repo's `.claude/settings.json` hooks. |
| **Codex** | `PreToolUse` (covers shell and unified exec as `Bash`, plus `apply_patch` and MCP) | `tool_input.command` | exit 2 or `permissionDecision: "deny"` | **No**: `ask` is "parsed but not supported yet" and the tool call **continues** | Errors and timeouts can let the tool run. Project hooks are skipped until a human trusts them (hash-pinned). |
| **Gemini CLI** | `BeforeTool` | `tool_input` (raw tool args) | exit 2 or `decision: "deny"`/`"block"` | Not documented | Other exit codes are non-fatal and the call continues. Project hooks are fingerprinted, with a warning on change. |
| **Cursor** | `beforeShellExecution` / `preToolUse` | `command` / `tool_input.command` | exit 2 or `permission: "deny"` | `beforeShellExecution` yes. `preToolUse` accepts `ask` in its schema but does not enforce it. | Fails open by default; `failClosed: true` per hook. |
| **OpenCode** | none | n/a | n/a | n/a | No hooks. |
Sources: [Claude Code hooks](https://code.claude.com/docs/en/hooks),
[Copilot hooks reference](https://docs.github.com/en/copilot/reference/hooks-configuration),
[VS Code agent hooks](https://code.visualstudio.com/docs/copilot/customization/hooks),
[Codex hooks](https://learn.chatgpt.com/docs/hooks) (redirected from developers.openai.com),
[Gemini CLI hooks](https://geminicli.com/docs/hooks/) and its
[reference](https://geminicli.com/docs/hooks/reference/),
[Cursor hooks](https://cursor.com/docs/agent/hooks).
**Every vendor says hooks are not a boundary.** Codex: "Treat tool hooks as a useful guardrail, not
a complete enforcement boundary". Claude's `if` field docs: "use the permission system rather than a
hook to enforce a hard allow or deny". Claude permissions: a Bash rule "isn't a security boundary
around the program", and the docs point to the sandbox for enforcement that doesn't depend on the
command text ([Claude permissions](https://code.claude.com/docs/en/permissions)).
**Exit code 2 plus a stderr reason is the lowest common denominator for deny.** Claude, Codex,
Gemini and Cursor document it, and Copilot fails closed on any non-zero exit. A single script can
therefore deny portably. Only *ask* differs per provider.
## 3. Portable alternatives where hooks don't reach
| Layer | Mechanism | Strength | apm-shippable? |
|---|---|---|---|
| Host permission rules | Claude `permissions.deny`/`ask` (`Bash(kubectl apply *)`, `Read(**/.vault_pass*)`). Deny, then ask, then allow; a hook `allow` cannot override a deny or ask rule. Compound commands and subshells are split. | Matches the text Claude writes. It "doesn't match the same program invoked in a different form" (path, `sh -c`). | **No.** Settings keys are not an apm primitive and would be drift in `.claude/settings.json`. Use managed settings, user settings or `settings.local.json`. |
| Claude sandbox | `sandbox.filesystem.denyRead` on the vault password file, `allowUnsandboxedCommands: false`, `failIfUnavailable: true`. OS-level (bubblewrap/Seatbelt) and covers child processes. | Strong for file reads, whatever the command text. Command hooks and MCP servers run outside it. | No (settings). Claude only. |
| Wrapper scripts on PATH | `kubectl`/`helm`/`tofu` shims that refuse mutating verbs. | Weak: bypassed by an absolute path, `command -p` or a different PATH. Breaks humans who share the PATH. | No portable channel (apm `bin/` is user-scope, Claude-only, not on PATH). **Not recommended.** |
| pre-commit / pre-push | e.g. reject a committed file that should be vault-encrypted but lacks the `$ANSIBLE_VAULT` header. | Catches mistakes at commit time. Client-side and skippable with `--no-verify`. Cannot stop a runtime apply. | Out of scope for apm (`.pre-commit-config.yaml` in the infra repo). |
| Kubernetes RBAC | Agent kubeconfig bound to the built-in `view` ClusterRole. "This role does not allow viewing Secrets, since reading the contents of Secrets enables access to ServiceAccount credentials" ([k8s RBAC](https://kubernetes.io/docs/reference/access-authn-authz/rbac/)). | **Boundary.** `kubectl apply/delete` and `helm upgrade` fail server-side, whatever the shell form. It also keeps the Sealed Secrets controller key out of reach. `kubectl diff` needs server-side dry-run, which may need more than `view` (not verified here). | No: infra and credential setup. |
| Separate apply credentials | tofu: the agent gets plan-only or read-only provider and state credentials, and apply runs with credentials held by the human or CI. Ansible: no vault password and no privileged SSH key in the agent's environment. | **Boundary.** | No: infra and credential setup. |
| Forge branch protection | The Flux-watched branch accepts only reviewed merges, and the agent's Gitea token cannot push or merge to it. | **Boundary** for the GitOps path. | No: Gitea settings. |
## 4. Gaps named per provider
- **Claude Code: best covered.** The hook deploys and is honoured, with argument-level deny and real
`ask`. Gaps: the hook fails open on error unless `onFailure: block` is set. A user's
`disableAllHooks` turns off project hooks, and only `allowManagedHooksOnly` with managed hooks
prevents that. The permission rules and sandbox that would harden it are not apm-deliverable.
- **Copilot CLI: well covered.** Deny and ask both work, and errors fail closed. On the **cloud
agent** `ask` becomes `deny`, so HITL commands are simply blocked there, which is the correct
outcome. **VS Code** reads both `.github/hooks/` and `.claude/settings.json`. A package installed
for both `copilot` and `claude` targets therefore runs the guard twice in VS Code. That is
harmless for a deny-only idempotent script, but noisy.
- **Codex: deny only.** `ask` silently degrades to *allow* (the run is marked failed and the tool
call continues). The script must therefore emit `deny` for HITL commands on Codex, never `ask`.
apm skips the hook entirely unless `.codex/` exists, and Codex skips it until a human trusts it.
A fresh install is unguarded until someone runs `/hooks` to review it.
- **Gemini CLI: deny only, and the matcher does not translate.** A `Bash` matcher never fires on
`run_shell_command`, so ship the hook with no matcher (or `*`) and dispatch inside the script. apm
skips it unless `.gemini/` exists.
- **Cursor: not reliably reachable through apm 0.28.0.** The installed source applies no event
rename and no reshape for `cursor`, so a Claude-shaped `PreToolUse` entry lands verbatim in
`.cursor/hooks.json`, while Cursor's native events are camelCase with a flat
`{command, matcher}` schema. The apm docs say "Cursor accepts Claude aliases and maps them to
native names". Cursor's docs say it "supports loading hooks from third-party tools like Claude
Code", but the page fetched here did not detail the mapping. **I'm not certain this works.** Verify
with a real Cursor install before claiming coverage. Even when it works, `preToolUse` does not
enforce `ask` and fails open unless `failClosed: true`.
- **OpenCode and other hookless targets: no hook layer.** Only the credential layers apply.
## 5. Recommended layered design
1. **Instructions (intent).** Infra skills state the stance and tell the agent to propose the
command and stop. This costs nothing, but it is not enforcement.
2. **One portable guard hook shipped by the infra package (fast feedback, best-effort).**
- A single `.apm/hooks/` file on the `PreToolUse`/`preToolUse` event, **with no tool matcher**.
The script normalises the payload (`tool_input.command`, `toolArgs`, `command`) and ignores
non-shell tools.
- **Always deny:** `kubectl apply|delete|patch|replace|edit|create`, `helm install|upgrade|
uninstall|rollback`, `ansible-vault decrypt|view|edit|rekey`, `kubeseal --recovery-unseal`,
and commands naming the vault password file.
- **HITL** (`ansible-playbook` without `--check`/`-C`, `tofu apply|destroy`, `git push` to the
Flux branch): emit `ask` where it is honoured (Claude Code, Copilot CLI) and `deny` everywhere
else, with a reason telling the agent to hand the command to the human.
- Signal the decision with **exit 2 plus stderr** as well as the JSON, so a provider that ignores
the JSON still blocks. Keep the script POSIX `sh` and `jq`-optional.
- Consumers approve it through the apm executable-trust gate (version-blind grant, ADR-0019
correction).
3. **Host hardening, documented and not shipped.** The package README or skill tells the operator
what to set per provider. Claude: deny and ask rules, plus sandbox `denyRead` on the vault
password file with `allowUnsandboxedCommands: false`, ideally in managed settings with
`allowManagedHooksOnly` so the guard cannot be disabled. Codex: trust the hook after review.
4. **Credentials (the actual boundary).** A `view`-role kubeconfig for agent sessions, apply
credentials for tofu that the agent never holds, a vault password file that the agent's OS user
cannot read, and an agent forge token without push or merge rights on the Flux branch. These hold
whatever the shell form and on every provider, including hookless ones.
5. **Repo gates.** The infra repo's pre-commit catches unencrypted secrets. Forge branch protection
and CI catch what client hooks miss.
**Trade-off.** Layer 4 is outside apm and needs per-environment setup, so the package can document it
but not install it. That is the price of actual enforcement. Layers 1–3 alone are bypassable by
construction.
## 6. Open issue for the map: `--check` needs the vault
The stance allows `ansible-playbook --check --diff` freely but forbids reading vault password files.
A playbook that loads vaulted variables needs the vault secret to run at all, check mode included.
That is my understanding of Ansible's variable loading; I did not verify it against the Ansible docs
in this pass. Any layer that truly stops the agent's processes reading the password file (sandbox
`denyRead`, file permissions) will therefore also break the agent's check runs. The hook layer
cannot tell the agent reading the file from Ansible reading it on the agent's behalf. Possible
resolutions: run checks in CI, use a `--vault-password-file` client script that prompts the human,
or accept that Ansible (not the agent) reads it and enforce only "no direct read or decrypt
command". This needs a decision ticket on map #166.
@@ -1,12 +1,13 @@
---
name: research
name: research-docs
description: >-
Use when the user wants a tool, library, or API researched from canonical
documentation into structured per-topic reference markdown files. Not
documentation written from existing code or specs -> `write-docs`. Not a bug
or incident -> `diagnose`.
or incident -> `diagnose`. Not a single question a decision waits on, answered
in one findings note -> `research`.
metadata:
version: "1.0.2"
version: "2.0.0"
category: research
allowed-tools:
- Grep
+2 -2
View File
@@ -5,11 +5,11 @@ description: >
or spec, every claim traced to a source — "write docs for X", "document this
module", "create docs for this feature", "write a README for this". Not an ADR
or other decision record -> `grill-with-docs`. Not an external tool researched
from its docs -> `research`.
from its docs -> `research-docs`.
updated: 2026-05-17
when: invoked by explicit trigger ("write docs for X", "document this module", "create docs for this feature") or implicit request to produce technical documentation from code or spec
metadata:
version: "1.0.1"
version: "1.0.2"
category: implement
source:
- repo: anthropics/skills
+1 -1
View File
@@ -1,5 +1,5 @@
name: bin
version: 2.0.0
version: 3.0.0
description: Skills for everyday AI-assisted development work that is not tied to a single tool, forge or language, and has not yet been split into a focused plugin.
author:
name: Defame1297
@@ -6,7 +6,7 @@ description: >
Not read-only review -> `factory-audit`. Not agent files -> `agent-author`.
allowed-tools: Bash Read Write Edit
metadata:
version: "1.0.6"
version: "1.0.7"
category: factory
source_keys:
- agentskills-home
@@ -57,7 +57,7 @@ metadata:
# skill starts at "0.1.0" — leave the seeded value as it is; "1.0.0" is the seed
# for a pre-existing skill retrofitted into the rule, not for a new one.
# The rest of the map is optional: author, category, source_keys.
# source_keys: populated when built from /research output. Lists slugs from references/sources.md.
# source_keys: populated when built from /research-docs output. Lists slugs from references/sources.md.
# Also add source_keys to each references/*.md file that was informed by research.
# allowed-tools: Bash Read Write
+24 -3
View File
@@ -1,5 +1,5 @@
name: mattpocock
version: 0.2.0
version: 0.4.0
description: Matt Pocock's agent skills — planning, grilling, test-first development, triage and bug diagnosis — redistributed from upstream at a pinned release.
author:
name: Defame1297
@@ -15,6 +15,7 @@ keywords:
- domain-modeling
- tdd
- triage
- code-review
# Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts
type: hybrid
@@ -43,8 +44,19 @@ includes: auto
# live in plugins/bin. Upstream's `grill-me`, `grill-with-docs`, `triage` and
# `improve-codebase-architecture` are hand-invoked, so another skill cannot
# route to them through the Skill tool.
# - `research` is not listed: bin's own `research` is first-party and kept, and
# so are bin's `diagnose`, `write-docs`, `caveman` and `zoom-out`.
# - `codebase-design` is called through the Skill tool by `improve-codebase-architecture`
# and `tdd`, and `code-review` is where `tdd` sends refactoring; without them
# those calls dangle.
# - `to-tickets` and `to-spec` publish to the tracker doc that
# `setup-matt-pocock-skills` writes, which names them as its consumers.
# - `implement` and `implement-spec` take that spec and ticket graph to code;
# `retro` calls `writing-for-agents`. `writing-for-agents` is model-invoked
# and overlaps the triggers of kyberforge's `skill-author` and core's
# `agentsmd-author`.
# - `research` is the skill `wayfinder` calls to resolve a research ticket: one
# question answered in one cited findings note. bin's reference-tree skill
# was renamed `research-docs` to free the name (ADR-0030). bin's `diagnose`,
# `write-docs`, `caveman` and `zoom-out` are first-party and kept.
#
# Pinned on purpose: tracking a third-party `main` would import someone else's
# drift. Bump every tag together, deliberately, so the skills stay at one
@@ -62,6 +74,15 @@ dependencies:
- mattpocock/skills/skills/engineering/improve-codebase-architecture#v1.3.2
- mattpocock/skills/skills/engineering/triage#v1.3.2
- mattpocock/skills/skills/engineering/diagnosing-bugs#v1.3.2
- mattpocock/skills/skills/engineering/codebase-design#v1.3.2
- mattpocock/skills/skills/engineering/code-review#v1.3.2
- mattpocock/skills/skills/engineering/to-tickets#v1.3.2
- mattpocock/skills/skills/engineering/to-spec#v1.3.2
- mattpocock/skills/skills/engineering/implement#v1.3.2
- mattpocock/skills/skills/engineering/implement-spec#v1.3.2
- mattpocock/skills/skills/engineering/retro#v1.3.2
- mattpocock/skills/skills/productivity/writing-for-agents#v1.3.2
- mattpocock/skills/skills/engineering/research#v1.3.2
mcp: []
devDependencies:
apm: []