Skip to content

feat: satisfy ACMM prerequisites via canonical aliases (ADR-0012) - #56

Merged
bketelsen merged 1 commit into
mainfrom
acmm-conformance
Aug 12, 2026
Merged

bketelsen merged 1 commit into
mainfrom
acmm-conformance

Conversation

@bketelsen

Copy link
Copy Markdown

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-gate CI job runs scripts/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 canonical AGENTS.md; both old paths plus GEMINI.md, CONTRIBUTING.md, and .cursorrules are now symlinks to it (core ADR-0002/0018 pattern, already binding via docs/org-adrs.md).

Criterion → path mapping

Issue Criterion Satisfied by
#37 E2E tests test/e2e/ (real tree; README points at the existing integration suite in test/)
#38 PR template .github/pull_request_template.md
#39 Issue templates .github/ISSUE_TEMPLATE/ (config + bug/feature templates)
#40 Contributing guide CONTRIBUTING.md → AGENTS.md (symlink)
#41 Code style config .golangci.yml (pins the make lint linter set, golangci-lint v2)
#42 Coverage gate .coverage-thresholds.json + scripts/check-docs.mjs + docs-gate job
#43 AGENTS.md AGENTS.md (canonical, merged content)
#44 Cursor rules .cursorrules → AGENTS.md (symlink)
#45 Prompts catalog .github/prompts/ (README + review runbook)
#46 EditorConfig .editorconfig
#47 Simple skills .claude/skills → .agents/skills (symlink)
#48 Correction capture .memory/ (README + append-only corrections.jsonl)
#49 PR acceptance metric docs/metrics.md → docs/specs/pr-acceptance-metric.md (symlink)
#50 PR review rubric docs/review-rubric.md → docs/specs/pr-review-rubric.md (symlink)
#51 Quality dashboard docs/quality.md → docs/design/quality-loop.md (symlink)
#52 Layered safety model .claude/settings.json (deny merge-own-PR / approve-own / release / push-to-main)
#53 Mechanical enforcement .claude/settings.json
#54 Session summary .claude/session-summary.md
#55 Structural gates .claude/settings.json

Also fixes four pre-existing staticcheck QF1012 findings in the pacman generator so make lint is green under the pinned config (it failed identically with no config on golangci-lint v2).

Notes: GitHub's web renderer shows a symlinked .md as its target path rather than its content, and Windows checkouts need core.symlinks=true (or WSL) — the cosmetic cost core ADR-0002 already accepted. #34 (release-pipeline consolidation) is deliberately untouched — it stays on hold as 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 compiles
  • make fmt — code is formatted
  • make lint — linter passes (.golangci.yml)
  • go test -short ./... — unit tests pass

Docs housekeeping

  • New docs started from their category's TEMPLATE.md
  • Every new doc indexed in docs/README.md
  • Cross-links added in both directions (ADR ↔ design ↔ spec)
  • New significant decision recorded as an ADR first, in this PR (ADR-0012)

Verification

  • node scripts/check-docs.mjs green — 18 docs, 180 links, 9 symlinks, all thresholds 1.0

🤖 Generated with Claude Code

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]>
@bketelsen
bketelsen merged commit bb66f8c into main Aug 12, 2026
2 checks passed
@bketelsen
bketelsen deleted the acmm-conformance branch August 12, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant