fix/kernel parity 1333 1335 - #44
Open
davidcrowe wants to merge 2 commits into
Open
davidcrowe wants to merge 2 commits into
davidcrowe wants to merge 2 commits into
Conversation
davidcrowe
commented
Sep 23, 2026
Contributor
- Add shared kernel-parity corpus, run it against decide.mjs
- Kernel parity with the gateway (#1333, #1335)
The August drift was not a bad algorithm — the gateway fixed the classifier/floor class in July and the local copies stayed broken for weeks because nothing compared them. This adds the comparison: one JSON case table, consumed by every copy of the kernel, asserting classification key and hardline verdict. Two divergences recorded on this surface rather than silently tolerated: force-with-lease trips the local hardline floor while the gateway allows it, and `$(` classifies as Bash.$ instead of Bash.unknown. Both are scoped to the assertion that actually diverges, so the half that works stays asserted. The count guard fails if a new one appears AND if one is fixed without updating it. Destructive binaries live in the fixture as fragment arrays: a governed write of the bare literal is subject to response filtering, which would corrupt the fixture silently. Also scopes `npm test` to test/ — node --test with no path walks gitignored demo/.home and dies on a stray app bundle, so the suite could not be run locally at all. Refs davidcrowe/gatewaystack-connect#1316, #1333, #1335, #36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.