Skip to content

fix(affine): migrate record literals to #{ } (affinescript#218) - #29

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/rust-record-syntax
May 18, 2026
Merged

fix(affine): migrate record literals to #{ } (affinescript#218)#29
hyperpolymath merged 1 commit into
mainfrom
fix/rust-record-syntax

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

affinescript#218 (merged) made bare { a block; records use #{ }. Migrated 7 expression-position record literals in opsm_gui.affine; verified + parses clean. Refs hyperpolymath/affinescript#218

affinescript#218 (merged): bare { = block, records use #{ }. Migrated
7 expression-position record literals (route Model constructions) in
opsm_gui.affine; each #{ verified to open a real field record; parses
clean under the new compiler. Patterns/blocks unchanged.

Refs hyperpolymath/affinescript#218

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hyperpolymath
hyperpolymath merged commit b4085c0 into main May 18, 2026
14 of 17 checks passed
@hyperpolymath
hyperpolymath deleted the fix/rust-record-syntax branch May 18, 2026 20:15
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 16 issues detected

Severity Count
🔴 Critical 1
🟠 High 12
🟡 Medium 3

⚠️ 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": "Code.eval_* -- arbitrary code execution risk (1 occurrences, CWE-94)",
    "type": "elixir_code_eval",
    "file": "/home/runner/work/odds-and-sods-package-manager/odds-and-sods-package-manager/opsm_ex/lib/opsm/federation.ex",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  },
  {
    "reason": "String.to_existing_atom with user input exhausts atom table -- use to_existing_atom (1 occurrences, CWE-400)",
    "type": "elixir_atom_from_user",
    "file": "/home/runner/work/odds-and-sods-package-manager/odds-and-sods-package-manager/opsm_ex/lib/opsm/registries/hyperpolymath_forge.ex",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "Obj.magic bypassing type safety (2 occurrences, CWE-704)",
    "type": "obj_magic",
    "file": "/home/runner/work/odds-and-sods-package-manager/odds-and-sods-package-manager/cli/Http.res",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "Obj.magic bypassing type safety (2 occurrences, CWE-704)",
    "type": "obj_magic",
    "file": "/home/runner/work/odds-and-sods-package-manager/odds-and-sods-package-manager/lib/ocaml/Http.res",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "Obj.magic bypassing type safety (2 occurrences, CWE-704)",
    "type": "obj_magic",
    "file": "/home/runner/work/odds-and-sods-package-manager/odds-and-sods-package-manager/opsm_mobile/src/RuntimeBridge.res",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "Obj.magic bypassing type safety (6 occurrences, CWE-704)",
    "type": "obj_magic",
    "file": "/home/runner/work/odds-and-sods-package-manager/odds-and-sods-package-manager/opsm_mobile/src/OpsmCommands.res",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "Obj.magic bypassing type safety (4 occurrences, CWE-704)",
    "type": "obj_magic",
    "file": "/home/runner/work/odds-and-sods-package-manager/odds-and-sods-package-manager/opsm_mobile/src/TauriFFI.res",
    "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