Skip to content

cli: docref anchors skips dot-directories — an unused marker in .github/ is never flagged #3

Description

@PaulDotterer

docref 0.1.0, Linux.

Region markers inside dot-directories resolve and validate fine in docref check, but docref anchors doesn't list them, so its unused-marker detection silently doesn't cover them.

Repro (manchtools/power-manage-sdk layout): .github/workflows/release.yml contains two marker pairs (@release-trigger, @ts-release-assets), both referenced by docs/04-contributing/01-release-coordination.md. docref check resolves both and reports them up-to-date. But:

$ docref anchors | grep -c github
0

The inventory lists markers in go.mod and sys/** but nothing under .github/ — the code-side scan appears to exclude dot-directories while the reference resolver does not.

Consequence: delete the doc paragraph that cites those markers and nothing ever reports the now-orphaned markers as unused-anchor — the fail-loud guarantee has a hole exactly where CI configs live (a prime target for anchoring, since workflow files are heavily documented prose-side). Expected: anchors and check's unused-anchor detection walk the same file set as the resolver.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions