Skip to content

Claude/adoring volta l cd cj#56

Merged
hyperpolymath merged 5 commits into
mainfrom
claude/adoring-volta-LCdCJ
May 24, 2026
Merged

Claude/adoring volta l cd cj#56
hyperpolymath merged 5 commits into
mainfrom
claude/adoring-volta-LCdCJ

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

Changes

RSR Quality Checklist

Required

  • Tests pass (just test or equivalent)
  • Code is formatted (just fmt or equivalent)
  • Linter is clean (no new warnings or errors)
  • No banned language patterns (no TypeScript, no npm/bun, no Go/Python)
  • No unsafe blocks without // SAFETY: comments
  • No banned functions (believe_me, unsafeCoerce, Obj.magic, Admitted, sorry)
  • SPDX license headers present on all new/modified source files
  • No secrets, credentials, or .env files included

As Applicable

  • .machine_readable/STATE.a2ml updated (if project state changed)
  • .machine_readable/ECOSYSTEM.a2ml updated (if integrations changed)
  • .machine_readable/META.a2ml updated (if architectural decisions changed)
  • Documentation updated for user-facing changes
  • TOPOLOGY.md updated (if architecture changed)
  • CHANGELOG or release notes updated
  • New dependencies reviewed for license compatibility (MPL-2.0 / MPL-2.0)
  • ABI/FFI changes validated (src/interface/abi/ and src/interface/ffi/ consistent)

Testing

Screenshots

claude added 4 commits May 24, 2026 04:34
Two CI install steps were failing on every PR since PR #44 merged:

- Cargo job: dtolnay/rust-toolchain action returned exit 1 on the
  SHA-pinned stable channel. Replaced with direct rustup calls; rustup
  is preinstalled on ubuntu-latest so no action is needed.

- Build+E2E job: Zig install curl was returning HTTP 404 (exit 22).
  Zig 0.14+ flipped tarball filenames from zig-OS-ARCH-VERSION to
  zig-ARCH-OS-VERSION. Updated both the download URL and the symlink
  target directory to match the new layout.

Local cargo build+test passes 10/10 (typed-wasm-verify); the failure
was purely in the toolchain provisioning step, not the code.
The structural E2E job (E2E_BUILD=0) was failing on every PR because it
asserted the existence of compiled parser .mjs files alongside the .res
sources. The .mjs files are gitignored ReScript build outputs that only
exist after running 'rescript build' — present locally if you have ever
built, absent in CI clean checkouts.

Two changes:

- Section 5 now distinguishes PARSER_SOURCES (.res, must exist) from
  PARSER_OUTPUTS (.mjs, skip cleanly if not built). The smoke job still
  validates the outputs because it runs 'rescript build' first.

- Section 9 skips the smoke invocation when Parser.mjs or the @rescript
  runtime in node_modules is missing, matching the existing
  command-not-found skip pattern instead of failing.

Verified in a clean clone: 49 passed, 0 failed, 5 skipped. Verified in
the local artifact-populated tree: 53 passed, 0 failed, 1 skipped.
The hyperpolymath/standards governance "Check for ReScript / Go /
Python (banned language files)" step was failing on every PR because
the parser is currently written in ReScript. The shared workflow
honors per-repo .hypatia-ignore entries of the form
'cicd_rules/banned_language_file:<relpath>'.

Lists the 6 tracked .res files (4 parser modules + 1 example +
1 test) and documents that they will be removed when the tree-sitter
+ Idris2 parser migration lands.
The previous fix (zig-x86_64-linux-VERSION.tar.xz) was a guess at
Zig 0.14+'s new naming convention. PR #46 CI showed Build + E2E
still failing — without log access we can't be sure whether the URL
was wrong or zig-build-test broke. Switch to mlugg/setup-zig@v2.2.1
which abstracts version naming, includes a community mirror fallback,
and is the de-facto standard setup action for Zig in CI.
@hyperpolymath
hyperpolymath enabled auto-merge (squash) May 24, 2026 17:01
Conflicts resolved:
- .github/workflows/e2e.yml: Accepted main version with updated actions (v6.0.2 checkout, v6.4.0 setup-node, node 25), new cargo-verify job

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
@hyperpolymath
hyperpolymath force-pushed the claude/adoring-volta-LCdCJ branch from 8684cf1 to 8266584 Compare May 24, 2026 18:12
@hyperpolymath
hyperpolymath merged commit 444437e into main May 24, 2026
19 of 23 checks passed
@hyperpolymath
hyperpolymath deleted the claude/adoring-volta-LCdCJ branch May 24, 2026 18:12
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 118 issues detected

Severity Count
🔴 Critical 6
🟠 High 53
🟡 Medium 59

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Issue in quality.yml",
    "type": "missing_workflow",
    "file": "quality.yml",
    "action": "create",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in security-policy.yml",
    "type": "missing_workflow",
    "file": "security-policy.yml",
    "action": "create",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "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"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

@hyperpolymath
hyperpolymath restored the claude/adoring-volta-LCdCJ branch June 4, 2026 17:28
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