Skip to content

Repo hygiene: CLAUDE.md, labels.yml, and the milestone list have each drifted from the repository they describe #190

Closed

Description

@scttfrdmn

Summary

Four pieces of project metadata have drifted from the repository they describe: the label
taxonomy in CLAUDE.md, the milestone table in CLAUDE.md, .github/labels.yml, and the
milestone list on GitHub. None of it breaks a build, which is exactly why it has gone
uncorrected across five releases.

The common cause is worth stating first, because it is the only part that will stay fixed:
.github/labels.yml is applied by nothing. .github/workflows/ contains ci.yml,
dependabot-automerge.yml, release.yml, and security.yml; none of them reads
labels.yml. The file is a description of the label set maintained by hand, in parallel with
the label set itself, with no mechanism that can notice when the two disagree. They now
disagree by 8 labels.


1. CLAUDE.md links project boards under an org that does not exist

CLAUDE.md:22:

- **Projects**: <https://github.com/orgs/scttfrdmn/projects> (ObjectFS v0.5.0 Development #11, ObjectFS Technical Debt #12)

scttfrdmn is a user account, not an organization:

$ gh api /orgs/scttfrdmn
{"message":"Not Found", ... "status":"404"}

Both boards do exist — as user-scoped projects, and both are open:

# Title Closed
11 ObjectFS v0.5.0 Development no
12 ObjectFS Technical Debt no

Fix: https://github.com/users/scttfrdmn/projects. Both board titles are also stale now —
"v0.5.0 Development" is the board pointed at from a guide whose current work is v0.10.1 — so
consider whether board #11 should be renamed or closed as part of this.

2. The CLAUDE.md milestone table names 5 closed milestones and omits all 9 live ones

CLAUDE.md:128-137 lists six milestones. Five of them are the v0.5.0 - * set, and all five
are closed
:

$ gh api 'repos/scttfrdmn/objectfs/milestones?state=all&per_page=100'
1  v0.5.0 - Phase 1: CargoShip Integration   closed
2  v0.5.0 - Phase 2: Advanced Compression    closed
3  v0.5.0 - Phase 3: Distributed             closed
4  v0.5.0 - Phase 4: Cost Optimization       closed
5  v0.5.0 - Technical Debt                   closed

The sixth, Future Work (#6), is live. Every other open milestone is absent from the table —
including the one the current release is being filed against:

# Title State Open Closed
6 Future Work open 10 1
7 v0.6.0 open 0 4
8 v0.7.0 open 0 8
9 v0.8.0 open 0 7
10 v0.9.0 open 0 10
14 v0.10.1 — Data Integrity & Config Plumbing open 19 0
11 v0.11.0 — Distributed Foundations & Install Simplicity open 12 0
12 v0.12.0 — FUSE Data Path Wiring, Cache Warming & Operational Excellence open 12 0
13 v0.13.0 — Raft Persistence & Production Safety open 3 0
15 v0.14.0 — POSIX Operation Completeness open 5 1

Two separate problems in that table:

Fix: replace the hand-maintained table with the milestones URL already on CLAUDE.md:21, or
regenerate it. A table of milestones is a list that goes stale on every release; the guide
already links the authoritative view one line earlier. This is the same reasoning that replaced
the version number at CLAUDE.md:12-13 with a pointer to cmd/objectfs/main.go — do it again
here rather than re-transcribing.

3. The CLAUDE.md area-label list has 12 of 22, and omits five whole families

CLAUDE.md:126 lists 12 area labels. GitHub has 22. Missing from the guide:

area: api · area: build · area: ci-cd · area: cli · area: compression ·
area: cost · area: docs · area: lifecycle · area: network · area: tests

Several of those are labels the guide's own readers need. area: cli and area: config are
the two most likely labels for a config-plumbing issue and only one is listed;
area: compression is missing from a guide that describes a compression subsystem.

The guide's type: and priority: sections are accurate (8 and 4, matching GitHub exactly).
But five entire label families that exist on GitHub and in labels.yml are unmentioned
anywhere in CLAUDE.md:

Family Count Example
persona: 10 persona: computational-biologist
status: 7 status: blocked
resolution: 5 resolution: works-as-designed
phase: 5 phase: v0.5.0-advanced
effort: 5 effort: medium
cargoship: 2 cargoship: integration

That is 34 labels invisible to anyone following the guide. Note phase: is itself stale — it
tops out at phase: v0.8.0-ecosystem — so this section is also the place to decide whether
phase: and persona: are still used at all, or should be deleted.

4. .github/labels.yml is missing 8 labels that exist on GitHub

$ gh label list --limit 200 --json name --jq '.[].name' | sort > gh.txt
$ grep "^- name:" .github/labels.yml | sed "s/^- name: //; s/'//g" | sort > file.txt
$ comm -23 gh.txt file.txt      # on GitHub, absent from the file
area: ci-cd
area: sdk
bug
documentation
duplicate
enhancement
invalid
wontfix

$ comm -13 gh.txt file.txt      # in the file, absent from GitHub
(nothing)

81 labels on GitHub, 73 in the file. Two groups:

  • area: ci-cd and area: sdk are real, in-use area labels that were created directly on
    GitHub and never added to the file. (labels.yml:37 defines type: ci-cd — a different
    label. The type: and area: variants of ci-cd both exist on GitHub; only the type: one
    is in the file.)

  • Six of the nine GitHub default labels were never deleted, and each duplicates a label the
    taxonomy already defines:

    Undeleted default Duplicates
    bug type: bug
    documentation type: documentation
    enhancement type: enhancement
    duplicate resolution: duplicate
    invalid resolution: invalid
    wontfix resolution: wontfix

    The other three defaults (good first issue, help wanted, question) were deliberately
    adopted — they appear in labels.yml with project-specific descriptions — so they stay.

Two labels for the same concept means the label is not a reliable filter: label:"type: bug"
and label:bug return different sets, and neither is complete.


Proposed fix

  1. Add a label-sync job so the file becomes the source of truth instead of a parallel copy.
    EndBug/label-sync or crazy-max/ghaction-github-labeler both read a YAML file and
    reconcile; run it on push to main when .github/labels.yml changes, plus a
    --dry-run/manual mode. Without this, items 2-4 below are a one-time cleanup that starts
    drifting again immediately.
  2. Reconcile the file with GitHub: add area: ci-cd and area: sdk to labels.yml; delete
    the six duplicate defaults from GitHub (re-labelling any issues that carry only the default —
    check before deleting, gh issue list --label bug etc.).
  3. CLAUDE.md: fix the projects URL to /users/; replace the milestone table with a pointer
    to the milestones URL; either complete the area-label list to all 22 or replace it with a
    pointer to .github/labels.yml; add a one-line mention of the status:/resolution:/
    effort: families (and decide the fate of phase: and persona:).
  4. Close milestones deps(deps): Bump github.com/stretchr/testify from 1.8.4 to 1.10.0 #7-deps(deps): Bump github.com/prometheus/client_golang from 1.17.0 to 1.22.0 #10 (v0.6.0, v0.7.0, v0.8.0, v0.9.0) — open, zero open issues.
  5. Decide whether project board deps(deps): Bump github.com/hanwen/go-fuse/v2 from 2.4.2 to 2.8.0 #11 ("ObjectFS v0.5.0 Development") should be renamed or closed.

Acceptance criteria

  • A CI job fails, or reconciles, when .github/labels.yml and the repository's labels disagree.
    Assert the disagreement is detected: the test for this is to add a label on GitHub without
    touching the file and confirm the job notices. A job that only creates labels from the file
    and ignores extras would pass on today's state while missing all 8 current drifts.
  • comm -3 on the two sorted label lists is empty.
  • No label on GitHub duplicates another label's meaning.
  • CLAUDE.md contains no hand-transcribed list that a release invalidates. Concretely: no
    version number (already true, CLAUDE.md:12-13), no milestone titles, and no label
    enumeration that labels.yml also holds.
  • https://github.com/users/scttfrdmn/projects resolves and lists boards deps(deps): Bump github.com/hanwen/go-fuse/v2 from 2.4.2 to 2.8.0 #11 and deps(deps): Bump github.com/aws/aws-sdk-go-v2 from 1.24.0 to 1.36.6 #12.
  • gh api 'repos/scttfrdmn/objectfs/milestones?state=open' returns no milestone with zero open
    issues.

Why this is worth the time

The guide is what a contributor — human or agent — reads first to learn how work is tracked.
CLAUDE.md:24 says "All work is tracked on GitHub — never in local files," and then the local
file's own description of GitHub is wrong in four places, one of which is a 404. An instruction
to use a system, followed by an inaccurate map of that system, produces issues filed against
closed milestones with labels that don't exist.

Low priority, low risk, and it is the difference between a taxonomy and a pile of labels.

Activity

  1. added this to the Future Work milestone on Aug 2, 2026
  2. added
    type: technical-debt
    priority: low
    area: docs
    on Aug 2, 2026
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

    area: docspriority: lowtype: technical-debt

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions