Repository navigation
Description
The shape
GOVERNANCE.md "Editor and Tasks" tells a repository that VS Code settings live only in the
.code-workspace file, and names the two paths they must not live in:
All VS Code settings and extension recommendations live only here, never in a standalone
.vscode/settings.jsonor.vscode/extensions.json(.vscode/holds onlytasks.jsonand
launch.json).
The rule is right and the sentence has to name those paths to state it. prose_lint.py's
dead-path check reads a named path and asks whether the tree still has it, so a path named
precisely because it must not exist is a violation by construction.
Why it does not fire here, and does downstream
dead-path keys on deletion history rather than on absence, so it fires only where the path was
once tracked and then removed. In ptr727/HomeAutomation-Config it was:
$ git log --oneline --diff-filter=D -- .vscode/settings.json
44f45bb Flair release
$ python3 scripts/prose_lint.py GOVERNANCE.md --check dead-path
GOVERNANCE.md:250: dead-path: path '.vscode/settings.json' is deleted from this tree
-> re-point, rewrite, or remove the stale mention
1 violation(s) across 1 file(s).vscode/extensions.json was never tracked there, so only one of the two paths in the sentence
trips. In the hub the check reports nothing, so the canonical text looks clean at its source while
carrying a violation into any repository whose history happens to contain that deletion.
That is what makes it invisible from here rather than merely unfixed: nothing in the hub's own gate
can surface it.
Why the carrier cannot fix it
Editor and Tasks is declared verbatim in spec/section-model.md, so a carrying repository owes
byte-identical text and cannot reword the sentence without failing fidelity. Excluding the file
would hide a gate rather than satisfy one. The fix has to be here.
It is only latent today because the gate runs in --diff mode against a pull request's changed
lines, and that line is not one of them. Any change that touches it, a future resync of this section
included, turns a latent violation into a red required check on a branch that did nothing wrong.
Same class as #1403
#1403 was canonical skill text naming hub-only repo-config/ paths, which every downstream prose
gate read as dead paths. This is the same failure with a different trigger: there the path was
hub-only, here it is a path the rule exists to forbid. Both are canonical text that cannot pass a
downstream gate and that the downstream cannot edit.
Possible fixes, for triage rather than as a recommendation
- Spell the paths so the checker does not read them as paths, for example naming the files without
the.vscode/prefix, given the sentence already says which directory it means. - Give
dead-patha way to mark a deliberately-absent path, which would also serve any other rule
that has to name a file in order to forbid it. - Exempt a path the surrounding sentence states must not exist.
Reported from a resync of ptr727/HomeAutomation-Config against hub 6b1ab9a, with the maintainer's
permission to file it here.
Activity
ptr727 commentedon Oct 1, 2026
This happened on 2026-10-01 in the ptr727/HomeAutomation-Config resync, measured at hub
main0378c78(audit run 2026-10-01T17:25:38Z | hub 0378c78).carry.py apply-sectionsre-vendored "Editor and Tasks" with every other stale section. The pre-commit prose gate, diff-scoped and fetched from hubmain, then refused the commit:GOVERNANCE.md:257: dead-path: path '.vscode/settings.json' is deleted from this tree -> re-point, rewrite, or remove the stale mentionThe resync (ptr727/HomeAutomation-Config#677) kept that one section at its prior revision and carried the rest. The held section is tracked downstream at ptr727/HomeAutomation-Config#676, together with the extension-set trim from #2015, which lives in the same section.
Holding the section back has a second cost. The held text still says "Commit all state first, prefer opening the folder rather than the workspace while editing it, or leave workspace edits to the maintainer". That contradicts the re-vendored "Verification Discipline", which forbids editing a loaded
.code-workspaceat all. The current canonical text defers to "Verification Discipline", so the contradiction stays in every carrier holding this section back until this issue is fixed.ptr727 commentedon Oct 23, 2026
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.
Name the Forbidden VS Code Files Without a Path the Dead-Path Gate Re…
Promote Develop: Editor and Tasks Dead-Path Wording and HomeAutomatio…
ptr727 commentedon Nov 9, 2026
A concrete wrong result, from a resync of ptr727/NxWitness (hub
c175d557, audit run2026-11-09T16:22:15Z).carry.py apply-sectionsre-vendored the stale "Editor and Tasks" section, so its line naming.vscode/settings.jsonbecame a changed line. NxWitness tracked that file once, years ago.prose_lint.py --diff origin/develop GOVERNANCE.mdthen reports:None of the three remedies is open to a carrier, since the line is byte-locked verbatim text. NxWitness's CI pins the same gate, so its pull request would fail on carried text it may not edit. The workaround used was a root
.prose-gate.jsonadding.vscode/settings.jsontohub_hosted(ptr727/NxWitness#667). That works, but it mislabels the path, and every carrier that ever deleted the file pays for it at its next resync. A fleet-side fix would be an exemption inprose-gate.jsonfor a path named by a carried verbatim unit, or rewording the sentence so it names no path. Leaving the reopen decision to the maintainer.Resync the Instruction Set With the Hub (#667)