Update adr-supersession skill to document that adr-amendments requires dated markers in all inserted ranges
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 62/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- markdown, python
調査の方向性
## Sibling ADR Amendments セクション(.agents/skills/adr-supersession/SKILL.md の 90–98 行目あたり)から始め、scripts/check_adr_amendments.py(544–570 行目)の挿入マーカーのチェックと比較してください。スキルのテキストを書き換えて、隠しブロックの外側にある挿入範囲にはすべて日付付きの修正マーカーが必要であることを述べ、それを supersession の遷移ルールから分離してください。テキストがスクリプトと一致し、python scripts/lint.py --all-files が通れば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Go
- スター
- 7
- フォーク
- 9
- 平均マージ
- 22時間 37分
- マージ済み PR(30日)
- 118
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
redhat-et/ProtoBot のほかの issue
-
bug component:validator triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
redhat-et/ProtoBot#596 · コメント 5 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation triaged
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
redhat-et/ProtoBot#589 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
feature infra needs-human risk/low triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
redhat-et/ProtoBot#579 · コメント 6 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
blocked documentation infra risk/low triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
redhat-et/ProtoBot#552 · コメント 6 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug infra triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
redhat-et/ProtoBot#543 · コメント 4 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
redhat-et/ProtoBot の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sresarehumantoo/cc-artex#456 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ollama/ollama#20021 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
factory:subtask
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
release
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
github/gh-aw-mcpg#17603 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
tinygo-org/tinygo#6727 ·
メンテナーはふだん 1 日以内に返信