migration: 17 integer-brain kernels from idaptik logic-directory sweep (cluster C13)#589
Merged
Merged
Conversation
…p (cluster C13) Exhaustive sweep of the eight brain-dense logic directories (devices, player, combat, enemies, companions, multiplayer, src/shared, utils — 159 .res files). Extracted 17 new Int(...)->Int brains; classified the remainder as host-side senses, FFI binding shims, float/string-input cores, or already-migrated. New brains (all G1 compile, G2 parity all-pass vs independent JS oracle, G4 assail clean): PlayerSprite, CombatResolve, ThreatClass, GameI18nCore, AlertPalette, PeerPort, AccessClamp, Coprocessor, Coprocessor_IO, Kernel_Crypto, Kernel_Quantum, ResourceAccounting, UmsLevelLoader, MoletaireCoprocessors, MoletaireHunger, LobbyManager, MultiplayerClient. ~8,450 parity cases total. Several are residual sub-brains earlier clusters scoped out as "routing" (ThreatClass from DualAlertBridge; the Coprocessor/Kernel/Resource set from the shared coprocessor layer). Each new brain's exported signature matches an existing *Coprocessor.res host bridge. Full per-file disposition (159 files: 17 new / 43 already / 99 no-brain) recorded in EVIDENCE-C13-logic-sweep.adoc. Brain count 62 -> 79. https://claude.ai/code/session_01WoKhFQePiRsAj7aqnxbG8s
🔍 Hypatia Security ScanFindings: 40 issues detected
View findings[
{
"reason": "Action denoland/setup-deno@v2 needs attention",
"type": "unpinned_action",
"file": "publish-jsr.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in scorecard-enforcer.yml",
"type": "scorecard_publish_with_run_step",
"file": "scorecard-enforcer.yml",
"action": "split_scorecard_publish_job",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in instant-sync.yml",
"type": "secret_action_without_presence_gate",
"file": "instant-sync.yml",
"action": "peter-evans/repository-dispatch",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Shell execution -- validate input before passing to shell (1 occurrences, CWE-78)",
"type": "js_exec_sync",
"file": "/home/runner/work/affinescript/affinescript/packages/affinescript-cli/mod.js",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "Shell execution -- validate input before passing to shell (2 occurrences, CWE-78)",
"type": "js_exec_sync",
"file": "/home/runner/work/affinescript/affinescript/packages/affine-vscode/mod.js",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "Shell execution -- validate input before passing to shell (1 occurrences, CWE-78)",
"type": "js_exec_sync",
"file": "/home/runner/work/affinescript/affinescript/affinescript-vite/src/affine-plugin-improved.js",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "expect() in hot path (32 occurrences, CWE-754)",
"type": "expect_in_hot_path",
"file": "/home/runner/work/affinescript/affinescript/affinescriptiser/src/codegen/wasm_gen.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "medium"
},
{
"reason": "expect() in hot path (29 occurrences, CWE-754)",
"type": "expect_in_hot_path",
"file": "/home/runner/work/affinescript/affinescript/affinescriptiser/src/codegen/affine_gen.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "medium"
},
{
"reason": "unsafe block -- requires SAFETY comment (2 occurrences, CWE-676)",
"type": "unsafe_block",
"file": "/home/runner/work/affinescript/affinescript/runtime/src/panic.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "medium"
},
{
"reason": "unsafe block -- requires SAFETY comment (1 occurrences, CWE-676)",
"type": "unsafe_block",
"file": "/home/runner/work/affinescript/affinescript/runtime/src/alloc.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "medium"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
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.
Summary
Exhaustive sweep of the eight brain-dense idaptik logic directories (
devices,player,combat,enemies,companions,multiplayer,src/shared,utils— 159.resfiles), extracting 17 newInt(...)->Intbrains and classifying every remaining file. Brain count 62 → 79.New brains (17) — independently re-verified G1/G2/G4 green
PlayerSprite(64) ·CombatResolve(91) ·ThreatClass(77) ·GameI18nCore(58) ·AlertPalette(219) ·PeerPort(68) ·AccessClamp(44) ·Coprocessor(2207) ·Coprocessor_IO(1758) ·Kernel_Crypto(170) ·Kernel_Quantum(52) ·ResourceAccounting(2537) ·UmsLevelLoader(229) ·MoletaireCoprocessors(82) ·MoletaireHunger(133) ·LobbyManager(577) ·MultiplayerClient(85)(
N= differential-parity cases, all passing against an independent JS oracle.) ~8,450 cases total, every brain assail-clean. Verified by the parent session, not just agent-reported.Disposition (159 files)
NO_NEW_BRAINSThe 99 break down as FFI binding shims (
*Coprocessor.res, ~40), render-glue/PixiJS orchestrators (~25), float-physics/geometry cores (~12), string/JSON/wire-protocol cores (~12), and host state/orchestration glue (~10). Full per-file ledger inEVIDENCE-C13-logic-sweep.adoc.Notes
Int->Intbecause the parity harness passes integer args only; floats are carried as ×1000 milli-units where integer-exact, else kept host-side.ThreatClass(fromDualAlertBridge), theCoprocessor/Kernel/Resourceset (from the shared coprocessor layer) — recovered here as separable pure-integer kernels.*Coprocessor.reshost bridge, so the wasm targets drop into the already-written FFI shims.https://claude.ai/code/session_01WoKhFQePiRsAj7aqnxbG8s
Generated by Claude Code