Commit Graph
599 Commits
Author SHA1 Message Date
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
Defame1297 c8520d444f Merge pull request 'docs: update stale CONTEXT.md references to GLOSSARY.md' (#160) from chore/glossary-stale-refs into main
Reviewed-on: Defame1297/holocron#160
2026-11-11 18:26:36 +00:00
Defame1297andClaude Sonnet 5.5 6644d08eaa docs: update stale CONTEXT.md references to GLOSSARY.md
Covers ADRs, research docs, notes and LESSONS.md. docs/notes/archive is
left as is: it describes CONTEXT.md in other repos.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-11 18:13:07 +00:00
Defame1297 9705167cbe Merge pull request 'chore(agents): set up Matt Pocock skills and rename CONTEXT.md to GLOSSARY.md' (#159) from chore/setup-matt-pocock-skills into main
Reviewed-on: Defame1297/holocron#159
2026-11-11 18:08:22 +00:00
Defame1297andClaude Sonnet 5.5 ebaf43af96 chore(forge): bump skill version for GLOSSARY.md reference rename
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-11 18:00:16 +00:00
Defame1297andClaude Sonnet 5.5 b63928cbc9 chore(agents): set up Matt Pocock skills and rename CONTEXT.md to GLOSSARY.md
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
2026-11-11 17:54:34 +00:00
Defame1297 bbf5467486 Merge pull request 'chore(onedev): remove the onedev wrapper and enable mattpocock for this repo' (#158) from chore/remove-onedev into main
Reviewed-on: Defame1297/holocron#158
2026-11-11 17:21:17 +00:00
Defame1297andClaude Sonnet 5.5 49c425f046 chore(onedev): remove the onedev wrapper and enable mattpocock for this repo
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
2026-11-11 17:05:17 +00:00
Defame1297 30fb33fc52 Merge pull request 'feat(mattpocock): redistribute Matt Pocock's skills as pinned upstream dependencies' (#157) from feat/mattpocock-wrapper into main
Reviewed-on: Defame1297/holocron#157
Reviewed-by: Defame1297 <[email protected]>
2026-11-11 16:56:15 +00:00
Defame1297andClaude Sonnet 5.5 3407f787a3 feat(mattpocock): replace bin's copies of Matt Pocock's skills with pinned upstream dependencies
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
2026-11-11 12:49:15 +00:00
Defame1297andClaude Sonnet 5.5 ad0067e9ad feat(mattpocock): redistribute wayfinder and its called skills through a wrapper
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
2026-11-11 08:11:55 +00:00
Defame1297 09f4093c3b Merge pull request 'feat(kyberforge): add prompt-author skill for .apm/prompts files' (#155) from feat/149-prompt-author into main
Reviewed-on: Defame1297/holocron#155
2026-11-10 22:00:35 +00:00
Defame1297andClaude Sonnet 5.5 8381c9f395 fix(kyberforge): correct prompt-author claims found in clean-context review
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
2026-10-15 16:16:27 +00:00
Defame1297andClaude Sonnet 5.5 e9df1ca0da fix(kyberforge): keep literal $ARGUMENTS out of the prompt template body
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
2026-10-15 16:04:49 +00:00
Defame1297andClaude Sonnet 5.5 6a3fd48fbd feat(kyberforge): add prompt-author skill for .apm/prompts files
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
2026-10-15 16:04:33 +00:00
Defame1297andClaude Sonnet 5.5 59e0f3a3b8 docs(context): add Prompt file term and reword Skill
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
2026-10-15 16:00:13 +00:00
Defame1297andClaude Sonnet 5.5 3b3b3028f8 docs(kyberforge): verify apm prompts primitive against apm 0.28.0
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
2026-10-15 07:36:44 +00:00
Defame1297andClaude Sonnet 5.5 f5a260e85c docs(kyberforge): research apm prompts primitive and prompt-file standards
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
2026-10-15 07:29:52 +00:00
Defame1297 7707992a1d Merge pull request 'feat(kyberforge): add instructions-author skill for .apm/instructions files' (#154) from feat/148-instructions-author into main
Reviewed-on: Defame1297/holocron#154
2026-10-15 07:04:42 +00:00
Defame1297andClaude Code b4499fd024 fix(kyberforge): correct instructions-author claims found in PR #154 review
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
2026-10-14 07:30:28 +00:00
Defame1297andClaude Code a92320a189 refactor(kyberforge): move artifact-type choice from instructions-author to forge
Deciding whether guidance is a rule, a procedure or something to enforce is
forge's classification job. instructions-author keeps only a stop condition.

Refs #148

Co-Authored-By: Claude Code <[email protected]>
Claude-Session: https://claude.ai/code/session_01KkT7RSDwDbmrM9T34b6sTi
2026-10-14 06:59:49 +00:00
Defame1297andClaude Code 68fa2abb62 fix(kyberforge): address independent review of #154
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
2026-10-01 16:28:15 +00:00
Defame1297andClaude Code d576695bb9 refactor(kyberforge): address #154 review and drop commit steps from author skills
- 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
2026-10-01 16:19:14 +00:00
Defame1297andClaude Code 6328816584 fix(kyberforge): bump forge and apm-workflow skill versions for #148
ADR-0022 requires a metadata.version raise on every changed skill; the
routing row and compile pointer added for instructions-author touched both.

Refs #148

Co-Authored-By: Claude Code <[email protected]>
Claude-Session: https://claude.ai/code/session_01KkT7RSDwDbmrM9T34b6sTi
2026-10-01 07:01:57 +00:00
Defame1297andClaude Code c52e351954 feat(kyberforge): add instructions-author skill for .apm/instructions files
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
2026-10-01 06:46:39 +00:00
Defame1297andClaude Code 529ed31cef docs(kyberforge): refresh apm instructions primitive research for #148
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
2026-10-01 06:37:20 +00:00
Defame1297 17d67fbfa9 Merge pull request 'fix(pre-commit): keep key order in pretty-format-json so apm-owned JSON survives' (#146) from fix/pretty-json-no-sort-keys-102 into main
Reviewed-on: Defame1297/holocron#146
2026-09-30 16:47:29 +00:00
Defame1297andClaude Code 18fbdbc8e4 refactor(pre-commit): drop the tool-owned round-trip test for #102
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
2026-09-30 16:37:25 +00:00
Defame1297andClaude Code c2c56ff948 fix(pre-commit): keep key order in pretty-format-json so apm-owned JSON survives
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
2026-09-30 16:02:21 +00:00
Defame1297 3ff0741857 Merge pull request 'fix(kyberforge): trim forge description and body to ADR-0020 budgets' (#145) from fix/forge-adr-0020-budgets into main
Reviewed-on: Defame1297/holocron#145
2026-09-30 15:27:41 +00:00
Defame1297andClaude Code 8c583b5fd5 chore(kyberforge): sync executables allow key and marketplace to 2.0.2
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
2026-09-30 07:10:36 +00:00
Defame1297andClaude Code cacfa1b374 fix(kyberforge): trim forge description and body to ADR-0020 budgets
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
2026-09-30 06:58:40 +00:00
Defame1297 f30fbacf14 Merge pull request 'chore: migrate git host from git.dev.rkdr.net to git.rkdr.net' (#142) from chore/git-host-migration into main
Reviewed-on: Defame1297/holocron#142
2026-09-25 14:23:16 +00:00
Defame1297 f22836ff7e chore: merge main (bats build/ exclusion fix) into chore/git-host-migration 2026-09-25 14:15:22 +00:00
Defame1297 4357da5b4d Merge pull request 'fix(tests): exclude build/ from bats test discovery' (#141) from fix/bats-repo-root-resolution into main
Reviewed-on: Defame1297/holocron#141
2026-09-25 14:13:20 +00:00
Defame1297 b6a5915520 fix(tests): exclude build/ from bats test discovery
Why
tests/run-bats.sh's discovery walk already excludes apm_modules/ and
.claude/skills/ because those hold apm-installed copies of the same
*.bats files one directory level shallower than their plugins/*/.apm/
source, which overshoots the hardcoded six-levels-up REPO_ROOT walk
each test's setup() does and fails to find the bats-support helper.
build/ was missing the same exclusion: apm pack stages an identical
copy under build/<package>-<version>/ before archiving, hitting the
exact same failure mode from a different apm subcommand. A stray
local `apm pack` run leaves that directory on disk (gitignored,
regenerable) and silently doubles the suite (846 tests instead of
423) with 423 of them failing.

Implementation Notes
Added `-not -path "*/build/*"` to the find walk and the matching
git ls-files grep exclusion, mirroring the existing apm_modules/ and
.claude/skills/ entries. Extended tests/test-run-bats.sh with a case
following the same pattern as the existing exclusion-bug fixtures.

Impact
Unblocks the run-tests pre-commit/pre-push hook for any checkout that
has ever run a bare `apm pack` locally.
2026-09-25 13:45:25 +00:00
Defame1297 025ad4a5af chore: migrate git host from git.dev.rkdr.net to git.rkdr.net
Why
The repo's git host moved from git.dev.rkdr.net to git.rkdr.net. The
`origin` remote was already repointed; this commit brings every
in-repo reference in line so cloning, submodule init, and apm install
all resolve against the new host.

Implementation Notes
- .gitmodules: docs/wiki submodule URL repointed (tests/* submodules
  stay on github.com, untouched).
- Root apm.yml: 7 dependency entries and marketplace.owner.url
  repointed; executables.allow key updated to kyberforge#2.0.1 to
  match kyberforge's bump below (scripts/check-executables-allow-sync.sh
  enforces this pairing).
- Each plugin's apm.yml (bin, core, git, gitea, kyberforge, lint,
  onedev): author.url/homepage/repository repointed. Per this repo's
  apm versioning policy, these fields compile verbatim into
  plugin.json, so each package took a patch version bump alongside
  the URL change.
- Root apm.yml version and marketplace.version bumped 0.5.0 -> 0.5.1
  to match (a marketplace-block field and every listed package's
  version moved).
- apm.lock.yaml regenerated via `apm install`; .claude-plugin/marketplace.json
  regenerated via `apm pack --marketplace=claude` so compiled output
  stays in sync with the manifests.

Impact
docs/adr/0015, 0017, and 0018 intentionally keep the old host in their
issue links and examples — they are historical decision records, not
live config. Verified clean: apm pack --check-clean, apm audit --ci,
check-executables-allow-sync.sh, and pre-commit --all-files all pass.
2026-09-25 13:15:25 +00:00
Defame1297 d654dca056 Merge pull request 'fix(gates): check body-level routing targets, not just descriptions' (#140) from fix/124-body-level-routing-targets into main
Reviewed-on: https://git.dev.rkdr.net/Defame1297/holocron/pulls/140
Reviewed-by: Defame1297 <[email protected]>
2026-09-22 15:47:18 +00:00
Defame1297andClaude Sonnet 5 c5f754d3ad fix(gates): check body-level routing targets, not just descriptions
The ADR-0020 boundary resolver (boundary_targets()/unresolved_targets())
only ever read a SKILL.md's description. A target named in the BODY -- a
dispatch table row, a "run X" step, both routine in a 900-word procedure
-- was checked by nothing. Two real instances shipped before either was
caught by reading rather than by a gate: bin/write-docs routed twice to a
deleted `to-prd` skill, and bin/triage told an agent to run a nonexistent
`/setup-matt-pocock-skills` (both fixed in 03abcff; that fix was the
symptom, this gate is the actual ask per #124).

Added a separate, narrower extractor -- body_targets() /
unresolved_body_targets() in the shared lib-boundary-resolver.sh -- rather
than reusing the description resolver at wider scope. The description
gate's sentence-level heuristics (BOUNDARY_MARKER, the follower test,
in-sentence corroboration) are tuned for a one-to-three-sentence routing
clause and misfire on dispatch-table/procedure prose in both directions,
so the body gate reads only explicit route notation (`/name`,
backticked-or-slash-prefixed `-> name` / `-> name`), already the
description gate's own unconditionally-blocking tier.

Three guards were added after running the extractor over the real
39-skill corpus and reading every hit rather than assuming the design was
correct:

- a target must be hyphenated, even in notation -- single-word citations
  like `/fork` (forge, citing Claude Code's own /fork command) and
  `/name` (skill-author, a placeholder) are not routes.
- a bare hyphenated word after any arrow is not notation -- only
  ARROW_MARKED (backticked/slash-prefixed) is used, not NOTATION_ARROW's
  bare form, so ordinary process-chain prose ("prop -> new ref ->
  re-render", caveman) is not read as a route.
- a name immediately preceded by `<` is a closing tag
  (`</what-to-do>`, grill-with-docs), not /name notation.

Wired into both consumers that must agree by contract: scripts/
skill-size-check.sh (the pre-commit hook) and factory-audit's
lib-checks-skill.sh (the audit). Verified identical findings across both
over the whole corpus.

tests/test-adr0020-targets.sh gains a dedicated section pinning the two
live true positives and all three guards. docs/spec/gates.md and
ADR-0020 get a matching amendment.

Fixes: #124
ADR: 0020

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EGHFJextYtVQseaHPDDhxB
2026-09-22 15:17:09 +00:00
Defame1297 3ea057794c Merge pull request 'feat(kyberforge): make Research doc name one Research registry' (#139) from feat/121-research-doc-grammar into main
Reviewed-on: https://git.dev.rkdr.net/Defame1297/holocron/pulls/139
Reviewed-by: Defame1297 <[email protected]>
2026-09-21 19:52:19 +00:00
Defame1297 97cd22edda Merge branch 'main' into feat/121-research-doc-grammar 2026-09-21 19:52:01 +00:00
Defame1297andClaude Sonnet 5 45d8f19e56 test(lint): back the Vale 3.15.2 behaviour claims with a committed test
The `house-vale-3-15-2-repro` provenance entry claimed behaviours were
reproduced against purpose-built fixtures, but no fixtures existed, so
the earlier commit in this PR removed it. Commit the fixtures.

tests/test-vale-3-15-2-behaviours.sh builds its fixtures in a temp dir
and runs the real Vale. It exits 77 (skipped) when vale is missing or is
not 3.15.2. It asserts the six vale-config behaviours and the vale-run
ones (unmapped .mdx, `vale off` variants, the spelling ignore file, and
the ls-* commands never naming a rule).

Restore the entry in both sources.md files as `Research doc: none` with
`Basis:` naming the test, and re-add its source_keys. Two behaviours are
not asserted: the native-MDX suppression column (needs mdx2vast) and the
`vale sync` row that adds to Packages (needs the network). The wording in
configuration-reference.md and troubleshooting.md now says so.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EGHFJextYtVQseaHPDDhxB
2026-09-21 19:40:50 +00:00
Defame1297andClaude Sonnet 5 58a3f402a6 docs(adr): record the review outcomes for the Research registry grammar
- ADR-0004: add the "Amended by ADR-0028" note, following the ADR-0025
  convention.
- ADR-0028: correct Q5 (parse_status is gone), the skill count (38, not
  39), and the question order. Q7 records the anchored, format-only sha
  check. Q8 records the decision to commit real Vale fixtures. A new
  consequence covers path confinement and list rejection.
- CONTEXT.md: the `_Avoid_` entry means the bare noun, not the field.
- gates.md: correct the authored-hook counts after the corpus gate.
- create.md: a `none` entry backed by a reproduction must name committed
  fixtures in `Basis:`; use the `(digest: <full path>)` form.
- gitea-releases: use the `(digest: <full path>)` form.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EGHFJextYtVQseaHPDDhxB
2026-09-21 19:40:43 +00:00
Defame1297andClaude Sonnet 5 c008da1876 fix(gates): run the provenance corpus gate from any cwd
The gate took its root from `git rev-parse --show-toplevel || pwd`, so
running it by absolute path from another directory found no skills and
exited 2. Derive the root from the script's own location; the optional
argument still overrides it.

The real-corpus test accepted exit 0 or 1, so it only caught a crash.
It now asserts exit 0. New cases cover a foreign cwd, a skill without
references/sources.md being skipped, several failing skills all being
reported, and an errored skill alongside a failing one.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EGHFJextYtVQseaHPDDhxB
2026-09-21 19:40:34 +00:00