docs: substantive proof-debt.adoc per standards#203 (supersedes #37)#39
Merged
Conversation
Replaces the thin index in PR #37 with a substantive classification under the standards#203 trusted-base reduction policy schema. Corrects the marker count (#37 said "3 escape hatches"; actual is 1). Classifies the single hatch: - (a) DISCHARGED: none - (b) BUDGETED: none - (c) NECESSARY AXIOM: proofs/BetLang.lean:392 substTop_preserves_typing — classical substitution lemma over de Bruijn substitution. Cited from Pierce TAPL Ch. 6 + Software Foundations Vol 2 + Programming Language Foundations in Agda. Promotion path documented per PR #27. - (d) DEBT: none. The repo has zero sorry declarations. The author's in-file framing at BetLang.lean:387-391 already distinguishes this as an explicit axiom rather than a proof hole; the (c) classification formalises that disposition under the estate-wide policy schema. Format: .adoc (matches estate-wide doc convention per estate CLAUDE.md "All docs must be .adoc except GitHub-required files").
🔍 Hypatia Security ScanFindings: 55 issues detected
View findings[
{
"reason": "Merge artifact in root",
"type": "stale",
"file": "SPEC.core.scm.orig",
"action": "delete",
"rule_module": "root_hygiene",
"severity": "medium"
},
{
"reason": "Action hyperpolymath/standards/.github/workflows/governance-reusable.yml@main needs attention",
"type": "unpinned_action",
"file": "governance.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "No permissions declaration -- add permissions: read-all",
"type": "missing_permissions",
"file": "comprehensive-quality.yml",
"action": "add_permissions",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/betlang/betlang/playground/src/main.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/betlang/betlang/playground/src/probability.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/betlang/betlang/playground/src/ternary.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/betlang/betlang/playground/test/probability_test.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/betlang/betlang/playground/test/ternary_test.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/betlang/betlang/playground/examples/uncertainty.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "Atom creation from untrusted input may exhaust atom table (1 occurrences, CWE-400)",
"type": "erlang_atom_from_untrusted",
"file": "/home/runner/work/betlang/betlang/lsp/bet-lsp/build/packages/thoas/src/thoas_decode.erl",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
}
]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
Replaces the thin index in #37 with a substantive classification under the standards#203 trusted-base reduction policy schema.
Corrects the marker count (#37 said "3 escape hatches"; actual is 1). Classifies the single hatch:
proofs/BetLang.lean:392substTop_preserves_typing— classical substitution lemma over de Bruijn substitution. Cited from Pierce TAPL Ch. 6 + Software Foundations Vol 2 + Programming Language Foundations in Agda. Promotion path documented per PR #27.The repo has zero
sorrydeclarations. The author's in-file framing atBetLang.lean:387-391already distinguishes this as an explicit axiom rather than a proof hole; the (c) classification formalises that disposition under the estate-wide policy schema.Why supersede #37
PR #37's index says "3 escape hatches" (wrong — only 1 axiom), and defers all classification to a stub
PROOF-NEEDS.mdpointer without actually doing the work. This PR does the substantive classification per the policy schema.After this PR merges, #37 should be closed as superseded.
Format choice
.adocper estate-wide convention ("All docs must be.adocexcept GitHub-required files" — standards CLAUDE.md). The policy itself allows.mdor.adoc.Test plan
4A03639C…2867091E, noreply email)main— same failures present on#37and onmain's latest commit6702d2d. Not introduced by this PR.🤖 Generated with Claude Code