Skip to content

fix: repair broken comment causing exit 127 (estate-wide red)#11

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/broken-comment-exit127
May 16, 2026
Merged

fix: repair broken comment causing exit 127 (estate-wide red)#11
hyperpolymath merged 1 commit into
mainfrom
fix/broken-comment-exit127

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

validate-a2ml.sh lines 151–152 were a single comment whose continuation line lost its # prefix, so bash executed ame/project and continue to be validated normally.exit 127. This failed the Validate A2ML manifests check on every commit in every repo pinned to this action (found via hypatia#264 root-cause; matches the estate recurrence pattern — one broken source action, N red leaves).

Fix: collapse 151–152 back to one valid comment line. bash -n clean.

🤖 Generated with Claude Code

Lines 151-152 were a comment whose continuation line lost its '#'
prefix ($name split across a newline), so bash executed
'ame/project and continue to be validated normally.' → exit 127.
This failed the 'Validate A2ML manifests' check for EVERY commit in
EVERY repo pinned to this action. Collapsed back to a single valid
comment line.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hyperpolymath hyperpolymath merged commit f8517bb into main May 16, 2026
16 of 17 checks passed
@hyperpolymath hyperpolymath deleted the fix/broken-comment-exit127 branch May 16, 2026 21:44
@github-actions
Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 7 issues detected

Severity Count
🔴 Critical 1
🟠 High 1
🟡 Medium 5

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "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": "codeql.yml lists `language: javascript-typescript` but the repo has no source files in any CodeQL-scannable language. The analyze job will exit 'no source files' on every run. Switch the matrix to `actions` (which scans workflow files — every repo has those).",
    "type": "codeql_language_matrix_mismatch",
    "file": "codeql.yml",
    "action": "switch_codeql_matrix_to_actions",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "line": 24,
    "reason": "Secret found: Generic API key",
    "type": "secret_detected",
    "file": "/home/runner/work/a2ml-validate-action/a2ml-validate-action/.envrc",
    "action": "revoke_rotate_and_purge",
    "rule_module": "security_errors",
    "severity": "critical"
  },
  {
    "reason": "1 workflow(s) with tag-pinned (not SHA-pinned) actions in a2ml-validate-action",
    "type": "DependencyPinning",
    "file": "/home/runner/work/a2ml-validate-action/a2ml-validate-action",
    "action": "auto_fix",
    "rule_module": "scorecard",
    "severity": "medium",
    "remediation": "Pin GitHub Actions and Docker base images by SHA hash.",
    "scorecard_check": "Pinned-Dependencies"
  },
  {
    "reason": "Repository has 2 non-main remote branch(es). Policy: single main branch only.",
    "type": "GS007",
    "file": ".",
    "action": "delete_remote_branches",
    "rule_module": "git_state",
    "severity": "medium"
  },
  {
    "reason": "Source file missing SPDX-License-Identifier header",
    "type": "SD009",
    "file": "src/interface/ffi/src/main.zig",
    "action": "add_spdx_header",
    "rule_module": "structural_drift",
    "severity": "medium"
  }
]

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