Skip to content

fix(ci): add SPDX-License-Identifier header to LICENSE#284

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/hopeful-babbage-pn0l4o
Jun 27, 2026
Merged

fix(ci): add SPDX-License-Identifier header to LICENSE#284
hyperpolymath merged 1 commit into
mainfrom
claude/hopeful-babbage-pn0l4o

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Fixes the pre-existing Governance → "Licence consistency" failure on main.

standards' check-licence-consistency.sh scans the caller repo's LICENSE for an SPDX-License-Identifier: header on its first lines and exits 1 if absent. echo-types' LICENSE is the verbatim MPL-2.0 text with no SPDX line, so the gate fails.

This prepends the matching identifier + copyright:

SPDX-License-Identifier: MPL-2.0
SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>

No relicensing — the file is already MPL-2.0; this adds the machine-readable identifier the gate requires. Sole-owner repo → MPL-2.0 per estate policy.

🤖 Generated with Claude Code

https://claude.ai/code/session_019awZjBD1qx61tvmEuEKNpn


Generated by Claude Code

Clears the Governance 'Licence consistency' gate (check-licence-consistency.sh requires an SPDX-License-Identifier on LICENSE's first lines). LICENSE is the verbatim MPL-2.0 text; this adds the matching identifier + copyright. Sole-owner repo -> MPL-2.0 per estate policy. (tropical: also adds a license field to Project.toml.)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_019awZjBD1qx61tvmEuEKNpn
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 7 issues detected

Severity Count
🔴 Critical 0
🟠 High 3
🟡 Medium 4
View findings
[
  {
    "reason": "No test directory or test files found",
    "type": "no_tests",
    "file": "/home/runner/work/echo-types/echo-types",
    "action": "flag",
    "rule_module": "honest_completion",
    "severity": "high",
    "deduction": 20
  },
  {
    "reason": "Issue in push-email-notify.yml",
    "type": "missing_timeout_minutes",
    "file": "push-email-notify.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Repository has 8 non-main remote branch(es). Policy: single main branch only.",
    "type": "GS007",
    "file": ".",
    "action": "delete_remote_branches",
    "rule_module": "git_state",
    "severity": "medium"
  },
  {
    "reason": "Code scanning (Hypatia): hypatia/workflow_audit/missing_timeout_minutes -- Hypatia workflow_audit: missing_timeout_minutes -- 2 day(s) old",
    "type": "CSA001",
    "file": "push-email-notify.yml",
    "action": "review",
    "rule_module": "code_scanning_alerts",
    "severity": "medium"
  },
  {
    "reason": "Code scanning (Scorecard): TokenPermissionsID -- Token-Permissions -- 25 day(s) old [STALE]",
    "type": "CSA001",
    "file": ".github/workflows/scorecard.yml",
    "action": "escalate",
    "rule_module": "code_scanning_alerts",
    "severity": "high"
  },
  {
    "reason": "Code-scanning alert TokenPermissionsID (high) at .github/workflows/scorecard.yml is 25 days old (threshold: 7 days) -- overdue for remediation",
    "type": "CSA003",
    "file": ".github/workflows/scorecard.yml",
    "action": "escalate",
    "rule_module": "code_scanning_alerts",
    "severity": "high"
  },
  {
    "reason": "Code-scanning alert hypatia/code_safety/agda_postulate dismissed as 'false positive' -- ensure dismissal is documented and justified",
    "type": "CSA004",
    "file": "proofs/agda/EchoImageFactorizationPropPostulated.agda",
    "action": "review",
    "rule_module": "code_scanning_alerts",
    "severity": "medium"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

@hyperpolymath hyperpolymath marked this pull request as ready for review June 27, 2026 19:55
@hyperpolymath hyperpolymath merged commit 52df844 into main Jun 27, 2026
17 checks passed
@hyperpolymath hyperpolymath deleted the claude/hopeful-babbage-pn0l4o branch June 27, 2026 19:55
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