Skip to content

[core] Synced skills link to core ADRs with repo-relative paths that dangle in all 11 consuming repos #96

Closed

Description

@bketelsen

Finding

Two links in the skills core syncs to every repo use repo-relative paths that
only resolve inside core
. .agents/skills/frostyard-repo-docs and
.agents/skills/frostyard-acmm-conformance are both in defaults in
.github/skills-sync.json, so they land in all
eleven listed repos — and in every one of them those links are dead.

Two repos have already repaired them locally, identically and independently,
because their docs-integrity gates went red. Both repairs will be reverted by
the next sync PR
, because core ADR-0026 makes .agents/skills/ core-owned and
consuming repos are told never to edit it. That is the loop worth closing: the
fix keeps being made in the wrong place.

Evidence

The two dead links, at origin/main:

.agents/skills/frostyard-repo-docs/SKILL.md:10
  ([core ADR-0025](../../../docs/adr/0025-consolidate-repository-docs-into-docs.md)):

.agents/skills/frostyard-acmm-conformance/SKILL.md:12
  answer ([core ADR-0029](../../../docs/adr/0029-acmm-conformance-via-canonical-aliases.md))

From .agents/skills/<skill>/SKILL.md, ../../../docs/adr/… resolves to
<repo-root>/docs/adr/…. Both targets exist in core
(docs/adr/0025-consolidate-repository-docs-into-docs.md,
docs/adr/0029-acmm-conformance-via-canonical-aliases.md) and in no consumer.

Checked four consumers directly — the link carries the full filename slug, so it
dangles even where the ADR numbers are taken:

repo docs/adr/ has 0025/0029? link resolves?
updex no dangles
std no dangles
clix no dangles
snowcat yes — but as 0025-ground-architecture-in-accepted-direction.md and 0029-bound-adversarial-review.md dangles (slug differs)

Observed as a gate failure in updex once its docs gate was widened to cover
.agents/skills/:

FAIL link: .agents/skills/frostyard-acmm-conformance/SKILL.md -> ../../../docs/adr/0029-acmm-conformance-via-canonical-aliases.md does not resolve
FAIL link: .agents/skills/frostyard-repo-docs/SKILL.md -> ../../../docs/adr/0025-consolidate-repository-docs-into-docs.md does not resolve

Local repairs already made downstream, both rewriting the two links to
https://github.com/frostyard/core/blob/main/docs/adr/…:

Both PRs note in their bodies that the durable fix belongs here.

Two related items found while verifying

A latent third instance, not yet biting.
.agents/skills/frostyard-acmm-conformance/SKILL.md:72 links
[`scripts/check-docs.mjs`](../../../scripts/check-docs.mjs). That resolves in
updex, std, clix, and snowcat today only because each happens to have a file at
that exact path. It is the same construction and will dangle in the first
consumer that doesn't.

A dead link inside core itself, unrelated to syncing.
.agents/skills/frostyard-design/docs/superpowers/plans/2026-07-19-frostyard-docs-site.md:4
links ../../../frostyard-docs-site/SKILL.md. From …/docs/superpowers/plans/
that resolves to .agents/skills/frostyard-design/frostyard-docs-site/SKILL.md,
which does not exist — the file is at .agents/skills/frostyard-docs-site/SKILL.md,
one level further up. It needs ../../../../. frostyard-design syncs only to
snowcat.

Affected repos

Org-wide. frostyard-repo-docs and frostyard-acmm-conformance are
defaults, so per .github/skills-sync.json they reach: snosi, updex,
chairlift, pilothouse, lab, repogen, clix, std, intuneme, firn,
snowcat — plus core itself.

The links are dead in all eleven. They only surface in a repo whose
docs-integrity gate link-checks .agents/skills/, which today is updex (after
#359) and std (after #29); the rest carry them silently. So this will keep
resurfacing as more repos widen their gate — updex's and std's failures are the
leading edge, not isolated cases.

Suggested fix

Owned by core.

  1. In the two synced SKILL.md files, make any link that leaves the skill's own
    directory absolute:
    https://github.com/frostyard/core/blob/main/docs/adr/…. This is the
    convention AGENTS.md and docs/org-adrs.md already use for core ADRs, and
    what the two downstream repairs converged on. Relative links within a
    skill's own directory stay relative and keep working everywhere.
  2. Same treatment for the latent scripts/check-docs.mjs link at
    frostyard-acmm-conformance/SKILL.md:72.
  3. Fix ../../../ → ../../../../ in the frostyard-design plans doc.
  4. Optional, and what would actually stop the recurrence: have core's own
    docs-integrity gate reject any relative link under .agents/skills/ that
    climbs above its skill directory. Content that is copied into other
    repositories cannot use repo-relative paths, and a check in core is the only
    place that observation can be enforced once for every consumer.

Once this lands, the downstream repairs in std and updex become redundant and a
sync PR can carry core's version over them without regressing either gate.

Activity

  1. added
    documentation
    acmm
    on Aug 19, 2026
  2. linked a pull request that will close this issueFix dead links in synced core skills #97on Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

acmmdocumentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions