Skip to content

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

Open
hyperpolymath wants to merge 1 commit into
mainfrom
claude/seed-proof-debt-2026-05-26
Open

docs: seed docs/proof-debt.md (zero-debt invariant) per trusted-base policy#70
hyperpolymath wants to merge 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:52
@github-actions
Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 23 issues detected

Severity Count
🔴 Critical 6
🟠 High 8
🟡 Medium 9

⚠️ 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/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": "believe_me undermines formal verification (1 occurrences, CWE-704)",
    "type": "believe_me",
    "file": "/home/runner/work/typed-wasm/typed-wasm/src/abi/TypedWasm/ABI/SessionProtocol.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/typed-wasm/typed-wasm/src/abi/TypedWasm/ABI/SessionProtocol.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/typed-wasm/typed-wasm/src/abi/TypedWasm/ABI/Echo.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/typed-wasm/typed-wasm/src/abi/TypedWasm/ABI/Echo.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/typed-wasm/typed-wasm/src/abi/TypedWasm/ABI/ResourceCapabilities.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/typed-wasm/typed-wasm/src/abi/TypedWasm/ABI/ResourceCapabilities.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/typed-wasm/typed-wasm/src/abi/TypedWasm/ABI/ModuleIsolation.idr",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

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