From 87b0a7b517f79c4834e8279862d1b6467cda6502 Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Wed, 26 Aug 2026 22:51:45 +0100 Subject: [PATCH] fix(skeleton): AGENTIC template names a retired licence and bans a required one robot-repo-automaton/templates/skeleton/.machine_readable/6a2/AGENTIC.a2ml instructed every agent that reads it: # - Never use AGPL license (use PMPL-1.0-or-later) Two defects in one line. 1. PMPL-1.0-or-later is RETIRED. LICENCE-POLICY.adoc Rule 2 keeps PMPL as an explicit five-repo register; it is not a default and must not be applied outside it. This template never received the 2026-05-22 PMPL to MPL-2.0 sweep, so it is the last source still pointing new work at a licence that no longer applies. 253 files estate-wide carry this wording. 2. "Never use AGPL" now contradicts THREE live rules - Rule 3 (co-developed), Rule 4 (network-deployed services) and Rule 5 (games). An agent obeying it inside a games repo would relicense a deliberately AGPL work to MPL-2.0. The replacement hardcodes nothing beyond the Rule 1 default and names the A2 prohibition on automated licence edits, so it cannot go stale again. This emitter is currently DORMANT - grep finds zero references to `skeleton` in any workflow here or in rsr-template-repo, despite skeleton.rs's own doc comment claiming rsr-template-repo's drift-CI runs `robot-repo-automaton skeleton check .`. That CI does not exist. Fixing it anyway: a dormant emitter that is wrong is worse than one merely unused, because whoever wires it up will not re-read it. Sibling fix for the live propagator: rsr-template-repo#45. standards/agentic-a2ml/examples/comprehensive.a2ml was checked and is ALREADY correct - no change needed there. Co-Authored-By: Claude Opus 5 --- .../templates/skeleton/.machine_readable/6a2/AGENTIC.a2ml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/robot-repo-automaton/templates/skeleton/.machine_readable/6a2/AGENTIC.a2ml b/robot-repo-automaton/templates/skeleton/.machine_readable/6a2/AGENTIC.a2ml index e3b1e4b2..e67e349c 100644 --- a/robot-repo-automaton/templates/skeleton/.machine_readable/6a2/AGENTIC.a2ml +++ b/robot-repo-automaton/templates/skeleton/.machine_readable/6a2/AGENTIC.a2ml @@ -21,7 +21,12 @@ can-create-files = true # - Never commit secrets or credentials # - Never use banned languages (TypeScript, Python, Go, etc.) # - Never place state files in repository root (must be in .machine_readable/) -# - Never use AGPL license (use PMPL-1.0-or-later) +# - Never change an existing file's licence, and never run an automated +# licence sweep (LICENCE-POLICY.adoc A2). New files get correct SPDX at birth. +# - New code defaults to MPL-2.0 (code) / CC-BY-SA-4.0 (prose) per Rule 1, +# but AGPL-3.0-or-later is CORRECT under Rule 3 (co-developed), Rule 4 +# (network-deployed services) and Rule 5 (games). Rule 2 names the PMPL +# register explicitly - do not apply PMPL to anything outside it. [maintenance-integrity] fail-closed = true