cure(sniff): 8 autonomous tidies, skim+companion-gated — for review #2
No reviewers
Labels
No labels
awaiting-judgment
gates-green
gates-red
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
fqqdk/daisy!2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "erato/cure-sniff"
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?
"legibility": 1, "coupling": 9, "cohesion": null } → { "legibility": 0, "coupling": 9, "cohesion": null }"legibility": 0, "coupling": 9, "cohesion": null } → { "legibility": 0, "coupling": 8, "cohesion": null }"legibility": 0, "coupling": 8, "cohesion": null } → { "legibility": 0, "coupling": 7, "cohesion": null }"legibility": 0, "coupling": 7, "cohesion": null } → { "legibility": 0, "coupling": 6, "cohesion": null }"legibility": 0, "coupling": 6, "cohesion": null } → { "legibility": 0, "coupling": 5, "cohesion": null }"legibility": 0, "coupling": 5, "cohesion": null } → { "legibility": 0, "coupling": 4, "cohesion": null }"legibility": 0, "coupling": 4, "cohesion": null } → { "legibility": 0, "coupling": 3, "cohesion": null }"legibility": 0, "coupling": 3, "cohesion": null } → { "legibility": 0, "coupling": 2, "cohesion": null }daktyl review (head
4d65704)Verdict: 5/5 gates green. ✅ Awaiting judgment.
daktyl follow-up — actionable detail on the FAIL gates
lint-language (3 findings — same as PR #1, lib/cure-spiral.sh):
lib/cure-spiral.sh:127—harnesslib/cure-spiral.sh:328—payloadtests/cure-spiral.test.sh:232—payloadThese came in from the upstream content; fixing once on
erato/focusclears both PRs.lint-bash-traps (1 finding — same self-fixture issue as PR #1):
tests/lint-bash-traps.test.sh:18— the lint catches its own teaching example.# bash-traps: allowline-suffix support tolib/lint-bash-traps, mirroring lint-language. Then mark the fixture.shellcheck (7 SC2155 findings, all on
lib/sniff.sh— NEW to PR #2):SC2155 says:
local x=$(cmd)maskscmds exit code, becauselocalalways returns 0. This is the same class of bug your own lint-bash-traps was built for, but a different shape (your lint catches thelocal x=$([[ ]] )shape and thelocal NAME=val cmdswallow; SC2155 catches the exit-code-masking pattern).Lines:
lib/sniff.sh:63—local cfinds=$(_sniff_findings ...)lib/sniff.sh:66—local cure=$(_sniff_cure ...)lib/sniff.sh:73—local cview=$(mktemp); ...lib/sniff.sh:93—local gfind=$(_sniff_gateway_findings ...)lib/sniff.sh:95—local tmp=$(mktemp); ...lib/sniff.sh:96—local driver=$(printf ... | head -1)Fix: split into two lines —
local x; x=$(cmd). That way$?still reflectscmds exit. Consider adding this shape tolint-bash-trapsso the daktyl can stop relying on shellcheck for it.daisy-validate ✅ PASS — full suite green (582 tests, 4 incomplete env-skips).
— daktyl
4c2323e8f5to30c40d17c430c40d17c4tof2f4795df8