Skip to content

verification: state no-formal-proof stance + add registry data-integrity invariants - #21

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/awesome-gauss-7sccs9
Jun 21, 2026
Merged

verification: state no-formal-proof stance + add registry data-integrity invariants#21
hyperpolymath merged 1 commit into
mainfrom
claude/awesome-gauss-7sccs9

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Why

Follow-up to the "what proofs remain?" assessment for this repo. The conclusion: gv-clade-index has no outstanding formal proofs, and none are warranted — it's a gv/db JavaScript-Worker + VeriSimDB/KV registry with no native ABI/FFI surface to verify (the template Idris2 ABI proofs were deliberately removed earlier; see PROOF-NEEDS.md).

This PR closes that out honestly: it makes the verification stance explicit (so audits/CRG don't expect theorem proofs here) and promotes the registry's real, checkable invariants to executable "proofs."

Changes

State the verification positionverification/README.adoc (+ proofs/, safety_case/, traceability/ unit READMEs, previously one-line stubs):

  • formal proofs are N/A for a JS data/edge project;
  • correctness is assured by the Worker test suite + data-integrity invariants (worker/test/) and the worker-ci gate;
  • Idris2 proofs are deferred until/unless a native ABI surface is introduced.
  • STATE.a2ml gains a [verification] section recording the same.

Executable invariants (the repo-appropriate "proofs")worker/test/data.test.js now also asserts:

  • prefixed === "<clade>-<name>" for every repo (ADR-003);
  • secondary clade codes are valid and exclude the primary;
  • forge primary keys (github slugs) are unique;
  • uuids are present, well-formed, and unique;
  • (already covered) total_repos === |by_name| === Σ member_count and the 12-clade invariant.

All verified against the live snapshot (203 repos): 0 violations.

Verified locally

37/37 tests pass (33 → 37) · eslint clean · prettier --check clean.

Not changed

The contractile proof-integrity guardrails (MUST/TRUST) and the documented src/interface/* "no FFI surface" status are correct and left as-is.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UCnxjXkN6uDj9YSANuGEgR


Generated by Claude Code

…ntegrity invariants

gv-clade-index has no ABI/FFI surface, so there are no formal proofs to maintain here
(the template Idris2 ABI proofs were removed earlier; see PROOF-NEEDS.md). Make that
stance explicit and promote the registry's checkable invariants to executable "proofs".

- verification/README.adoc + proofs/safety_case/traceability READMEs: document that
  formal proofs are N/A for this JS data/edge project and that correctness is assured by
  worker/test/ + the worker-ci gate; Idris2 proofs deferred until a native surface exists.
- .machine_readable/6a2/STATE.a2ml: add [verification] section recording the stance.
- worker/test/data.test.js: add invariants — prefixed == "<clade>-<name>", valid secondary
  codes, github primary-key uniqueness, uuid present/well-formed/unique (now 37 tests).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UCnxjXkN6uDj9YSANuGEgR
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 67 issues detected

Severity Count
🔴 Critical 1
🟠 High 10
🟡 Medium 56

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Issue in casket-pages.yml",
    "type": "missing_timeout_minutes",
    "file": "casket-pages.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in casket-pages.yml",
    "type": "missing_timeout_minutes",
    "file": "casket-pages.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in codeql.yml",
    "type": "missing_timeout_minutes",
    "file": "codeql.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dependabot-automerge.yml",
    "type": "missing_timeout_minutes",
    "file": "dependabot-automerge.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "missing_timeout_minutes",
    "file": "dogfood-gate.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "missing_timeout_minutes",
    "file": "dogfood-gate.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "missing_timeout_minutes",
    "file": "dogfood-gate.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "missing_timeout_minutes",
    "file": "dogfood-gate.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "missing_timeout_minutes",
    "file": "dogfood-gate.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in instant-sync.yml",
    "type": "missing_timeout_minutes",
    "file": "instant-sync.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

@hyperpolymath
hyperpolymath marked this pull request as ready for review June 21, 2026 02:09
@hyperpolymath
hyperpolymath merged commit fae8361 into main Jun 21, 2026
14 of 15 checks passed
@hyperpolymath
hyperpolymath deleted the claude/awesome-gauss-7sccs9 branch June 21, 2026 02:10
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.

2 participants