docs(proof-needs): refresh stale §1 baseline + §6 sequencing after Wave 1–3#636
Merged
Conversation
…ve 1–3 The status tables (§2 P-rows, §4 F-rows) were already current, but two narrative sections lagged the Wave 1/2/3 mechanization activity: - §1 formal/ baseline listed only 8 of the 13 proof files; now lists all 13 (adds P2_Stlc, P3_BorrowGraph, QttSemiring, AffineUsage, QttTyping) with the true count: 13 files, 22 axiom-free closure reports. - §6 sequencing reframed: Waves 1 (model growth) and 2 (static QTT) are done; Wave 3 is now the real lift — real AST + real typed-WASM semantics, then the still-prose/absent obligations. - K-1 bullet notes K1Let grows the seed with variables/let/env. - K-3 bullet notes P3_BorrowSound/P3_BorrowGraph already reject #554. Intro "almost none mechanized" -> "a growing axiom-free Coq core (small models; no full-language theorem discharged yet)". Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KPG9mEQXFyA3k7NWAzMNMr
🔍 Hypatia Security ScanFindings: 41 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 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"
},
{
"reason": "unsafe block -- requires SAFETY comment (3 occurrences, CWE-676)",
"type": "unsafe_block",
"file": "/home/runner/work/affinescript/affinescript/runtime/src/ffi.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.
What
docs/PROOF-NEEDS.adoc's status tables were already correct (§2 P-rows, §4 F-rows track every obligation accurately), but two narrative sections went stale during the Wave 1/2/3 mechanization that landed in #632 / #634. This refresh re-grounds them against the liveformal/tree.Ground truth at time of writing: 13
.vfiles, 22Print Assumptionsclosure reports, all axiom-free (verified by recompiling the whole track withcoqc -Q . ASFormaland auditing forAxioms:).Changes (docs only)
formal/baseline listed only 8 of the 13 proof files — it predatedP2_Stlc,P3_BorrowGraph, and the QTT trio (QttSemiring/AffineUsage/QttTyping). Now lists all 13 with the true count.K1Let_CodegenPreservation.vgrows the seed with de Bruijn variables /let/ environment.P3_BorrowSound.v/P3_BorrowGraph.valready reject the soundness: use-after-move through a callee-returned borrow is accepted end-to-end (post-CORE-01 hole) #554 witness in-model (was "should be written").No proof content changes; no status-column downgrades. This only makes the prose match the tables and the tree.
🤖 Generated with Claude Code
https://claude.ai/code/session_01KPG9mEQXFyA3k7NWAzMNMr
Generated by Claude Code