Skip to content

feat(adr): adopt the shared ADR checks - #226

Merged
furedea merged 3 commits into
mainfrom
feat/adopt-adr-lint
Nov 17, 2026
Merged

furedea merged 3 commits into
mainfrom
feat/adopt-adr-lint

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

概要

docs/adr/ の ADR を共有チェック(adr-check,markdownlint,lychee)に通し,CI で adr-lint と ast-grep を実行します.

変更

  • 16 件すべての ADR に YAML フロントマターを追加しました.値は各 ADR の Status / Date / Supersedes / Superseded by の行から取りました.メタデータの箇条書き行は削除し,決定の本文は変えていません(agent-config docs(adr): adopt MADR with structured front matter #215 と同じ扱いです).
  • ファイル名を NNNN-words.md から NNNN_words.md に git mv で改名し,ADR 間リンクを直しました.
  • docs/adr/.markdownlint.yml を追加しました(default: true,MD013: false,MD024: false).MD043 は有効にしていません.
  • ci.yml に adr-lint(madr-from: 17)と ast-grep を v1.6.0 で追加し,all-green の needs に入れました.

保守的な値

  • ADR-0007 は本文が「Superseded」とだけ書いていて,置き換え先がありません.スキーマは superseded-by を必須とするため,ADR-0008 が Supersedes: ADR-0007 と書いていることから superseded-by: [ADR-0008] としました.
  • それ以外に曖昧な値はありません.amended と related は本文に記述がないため付けていません.

検証

  • adr-check docs/adr: 成功.
  • markdownlint-cli2: 0 error.追加で無効にしたルールはありません.
  • lychee --offline docs/adr: 0 error.ただし検出されたリンクは 1 件のみで,ADR 間の相対リンクが検査されたかは確認できていません.壊れたリンクは見つかっていません.

Refs #169

🤖 Generated with Claude Code

furedea and others added 3 commits November 17, 2026 20:10
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@furedea

furedea commented Nov 17, 2026

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T11:57:42.535448Z 62921fb Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown

Review summary

No P0–P3 findings.

What I checked:

  • ci.yml: the new adr-lint and ast-grep jobs are pinned to a full SHA (v1.6.0) with least-privilege permissions. Both are added to all-green's needs. The removed adr-check job has no remaining references in the workflow.
  • .lycheeignore: the single regex agent_verification\.md$ only matches the known-dangling link in ADR-0002.
  • docs/adr/.markdownlint.yml: minimal, and consistent with the PR description.

Note (not a finding, couldn't verify): I couldn't read the source of the reusable adr-lint.yml from here. The old job built .#adr-check from the PR checkout. ADR-0026 says the shared path runs nix run github:furedea/agent-config/<sha>#adr-check. If that <sha> is pinned inside reusable-workflows, then a PR that changes both tools/adr-check and docs/adr will have its ADRs checked by the pinned checker, not the PR's version. pytest and the flake check still cover the tool itself. It's worth confirming that adr-lint uses the caller's ref for this repository.

🤖 Generated with Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: 62921fbdab

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@furedea
furedea merged commit 5c94a78 into main Nov 17, 2026
29 checks passed
@furedea
furedea deleted the feat/adopt-adr-lint branch November 17, 2026 12:56
furedea pushed a commit that referenced this pull request Nov 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.2.0](v0.1.4...v0.2.0)
(2026-11-18)


### Features

* add adr-check command for MADR ADRs
([#225](#225))
([138c542](138c542))
* **adr:** adopt the shared ADR checks
([#226](#226))
([5c94a78](5c94a78))
* **hooks:** block edits on static rule errors and guard ast-grep-ignore
([#203](#203))
([f5b3317](f5b3317))
* **hooks:** judge gh calls by effect through a policy table
([#201](#201))
([db7226d](db7226d))
* **hooks:** keep ask prefixes only for widening authority and promotion
([#199](#199))
([c3985f6](c3985f6))
* **hooks:** migrate TypeScript style rules to ast-grep and jev-lint
checks ([#195](#195))
([24d1a3e](24d1a3e))
* **lint:** flag Go packages under util and common with an error rule
([#202](#202))
([de25e1d](de25e1d))
* **lint:** judge ADR rationale with Jev
([#228](#228))
([cf1c0a3](cf1c0a3))
* **lint:** migrate agents/AGENTS.md rules to model rules and linters
([#191](#191))
([9e3e37d](9e3e37d))
* **lint:** migrate bash-style and github-actions-style rules to checks
([#194](#194))
([4e473ba](4e473ba))
* **lint:** migrate go-style rules to ast-grep and jev-lint rules
([#190](#190))
([296ad84](296ad84))
* **lint:** migrate rust-style prose rules to checks
([#193](#193))
([e184682](e184682))


### Bug Fixes

* **ci:** run the jev-lint model-rule tests in CI
([#218](#218))
([1919b06](1919b06))
* **deps:** pin dependencies
([#221](#221))
([5d083e4](5d083e4))
* **hooks:** deny git options that skip repository hooks
([#212](#212))
([e10e5b6](e10e5b6))
* **hooks:** judge a cell turned into code from scratch and ignore
attribute reasons
([#224](#224))
([96fb561](96fb561))
* **lint:** close blocking ast-grep rule gaps recorded in
[#196](#196)
([#216](#216))
([fa31947](fa31947))
* **skills:** drop the agent-run verify step that protected records
block ([#213](#213))
([700244d](700244d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: furedea-release[bot] <353651101+furedea-release[bot]@users.noreply.github.com>
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