Skip to content

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

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#69
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 3d5bad5 into main Aug 28, 2026
20 of 23 checks passed
@hyperpolymath
hyperpolymath deleted the fix/agentic-licence-and-validate-pin branch August 28, 2026 00:27
@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: 54ab9c23-225d-4b0f-ad33-258d81fa4ba9

📥 Commits

Reviewing files that changed from the base of the PR and between cc07982 and 806e17f.

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

📝 Walkthrough

Summary by CodeRabbit

  • Documentation
    • Updated licensing guidance to prohibit relicensing existing files and automated licence sweeps.
    • Added requirements to consult the licence policy and document repository-wide defaults and exceptions.

Walkthrough

The agent policy replaces the AGPL prohibition with rules for relicensing, licence sweeps, policy consultation, default licences, and defined exceptions.

Changes

Licence policy

Layer / File(s) Summary
Licence policy constraints
.machine_readable/6a2/AGENTIC.a2ml
The policy prohibits relicensing existing files and automated licence sweeps. It requires licence-policy consultation and documents MPL-2.0 and CC-BY-SA-4.0 defaults with specified exceptions.

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

Poem

A rabbit checks the licence line
No sweeping paws through files so fine
Policy first, then defaults shine
Exceptions hop into the sign
The repository stays in line


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

While Codacy analysis indicates the changes are up to standards, there is a major gap in the implementation: the repinning of the 'a2ml-validate-action' mentioned in the PR title is entirely absent from the file changes. This missing acceptance criterion prevents the PR from fulfilling its stated purpose. Additionally, the agentic rules file contains inconsistent paths when referencing the licensing policy document.

About this PR

  • The PR title and description indicate a repin of the 'a2ml-validate-action', but the current diff does not contain any updates to GitHub Actions or pin references. Please include the missing changes or update the PR scope.
1 comment outside of the diff
[REDACTED:HIGH_ENTROPY]

line 25 ⚪ LOW RISK
Nitpick: The reference to the policy document is inconsistent. Use the full path 'standards/LICENCE-POLICY.adoc' to match the reference in the following line.

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

Test suggestions

  • Verify the agentic rules file correctly references the licensing policy and individual rule scopes (MPL, CC, AGPL, PMPL).
  • Verify the a2ml-validate-action SHA is updated to the correct HEAD reference.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify the a2ml-validate-action SHA is updated to the correct HEAD reference.

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: 62 issues detected

Severity Count
🔴 Critical 6
🟠 High 31
🟡 Medium 25

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "No test directory or test files found",
    "type": "no_tests",
    "file": "/home/runner/work/docmatrix/docmatrix",
    "action": "flag",
    "rule_module": "honest_completion",
    "severity": "high",
    "deduction": 20
  },
  {
    "reason": "Issue in label-triage.yml",
    "type": "missing_timeout_minutes",
    "file": "label-triage.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in labels.yml",
    "type": "missing_timeout_minutes",
    "file": "labels.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "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": "Issue in instant-sync.yml",
    "type": "secret_action_without_presence_gate",
    "file": "instant-sync.yml",
    "action": "peter-evans/repository-dispatch",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "unwrap() without prior check -- DoS via panic (2 occurrences, CWE-754)",
    "type": "unwrap_without_check",
    "file": "/home/runner/work/docmatrix/docmatrix/crates/formatrix-core/src/formats/djot.rs",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "from_raw constructs types from raw pointers without safety checks (2 occurrences, CWE-676)",
    "type": "from_raw",
    "file": "/home/runner/work/docmatrix/docmatrix/crates/formatrix-core/src/ffi.rs",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "as_ptr exposes raw pointer that may dangle or alias unsafely (8 occurrences, CWE-676)",
    "type": "as_ptr",
    "file": "/home/runner/work/docmatrix/docmatrix/crates/formatrix-core/src/ffi.rs",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "medium"
  },
  {
    "reason": "Code scanning (Hypatia): hypatia/workflow_audit/missing_timeout_minutes -- Hypatia workflow_audit: missing_timeout_minutes -- 0 day(s) old",
    "type": "CSA001",
    "file": "labels.yml",
    "action": "review",
    "rule_module": "code_scanning_alerts",
    "severity": "medium"
  },
  {
    "reason": "Code scanning (Hypatia): hypatia/workflow_audit/missing_timeout_minutes -- Hypatia workflow_audit: missing_timeout_minutes -- 0 day(s) old",
    "type": "CSA001",
    "file": "label-triage.yml",
    "action": "review",
    "rule_module": "code_scanning_alerts",
    "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