feat(rsr+proofs): tropical RSR Bronze (42%→77%) + Lean verified 20/20 + PROOF-STATUS#24
Merged
Merged
Conversation
…OOF-STATUS
Verified the Lean 4 proofs genuinely: `lake build` under Lean v4.13.0 (pinned in
lean-toolchain, no Mathlib), clean rebuild -> 20/20 targets type-check. No proof
changes were needed; the Lean development was already correct.
RSR 41.67% -> 76.81% (Bronze):
- .well-known/{security,ai,humans}.txt
- MAINTAINERS.adoc; CODE_OF_CONDUCT.md (Contributor Covenant + enforcement)
- CONTRIBUTING: Tri-Perimeter Contribution Framework (TPCF)
- flake.nix (elan + just devShell); .gitattributes
- Justfile: lean-build + validate recipes
PROOF-STATUS.adoc records the reproduced Lean result and honestly flags the 9
Isabelle .thy theories as CI-gated but NOT re-verified here (Isabelle not
installed in this environment -- multi-GB toolchain).
Residual: flake.lock (needs nix); SECURITY "24 hours" literal (brittle check).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019awZjBD1qx61tvmEuEKNpn
🔍 Hypatia Security ScanFindings: 42 issues detected
View findings[
{
"reason": "Issue in codeql.yml",
"type": "missing_workflow",
"file": "codeql.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in scorecard.yml",
"type": "missing_workflow",
"file": "scorecard.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in mirror.yml",
"type": "missing_workflow",
"file": "mirror.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in secret-scanner.yml",
"type": "missing_workflow",
"file": "secret-scanner.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Action actions/checkout@v4 needs attention",
"type": "unpinned_action",
"file": "lean.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in lean.yml",
"type": "missing_timeout_minutes",
"file": "lean.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Required file missing (condition: has_dependencies)",
"type": "missing_requirement",
"file": ".github/dependabot.yml",
"action": "create",
"rule_module": "cicd_rules",
"severity": "high"
},
{
"reason": "Required file missing (condition: public_repo)",
"type": "missing_requirement",
"file": ".github/workflows/scorecard.yml",
"action": "create",
"rule_module": "cicd_rules",
"severity": "high"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/tropical-resource-typing/tropical-resource-typing/tests/validate.test.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "Isabelle oops -- intentionally incomplete proof (1 occurrences, CWE-704)",
"type": "isabelle_oops",
"file": "/home/runner/work/tropical-resource-typing/tropical-resource-typing/Tropical_Ordinal.thy",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
…alse positive) Hypatia flagged isabelle_oops in Tropical_Ordinal.thy; verified by text scan that it matches a descriptive *comment* (line 15), not an `oops` command -- there are zero actual `oops` and zero `sorry` across all 9 theories. Recorded this precisely in PROOF-STATUS, including the note that `oops` would evade `check-sorry`. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019awZjBD1qx61tvmEuEKNpn
🔍 Hypatia Security ScanFindings: 42 issues detected
View findings[
{
"reason": "Issue in codeql.yml",
"type": "missing_workflow",
"file": "codeql.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in scorecard.yml",
"type": "missing_workflow",
"file": "scorecard.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in mirror.yml",
"type": "missing_workflow",
"file": "mirror.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in secret-scanner.yml",
"type": "missing_workflow",
"file": "secret-scanner.yml",
"action": "create",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Action actions/checkout@v4 needs attention",
"type": "unpinned_action",
"file": "lean.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in lean.yml",
"type": "missing_timeout_minutes",
"file": "lean.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Required file missing (condition: has_dependencies)",
"type": "missing_requirement",
"file": ".github/dependabot.yml",
"action": "create",
"rule_module": "cicd_rules",
"severity": "high"
},
{
"reason": "Required file missing (condition: public_repo)",
"type": "missing_requirement",
"file": ".github/workflows/scorecard.yml",
"action": "create",
"rule_module": "cicd_rules",
"severity": "high"
},
{
"reason": "TypeScript file detected -- banned language",
"type": "banned_language_file",
"file": "/home/runner/work/tropical-resource-typing/tropical-resource-typing/tests/validate.test.ts",
"action": "flag",
"rule_module": "cicd_rules",
"severity": "critical"
},
{
"reason": "Isabelle oops -- intentionally incomplete proof (1 occurrences, CWE-704)",
"type": "isabelle_oops",
"file": "/home/runner/work/tropical-resource-typing/tropical-resource-typing/Tropical_Ordinal.thy",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
hyperpolymath
marked this pull request as ready for review
June 18, 2026 13:17
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
tropical-resource-typing end-to-end — RSR 41.67% → 76.81% (🥉 Bronze) plus a genuinely reproduced Lean proof verification.
Proof verification (the headline)
lake buildafterrm -rf .lake/build(clean rebuild). Result: 20/20 targets type-check. No proof changes were needed — the Lean development was already correct.*.thytheories (Tropical_Semiringssession) are CI-gated viajust isabelle-build; Isabelle is a multi-GB toolchain not installed in this environment, so I state that plainly rather than assert it.PROOF-STATUS.adocrecords exactly what was reproduced vs CI-gated.RSR additions (additive)
.well-known/{security,ai,humans}.txtMAINTAINERS.adoc;CODE_OF_CONDUCT.md(Contributor Covenant + enforcement)flake.nix(elan + just devShell);.gitattributeslean-build+validaterecipesResidual (honest)
flake.lock(needsnix); SECURITY "24 hours" literal (brittle check — tropical has its own SECURITY policy); a "mentions testing" doc nit. Bronze (≥75%) achieved.Reproduce (Lean)
lake build # Lean 4 v4.13.0🤖 Generated with Claude Code
https://claude.ai/code/session_019awZjBD1qx61tvmEuEKNpn
Generated by Claude Code