Skip to content

fix: AGENTIC licence line + a2ml-validate-action repin - #60

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/agentic-licence-and-validate-pin
Aug 28, 2026
Merged

fix: AGENTIC licence line + a2ml-validate-action repin#60
hyperpolymath merged 1 commit into
mainfrom
fix/agentic-licence-and-validate-pin

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Ruleset refused a direct push, so this lands by PR. Two mechanical fixes, owner-ruled:

  1. AGENTIC licence lineNever use AGPL license (…) contradicts LICENCE-POLICY.adoc Rules 3/4/5 (which mandate AGPL for their scopes). Replaced with the policy pointer used in rsr-template-repo#45. See standards#646.
  2. a2ml-validate-action repin — the previously-pinned SHAs never existed; the repo was only created 2026-08-28 (split from a2ml/actions/validate, history preserved). Repinned to its real HEAD. See standards#669.

🤖 Generated with Claude Code

…, #669)

1. The AGENTIC.a2ml agent-constraint line "Never use AGPL license (...)"
   contradicts LICENCE-POLICY.adoc Rules 3 (co-developed), 4 (network
   services) and 5 (games), which MANDATE AGPL-3.0-or-later - and 144
   copies named the retired PMPL-1.0-or-later. Replaced with a pointer to
   the policy plus the A2 no-automated-licence-edits rule, hardcoding no
   licence so it cannot go stale again. Same wording as the template fix
   in rsr-template-repo#45; owner-ruled sweep (2026-08-27).

2. Any workflow pinning hyperpolymath/a2ml-validate-action at 59145c7d or
   e558e79200 is repinned to 6ac6416f. Those two SHAs never existed: the
   repo itself was only created 2026-08-28 and populated by subtree split
   from a2ml/actions/validate (286 files, history preserved). The old
   pins could never resolve and made lockfile generation impossible.

Direct push per owner ruling of 2026-08-28.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@hyperpolymath
hyperpolymath merged commit 02efe59 into main Aug 28, 2026
19 of 22 checks passed
@hyperpolymath
hyperpolymath deleted the fix/agentic-licence-and-validate-pin branch August 28, 2026 00:22
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@gitar-bot

gitar-bot Bot commented Aug 28, 2026

Copy link
Copy Markdown

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

@coderabbitai

coderabbitai Bot commented Aug 28, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 5de06683-f963-4e13-8cb9-9ae84fd88ded

📥 Commits

Reviewing files that changed from the base of the PR and between 2c4121a and c6a4859.

📒 Files selected for processing (1)
  • .machine_readable/6a2/AGENTIC.a2ml

📝 Walkthrough

Summary by CodeRabbit

  • Documentation
    • Updated licensing guidance for automated agents.
    • Clarified that existing files must not be relicensed and that automated licence sweeps are prohibited.
    • Added instructions to consult the licence policy rather than assume a licence.
    • Documented the applicable default licences and requirements for AGPL-licensed content.

Walkthrough

The agent licence constraints now prohibit relicensing and automated licence sweeps. They require agents to read the licence policy, which defines default licences, AGPL requirements, and the PMPL register.

Changes

Licence constraints

Layer / File(s) Summary
Expanded licence rules
.machine_readable/6a2/AGENTIC.a2ml
The constraints prohibit relicensing existing files and automated licence sweeps. They require use of standards/LICENCE-POLICY.adoc for licence selection, including its MPL-2.0, CC-BY-SA-4.0, AGPL-3.0-or-later, and PMPL rules.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Suggested reviewers: metadatastician

Poem

A rabbit reads the licence guide,
No sweeping scripts can run or hide.
Old files keep the marks they bore,
New rules set the path before.
MPL and AGPL stand,
With PMPL noted close at hand.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

The pull request successfully updates the licensing instructions to align with the organization's policy regarding AGPL; however, the repinning of a2ml-validate-action mentioned in the title is missing from the file changes. Additionally, there is a path inconsistency in the documentation references, and Rule 2 of the license instructions remains too ambiguous for automated agents to follow effectively. While Codacy reports that quality is up to standards, these implementation gaps and inconsistencies should be addressed before merging.

About this PR

  • The changes related to repinning a2ml-validate-action are missing from this pull request. Please ensure the migration to the valid SHA is included as intended.
1 comment outside of the diff
[REDACTED:HIGH_ENTROPY]

line 25 🟡 MEDIUM RISK
Suggestion: The file path 'LICENCE-POLICY.adoc' is inconsistent with the 'standards/' prefix used on line 26.

#   sweep (standards/LICENCE-POLICY.adoc A2). New files get correct SPDX from birth.

Test suggestions

  • Verify the agent's compliance with Rule 1 (MPL-2.0/CC) for default files.
  • Verify the agent correctly identifies scenarios requiring AGPL-3.0 (Rules 3, 4, 5).
  • Confirm a2ml-validate-action is repinned to the specified valid SHA.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify the agent's compliance with Rule 1 (MPL-2.0/CC) for default files.
2. Verify the agent correctly identifies scenarios requiring AGPL-3.0 (Rules 3, 4, 5).
3. Confirm a2ml-validate-action is repinned to the specified valid SHA.

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 84 issues detected

Severity Count
🔴 Critical 6
🟠 High 32
🟡 Medium 46

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Issue in casket-pages.yml",
    "type": "missing_timeout_minutes",
    "file": "casket-pages.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in casket-pages.yml",
    "type": "missing_timeout_minutes",
    "file": "casket-pages.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in codeql.yml",
    "type": "missing_timeout_minutes",
    "file": "codeql.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "missing_timeout_minutes",
    "file": "dogfood-gate.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "missing_timeout_minutes",
    "file": "dogfood-gate.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "missing_timeout_minutes",
    "file": "dogfood-gate.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "missing_timeout_minutes",
    "file": "dogfood-gate.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "missing_timeout_minutes",
    "file": "dogfood-gate.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in hypatia-scan.yml",
    "type": "missing_timeout_minutes",
    "file": "hypatia-scan.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in instant-sync.yml",
    "type": "missing_timeout_minutes",
    "file": "instant-sync.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "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