Repository navigation
Description
The defect
README's supported-operations table is described in the file itself as the contract:
This table is the contract. It is derived from the methods that exist in
internal/fuseand
internal/vfs, not from intent, and a❌here means the syscall fails.
Two rows of its "Not implemented" section carry a Tracked link, and both links are to closed
issues:
| README line | Gap | Cited | Actual state |
|---|---|---|---|
README.md:237 |
chmod/chown on a directory → ENOTSUP |
#165 | CLOSED — "C4-3: Implement Setattr and POSIX attribute persistence" |
README.md:239 |
Extended attributes on a directory → ENOTSUP/ENODATA |
#167 | CLOSED — "C4-5: Implement extended attribute operations" |
Both behaviours are still exactly as the table describes them — the gaps are real. What is not real is
the tracking. #165 and #167 were the issues for implementing Setattr and xattrs at all; they were
completed for files and closed, and the directory halves went with them into a citation that now
reads as "someone is on this" while pointing at a closed issue.
Why it is worth a fix rather than a shrug
A Tracked column exists so a reader can find out what is happening about a gap. A link to a closed
issue answers that question wrongly, and it answers it wrongly in the one document the project calls
its contract. It is also self-concealing: the closed issue looks like evidence the work was done, so
the natural reading of the table is that these rows are stale rather than that the citation is.
This is the documentation analogue of a required status check outliving its job — the pointer survives
the thing it pointed at, and nothing in the repository compares them.
The fix
- File the two directory gaps as their own issues — they are genuinely open work with a stated
technical reason in the table already (Getattrdoes not read the marker object's metadata back;
a prefix-only directory has no object to hold an attribute). Point the table at those. - Gate it.
internal/configalready parses and asserts things about repository files. A test
that extracts everygithub.com/scttfrdmn/objectfs/issues/Nlink fromREADME.mdand fails when a
link in the Not implemented table resolves to a closed issue would have caught this. Needs a
network call, so it belongs behind a build tag or in a scheduled job rather than on every PR —
scope that deliberately, and a non-vacuity floor on the number of links found either way.
Step 2 is the part that matters; without it this recurs on the next issue that closes.
Acceptance criteria
- Directory
chmod/chownhas an open issue, and README cites it - Directory xattrs has an open issue, and README cites it
- Every other issue link in README's contract tables is checked, once, by hand for the same defect
- A check exists that fails when a "Not implemented" row cites a closed issue
- That check has a non-vacuity floor
Activity
fix(docs): the Not-implemented table and its refusals cite open issue…