Flatten the unresolved comprehension; record that the citation test makes pointer rot visible
This commit was merged in pull request #27.
This commit is contained in:
@@ -21,5 +21,5 @@ class Citations(unittest.TestCase):
|
||||
self.assertEqual([f"{path}: {stray}" for path, text in texts for stray in STRAY.findall(text)], [], 'spell a citation `CLAUDE.md` → "Vocabulary"')
|
||||
cited = [(path, NAME.findall(run)) for path, text in texts for run in CITATION.findall(text)]
|
||||
self.assertTrue(cited)
|
||||
unresolved = [(path, name) for path, names in cited for name in [n for n in names[:1] if n not in headings] + [n for n in names[1:] if n not in leads]]
|
||||
unresolved = [(path, name) for path, names in cited for i, name in enumerate(names) if name not in (headings if i == 0 else leads)]
|
||||
self.assertEqual([f"{path}: {name}" for path, name in unresolved], [], "the first name is a heading of CLAUDE.md, each later one a heading or a bold lead")
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@
|
||||
|
||||
## vocabulary: the concept words are defined under `CLAUDE.md` → "Vocabulary" and cited by a bare link
|
||||
|
||||
2026-09-24, larv-review. Serves goal 4. Three seats of the 2026-09-24 panel found the words only in the changelog; a definition at each rule lands one reader and misses the next, so the section is the one landing place and each file using the words links it once, as skills already cite `CLAUDE.md` headings. `loop-claude --help` restates cycle, interrupt and premises, since a terminal reader has no link to follow. Valid until the next scoring run.
|
||||
2026-09-24, larv-review. Serves goal 4. Three seats of the 2026-09-24 panel found the words only in the changelog; a definition at each rule lands one reader and misses the next, so the section is the one landing place and each file using the words links it once, as skills already cite `CLAUDE.md` headings, and `bin/test_citations.py` fails on a citation no heading or bold lead answers, so the pointer's rot is visible. `loop-claude --help` restates cycle, interrupt and premises, since a terminal reader has no link to follow. Valid until the next scoring run.
|
||||
|
||||
## larv-review: a re-entered loop takes a fresh round cap
|
||||
|
||||
|
||||
@@ -13,4 +13,5 @@ Ordered by how many seats of the 2026-09-24 scoring panel (`docs/decisions.md`)
|
||||
- Make the missing-premises exit name what is missing: `README.md` itself, a `## Goals` or `## Audience` heading, or a body under one; today all three print the same line.
|
||||
- Spell the false-claim rule once under `CLAUDE.md` → "Comments and documentation" with its tie-break, the doc corrected unless consumers rely on what it promises, and cite it from "Working with the codebase", "Working loop" and the README paragraph; today four spellings, two of which disagree on which side to fix.
|
||||
- Derive `project()` from the checkout root, today `os.getcwd()`, so `loop-claude` run from a subdirectory joins the root's session.
|
||||
- Settle whether the "Expect the codebase to get smaller" bullet under `CLAUDE.md` → "One spelling per goal" names an action, and cut it if it is a forecast.
|
||||
- Re-run the four-seat scoring panel and record the score in `docs/decisions.md`; the target is every dimension at 7.0 or above.
|
||||
|
||||
Reference in New Issue
Block a user