fix(abi): typell Idris package scaffold + 5 errors — honest proof-debt report (NOT yet verified)#22
Closed
hyperpolymath wants to merge 0 commit into
Closed
fix(abi): typell Idris package scaffold + 5 errors — honest proof-debt report (NOT yet verified)#22hyperpolymath wants to merge 0 commit into
hyperpolymath wants to merge 0 commit into
Conversation
🔍 Hypatia Security ScanFindings: 61 issues detected
View findings[
{
"reason": "codeql.yml lists `language: javascript-typescript` but the repo has no source files in any CodeQL-scannable language. The analyze job will exit 'no source files' on every run. Switch the matrix to `actions` (which scans workflow files — every repo has those).",
"type": "codeql_language_matrix_mismatch",
"file": "codeql.yml",
"action": "switch_codeql_matrix_to_actions",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in boj-build.yml",
"type": "missing_timeout_minutes",
"file": "boj-build.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in casket-pages.yml",
"type": "missing_timeout_minutes",
"file": "casket-pages.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in casket-pages.yml",
"type": "missing_timeout_minutes",
"file": "casket-pages.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in codeql.yml",
"type": "missing_timeout_minutes",
"file": "codeql.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dependabot-automerge.yml",
"type": "missing_timeout_minutes",
"file": "dependabot-automerge.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dogfood-gate.yml",
"type": "missing_timeout_minutes",
"file": "dogfood-gate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dogfood-gate.yml",
"type": "missing_timeout_minutes",
"file": "dogfood-gate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dogfood-gate.yml",
"type": "missing_timeout_minutes",
"file": "dogfood-gate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dogfood-gate.yml",
"type": "missing_timeout_minutes",
"file": "dogfood-gate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
f1ef47b to
c1ff8aa
Compare
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 — honest WIP (proofs do NOT yet compile)
You asked me to scaffold + verify typell's Idris ABI. I did the scaffold and attempted verification with the idris2 I built — and the finding is that typell's ABI is template-derived code that was never compiled and does not type-check. Stated plainly rather than papered over with a "✓ PASS" comment.
Fixed here (package scaffold + 5 genuine errors)
Typell.ABI.*— it was inconsistent (Foreign.idrusedTypell.ABI.*, the other fiveTYPELL.ABI.*, soForeign's imports could never resolve). Finishes the template's "Replace TYPELL" step.src/Typell/ABI/; added a realtypell.ipkg(there was none).cSizeOf/cAlignOfmatched on(CInt _)/(CSize _)— type-level functions, not constructors (removed; theirBits32/Bits64reductions already cover them);CPtr = Bits (ptrSize p)misused theData.Bitsinterface →Bits64; addedimport Decidable.Equality;thisPlatform%runElabstub →= Linux.Still broken — genuine proof-debt, NOT verified
idris2 --buildstill fails in module 1/6 (Types.idr):DecEqforPlatformneedsUninhabited (x = y)instances (or%runElab derive);createHandlehas an unsatisfiableSo (ptr ≠ 0)obligation;Layout/Soundness/InferenceSoundness/LevelMonotonicity/Foreign) not yet reached — status unknown.PROOF-STATUS.adocdocuments all of this. Making typell green is real proof work, flagged as the next step. This PR is the scaffold + an honest proof-debt report — not a verification.🤖 Generated with Claude Code
https://claude.ai/code/session_019awZjBD1qx61tvmEuEKNpn
Generated by Claude Code