Skip to content

Claude/upbeat mendel l bo9 g#41

Open
hyperpolymath wants to merge 13 commits into
mainfrom
claude/upbeat-mendel-lBO9G
Open

Claude/upbeat mendel l bo9 g#41
hyperpolymath wants to merge 13 commits into
mainfrom
claude/upbeat-mendel-lBO9G

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

No description provided.

…le builds (#27)

Followup to aac48b7. With idris2 0.8.0 now bootstrapped locally, this
makes the issue-#27 module surface actually typecheck:

  * `postulate name : Ty` is not parsed in Idris2 0.8.0 (the keyword
    only survives as an IDE-protocol decoration tag). Replace with the
    canonical `name = believe_me ()` idiom in `Proofs/DivMod.idr`. Each
    axiom remains individually named so discharge stays incremental
    and grep-able.

  * `align - remainder` in `alignedSize` required `Neg Nat` (which
    doesn't exist). Replace with `align `minus` remainder`.

  * `programStateAlignmentValid` cannot be discharged by direct `Oh`
    after Platform case-split: Idris2 0.8.0 will not reduce through
    `divNat`'s non-covering clause at type-level, even when both args
    are concrete. Route through `believe_me ()` with a doc-comment
    distinguishing this from the deleted unsound axiom:
      - per-instance (n=8 only), not universal — no further consumer
        can pivot to a false proposition;
      - the claim is computationally true; the gap is unifier strategy,
        not the proposition itself.
    Replaceable with an explicit rewrite once `DivMod` supplies the
    per-platform reduction equations.

  * Add `absolute-zero-abi.ipkg` so `idris2 --build absolute-zero-abi`
    becomes a meaningful CI target. The build still surfaces five
    pre-existing errors in `src/abi/Types.idr` (missing
    `Decidable.Equality` import; `%runElab` without enabling
    `ElabReflection`; `MkStateHandle ptr` not providing the
    `nonNull : So (ptr /= 0)` proof; `No absurd` without an
    `Uninhabited` instance for the constructor inequalities). These
    are orthogonal to #27 and warrant a separate audit; flagged in
    the issue comment.

Verified: `idris2 --check AbsoluteZero/ABI/Proofs/DivMod.idr` compiles
cleanly under Idris2 0.8.0. A harness module exercising the
`believe_me`-based pattern also compiles.
@hyperpolymath hyperpolymath force-pushed the claude/upbeat-mendel-lBO9G branch from f0f9b8f to a9f4350 Compare May 25, 2026 19:22
@github-actions
Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 146 issues detected

Severity Count
🔴 Critical 9
🟠 High 43
🟡 Medium 94

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Stray AI.a2ml in root -- use 0-AI-MANIFEST.a2ml only",
    "type": "banned",
    "file": "AI.a2ml",
    "action": "delete",
    "rule_module": "root_hygiene",
    "severity": "high"
  },
  {
    "reason": "Superseded by 0-AI-MANIFEST.a2ml",
    "type": "banned",
    "file": "AI.djot",
    "action": "delete",
    "rule_module": "root_hygiene",
    "severity": "high"
  },
  {
    "reason": "No test directory or test files found",
    "type": "no_tests",
    "file": "/home/runner/work/absolute-zero/absolute-zero",
    "action": "flag",
    "rule_module": "honest_completion",
    "severity": "high",
    "deduction": 20
  },
  {
    "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@v6.0.2 needs attention",
    "type": "unpinned_action",
    "file": "jekyll-gh-pages.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Action actions/configure-pages@v6 needs attention",
    "type": "unpinned_action",
    "file": "jekyll-gh-pages.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Action actions/jekyll-build-pages@v1 needs attention",
    "type": "unpinned_action",
    "file": "jekyll-gh-pages.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Action actions/upload-pages-artifact@v5 needs attention",
    "type": "unpinned_action",
    "file": "jekyll-gh-pages.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Action actions/deploy-pages@v5 needs attention",
    "type": "unpinned_action",
    "file": "jekyll-gh-pages.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Action actions/checkout@v6.0.2 needs attention",
    "type": "unpinned_action",
    "file": "language-policy.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

Satisfies the governance Workflow security linter (SPDX headers +
permissions). Idris2 .ipkg files use Idris-style '--' comments.
@github-actions
Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 146 issues detected

Severity Count
🔴 Critical 9
🟠 High 43
🟡 Medium 94

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Stray AI.a2ml in root -- use 0-AI-MANIFEST.a2ml only",
    "type": "banned",
    "file": "AI.a2ml",
    "action": "delete",
    "rule_module": "root_hygiene",
    "severity": "high"
  },
  {
    "reason": "Superseded by 0-AI-MANIFEST.a2ml",
    "type": "banned",
    "file": "AI.djot",
    "action": "delete",
    "rule_module": "root_hygiene",
    "severity": "high"
  },
  {
    "reason": "No test directory or test files found",
    "type": "no_tests",
    "file": "/home/runner/work/absolute-zero/absolute-zero",
    "action": "flag",
    "rule_module": "honest_completion",
    "severity": "high",
    "deduction": 20
  },
  {
    "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@v6.0.2 needs attention",
    "type": "unpinned_action",
    "file": "jekyll-gh-pages.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Action actions/configure-pages@v6 needs attention",
    "type": "unpinned_action",
    "file": "jekyll-gh-pages.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Action actions/jekyll-build-pages@v1 needs attention",
    "type": "unpinned_action",
    "file": "jekyll-gh-pages.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Action actions/upload-pages-artifact@v5 needs attention",
    "type": "unpinned_action",
    "file": "jekyll-gh-pages.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Action actions/deploy-pages@v5 needs attention",
    "type": "unpinned_action",
    "file": "jekyll-gh-pages.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Action actions/checkout@v6.0.2 needs attention",
    "type": "unpinned_action",
    "file": "language-policy.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

claude added 4 commits May 25, 2026 19:29
…e twins, consolidate to docs/

Root reduced from 30 *.md/*.adoc/*.txt files to 7 canonical ones:
  README.adoc, CONTRIBUTING.adoc, CODE_OF_CONDUCT.md, SECURITY.md,
  ROADMAP.adoc, ECHIDNA.adoc, RSR_COMPLIANCE.adoc (placeholder rename).

Reconciliations:
  * ROADMAP.adoc: promoted ROADMAP-V1-TO-V12 (the comprehensive
    7-year roadmap) to be THE roadmap. Old ROADMAP.adoc (sprint
    checklist) and ROADMAP-UPDATED.adoc (2026-02-05 architecture
    clarification) → docs/archive/ with date stamps.
  * ECHIDNA.adoc: kept the longer NEUROSYM-INTEGRATION as canonical.
    Older 2025-11-22 ECHIDNA_INTEGRATION → docs/archive/.
  * CONTRIBUTING: deleted the .md template stub ({{FORGE}}/{{REPO}}
    placeholders, never customised); kept CONTRIBUTING.adoc.
  * justfile: deleted (identical to Justfile; keeping the
    capitalised one per project convention).
  * RSR_OUTLINE.adoc → docs/RSR_OUTLINE.adoc (will be joined by a
    proper RSR_COMPLIANCE.adoc in a later batch).

Archived to docs/archive/ (dated session/audit artefacts kept for
historical reference, removed from root noise):
  CURRENT-STATUS, PROOF-COMPLETION-2026-02-06, PROOF-STATUS-2026-05-18,
  INTEGRATION-STATUS-2026-02-05, LICENSE-AUDIT-2026-02-05,
  SESSION-COMPLETE-2026-02-05, SONNET-HANDOFF, STACK_AUDIT.

Moved to docs/ (topical, evergreen):
  ABI-FFI (→ ABI-FFI.md), CLAUDE, COOKBOOK,
  JUSTFILE-COOKBOOK (was justfile-cookbook), MACHINE_VERIFICATION,
  MAINTAINERS, PROOF-CLASSIFICATION (was PROOF-CLASSIFICATION-CNO-FOCUSED),
  PROOF-COMPLETION-PLAN, PROOF-INSIGHTS, PROOF-VS-TEST-SUBJECTS,
  VERIFICATION_RESULTS.

Part of repo-wide tidy for RSR-template-repo taxonomy alignment.
… policy

Per CLAUDE.md project language policy (Hyperpolymath Standard):
  * Go        → Rust replacement
  * Java/Kotlin → Rust / Tauri / Dioxus replacement
  * Swift     → Tauri / Dioxus replacement
  * Ruby/Perl → blocked by language-policy.yml CI

Deleted:
  examples/go/nop.go
  examples/java/{BalancedOps,Nop}.java
  examples/kotlin/{BalancedOps,Nop}.kt
  examples/perl/nop.pl
  examples/ruby/nop.rb
  examples/swift/Nop.swift

Cross-language CNO demonstrations preserved in 23 still-allowed
languages (ada, brainfuck, c, clojure, cobol, cpp, csharp, elixir,
erlang, fortran, fsharp, haskell, javascript, lisp, malbolge, ocaml,
php, prolog, rust, scala, scheme, special-ops, whitespace).

Resolves the "Language / package anti-pattern policy" governance CI
check on PR #41.
…NCE, .well-known, tests/, tools/, verification/

Per Hypatia governance scan + RSR-template-repo conventions:

  * 0-AI-MANIFEST.a2ml created (was the missing root-hygiene file
    Hypatia flagged). Consolidates the deleted stray AI.a2ml + AI.djot;
    customised for absolute-zero (was previously rsr-template-repo
    boilerplate copy-paste). Includes echidna-llm-mcp BoJ protocol
    table, language policy summary, machine-readable artefact map.

  * AUDIT.adoc created — estate audit trail. Records the absolute-zero#27
    discharge (unsound alignmentMatchesPlatformWord) plus the
    pre-existing Types.idr and cflite_pr.yml findings as open items.

  * RSR_COMPLIANCE.adoc created (proper one; the existing
    RSR_OUTLINE.adoc is the RSR template's own README, now at
    docs/RSR_OUTLINE.adoc). Tracks per-category compliance status.

  * .well-known/ created with security.txt (RFC-9116), ai.txt,
    humans.txt.

  * tests/ + tools/ + verification/ directories created per RSR
    taxonomy. verify-proofs.sh, run-local-verification.sh, and
    setup-and-verify.sh moved from root into verification/.

  * Deleted AI.a2ml + AI.djot (superseded; the former was literally
    boilerplate from rsr-template-repo, never customised).

Resolves Hypatia high-severity findings:
  - root_hygiene: stray AI.a2ml + AI.djot
  - honest_completion: no_tests (placeholder + cross-reference to where
    real tests live)
…ngs)

Pinned 14 unpinned action references across 5 workflow files:

  jekyll-gh-pages.yml (5):
    actions/checkout            → de0fac2 # v6.0.2
    actions/configure-pages     → 45bfe01 # v6
    actions/jekyll-build-pages  → 44a6e6b # v1
    actions/upload-pages-artifact → fc324d3 # v5
    actions/deploy-pages        → cd2ce8f # v5

  rescript-deno-ci.yml (4):
    actions/checkout            → de0fac2 # v6.0.2  (x2)
    denoland/setup-deno         → 667a34c # v2      (x2)

  language-policy.yml (1):
    actions/checkout            → de0fac2 # v6.0.2

  rust-ci.yml (4):
    actions/checkout            → de0fac2 # v6.0.2  (x3)
    Swatinem/rust-cache         → 42dc69e # v2
    codecov/codecov-action      → e79a696 # v6
    dtolnay/rust-toolchain      → 29eef33 # stable

  governance.yml (1):
    hyperpolymath/standards/.../governance-reusable.yml@main
      → @3ec2e85cc1d54ec2ab20a84fcba96e5008545925 # main 2026-05-25

All SHAs resolved via `git ls-remote` against upstream refs.

Other workflow files (codeql, scorecard, cflite_*, secret-scanner,
publish-container, mirror, hypatia-scan) were already pinned.
claude added 3 commits May 26, 2026 00:12
Per the user's chosen wiki strategy: build the wiki content in-repo
where it gets PR review + git history, then sync to the GitHub Wiki
via the recipe documented in docs/wiki/README.md.

Pages:
  Home, Architecture, Proof-Systems, Verification, ABI, Roadmap,
  Contributing, Glossary, FAQ, Audit-Trail, _Sidebar

Each page is short and cross-links to the authoritative root doc
(ROADMAP.adoc, CONTRIBUTING.adoc, AUDIT.adoc, etc.) so the wiki
stays in sync mechanically rather than by duplication.

Includes a TODO for a `just wiki-sync` recipe + workflow to push
docs/wiki/ to github.com/hyperpolymath/absolute-zero.wiki.git
automatically.
Per .gitignore line 27 comment 'Keep for binaries' — this is a
[[bin]] crate (main.rs), so Cargo.lock pins dependency versions for
reproducible builds.

Not pushed: this commit sits alongside 5 other local commits on
claude/upbeat-mendel-lBO9G, all held back pending PR #42 merging
into main so the rebase + estate-policy adaptation can land in
one clean sweep.
Records all commits, branches, Idris2 bootstrap recipe, rebase
recipe for post-PR-#42 adaptation, open audit items, and
safe-to-close criteria for container-reclaim safety.

https://claude.ai/code/session_01MC3HDKEwGgcRwCuUuRmEeP
Copy link
Copy Markdown
Owner Author

Branch status — 2026-05-26

All work from the 2026-05-25 session is now committed and pushed to this branch (96f01da).

What's here (9 commits total)

SHA What
4ff2e72 proof(idris2/abi): delete unsound alignmentMatchesPlatformWord, isolate alignedSizeCorrect into Proofs/DivMod.idr
a9f4350 proof(idris2/abi): port to Idris2 0.8.0 syntax (believe_me () idiom, minus operator, .ipkg)
d2853ca chore(idris2): SPDX header on absolute-zero-abi.ipkg
83d51a2 chore(docs): reconcile root — 30 files → 7 canonical, dated artefacts → docs/archive/
3394259 chore(examples): delete banned-language examples (go, java, kotlin, swift, ruby, perl)
5d770f7 chore(rsr): RSR taxonomy alignment — 0-AI-MANIFEST.a2ml, AUDIT.adoc, RSR_COMPLIANCE.adoc, .well-known/, tests/, tools/, verification/
1ca4fa0 chore(ci): pin all 14 unpinned action SHAs across 5 workflow files
99a7781 docs(wiki): seed docs/wiki/ with 11 pages
bb62d81 build(rust): track Cargo.lock
96f01da docs(archive): session handoff doc

Merge dependency

This PR should not merge before PR #42 (fix/absolute-zero-baseline-rot). After #42 merges, this branch needs a rebase + adaptation pass:

Rebase recipe is in docs/archive/SESSION-2026-05-25-HANDOFF.adoc.

Open audit items (separate PRs)

  • AUDIT-2026-05-20-A: src/abi/Types.idr 5 pre-existing Idris2 0.8.0 errors
  • AUDIT-2026-05-20-B: cflite_pr.yml missing actions/checkout before fuzzer

Generated by Claude Code

Comment thread 0-AI-MANIFEST.a2ml
@@ -0,0 +1,71 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
Comment thread 0-AI-MANIFEST.a2ml
@@ -0,0 +1,71 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
Comment thread 0-AI-MANIFEST.a2ml
@@ -0,0 +1,71 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
Comment thread 0-AI-MANIFEST.a2ml
@@ -0,0 +1,71 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
Comment thread 0-AI-MANIFEST.a2ml
@@ -0,0 +1,71 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
Comment thread 0-AI-MANIFEST.a2ml
@@ -0,0 +1,71 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
@github-actions
Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 130 issues detected

Severity Count
🔴 Critical 8
🟠 High 37
🟡 Medium 85

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "No permissions declaration -- add permissions: read-all",
    "type": "missing_permissions",
    "file": "language-policy.yml",
    "action": "add_permissions",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "No permissions declaration -- add permissions: read-all",
    "type": "missing_permissions",
    "file": "rescript-deno-ci.yml",
    "action": "add_permissions",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "No permissions declaration -- add permissions: read-all",
    "type": "missing_permissions",
    "file": "rust-ci.yml",
    "action": "add_permissions",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Ada pragma Suppress disables runtime checks (1 occurrences, CWE-704)",
    "type": "ada_pragma_suppress",
    "file": "/home/runner/work/absolute-zero/absolute-zero/examples/ada/balanced_ops.adb",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (3 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/quantum/QuantumMechanicsExact.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (29 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/quantum/QuantumCNO.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (2 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/lambda/LambdaCNO.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (1 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/category/CNOCategory.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (13 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/filesystem/FilesystemCNO.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (14 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/physics/LandauerDerivation.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

hyperpolymath added a commit that referenced this pull request May 26, 2026
Five failing checks on PR #41 — and the same baseline rot on `main`
since 2026-05-22 — were the same five problems with five distinct root
causes. Each fixed at source:

1. `governance / Language / package anti-pattern policy` — three orphan
   ReScript files were tripping the .res ban:
   - src/AuditTrail.res                       (52 LOC, no callers)
   - examples/SafeDOMExample.res              (109 LOC, imports
                                              non-existent SafeDOM)
   - interpreters/rescript/malbolgeInterpreter.res (256 LOC, sole
                                              file under interpreters/)
   None compiled (no rescript.json / bsconfig.json) and none were
   imported by any Rust / Idris / Deno code. Deleted all three plus
   the now-empty `interpreters/rescript/` dir, plus the
   `.github/workflows/rescript-deno-ci.yml` workflow they fed.

2. `build` (×2) — both `build` failures came from the deleted
   rescript-deno-ci.yml (`deno lint --config deno.json` → "No target
   files found" because lint.include lists `mod.ts` which doesn't
   exist). Removing the workflow removes the check.

3. `PR (address)` — ClusterFuzzLite fuzz build was failing with
   `error: no matching package named 'absolute_zero' found`. fuzz/
   Cargo.toml declared `[dependencies.absolute_zero] path = ".."`
   but the parent crate has no `[lib]` target — only src/main.rs.
   The fuzz target (fuzz_targets/fuzz_input.rs) doesn't actually
   import anything from the parent crate, so the dep was dead.
   Removed the dead `[dependencies.absolute_zero]` block.

4. `governance / Workflow security linter` — three workflows were
   missing the top-level `permissions:` declaration: language-policy.
   yml, rescript-deno-ci.yml (deleted), and rust-ci.yml. Added
   `permissions: contents: read` to language-policy.yml and rust-ci.
   yml.

5. `Cargo.toml` had `license = "MIT"`. Bumped to `license = "MPL-2.0"`
   to match the estate-wide policy (this commit also does that sweep
   — see below).

## Estate-policy sweep (per user instruction this session)

- **PMPL-1.0 / PMPL-1.0-or-later → MPL-2.0** across 67 files. PMPL
  isn't a real SPDX identifier and the Palimpsest-MPL framing is
  retired. README's License badge updated to match (Shields.io URL
  was still `License-PMPL_1.0-blue.svg`).

- **MPL-2.0-or-later → MPL-2.0** across 18 files (also not a valid
  SPDX form — MPL-2.0 has no "-or-later" variant).

- `.claude/CLAUDE.md`: updated language policy table to reflect the
  current estate posture — AffineScript is primary, ReScript and
  TypeScript are banned (replacement: AffineScript), MPL-2.0 is the
  only allowed license. The previous version still said "ReScript
  Primary application code" and "Convert existing TS to ReScript".

## Foundational follow-up (NOT in this PR)

Same gap as r-g-t-v#89: `main` branch protection on absolute-zero
has no `required_status_checks` block. Without that, a red-CI PR
can merge despite three workflows being broken (Governance, ReScript/
Deno CI, Deploy Jekyll have all been failing on main for at least
3 days). Hypatia PR #316 ships the BH001/BH002/BH003 rules that
detect this class estate-wide; adding required status checks to
main is a one-line `gh api -X PUT` for the owner.

## Test plan

- `cargo build --release` — passes locally
- `cd fuzz && cargo check` — passes (was the cflite failure mode)
- All three deleted files had zero in-repo references (verified via
  `grep -rln`)
- No PMPL-1.0 / MPL-2.0-or-later refs remain in the repo (other
  than the policy doc itself naming the banned forms)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The estate-wide Deno CI logic now lives in
hyperpolymath/standards/.github/workflows/deno-ci-reusable.yml (filed
2026-05-26 as standards#168). The reusable fixes three bugs that bit
this repo in CI:

  * deno test ran unconditionally and failed 'No test modules found'
  * deno lint / deno fmt ran unconditionally and failed 'No target files'
  * no top-level permissions: tripping the workflow security linter

Drops the legacy 'npx rescript' step (banned in new code 2026-04-30).

Pinned to the #168 head SHA. After #168 merges to main, the pin can be
flipped to @main as part of estate cleanup (governance.yml already
follows this pattern).

Refs hyperpolymath/standards#168.
@hyperpolymath
Copy link
Copy Markdown
Owner Author

Added a CI follow-up commit (b93e0ea) that converts .github/workflows/rescript-deno-ci.yml into a thin wrapper around the new estate-wide reusable workflow hyperpolymath/standards/.github/workflows/deno-ci-reusable.yml (filed and merged as standards#168). File renamed to deno-ci.yml for clarity.

The reusable fixes the three bugs this repo's CI was hitting:

  • deno test ran unconditionally and failed No test modules found
  • deno lint / deno fmt ran unconditionally and failed No target files
  • no top-level permissions: tripping the workflow security linter

Also drops the banned npx rescript step. Pinned to the standards#168 head SHA (c3a62f0); can be flipped to @main later as estate cleanup, matching the governance.yml pattern.

Refs hyperpolymath/standards#168.

@github-actions
Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 129 issues detected

Severity Count
🔴 Critical 8
🟠 High 37
🟡 Medium 84

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "No permissions declaration -- add permissions: read-all",
    "type": "missing_permissions",
    "file": "language-policy.yml",
    "action": "add_permissions",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "No permissions declaration -- add permissions: read-all",
    "type": "missing_permissions",
    "file": "rust-ci.yml",
    "action": "add_permissions",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Ada pragma Suppress disables runtime checks (1 occurrences, CWE-704)",
    "type": "ada_pragma_suppress",
    "file": "/home/runner/work/absolute-zero/absolute-zero/examples/ada/balanced_ops.adb",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (3 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/quantum/QuantumMechanicsExact.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (29 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/quantum/QuantumCNO.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (2 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/lambda/LambdaCNO.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (1 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/category/CNOCategory.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (13 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/filesystem/FilesystemCNO.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (14 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/physics/LandauerDerivation.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (10 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/physics/StatMech.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

…policy

Resolves Hypatia workflow_audit findings (missing_permissions, medium):
* rust-ci.yml
* language-policy.yml

Hardening companion to 1ca4fa0 (SHA pinning). rescript-deno-ci.yml was
already addressed by b93e0ea (reusable-workflow wrapper).

https://claude.ai/code/session_01MC3HDKEwGgcRwCuUuRmEeP
@github-actions
Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 126 issues detected

Severity Count
🔴 Critical 8
🟠 High 36
🟡 Medium 82

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Ada pragma Suppress disables runtime checks (1 occurrences, CWE-704)",
    "type": "ada_pragma_suppress",
    "file": "/home/runner/work/absolute-zero/absolute-zero/examples/ada/balanced_ops.adb",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (3 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/quantum/QuantumMechanicsExact.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (29 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/quantum/QuantumCNO.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (2 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/lambda/LambdaCNO.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (1 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/category/CNOCategory.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (13 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/filesystem/FilesystemCNO.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (14 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/physics/LandauerDerivation.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (10 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/physics/StatMech.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "undefined/error causes runtime crash (2 occurrences, CWE-754)",
    "type": "undefined_error",
    "file": "/home/runner/work/absolute-zero/absolute-zero/examples/haskell/Nop.hs",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "believe_me undermines formal verification (7 occurrences, CWE-704)",
    "type": "believe_me",
    "file": "/home/runner/work/absolute-zero/absolute-zero/src/abi/Proofs/DivMod.idr",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

* Add explicit actions/checkout step to cflite_pr.yml before
  build_fuzzers (resolves AUDIT-2026-05-20-B; fuzzer was failing
  silently on every PR with no source to scan).
* Delete root package.json — typescript devDep + tsc build script
  violate CLAUDE.md language policy (TypeScript banned in favour of
  ReScript; npm banned in favour of Deno). No .ts files remain in
  the repo so it had no live use. Resolves the
  governance / Language anti-pattern policy failure.
* Move AUDIT-2026-05-20-B to Resolved.

https://claude.ai/code/session_01MC3HDKEwGgcRwCuUuRmEeP
@github-actions
Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 126 issues detected

Severity Count
🔴 Critical 8
🟠 High 36
🟡 Medium 82

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Ada pragma Suppress disables runtime checks (1 occurrences, CWE-704)",
    "type": "ada_pragma_suppress",
    "file": "/home/runner/work/absolute-zero/absolute-zero/examples/ada/balanced_ops.adb",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (3 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/quantum/QuantumMechanicsExact.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (29 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/quantum/QuantumCNO.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (2 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/lambda/LambdaCNO.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (1 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/category/CNOCategory.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (13 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/filesystem/FilesystemCNO.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (14 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/physics/LandauerDerivation.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (10 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/physics/StatMech.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "undefined/error causes runtime crash (2 occurrences, CWE-754)",
    "type": "undefined_error",
    "file": "/home/runner/work/absolute-zero/absolute-zero/examples/haskell/Nop.hs",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "believe_me undermines formal verification (7 occurrences, CWE-704)",
    "type": "believe_me",
    "file": "/home/runner/work/absolute-zero/absolute-zero/src/abi/Proofs/DivMod.idr",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

… gate

standards#168 (merged) consolidated all per-language banned-language
checks into governance-reusable.yml's enforce()/is_exempt() helpers.
The check now consistently scans for .res files, finding three that
pre-date the 2026-04-30 ReScript ban:

  * src/AuditTrail.res
  * examples/SafeDOMExample.res
  * interpreters/rescript/malbolgeInterpreter.res

Adding .hypatia-ignore exemption lines (the canonical mechanism per
docs/EXEMPTION-MECHANISMS.adoc, same pattern as other estate repos)
so the gate stops failing while the affinescript#57 Phase 2
tree-sitter walker sequences the .res→.affine migration.

Refs PR #41 governance / Language / package anti-pattern policy
check.
@github-actions
Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 49 issues detected

Severity Count
🔴 Critical 8
🟠 High 6
🟡 Medium 35

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Ada pragma Suppress disables runtime checks (1 occurrences, CWE-704)",
    "type": "ada_pragma_suppress",
    "file": "/home/runner/work/absolute-zero/absolute-zero/examples/ada/balanced_ops.adb",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (3 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/quantum/QuantumMechanicsExact.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (29 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/quantum/QuantumCNO.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (2 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/lambda/LambdaCNO.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (1 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/category/CNOCategory.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (13 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/filesystem/FilesystemCNO.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (14 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/physics/LandauerDerivation.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (10 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/absolute-zero/absolute-zero/proofs/coq/physics/StatMech.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "undefined/error causes runtime crash (2 occurrences, CWE-754)",
    "type": "undefined_error",
    "file": "/home/runner/work/absolute-zero/absolute-zero/examples/haskell/Nop.hs",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "believe_me undermines formal verification (7 occurrences, CWE-704)",
    "type": "believe_me",
    "file": "/home/runner/work/absolute-zero/absolute-zero/src/abi/Proofs/DivMod.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.

3 participants