Skip to content

A Carried Skill Reference Names Hub-Only repo-config Paths, So Every Downstream Prose Gate Fails the Moment That File Lands in a Diff #1403

Closed

Description

@ptr727

.agents/skills/operational-vs-release-workflow/references/branch-protection-and-promotion.md
names repo-config/README.md and repo-config/settings.json as bare backtick paths, in three
places. repo-config/ is hub-only and no repository carries it, so in every carrying repository
those paths point at nothing.

The carried tree's own prose gate calls that a dead-path violation, and it is right to.

How it surfaced

The #1399 resync pilot carried the current Skills tree into HomeAutomation-Config
(ptr727/HomeAutomation-Config#160). The repository's own Validate sources job / Lint sources job failed on its Check prose step:

.github/skills/operational-vs-release-workflow/references/branch-protection-and-promotion.md:17: dead-path: path 'repo-config/README.md' is deleted from this tree -> re-point, rewrite, or remove the stale mention
.github/skills/operational-vs-release-workflow/references/branch-protection-and-promotion.md:26: dead-path: path 'repo-config/settings.json' is deleted from this tree -> re-point, rewrite, or remove the stale mention
.github/skills/operational-vs-release-workflow/references/branch-protection-and-promotion.md:110: dead-path: path 'repo-config/README.md' is deleted from this tree -> re-point, rewrite, or remove the stale mention
3 violation(s) across 1 file(s)

Nothing in that pull request edited the file's prose. carry.py apply replaced a locally
divergent copy with the current canonical, and the canonical is what the gate rejects.

It is latent in the whole fleet, not specific to one repository

Utilities and PlexCleaner already carry the identical bare-path text at the same three lines,
verified in both checkouts. Their gates stay green only because the prose gate is diff-scoped and
the file is not in their diffs. Any change that puts this file into a downstream diff fails that
repository's gate, through no fault of the repository or of the change.

That is the shape of #1138: hub-owned carried content gets its first real review only when a
downstream repository carries it.

Both obvious forms are wrong, which is the actual point

The copy this carry replaced used absolute hub URLs instead:

See the hub's [repo-config README](https://github.com/ptr727/ProjectTemplate/blob/main/repo-config/README.md)

That form clears dead-path, and it is what the fleet's own rule against a carried file naming
the template repository by name or link exists to prevent. So the bare path fails the path check
and the URL fails the coordination-reference rule, and neither is available.

The rule that resolves it is the one already settled: a carried file states the rule and its
reason, not the hub mechanism.
A reader of a carried file does not need to be routed to
repo-config/README.md "Rulesets" at all. They need the behavior that file documents, stated
where they are reading. Each of the three sites should say what the configured state is, or what
the setting does and why, and name no hub destination.

Site by site:

  • Line 17, routing to repo-config/README.md "Rulesets" for the configured state.
  • Line 26, citing repo-config/settings.json as the reason "Automatically delete head branches"
    is off. The reason is what matters and it is already in the sentence: a promotion pull request's
    head is develop.
  • Line 110, routing to repo-config/README.md "Secrets" for which secrets each mechanism needs.

Why this is a gate question too

A dead path in carried content is currently caught by whichever downstream repository happens to
change the file first, which is the one repository that cannot fix it. The hub's own prose gate
does not catch it, because in the hub repo-config/README.md exists. Running the carried tree's
dead-path check as a carrier would see it, against a tree with the hub-only directories
removed, would move this to the repository that can act on it. Worth considering separately from
the three-line fix.

Found during the #1399 fleet resync pilot. Blocking ptr727/HomeAutomation-Config#160.

Activity

  1. ptr727 commented on Sep 7, 2026

    @ptr727
    OwnerAuthor

    Fix in progress on fix/1403-carried-hub-only-paths. Two findings from doing it, one of which
    matters more than the fix.

    The check is not locally reproducible, and that is its own defect

    I could not make the failure happen outside CI. With the identical script, the identical file
    at the identical content, in the same repository, at the same diff base, the check reports nothing:

    • python3 .github/actions/prose-gate/prose_lint.py --diff <base> . in a HomeAutomation-Config
      worktree, base f311fe8, the same base its CI used, reads 30 of 237 files and reports no
      violation
      . CI on that same push reported three.
    • The same script scoped to the one file (--check dead-path <file>) also reports nothing, on a
      file that demonstrably still contains all three mentions.
    • The action's copy taken from hub main (what CI fetched) and the copy on develop are
      byte-identical, so it is not a version skew, and scripts/prose_lint.py differing from the
      action's copy is not the cause either, since both behave the same here.
    • A whole-tree scan of the same repository does find an unrelated dead-path
      (GOVERNANCE.md:246, .vscode/settings.json), so the check is running and is capable of
      firing.

    So a maintainer handed this finding cannot confirm a fix before pushing, and cannot confirm the
    fix worked except by watching CI. That is worth its own issue against the gate.

    What the check actually keys on, which explains the fleet shape

    dead-path is defined as "No mention of a path git once tracked and the tree no longer
    holds". It is a history question rather than an existence question, which is why this fires in
    HomeAutomation-Config and not in the hub. That repository tracked repo-config/README.md and
    repo-config/settings.json and deleted them in e78b834, "Retire the locally carried
    repo-config/ payloads".

    This sharpens the issue's scope. The latency is not uniform across the fleet: a repository fires
    only where it once carried the path being named. A repository that never carried repo-config/
    stays green on the same text, so the finding count understates how wrong the carried text is
    rather than overstating it.

    The fix

    Three sites, each a pointer to hub documentation rather than an operative instruction, replaced
    with the behavior and its reason. The two remaining repo-config/ mentions are the command the
    reader runs, qualified in place as run from a hub checkout, and are deliberately kept.

    Given the reproduction gap above, the fix is verified by review and by the settled rule that a
    carried file states the rule rather than routing to the hub mechanism, and not by a local run
    of the check it is meant to satisfy. Whether it clears HomeAutomation-Config's gate will be
    known when that repository re-carries after this reaches main.

  2. added a commit that references this issue on Sep 7, 2026
    34f00e2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions