Skip to content

Releases: dadion123/agent-context-doctor

v0.2.0 - SARIF and Code Scanning Evidence

Choose a tag to compare

@dadion123 dadion123 released this 27 Jun 13:38

v0.2.0 - SARIF and Code Scanning Evidence

English

v0.2.0 makes Agent Context Doctor easier to use as a CI and code scanning tool.

Highlights:

  • Added SARIF 2.1.0 output with --sarif.
  • Added --output <file> for scan and ci.
  • Added composite Action inputs:
    • sarif
    • sarif-output
  • Kept workflow logs human-readable when SARIF or JSON is written to a file.
  • Kept GitHub annotations enabled when acd ci writes SARIF to a file.
  • Added SARIF documentation and CodeQL upload-sarif example.
  • Updated README / README.ja examples for v0.2.0.

Verification:

  • pnpm test
  • pnpm build
  • pnpm start -- scan . --json
  • pnpm start -- scan examples/drifted-context-repo --sarif
  • pnpm start -- ci examples/drifted-context-repo --sarif --output agent-context-doctor.sarif --min-score 70
  • npm pack --dry-run
  • npm latest: 0.2.0
  • Public repo CI run: 28290493593
  • Public drift fixture run: 28290907857
  • Public drift fixture score: 52/100
  • Public drift fixture SARIF upload: succeeded
  • Public drift fixture Code Scanning alerts: 8 open alerts

Japanese

v0.2.0 は、Agent Context Doctor を GitHub Actions と Code Scanning で使いやすくするためのリリースです。

主な変更:

  • --sarif で SARIF 2.1.0 を出力できるようにしました。
  • scan / ci--output <file> を追加しました。
  • composite Action に sarif / sarif-output 入力を追加しました。
  • SARIF や JSON をファイルに書き出す場合でも、CI ログには通常のテキストレポートを残します。
  • acd ci で SARIF を書き出す場合でも GitHub annotations を維持します。
  • SARIF ドキュメントと github/codeql-action/upload-sarif の例を追加しました。
  • README / README.ja の利用例を v0.2.0 に更新しました。

このリリースにより、AI エージェント向け文脈のズレや肥大化を、通常の CI ログだけでなく Code Scanning 側にも残せるようになります。

v0.1.1 - CI Diagnostics and Japanese Maintainer UX

Choose a tag to compare

@dadion123 dadion123 released this 27 Jun 12:56

v0.1.1 - CI Diagnostics and Japanese Maintainer UX

English

v0.1.1 packages the first post-MVP public launch improvements.

Highlights:

  • Added GitHub Actions annotations for acd ci warnings and failures.
  • Kept --json clean for machine-readable automation.
  • Expanded low-risk safe fixes:
    • add .env to .gitignore
    • add a README .env.example setup note
  • Added Japanese README note generation for Japanese repositories.
  • Improved README / README.ja with badges, install examples, and Japanese-first positioning.
  • Added examples/japanese-first-repo.
  • Added Action fixture validation evidence.
  • Added Codex for Open Source application evidence.
  • Added draft Zenn and Qiita launch articles.

Verification:

  • pnpm test: 7 tests passed
  • pnpm build: passed
  • self scan: Score: 100/100
  • Japanese fixture scan: Score: 100/100
  • annotation output: verified locally with GITHUB_ACTIONS=true
  • npm pack --dry-run: passed
  • GitHub Actions CI: passed on main

日本語

v0.1.1 は、初回MVP公開後の公開面・CI診断・日本語メンテナー体験をまとめたリリースです。

主な変更:

  • acd ci がGitHub Actions上でwarning / failureをannotationとして出力するようになりました。
  • --json は機械処理向けにクリーンなまま維持します。
  • 低リスクsafe fixを拡張しました。
    • .gitignore への .env 追加
    • READMEへの .env.example セットアップ説明追加
  • 日本語repoでは、README追記文も日本語になります。
  • README / README.ja にbadge、install例、日本語ファーストの説明を追加しました。
  • examples/japanese-first-repo を追加しました。
  • GitHub Action fixture検証結果を保存しました。
  • Codex for Open Source応募材料を追加しました。
  • Zenn / Qiita向けlaunch記事の下書きを追加しました。

検証:

  • pnpm test: 7 tests passed
  • pnpm build: passed
  • self scan: Score: 100/100
  • Japanese fixture scan: Score: 100/100
  • annotation output: GITHUB_ACTIONS=true でローカル確認済み
  • npm pack --dry-run: passed
  • GitHub Actions CI: mainで成功

v0.1.0 - Initial MVP

Choose a tag to compare

@dadion123 dadion123 released this 27 Jun 12:08

Agent Context Doctor v0.1.0

Initial public release of Agent Context Doctor: a doctor-first CLI for keeping AI coding agent context files clean, minimal, consistent, and safe.

Highlights

  • Scans AGENTS.md, CLAUDE.md, .cursor/rules/*.mdc, .github/copilot-instructions.md, README/docs, .env.example, .gitignore, package.json, and GitHub workflows.
  • Provides deterministic checks for context drift, command mismatch, context bloat, secret boundary issues, maintainer workflow evidence, and Japanese-language guidance.
  • Adds text, Japanese text, and JSON report output.
  • Supports scan, score, fix --dry-run, fix --apply, sync --dry-run, and ci commands.
  • Includes a first safe autofix: append .env to an existing .gitignore when needed, without reading or printing .env contents.
  • Ships npm package agent-context-doctor with agent-context-doctor and acd bin aliases.
  • Includes a composite GitHub Action entrypoint and CI usage docs.

Install

npx agent-context-doctor@latest scan .
npx agent-context-doctor@latest scan . --locale ja
npx agent-context-doctor@latest ci . --min-score 80

Verification

  • npm package: agent-context-doctor@0.1.0
  • Git tag: v0.1.0
  • GitHub Actions CI: passing
  • Self-scan score: 100/100

Notes

This is an early MVP. The project intentionally starts with deterministic checks and safe dry-run-first behavior rather than broad LLM-assisted rewriting.