Repository navigation
feat: satisfy ACMM prerequisites via canonical aliases (ADR-0012) - #56
Merged
Merged
Conversation
Adopt frostyard/core's ADR-0029 pattern to close the Hive ACMM evaluation issues #37-#55: merge CLAUDE.md and copilot-instructions.md into one canonical AGENTS.md with committed relative symlinks at every tool-specific and ACMM-mandated file path, real git trees for directory criteria, and genuinely new artifacts where no canonical equivalent existed (.golangci.yml, .editorconfig, PR/issue templates, prompts, .memory/ inbox, .claude/ settings, quality specs). The alias lattice is registered in docs/adr/0012 and guarded by scripts/check-docs.mjs in a new docs-gate CI job with never_relax thresholds. Also fixes four staticcheck QF1012 findings in the pacman generator so make lint is green under the now-pinned linter config. Co-Authored-By: Claude Fable 5 <[email protected]>
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adopts frostyard/core ADR-0029's pattern to satisfy every Hive ACMM prerequisite issue: one canonical body of content per criterion, committed relative symlinks at the ACMM-checked file paths, real git trees for directory criteria, and genuinely new artifacts (each doing real work) where no canonical equivalent existed. The alias table is registered in docs/adr/0012 and the lattice is self-guarding: a new
docs-gateCI job runsscripts/check-docs.mjs(docs-index coverage, relative-link integrity, symlink resolution — thresholds pinned at 1.0,never_relax: true).The two previously divergent instruction surfaces (
CLAUDE.md,.github/copilot-instructions.md) are merged into canonicalAGENTS.md; both old paths plusGEMINI.md,CONTRIBUTING.md, and.cursorrulesare now symlinks to it (core ADR-0002/0018 pattern, already binding viadocs/org-adrs.md).Criterion → path mapping
test/e2e/(real tree; README points at the existing integration suite intest/).github/pull_request_template.md.github/ISSUE_TEMPLATE/(config + bug/feature templates)CONTRIBUTING.md→AGENTS.md(symlink).golangci.yml(pins themake lintlinter set, golangci-lint v2).coverage-thresholds.json+scripts/check-docs.mjs+docs-gatejobAGENTS.md(canonical, merged content).cursorrules→AGENTS.md(symlink).github/prompts/(README + review runbook).editorconfig.claude/skills→.agents/skills(symlink).memory/(README + append-onlycorrections.jsonl)docs/metrics.md→docs/specs/pr-acceptance-metric.md(symlink)docs/review-rubric.md→docs/specs/pr-review-rubric.md(symlink)docs/quality.md→docs/design/quality-loop.md(symlink).claude/settings.json(deny merge-own-PR / approve-own / release / push-to-main).claude/settings.json.claude/session-summary.md.claude/settings.jsonAlso fixes four pre-existing staticcheck
QF1012findings in the pacman generator somake lintis green under the pinned config (it failed identically with no config on golangci-lint v2).Notes: GitHub's web renderer shows a symlinked
.mdas its target path rather than its content, and Windows checkouts needcore.symlinks=true(or WSL) — the cosmetic cost core ADR-0002 already accepted. #34 (release-pipeline consolidation) is deliberately untouched — it stays onholdas its own work item.Closes #37, Closes #38, Closes #39, Closes #40, Closes #41, Closes #42, Closes #43, Closes #44, Closes #45, Closes #46, Closes #47, Closes #48, Closes #49, Closes #50, Closes #51, Closes #52, Closes #53, Closes #54, Closes #55
Checks
make build— code compilesmake fmt— code is formattedmake lint— linter passes (.golangci.yml)go test -short ./...— unit tests passDocs housekeeping
TEMPLATE.mddocs/README.mdVerification
node scripts/check-docs.mjsgreen — 18 docs, 180 links, 9 symlinks, all thresholds 1.0🤖 Generated with Claude Code