docs: say why the @j4k-oss registry mapping is required #8
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/npm-scope-ownership"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
@j4k-ossscope on npmjs is now ours and holds no packages, so the README no longer calls its owner unconfirmed or saysnpmcould fetch another owner's package. The registry mapping is still required, because without itnpmlooks on npmjs, finds nothing, and fails with a 404. The README also calls the unscopedfta-checkdeprecated instead of frozen.AGENTS.mdis regenerated from align 9.0.6. The only change is the same reason in the repoq rule.🤖 Generated with Claude Code
Review
01M5KSFXVBXKDYK0G7795RAT83— head8b84a73041a195dd1182345d887bba8d92cc1dadReview — j4k-oss/fta-check @
8d49101265Scope: diff against base tree
9b0a98a7e607Status: dispatched — coverage complete (9/9 slots terminal)
Facts: current review-wide projection
Computed under:
Findings (1)
low — The output example labels an estimated bug count as a probability
01M5KSK6J5CRWT4NKEGYVGEBNBREADME.md(snippet)01M5KSKXYAYZBSV9MVP3FB0YRV· valid: The anchor is an exact grounded match: the README's sample output reads 'High bug probability (1.51)'. A probability cannot exceed 1, so that wording is wrong on its own face, without needing any other evidence. The reviewer also reports that the same example shows 'Estimated bugs: 1.51' and that src/lib/fta-report.ts builds both the 'estimated bugs' label (formatViolation) and the 'probability' suggestion (generateSuggestions) from the same result.halstead.bugs field, with no conversion. That trace hangs together and matches the standard Halstead metric (B = V/3000), which estimates a count of delivered bugs, not a probability. The batch shows no safeguard, scale, or documented conversion that would make 'probability' correct. Using two terms for one number breaks the human-facing writing skill's 'one term per concept' rule and its Honesty rule against wording that widens a claim. The proposed fix is a small in-place relabel ('High estimated bug count (1.51)') that adds no inventory and drops no meaning. Making the same wording change in the report generator keeps the README consistent with the real output. Low severity is right.Other claims
Coverage
Coverage pass: 01M5KSFXYFHK49T91NY34W50XP
Accounting: complete
Slot health: healthy
The finding is valid, and it sits in README text this PR did not change. The README sample matched the CLI, so the CLI's label was the error:
halstead.bugsis FTA'svolume / 3000(crates/fta/src/halstead/mod.rsin fta v3.0.0, thefta-clirelease installed here), a count that passes 1 on large files. On a generated file the built CLI printedEstimated bugs: 35.31next toHigh bug probability (35.31).Fixed in #9, merged as
a627f7d: the hint insrc/lib/fta-report.tsnow readsHigh estimated bug count, and the README sample follows.