Update adr-supersession skill to document that adr-amendments requires dated markers in all inserted ranges
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 62/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- markdown, python
- Área
- documentation
Línea de trabajo
Empieza por la sección ## Sibling ADR Amendments de .agents/skills/adr-supersession/SKILL.md (alrededor de las líneas 90–98) y compárala con la comprobación de marcadores de inserción en scripts/check_adr_amendments.py (líneas 544–570). Reescribe el texto de la skill para que indique que cada rango insertado fuera de bloques ocultos necesita un marcador de enmienda con fecha, y para que separe eso de las reglas de transición de supersesión. Terminado cuando el texto coincida con el script y python scripts/lint.py --all-files pase.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened
During PR #583, commit da97d3a relaxed AGENTS.md Rule 7 to make dated amendments permissive ("A record may append..."), and scripts/check_adr_amendments.py allowed arbitrary undated insertions in accepted ADRs. In review 6042739961, reviewer @jerry-ng2 issued blocking finding B3:
"An accepted ADR can receive undated body text anywhere and still pass the gate... Restore the mandatory dated-amendment clause and reject insertions that are not part of the appended dated block."
In commit 986cfaf, author @JohnStrunk resolved B3 by updating scripts/check_adr_amendments.py:544-570 so that every inserted range outside hidden blocks must contain a dated amendment marker. However, .agents/skills/adr-supersession/SKILL.md:95 was not updated and retains stale guidance stating that the hook "enforces only insertions for these amendments; the marker format above is required for the authorized supersession transition". In final review 6043696279, @jerry-ng2 noted finding I1 pointing out this contradiction. PR #583 merged without updating the skill.
What could go better
Agent skills under .agents/skills/ guide autonomous agents when performing repository operations. Because .agents/skills/adr-supersession/SKILL.md states that the hook "enforces only insertions" for ordinary amendments and implies dated markers are only required for supersession transitions, an agent following the skill will insert unmarked paragraphs when updating an ADR. The adr-amendments hook will then fail closed with:
Inserted lines must contain a dated amendment marker outside hidden blocks.
Aligning the skill with pre-commit gate invariants prevents agent thrashing and avoidable CI failures.
Confidence: High. The contradiction between .agents/skills/adr-supersession/SKILL.md:95 and scripts/check_adr_amendments.py:544-570 is direct and verifiable.
Proposed change
In .agents/skills/adr-supersession/SKILL.md:
- Update lines 90–98 in section
## Sibling ADR Amendmentsto explicitly state thatscripts/check_adr_amendments.pyrequires every inserted range outside hidden regions to contain a dated amendment marker (e.g.**[Amended Month Year]**or**[Amended Month Year, #NNN]**). - Clarify the distinction between ordinary amendments and supersession transitions:
- Ordinary amendments: insertions anywhere in the document are accepted as long as every inserted range contains a dated amendment marker (which may share a line with prose and sit before trailing sections).
- Supersession transitions: strictly require exactly one in-place status line edit to
> Status: **Superseded by ADR-NNNN** — Month Yearpaired with a standalone tail amendment block starting at or after the last baseline line.
Validation criteria
.agents/skills/adr-supersession/SKILL.mdaccurately describes the insertion-marker rule enforced byscripts/check_adr_amendments.py:544-570.- An agent amending an accepted ADR following the revised skill instructions places dated amendment markers in all inserted ranges, and
python scripts/check_adr_amendments.pypasses on the first attempt without insertion errors. python scripts/lint.py --all-filespasses.
Related issues checked
Searched: adr-supersession marker repo:redhat-et/ProtoBot is:issue; adr-supersession ordinary amendments repo:redhat-et/ProtoBot is:issue; dated amendment marker inserted ranges repo:fullsend-ai/fullsend repo:fullsend-ai/agents repo:redhat-et/ProtoBot is:issue; check_adr_amendments skill parity repo:fullsend-ai/fullsend repo:fullsend-ai/agents repo:redhat-et/ProtoBot is:issue
Considered: #442
#442: Closed by PR #583; implemented the supersession lifecycle but left post-merge text drift between SKILL.md and check_adr_amendments.py.
Generated by retro agent from https://github.com/redhat-et/ProtoBot/pull/583
- Lenguaje dominante
- Go
- Estrellas
- 7
- Forks
- 9
- Merge medio
- 22 h 37 min
- PR fusionados (30 d)
- 118
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de redhat-et/ProtoBot
-
bug component:validator triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
redhat-et/ProtoBot#596 · 5 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
documentation triaged
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
redhat-et/ProtoBot#589 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
feature infra needs-human risk/low triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
redhat-et/ProtoBot#579 · 6 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
blocked documentation infra risk/low triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
redhat-et/ProtoBot#552 · 6 comentarios · 2 reacciones ·
Los mantenedores suelen responder en 1 día
-
bug infra triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
redhat-et/ProtoBot#543 · 4 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de redhat-et/ProtoBot
Issues similares
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
sresarehumantoo/cc-artex#456 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ollama/ollama#20021 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
factory:subtask
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
release
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
github/gh-aw-mcpg#17603 ·
Los mantenedores suelen responder en 1 día
-
avr: SPI Mode2 runs as mode 1Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
tinygo-org/tinygo#6727 ·
Los mantenedores suelen responder en 1 día