Every [tests] @ref in the wizard pick suite carries a gloss (#613) - #624
Conversation
Four of the file's seven `@ref` annotations opened a gloss with a colon
and then said nothing. LLP 0001 makes the gloss the point of the syntax
("a colon opens the gloss"), and CLAUDE.md asks a ref to tell you
something the code and the filename do not; a bare
`@ref LLP NNNN#anchor [tests]:` tells you only that a section exists.
Filled in all four, in the file's own wrapped two-line style, saying why
the block below each one is tested rather than restating the test names:
- 0129#join-before-picker: `locked` is the org config the join already
waited for, which is what makes a locked row truthful.
- 0031#status-provenance: the "managed by your fleet" label is status's
central/local provenance split in picker form (0129 cites 0031 for
exactly this vocabulary).
- 0137#pathway-defaults: the pick phase never prompts for a window;
`retentionDefault` is the pathway's number, 90 the fall-through.
- 0132#never-silent: on a managed machine no local addition is left
unmarked, and the suffix appears nowhere else.
Annotation-only: no test, assertion, or source behaviour changes.
Co-Authored-By: Claude <noreply@anthropic.com>
Neutral review, round 1/2: approveReviewed at head I accept the author's verification argument. A comment-only edit has no Scope
The four glosses, checked against the sections they nameEach claim was read against the LLP prose and the code below it, not just
None of the four is a restatement of its test name. Two of them (0129, 0132) AnchorsAll four resolve. Conventions
The #609 overlap claimVerified. Verification runWorktree with
Both reproduce the numbers in the PR body exactly. Residual findingsNone blocking. One observation, explicitly not a change request:
No follow-up issue needed. |
# Conflicts: # test/core/cli/wizard/pick.test.js
…jacent prose The gloss now states the genuinely new fact: pinning both machine kinds matters because the suffix's absence on a solo machine is what proves it was retired outright, not merely re-scoped to unmanaged rows.
Neutral review round 1 -
|
Triaged at
|
Deferred, non-blocking finding from neutral triage of PR #609: an
@refintest/core/cli/wizard/pick.test.jsopens a gloss with a colon and then saysnothing. Triage's own note said the honest fix is a house-style sweep of the
whole file's
[tests]:refs rather than a one-line patch on #609, because thefile already had the same shape in three other places.
What was wrong
Four of the file's seven annotations carried an empty gloss:
@ref LLP 0129#join-before-picker [tests]:@ref LLP 0031#status-provenance [tests]:@ref LLP 0137#pathway-defaults [tests]:@ref LLP 0132#never-silent [tests]:LLP 0001 (
Conventions adopted) spells the syntax// @ref LLP NNNN#anchor: glossand says "a colon opens the gloss"; CLAUDE.md adds that a ref must tellyou something the code and the filename do not. A bare
[tests]:tells you onlythat a section exists, which the anchor already did.
What changed
All four glosses filled in, in the file's own wrapped two-line style, each
saying why the block below it is tested rather than restating the test names:
lockedis the org config the join alreadywaited for, which is what makes a locked row truthful and not a guess. That is
the LLP's own consequence line, and it is the reason this suite can feed
lockedin directly.status's central/local provenance split in picker form. LLP 0129 cites
0031#status-provenance for exactly this vocabulary, so the ref is honest about
what it names.
retentionDefaultis the pathway's number, 90 the fall-through.unmarked, and the suffix appears nowhere else.
Nothing else in the file moved: no test body, assertion, import, or source
change. The three refs that already had glosses (0135#finale, both 0180#decision
refs) were left alone; they were already honest and specific.
Verification: the regression-test gate does not apply
This is a non-behavioural, comment-only change. There is no behaviour to
break and therefore no test that can fail before the change and pass after it,
so no regression test was written and none was invented. What was used instead:
/ref-check test/core/cli/wizard/pick.test.js, before and after (LLP indexbuilt over
llp/with all three anchor forms: heading slugs,{#slug}markers,inline
<a id>):Every anchor resolved before and after; the delta is exactly the four glosses.
Full suite:
npm test- 3377 tests, 3376 pass, 0 fail, 1 skipped. Thatincludes
test/core/llp-ref-hygiene.test.js, which mechanically resolves every@refin the repo against a live LLP anchor and rejects an em dash anywhere ina gloss, including on continuation lines. Both new continuation lines are inside
its scan.
Typecheck:
npm run typecheckclean.Two notes for the reviewer
lines and land at 92-113 characters, matching the file's pre-existing glosses
(83, 105, 105) and the corpus norm: 804 of the 1229 non-empty glosses in
tracked
.jsfiles (65%) are over 80. Each individual line stays under 80.Cutting these to fit would have cost the part that explains anything.
@ref LLP 0183#seed-from-config [tests]:, arrives with hyp init reconfigure starts from the config on disk (#603) #609 and is not onmaster, so this branch cannottouch it. The diffs do not collide (hyp init reconfigure starts from the config on disk (#603) #609 only appends past the end of the
file). Whichever lands second should give that one a gloss in the same style;
it is a one-line follow-up, not a re-run of this sweep.
Fixes #613