feat(spec): add ARG + TRG + FRG + CRG profiles for typed-wasm#87
Merged
Conversation
Adds the four-axis maturation grading for typed-wasm, scored against the framework introduced in hyperpolymath/standards#232 (ARG + FRG) and the templates introduced in hyperpolymath/standards#229 (TRG + CRG profile templates). Compilation target treated as a language-shaped artefact: it has a defined grammar (binary + textual), instruction AST, operational semantics, layered type system (L1-L17), and runtime contract. "Adoption" means downstream languages targeting it as a compilation backend (ephapax, AffineScript). Grade: - ARG-D — README/EXPLAINME/QUICKSTART present, 6 example modules, 3 consumer-feature surfaces (boj-server, panic-attacker, ssg); no public playground / error-code index / educator-facing curriculum. - TRG-C — front-end (F1-F4, F6, F7), middle-end (M1, M2, M3 via Idris2 oracle, M5 strongest in cohort), back-end (B1 = Idris2 ABI as IR, B2 WASM emission, B5 Zig FFI + Idris2 ABI per estate convention); T1-T5 N/A (target, not compiler). 88/88 parser tests pass at v1.5. - FRG-C — 22 Idris2 files at src/abi/ encoding safety protocol with QTT linearity + dependent types, zero believe_me / assert_total in ABI files, A10 closure landed PR #79 inhabiting VerifierSpecAgreement + SourceVerifierAgreement. Gated below B by absence of explicit L1-L10 preservation lemmas (per PROOF-NEEDS.md handoff). - CRG-D — typed-wasm-verify v0.1.0 (workspace-internal, not yet on crates.io), Idris2 ABI surface at C (consumed as source by ephapax + AffineScript), Parser.affine + Zig FFI at D. Cross-axis rule: ARG ≤ TRG holds (TRG = C ≥ ARG = D). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
🔍 Hypatia Security ScanFindings: 97 issues detected
View findings[
{
"reason": "Action actions/upload-artifact@v4 needs attention",
"type": "unpinned_action",
"file": "release.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Action actions/download-artifact@v4 needs attention",
"type": "unpinned_action",
"file": "release.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in boj-build.yml",
"type": "unknown",
"file": "boj-build.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in c5-regenerate.yml",
"type": "unknown",
"file": "c5-regenerate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in cargo-audit.yml",
"type": "unknown",
"file": "cargo-audit.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in codeql.yml",
"type": "unknown",
"file": "codeql.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dogfood-gate.yml",
"type": "unknown",
"file": "dogfood-gate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dogfood-gate.yml",
"type": "unknown",
"file": "dogfood-gate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dogfood-gate.yml",
"type": "unknown",
"file": "dogfood-gate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dogfood-gate.yml",
"type": "unknown",
"file": "dogfood-gate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
🔍 Hypatia Security ScanFindings: 97 issues detected
View findings[
{
"reason": "Action actions/upload-artifact@v4 needs attention",
"type": "unpinned_action",
"file": "release.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Action actions/download-artifact@v4 needs attention",
"type": "unpinned_action",
"file": "release.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in boj-build.yml",
"type": "unknown",
"file": "boj-build.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in c5-regenerate.yml",
"type": "unknown",
"file": "c5-regenerate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in cargo-audit.yml",
"type": "unknown",
"file": "cargo-audit.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in codeql.yml",
"type": "unknown",
"file": "codeql.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dogfood-gate.yml",
"type": "unknown",
"file": "dogfood-gate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dogfood-gate.yml",
"type": "unknown",
"file": "dogfood-gate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dogfood-gate.yml",
"type": "unknown",
"file": "dogfood-gate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in dogfood-gate.yml",
"type": "unknown",
"file": "dogfood-gate.yml",
"action": "flag",
"rule_module": "workflow_audit",
"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
Adds the four-axis maturation grading for typed-wasm, scored against the framework introduced in hyperpolymath/standards#232 (ARG + FRG) and the templates introduced in hyperpolymath/standards#229 (TRG + CRG profile templates).
typed-wasm is treated as a language-shaped compilation target: it has a defined grammar (binary + textual per
spec/grammar.ebnf), instruction AST, operational semantics (perspec/type-safety-levels-for-wasm.adoc), a layered type system (L1-L17 perLEVEL-STATUS.md), and a runtime contract. "Adoption" means downstream languages targeting it as a compilation backend (ephapax, AffineScript).Grades
.twasm+ 3 consumer-feature surfaces. No public playground / error-code index / educator curriculum.src/abi/with QTT linearity + dependent types, zerobelieve_me/assert_totalin ABI files, A10 closure landed PR #79. Gated below B by absence of explicit L1-L10 preservation lemmas perPROOF-NEEDS.md.typed-wasm-verifyv0.1.0 (workspace-internal, not yet on crates.io). Idris2 ABI surface at C (consumed as source).Cross-axis rule: ARG ≤ TRG holds (TRG = C ≥ ARG = D). typed-wasm becomes the strongest of the audit cohort on FRG (versus ephapax-D, AffineScript-E, my-lang-X) and ties ephapax at TRG-C.
Honest gaps for grade promotion
audits/audit-typed-wasm-verify.md+ VeriSimDB attestation.Test plan
.adocrenders cleanlynextgen-languages/language-status-tracker.jlmatches each*<GRADE>*correctly🤖 Generated with Claude Code