Skip to content

Cover the gate's edge cases, split craftloop security rules - #5

Merged
lukavtz merged 1 commit into
mainfrom
fix/gate-edge-cases
Nov 4, 2026
Merged

lukavtz merged 1 commit into
mainfrom
fix/gate-edge-cases

Conversation

@lukavtz

@lukavtz lukavtz commented Nov 4, 2026

Copy link
Copy Markdown
Owner

Closes the remaining correctness gaps in the gate and applies progressive disclosure to craftloop.

Gate

  • Normalizes a byte order mark and CRLF before parsing.
  • Rejects a report that repeats a key (verified: twice).
  • Tests: 23 -> 26.

craftloop

  • The security checklist moves to references/security.md, loaded only when a change touches auth, input parsing, file handling or dependencies. Body drops from 209 to 203 lines; the rules are unchanged.

changed: gate/, README.md, skills/craftloop/
verified: npm test -> 26 pass, 0 fail
assuming: none
not done: none
question: none

The gate now normalizes a byte order mark and CRLF, and rejects a report
that repeats a key. craftloop moves its security checklist into
references/security.md and loads it on demand.

changed: gate/, README.md, skills/craftloop/
verified: npm test -> 26 pass, 0 fail; assay PASS (57 functions, worst CC 8)
assuming: none
not done: none
question: none
@lukavtz
lukavtz merged commit aacb81b into main Nov 4, 2026
1 check passed
@lukavtz
lukavtz deleted the fix/gate-edge-cases branch November 4, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant