Skip to content

feat(cli): Phase D — compile-eph / compile-affine aliases (closes #36) - #123

Merged
hyperpolymath merged 2 commits into
mainfrom
salvage/phase-d-compile-aliases
May 22, 2026
Merged

feat(cli): Phase D — compile-eph / compile-affine aliases (closes #36)#123
hyperpolymath merged 2 commits into
mainfrom
salvage/phase-d-compile-aliases

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

clap visible aliases so the CLI can be invoked as compile-eph and compile-affine, both routing to the compile subcommand. Probed by hypatia's build-gossamer-gui.yml workflow.

Salvaged from the diverged ephapax v2-grammar branch onto current main. The superseded v2 extern/grammar phases (A/B/C/E/F-H/I/J) are NOT included — upstream main already ships a more complete extern implementation with a different API. The single test fixture tests/v2-grammar/fixtures/ extern-callsite.eph is carried from the dropped Phase B commit (6f7f316) so the Phase D acceptance test is self-contained; verified to compile to valid wasm on current main via the new aliases.

hyperpolymath and others added 2 commits May 16, 2026 17:25
clap visible aliases so the CLI can be invoked as `compile-eph` and
`compile-affine`, both routing to the `compile` subcommand. Probed by
hypatia's build-gossamer-gui.yml workflow.

Salvaged from the diverged ephapax v2-grammar branch onto current main.
The superseded v2 extern/grammar phases (A/B/C/E/F-H/I/J) are NOT included
— upstream main already ships a more complete extern implementation with a
different API. The single test fixture `tests/v2-grammar/fixtures/
extern-callsite.eph` is carried from the dropped Phase B commit (6f7f316)
so the Phase D acceptance test is self-contained; verified to compile to
valid wasm on current main via the new aliases.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hyperpolymath
hyperpolymath merged commit 8617b04 into main May 22, 2026
8 checks passed
@hyperpolymath
hyperpolymath deleted the salvage/phase-d-compile-aliases branch May 22, 2026 22:34
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 30 issues detected

Severity Count
🔴 Critical 7
🟠 High 6
🟡 Medium 17

⚠️ 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": "Admitted leaves proof hole (4 occurrences, CWE-704)",
    "type": "admitted",
    "file": "/home/runner/work/ephapax/ephapax/formal/Semantics.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  },
  {
    "reason": "Coq admit tactic leaves goal unproven (3 occurrences, CWE-704)",
    "type": "coq_admit_tactic",
    "file": "/home/runner/work/ephapax/ephapax/formal/Semantics.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  },
  {
    "reason": "User-defined Coq axiom -- not verified by kernel (2 occurrences, CWE-704)",
    "type": "coq_axiom",
    "file": "/home/runner/work/ephapax/ephapax/formal/Semantics.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "believe_me undermines formal verification (1 occurrences, CWE-704)",
    "type": "believe_me",
    "file": "/home/runner/work/ephapax/ephapax/src/formal/Ephapax/Formal/RegionLinear.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/ephapax/ephapax/src/formal/Ephapax/Formal/RegionLinear.idr",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "expect() in hot path (1 occurrences, CWE-754)",
    "type": "expect_in_hot_path",
    "file": "/home/runner/work/ephapax/ephapax/src/ephapax-repl/src/lib.rs",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "from_raw constructs types from raw pointers without safety checks (1 occurrences, CWE-676)",
    "type": "from_raw",
    "file": "/home/runner/work/ephapax/ephapax/src/ephapax-vram-cache/src/lib.rs",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  }
]

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