Skip to content

docs: seed docs/proof-debt.md (zero-debt invariant) per trusted-base policy#26

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/seed-proof-debt-2026-05-26
May 27, 2026
Merged

docs: seed docs/proof-debt.md (zero-debt invariant) per trusted-base policy#26
hyperpolymath merged 1 commit into
mainfrom
claude/seed-proof-debt-2026-05-26

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

Summary

  • Adds docs/proof-debt.md declaring this repo's zero-soundness-debt invariant.
  • Verified: every syntactic believe_me / assert_total / postulate match in source is inside a docstring explicitly stating the file does NOT use that construct.
  • Closes part of the estate trusted-base reduction policy follow-up (P1 seed).

Effect

Future PRs that introduce real escape hatches will be caught by check-trusted-base.sh and must annotate inline OR enumerate here.

🤖 Generated with Claude Code

…policy

Per the trusted-base reduction policy (hyperpolymath/standards#203),
this repo declares its zero-escape-hatch invariant.

Verified by scripts/check-trusted-base.sh from
hyperpolymath/standards: every syntactic match in this repo for
believe_me / assert_total / postulate / sorry / Admitted is inside a
docstring explicitly stating the file does NOT use them ('zero
proof-escape' discipline pattern).

This file exists so the check-trusted-base CI gate (standards#211)
can affirm the invariant. Any future PR that introduces a real
soundness-relevant escape hatch MUST either annotate the call site
with TRUSTED:/AXIOM: leading comment OR add an entry here under
§(b)/§(c)/§(d).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hyperpolymath hyperpolymath enabled auto-merge (squash) May 26, 2026 16:53
@github-actions
Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 64 issues detected

Severity Count
🔴 Critical 12
🟠 High 37
🟡 Medium 15

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "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": "Action actions/checkout@v4 needs attention",
    "type": "unpinned_action",
    "file": "release.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Action softprops/action-gh-release@v2 needs attention",
    "type": "unpinned_action",
    "file": "release.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "No permissions declaration -- add permissions: read-all",
    "type": "missing_permissions",
    "file": "release.yml",
    "action": "add_permissions",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "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": "Agda postulate assumes without proof -- potential soundness hole (1 occurrences, CWE-704)",
    "type": "agda_postulate",
    "file": "/home/runner/work/snifs/snifs/verification/proofs/agda/Properties.agda",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  },
  {
    "reason": "Admitted leaves proof hole (1 occurrences, CWE-704)",
    "type": "admitted",
    "file": "/home/runner/work/snifs/snifs/verification/proofs/coq/TypeSafety.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  },
  {
    "reason": "believe_me undermines formal verification (1 occurrences, CWE-704)",
    "type": "believe_me",
    "file": "/home/runner/work/snifs/snifs/verification/proofs/idris2/Types.idr",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  },
  {
    "reason": "assert_total bypasses totality checker (1 occurrences, CWE-704)",
    "type": "assert_total",
    "file": "/home/runner/work/snifs/snifs/verification/proofs/idris2/Types.idr",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "believe_me undermines formal verification (1 occurrences, CWE-704)",
    "type": "believe_me",
    "file": "/home/runner/work/snifs/snifs/verification/proofs/idris2/ABI/Platform.idr",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

@hyperpolymath hyperpolymath merged commit 562f817 into main May 27, 2026
14 of 19 checks passed
@hyperpolymath hyperpolymath deleted the claude/seed-proof-debt-2026-05-26 branch May 27, 2026 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant