Compare commits

..
Author SHA1 Message Date
Defame1297 ff128df074 Merge pull request 'fix(tests): unset hook-exported git env before running suites' (#175) from fix/run-tests-git-env into main
Reviewed-on: Defame1297/holocron#175
2026-11-13 16:05:58 +00:00
Defame1297andClaude Opus 5.5 9a2a3efd8e fix(tests): unset hook-exported git env before running suites
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
2026-11-13 15:30:33 +00:00
Defame1297 c99ac96c4d Merge pull request 'docs(agents): map wayfinding operations onto Gitea' (#174) from docs/wayfinding-operations into main
Reviewed-on: Defame1297/holocron#174
2026-11-12 20:31:50 +00:00
Defame1297andClaude Opus 5.5 5e090b82aa docs(agents): express wayfinder labels as Wayfinder/* scoped labels
Matches the repo's Scope/Value label convention and lets Gitea treat
the ticket types as one exclusive scope.

Refs: #166
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-12 18:09:02 +00:00
Defame1297andClaude Opus 5.5 4000b9e944 docs(agents): map wayfinding operations onto Gitea
Gitea has native issue dependencies but no sub-issues, so a wayfinder
map pairs its issue with a same-titled milestone and children carry a
"Part of #<map>" line.

Refs: #166
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-11-12 18:06:38 +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
4 changed files with 102 additions and 32 deletions

No files matched your search

+4
View File
@@ -141,3 +141,7 @@ The pre-push `run-tests` failed 2 of 3 full runs, on a different suite each time
## 2026-09-16 — A static guard covers exactly the spellings its regex models
The guard added above (`tests/test-no-pipefail-early-exit-grep.sh`) reported the tree clean the day it landed, and the tree was not clean. Its pattern could not see a multi-stage pipeline (`echo x | filter | grep -q y`), a pipeline wrapped after a trailing `|`, or `set -o errexit -o pipefail` — the last a file-level miss that silently skipped every site in that file. Five live vulnerable sites sat in `tests/test-apm-current-hook.sh` while the suite reported green, and the fixtures carried 4 of the 12 vulnerable spellings that turned out to exist. A clean verdict from a static scanner is a claim about its regex, not about the tree. Fix: before trusting one, enumerate the spellings of the defect and measure the miss surface against them; and write the scanner's remit and its known false-positive shapes into the gate's own documentation, so the next reader knows what the green covers.
## 2026-11-13 — Hook-exported GIT_DIR turned test fixtures loose on the real repo
Under the `run-tests` pre-push hook, git exports `GIT_DIR` to the hook, so a bats fixture's `git -C "$tmp" init/commit/update-ref` hit this repo instead of its temp dir: 84 failures, `core.bare=true` and an emptied index on every push. The 2026-07-05 "repo root is a bare checkout" entry was likely this bug's symptom, not the repo's real shape. Fix: `tests/run-tests.sh` unsets git's repo-locating env vars before any suite runs. Rule: a test that builds its own repo must never inherit the caller's git environment.
+78 -32
View File
@@ -1,12 +1,12 @@
lockfile_version: '1'
generated_at: '2026-11-11T22:38:37.258286+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: 060aad75926c7a2405b5cda42f033733e3f68739
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: 060aad75926c7a2405b5cda42f033733e3f68739
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: 060aad75926c7a2405b5cda42f033733e3f68739
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: 060aad75926c7a2405b5cda42f033733e3f68739
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: 060aad75926c7a2405b5cda42f033733e3f68739
resolved_commit: 60f9b22210a6de7d30ce2826b39dece2216300d1
version: 2.2.1
virtual_path: plugins/kyberforge
is_virtual: true
@@ -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:edcb0f3dc9a0f503d8e3df92bf1ceef62e1fa31a7c0a199025a58ba05aa58691
content_hash: sha256:f68635c3ff7feaed9572a6ea9dcf6d209fe3c24f5c993d44ca4fdf49081b191a
declared_license: MIT
exec_status: deployed
- repo_url: Defame1297/holocron
name: lint
host: git.rkdr.net
resolved_commit: 060aad75926c7a2405b5cda42f033733e3f68739
resolved_commit: 60f9b22210a6de7d30ce2826b39dece2216300d1
version: 1.1.9
virtual_path: plugins/lint
is_virtual: true
@@ -576,12 +576,12 @@ dependencies:
- repo_url: Defame1297/holocron
name: mattpocock
host: git.rkdr.net
resolved_commit: 060aad75926c7a2405b5cda42f033733e3f68739
version: 0.3.0
resolved_commit: 60f9b22210a6de7d30ce2826b39dece2216300d1
version: 0.4.0
virtual_path: plugins/mattpocock
is_virtual: true
package_type: apm_package
content_hash: sha256:515c79f46e9fec38e64f7c870a189afd0a3f4a7d28576ea01d0105a4b534cfb4
content_hash: sha256:474f27ecf7c6a86cc14bf36ddb59d09fa00e38d36a5243dcf405471ef8a3d568
declared_license: MIT
- repo_url: mattpocock/skills
name: code-review
@@ -770,6 +770,25 @@ 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
@@ -3462,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:
@@ -3485,13 +3513,31 @@ 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
@@ -3608,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
@@ -3617,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
@@ -3995,7 +4041,7 @@ 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
+12
View File
@@ -16,6 +16,18 @@ Use the plugin skills, which wrap the Gitea MCP tools (`mcp__gitea__*`); do not
- Apply triage state with the `Status/*` labels mapped in `docs/agents/triage-labels.md`.
- "Publish to the issue tracker" means create a Gitea issue; "fetch the relevant ticket" means read it with `gitea-issues`.
## Wayfinding operations
How the `wayfinder` skill's map and tickets map onto Gitea, which has native issue dependencies but no sub-issues.
- **Labels**: the skill's `wayfinder:<x>` labels are expressed as the Gitea scoped labels `Wayfinder/<X>`, matching the repo's `Scope/Value` convention: `wayfinder:map` is `Wayfinder/Map`, `wayfinder:research` is `Wayfinder/Research`, and so on.
- **Map**: an issue labelled `Wayfinder/Map`, paired with a milestone of the same title (`Map: <name>`).
- **Child ticket**: an issue whose body starts with `Part of #<map>`, assigned to the map's milestone, carrying exactly one type label (`Wayfinder/Research`, `Wayfinder/Prototype`, `Wayfinder/Grilling`, `Wayfinder/Task`) and no `Status/*` label.
- **Blocking**: Gitea's native issue dependencies (`issue_write` `add_dependency`, `dependency_type: blocked_by`).
- **Claim**: assign the ticket to the dev driving the map before any work.
- **Frontier query**: open issues in the map's milestone with no assignee, then drop any whose `get_blocked_by` lists an open issue.
- **Research findings**: committed on a `research/<name>` branch that is pushed but never merged; the ticket's resolution comment links it.
## PRs as a request surface
Off. Only issues feed the triage queue; PRs are not triaged as requests.
+8
View File
@@ -33,6 +33,14 @@
# TEST_DIR — override root to search for test-*.sh (default: REPO_ROOT); used by tests.
set -euo pipefail
# Git exports GIT_DIR (and can export GIT_WORK_TREE / GIT_INDEX_FILE) to the
# hooks it runs, so under the run-tests pre-push hook every `git -C "$tmp" ...`
# a fixture runs resolves to THIS repo, not the temp one -- the
# validate-provenance-skill.bats commit_as_base helper flipped core.bare=true and
# emptied the index here on every push. Suites build their own throwaway repos;
# none of them may inherit the caller's.
unset GIT_DIR GIT_WORK_TREE GIT_INDEX_FILE GIT_OBJECT_DIRECTORY GIT_COMMON_DIR
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
BATS="$REPO_ROOT/tests/run-bats.sh"
BATS_ONLY=false