Skip to content

fix(ci): adopt canonical hypatia-scan.yml - #7

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/hypatia-scan-canonical
May 16, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
fix/hypatia-scan-canonical

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Estate sweep (verisimiser#102 cascade): replace drifted hypatia-scan.yml with the fixed canonical — corrects env.HOME workdir / old scanner layout AND adds pull-requests:write + Comment-step continue-on-error so the advisory PR comment never hard-fails the Hypatia check (hypatia#213). Mechanical, verified green on verisimiser main.

Co-Authored-By: Claude Opus 4.7 (1M context) [email protected]

@hyperpolymath
hyperpolymath merged commit 0719fad into main May 16, 2026
2 checks passed
@hyperpolymath
hyperpolymath deleted the fix/hypatia-scan-canonical branch May 16, 2026 19:49
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 11 issues detected

Severity Count
🔴 Critical 2
🟠 High 6
🟡 Medium 3

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Issue in codeql.yml",
    "type": "missing_workflow",
    "file": "codeql.yml",
    "action": "create",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in scorecard.yml",
    "type": "missing_workflow",
    "file": "scorecard.yml",
    "action": "create",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in quality.yml",
    "type": "missing_workflow",
    "file": "quality.yml",
    "action": "create",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in mirror.yml",
    "type": "missing_workflow",
    "file": "mirror.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": "Issue in secret-scanner.yml",
    "type": "missing_workflow",
    "file": "secret-scanner.yml",
    "action": "create",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Required file missing (condition: public_repo)",
    "type": "missing_requirement",
    "file": ".github/workflows/scorecard.yml",
    "action": "create",
    "rule_module": "cicd_rules",
    "severity": "high"
  },
  {
    "reason": "TypeScript file detected -- banned language",
    "type": "banned_language_file",
    "file": "/home/runner/work/julia-professional-registry/julia-professional-registry/tests/validate.test.ts",
    "action": "flag",
    "rule_module": "cicd_rules",
    "severity": "critical"
  },
  {
    "reason": "No SAST tool (CodeQL/SonarCloud/Semgrep) detected in julia-professional-registry",
    "type": "StaticAnalysis",
    "file": "/home/runner/work/julia-professional-registry/julia-professional-registry",
    "action": "auto_fix",
    "rule_module": "scorecard",
    "severity": "medium",
    "remediation": "Add CodeQL or equivalent SAST workflow.",
    "scorecard_check": "SAST"
  },
  {
    "reason": "Repository has 1 non-main remote branch(es). Policy: single main branch only.",
    "type": "GS007",
    "file": ".",
    "action": "delete_remote_branches",
    "rule_module": "git_state",
    "severity": "medium"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

hyperpolymath added a commit that referenced this pull request May 27, 2026
…17)

Adds the three missing standards reusables, pins the unpinned one,
adds a CodeQL workflow scoped to GitHub Actions (the repo's only
analyzable surface), and removes the stale root-level STATE.a2ml.

Alerts closed:

  #2  workflow_audit/missing_workflow  scorecard.yml
  #4  workflow_audit/missing_workflow  mirror.yml
  #6  workflow_audit/missing_workflow  secret-scanner.yml
  #7  workflow_audit/unpinned_action   governance.yml @main -> @4285741
  #8  cicd_rules/missing_requirement   scorecard.yml (same root as #2)
  #10 scorecard/StaticAnalysis         add codeql.yml language: actions
  #12 structural_drift/SD004           remove root .machine_readable/STATE.a2ml
                                        (canonical at .machine_readable/6a2/STATE.a2ml)

Not addressed here:

  #11 git_state/GS007  non-main branch `feat/register-echotypes-krladapter`
                       is the head of in-flight PR #16; will auto-resolve
                       when that PR merges or closes.

The 17 CSA001/CSA002/CSA003 self-referential alerts on this repo
were dismissed as `won't fix` against hyperpolymath/hypatia#368,
which suppresses the meta-rule lens at the SARIF render layer to
stop the self-echo at source.

All four wrapper workflows are pinned to standards/main HEAD SHA
4285741 (2026-05-27).

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
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