Repository navigation
docs(adr): propose adopting jev-lint behind the judgement backend abstraction - #82
furedea-agent[bot] wants to merge 19 commits into
Conversation
…traction Compare jev-lint 0.7.0 and jevlint v0.4.0 on seven prose rules from agent-config with the same model. Both reach precision 1.00 and recall 0.90, so the choice rests on ast-grep extraction, reported cost, and a pinned Nix run. Keep the spike inputs, measurement scripts, and results under docs/spikes/jev. Refs #75 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
| @@ -0,0 +1,29 @@ | |||
| == start model=jev-latest jev-lint=0.7.0 plan=False | |||
| $ nix shell nixpkgs#nodejs_24 nixpkgs#ast-grep -c npx -y [email protected] check /Users/kaito/.herdr/worktrees/agent-config/spike-compare-jev-backends/docs/spikes/jev/examples/single_purpose_function.py -R /var/folders/7f/_72n2dd17b7b8qmq8rfc79880000gn/T/jev-spike.zPdfUQ/jev-lint/single-purpose-function.yml --no-config --cache none --json | |||
There was a problem hiding this comment.
P3 — This committed log records absolute paths from the author's machine: a local username and home path (/Users/kaito/.herdr/worktrees/...) and a macOS temp directory (/var/folders/7f/...). They aren't secrets, but they expose personal workstation details in a public repo and can't be reused by anyone else. Consider having run_command log paths relative to the repo root or $work, or strip the prefixes before committing.
| target-version = "py315" | ||
| src = ["agents", "tests"] | ||
| line-length = 119 | ||
| extend-exclude = ["docs/spikes/jev"] |
There was a problem hiding this comment.
P3 — The PR says the exclusion is there because the examples are deliberately unannotated, but docs/spikes/jev also excludes measure_runner.py and analyze_results.py from ruff check and ruff format. Those scripts produced the numbers behind ADR-0020. Narrowing the exclusion to docs/spikes/jev/examples would keep the measurement code linted.
Review summaryBlocking findings: none (0 × P0, 0 × P1). This PR adds a proposed ADR and the spike's records. It does not change any hook, CI or skill code. What I checked:
Minor (P3, inline):
No missing tests: the spike scripts are one-off measurement tools outside the tested packages. |
Count the five value-object methods as conforming, which exposes two jevlint false positives (precision 0.90), and report process wall time for both tools. Refs #75 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
| `jev-lint` had precision 1.00 and `jevlint` 0.90, exactly at the draft limit after two false positives | ||
| on value-object methods. Accuracy therefore favours `jev-lint` only slightly: the sample is small, | ||
| author-labelled, and run once, and the tools missed different functions. The criterion "installable | ||
| with Nix" was read as "runs pinned and reproducibly through Nix", because neither tool is in nixpkgs; |
There was a problem hiding this comment.
P3 — The ADR says the backend "runs pinned and reproducibly through Nix", but only the top-level [email protected] is pinned. nixpkgs#nodejs_24 / nixpkgs#ast-grep come from the flake registry, so they follow whatever nixpkgs revision it resolves to. npx -y also resolves jev-lint's transitive npm dependencies without a lockfile. So the ast-grep version and the npm dependency tree can drift between runs or machines. If reproducibility is part of the decision rationale, consider pinning a nixpkgs revision (e.g. github:NixOS/nixpkgs/<rev>#ast-grep, or a flake input) and a lockfile in the #74 integration, or soften the wording here.
Review summaryNo blocking findings (P0: 0, P1: 0, P2: 0, P3: 1). This PR is a docs/spike addition only. It does not change any hooks, CI, skills or runtime code. The only config change is the ruff What I checked:
Inline:
🤖 Generated with Claude Code |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
| def flagged_lines(tool: str, rule: str) -> set[int]: | ||
| data = json.loads((RAW / f"{tool}_{rule.replace('-', '_')}.json").read_text()) | ||
| key = "line" if tool == "jev_lint" else "startLine" | ||
| return {row[key] for row in data["findings"]} |
There was a problem hiding this comment.
P1 — flagged_lines counts every jev-lint finding as a positive, whatever its level. Only 4 of jev-lint's 19 "true positives" have "messageId": "violation" / "level": "violation". The other 15 are "messageId": "unsure" / "level": "arguable", and several have very low confidence: 0.05 (revalidates_parsed_input), 0.07 (primitive_for_invariant line 49) and 0.15. jevlint's findings are all "status": "fail", so the two tools are not being scored on the same thing.
If only violation-level findings count, jev-lint's recall falls from 0.90 to about 4/21 ≈ 0.19. That is far below the 0.8 criterion. ADR-0020 and issue_comment.md give "recall 0.90 / precision 1.00" as the main accuracy evidence and don't say that most hits were "arguable". The issue comment even says "confidence は補助値で,判定には使っていません", but the level split matters here.
Please do one of these:
- Score jev-lint on
level == "violation"(or report both levels). - State explicitly in the ADR that the backend will treat "arguable" findings as failures, and add the per-level breakdown.
The adoption conclusion may change either way.
| "-R", str(rule_file), "--no-config", "--cache", "none", "--json", | ||
| ] # fmt: skip | ||
| if plan: | ||
| command += ["--dry-run"] |
There was a problem hiding this comment.
P2 — --plan is documented as a dry-run that makes no model calls, but it still writes jev-lint --dry-run stdout to results/raw/jev_lint_<rule>.json. Those are the same files that hold the committed real measurements. One --plan run overwrites the evidence behind ADR-0020. After that, analyze_results.py fails (no findings / spent / elapsedMs keys) or scores the wrong data.
Fix: skip the raw write when plan is set, or write plan output to a separate directory.
Review summaryThis PR adds a spike and a draft ADR. It changes no hooks, CI or skills. I found 2 problems, 1 of them blocking.
Not covered: I couldn't run 🤖 Generated with Claude Code |
…s verbatim (#81) ## 概要 レーンのレビュー規則を改め,指摘はすべて直すようにします. - P0/P1 だけでなく P2/P3 も直す.同じ根拠で繰り返される指摘と好みの問題だけ,理由を PR 本文に記録して見送る.P0/P1 が繰り返されるなら `LANE-BLOCKED` - 指摘を直したら確認レビューを回す.`LANE-READY` は未対応の指摘がないときだけ - Codex のコマンドは親が brief に完成形で書き,レーンはそのまま実行する(引用符の入れ子,`$`,パイプ,リダイレクトなし) - Codex が動かないときは Opus のサブエージェントでレビューし,どちらが見たかを報告する - PR では `claude-review` が `all-green` に含まれる.レーンは `all-green` を待ち,行コメントも指摘として扱う - `.github/workflows/` は App が push できないため,コミットして `LANE-BLOCKED` で示し,ユーザーが push する - 親は `LANE-READY` で,どのレビュアーが見たかと確認レビューを回したかも確かめてから報告する 規則の本文は `herdr-delegation/SKILL.md` に置き,`git-workflow/references/branches.md` からはリンクします. ## 確認 - `uv run pytest -q tests/test_workflow_skill_layout.py`: 72 passed - レビュー: Codex(gpt-6.1-sol, xhigh)が 6 回実行され,いずれも指摘なし.Claude review の行コメント 5 件(P2 x4,P3 x1)と GitHub Codex の行コメント 2 件(P2)はすべて直した(レーンの再開手順,確認レビューの上限,Codex の修正コマンドの扱い,誤検知の記録,all-green や App の規則の適用範囲,確認レビューの条件).Codex の修正コマンドは親の判断で削除し,レーン自身が直す形にした.最後の push 後の Claude review に新しい行コメントはない ## 記録して見送った指摘 なし Closes #80 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: furedea <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]>
…asured results Counting only violation-level findings, jev-lint recall is 0.19 at the unfitted cutoff; state that cutoffs must be fitted before a finding gates anything. Write --plan output to results/plan_raw so it cannot overwrite measured raw files. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
Review summary: no blocking findings (0 × P0/P1, 0 × P2/P3) This PR adds docs plus a spike only: ADR-0020 (Proposed), What I checked:
Non-blocking note: this is a spike, so it has no tests, and since the scripts are kept as a record of the measurement rather than reused code, I don't think it needs any. I could not run the scripts or shellcheck in this environment, so the checks above were done by reading the code against the committed outputs. |
|
Review summary (read-only). No blocking findings, and no inline comments. This PR adds an ADR draft and a spike artefact. It does not change runtime code: no hooks, CI or skills are touched, and the only config change is a ruff What I checked against the committed data:
Things to keep in mind (not defects): the spike scripts have no tests, which is fine for a one-off measurement. The JSONL summary from 🤖 Generated with Claude Code |
全 PR を Codex がレビューする共有 workflow(furedea/reusable-workflows の `codex-review.yml`)を `ci.yml` から呼び,`all-green` の `needs` に加えます. CI がオーナーの token で `@codex review` を投稿し,HEAD の commit に未解決の指摘があるか,Codex が失敗するか,20 分以内に結果がないと `all-green` が赤になります.PR 以外のイベント,フォークからの PR,`furedea-agent` 以外の bot の PR では飛ばし,成功として扱います. - [ ] `codex-review / Decide whether to review` と `codex-review / Codex review` が成功する - [ ] `all-green` が green になる <details><summary>出典</summary> - 計画: furedea/reusable-workflows#7 - 呼び出し先: furedea/reusable-workflows@9bea83d(renovate が SHA を更新する) - シークレット `CODEX_REVIEW_TOKEN` は `repo review-token rotate codex` で登録済み </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
…traction Compare jev-lint 0.7.0 and jevlint v0.4.0 on seven prose rules from agent-config with the same model. Both reach precision 1.00 and recall 0.90, so the choice rests on ast-grep extraction, reported cost, and a pinned Nix run. Keep the spike inputs, measurement scripts, and results under docs/spikes/jev. Refs #75 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Count the five value-object methods as conforming, which exposes two jevlint false positives (precision 0.90), and report process wall time for both tools. Refs #75 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…asured results Counting only violation-level findings, jev-lint recall is 0.19 at the unfitted cutoff; state that cutoffs must be fitted before a finding gates anything. Write --plan output to results/plan_raw so it cannot overwrite measured raw files. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Review summaryNo P0–P3 findings. What I checked:
🤖 Generated with Claude Code |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bd1f757861
ℹ️ 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".
| failures += all(row["verdict"] == "error" for row in rows) | ||
| return 1 if failures == len(TOOLS) else 0 |
There was a problem hiding this comment.
Fail the run when any measurement is incomplete
If one rule invocation throws or returns unparsable output, only that case's rows receive verdict == "error", so this all(...) remains false and the runner exits successfully; even a complete failure of one backend is hidden when the other backend succeeds. Consequently, measure.sh prints done and can publish an incomplete comparison as a valid measurement. Treat any error row, or at least any failed backend, as a nonzero run.
Useful? React with 👍 / 👎.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
| secrets: | ||
| claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} | ||
|
|
||
| codex-review: |
There was a problem hiding this comment.
P2 — This PR is described as a docs/spike-only change ("hook,CI,skill は変更していません"), but the diff also adds a new codex-review reusable-workflow job, makes it a required needs of all-green, and rewrites herdr-delegation/SKILL.md and git-workflow/references/branches.md (new lane review/fix policy). These look like they belong to another branch. Merging this would quietly add a required CI gate that depends on the CODEX_REVIEW_TOKEN secret, with permissions: {}, and nobody would have reviewed it as such. If that secret is missing, or the called workflow needs any GITHUB_TOKEN scope, all-green fails on every PR. Please split these changes into their own PR, or say in the description that they are included.
Review summaryBlocking findings (P0/P1): 0
Also checked, with no findings: No tests were added. That is acceptable for spike-only tooling outside 🤖 Generated with Claude Code |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 021e373db5
ℹ️ 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".
| errors = data.get("errors") or [] | ||
| return Outcome( | ||
| match_findings(case, found), | ||
| (data.get("elapsedMs") or spent.get("wallMs") or wall * 1000) / 1000, |
There was a problem hiding this comment.
Compare both tools using process wall time
During a normal measurement, this replaces the process wall time returned by run_command() with jev-lint's self-reported elapsedMs, while jevlint_outcome() records process wall time. Consequently, summarize() and the JSONL compare different timing scopes—the checked-in run, for example, reports roughly 0.054 s per judgement for jev-lint here although run.log shows 0.125 s including its required nix shell/npx startup—so the benchmark can reverse which backend appears faster. Record wall for the common metric and keep self-reported elapsed time in a separate field.
Useful? React with 👍 / 👎.
| failures = 0 | ||
| for tool in TOOLS: | ||
| rows = run_tool(tool, args, log) | ||
| print(summarize(tool, rows)) |
There was a problem hiding this comment.
Skip accuracy scoring in plan mode
When --plan is selected, both outcome functions intentionally return empty findings, but this unconditional call still scores those empty results as real judgements. A successful dry run therefore prints every labelled violation as a false negative (recall=0.00, and the skipped jevlint backend also reports precision=nan) even though no model judgements occurred. Emit a plan-specific validation/cost summary instead of presenting fabricated accuracy metrics.
Useful? React with 👍 / 👎.
…p stale per-judgement rows Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
| for unit in case.units: | ||
| for line, confidence in found: | ||
| if unit.first_line <= line <= unit.last_line: | ||
| verdicts[unit.name] = confidence |
There was a problem hiding this comment.
P2: match_findings keys verdicts by unit.name, and rows_for (line 178) looks them up by name. Function names are not unique in the examples: primitive_for_invariant.py has two __post_init__ (lines 8 and 20), and so does revalidates_parsed_input.py (lines 8 and 17). In the committed run, jevlint flagged only the __post_init__ at line 8 of primitive_for_invariant.py. rows_for still marks both __post_init__ rows as violation, so the summary that measure.sh prints and results/jevlint.jsonl show FP=3 and precision 0.86. analyze_results.py and the ADR give FP=2 and precision 0.90. The commit "key units by line" fixed analyze_results.py but not this file. A fix is to key by unit.first_line here and in rows_for, so the two scripts agree.
| if plan: | ||
| command += ["--dry-run"] | ||
| done, wall = run_command(command, None, log) | ||
| (raw_dir / f"jev_lint_{case.rule_id.replace('-', '_')}.json").write_text(done.stdout) |
There was a problem hiding this comment.
P3: The committed results/raw/*.json and results/run.log show <repo> and <work> placeholders, but this script does not write them. It writes the tool's stdout as-is, and Log redacts only the API key, so jev-lint's absolute file paths and the full $ ... command lines go to disk unchanged. The placeholders must have been edited in by hand. If someone reruns measure.sh and commits the results, local paths (home directory and username) will be committed. Consider replacing SPIKE_DIR.parent.parent.parent and work with placeholders in Log.write and before writing the raw files.
Review summaryNo blocking findings (P0: 0, P1: 0). I checked the ADR's figures by hand against the committed
I could not run Findings, posted inline:
The changes to 🤖 Generated with Claude Code |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ef7396ce85
ℹ️ 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".
| for unit in case.units: | ||
| for line, confidence in found: | ||
| if unit.first_line <= line <= unit.last_line: | ||
| verdicts[unit.name] = confidence |
There was a problem hiding this comment.
Distinguish same-named functions by source position
When a file contains multiple functions with the same name, this collapses their identities into one dictionary entry. The current primitive_for_invariant.py contains two __post_init__ methods, so jevlint's finding for the method at line 8 causes rows_for() to mark both methods as violations; the generated summary consequently counts three false positives instead of the two reported by the line-based analyzer and understates precision as 0.86 rather than 0.90. Key matched units by their source position rather than only unit.name.
Useful? React with 👍 / 👎.
…results Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
| target-version = "py315" | ||
| src = ["agents", "tests"] | ||
| line-length = 119 | ||
| extend-exclude = ["docs/spikes/jev"] |
There was a problem hiding this comment.
[P3] This exclusion covers the whole docs/spikes/jev directory, not just examples/. So measure_runner.py and analyze_results.py, the scripts that produce the ADR's numbers, are no longer linted at all. The stated reason (the examples are deliberately unannotated) only applies to examples/. Consider narrowing it:
| extend-exclude = ["docs/spikes/jev"] | |
| extend-exclude = ["docs/spikes/jev/examples"] |
Review summaryBlocking findings (P0/P1): none.
P3 (inline): the ruff Note: the diff GitHub shows for this PR also changes 🤖 Generated with Claude Code |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 933d56a7a0
ℹ️ 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".
| if plan: | ||
| return Outcome({}, wall, data.get("tokens"), data.get("usd"), None) |
There was a problem hiding this comment.
Fail plan mode on jev-lint validation errors
When --dry-run returns valid JSON with a nonempty errors array, this early return sets Outcome.error to None before the errors are inspected below. As a result, --plan reports the rules as planned and exits successfully even though its documented purpose is to validate them; propagate data["errors"] into the outcome in plan mode as well.
Useful? React with 👍 / 👎.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
Review summaryNo findings. I found no P0–P3 issues. What I checked:
🤖 Generated with Claude Code |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
| latest npm release (0.7.0) lags the repository (0.7.1), and that a model call sends the judged source to | ||
| TypeSafe. | ||
|
|
||
| Evidence: the measurement and the maintenance comparison are in |
There was a problem hiding this comment.
P3: The ADR's only evidence is an issue comment, and commit 648a096 dropped docs/spikes/jev/ (rules, examples, labels, measurement script, results/) from the branch. That means the precision, recall and score numbers can't be reproduced from the repo. The PR body still lists docs/spikes/jev/ and the pyproject.toml ruff exclusion under 「含まれるもの」, but neither is in the diff against main. Please either restore the spike artefacts, or update the PR body and say in the ADR where the scripts and raw results now live (a commit SHA or branch). That way the revisit conditions can be checked against the same corpus.
Review summaryCompared with current Findings:
No P0 or P1 findings. 🤖 Generated with Claude Code |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
…abstraction (#88) ## 概要 #75 の調査の結論として,規則を判定するバックエンドに `mizchi/jev-lint` を**仮採用**する ADR-0020(Proposed)を追加します.使ってみて不満が出たら自作に切り替えます.変更は ADR の 1 ファイルだけで,hook,CI,skill は変えません. - 7 規則・47 関数で,両ツールとも再現率 0.90,1 判定 0.13 秒以内.適合率は jev-lint 1.00,jevlint 0.90 - 決め手:ast-grep による抽出,トークンと費用の報告,CGO なしで Nix から固定版を動かせること - 引き受けること:provider が TypeSafe のみ,npm の最新が repo より遅れている,判定するコードを TypeSafe に送る - 根拠:[#75 の比較コメント](#75 (comment)) PR #82 は履歴が乱れて main の変更を戻す差分が混ざったため,ADR だけを main から作り直したこの PR に置き換えます. ## 確認 - [x] main との差分は ADR の 1 ファイルだけ - [ ] claude-review と codex-review が通る Refs #75 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: furedea-agent[bot] <343832694+furedea-agent[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop* --- ## 0.1.0 (2026-11-10) ### Features * add devin provider to hooks.json with hook adapter (furedea/dotfiles[#136](#136)) ([5bc5550](5bc5550)) * add git-commit-split skill ([35f4e16](35f4e16)) * add Hermes Agent and pi hook providers (furedea/dotfiles[#138](#138)) ([ed3a774](ed3a774)) * add lock-settings, report-doc-conflict, and report-hook-block skills ([35b8585](35b8585)) * **agents:** add Rust style skill ([a82df41](a82df41)) * **agents:** allow cd, sed, awk, xargs, cp, and mv under the sandbox (furedea/dotfiles[#165](#165)) ([5783f87](5783f87)) * **agents:** bootstrap the harness on servers without Nix ([80a0f9b](80a0f9b)) * **agents:** chain git add, status, commit, and push outside the sandbox (furedea/dotfiles[#169](#169)) ([dd5a05c](dd5a05c)) * **agents:** Codex implements, Claude reviews, and lanes clean up opened workspaces (furedea/dotfiles[#266](#266)) ([c9a3fd9](c9a3fd9)) * **agents:** generate hook settings from nix ([b20d592](b20d592)) * **agents:** hand approved lanes to Herdr task worktree sessions (furedea/dotfiles[#184](#184)) ([58a591f](58a591f)) * **agents:** own personal agent source (furedea/dotfiles[#52](#52)) ([51060b1](51060b1)) * **agents:** permit commands by reversibility (furedea/dotfiles[#124](#124)) ([bb96256](bb96256)) * **agents:** run agent git inside the sandbox with unsigned commits (furedea/dotfiles[#172](#172)) ([1492f3e](1492f3e)) * **agents:** start Herdr Claude lanes on Sonnet at medium effort (furedea/dotfiles[#257](#257)) ([3caf8d5](3caf8d5)) * **agents:** write PR bodies inline and close lanes' parent workspaces (furedea/dotfiles[#211](#211)) ([8c6df4e](8c6df4e)) * **claude:** close the sandbox escape and reach the Nix daemon inside (furedea/dotfiles[#191](#191)) ([b61f2ac](b61f2ac)) * **claude:** let Go CLIs verify TLS inside the sandbox (furedea/dotfiles[#167](#167)) ([282b3d2](282b3d2)) * **claude:** let sandboxed commands listen on local ports (furedea/dotfiles[#206](#206)) ([36c09d2](36c09d2)) * **claude:** run the Codex plugin companion outside the sandbox (furedea/dotfiles[#232](#232)) ([0255159](0255159)) * **codex:** let Codex write, test, and deliver inside the sandbox (furedea/dotfiles[#200](#200)) ([33a0a82](33a0a82)) * compose Herdr and Moshi agent hooks (furedea/dotfiles[#33](#33)) ([4951ee8](4951ee8)) * **dsh:** add the dsh hook adapter ([#101](#101)) ([db86f57](db86f57)) * **git-commit-split:** accept mode from slash-command argument ([10c3ef7](10c3ef7)) * **git-commit-split:** modularize commit splitting workflow with branch ([bab6f19](bab6f19)) * **github:** add repository creation script ([1a7910b](1a7910b)) * **hermes:** use Apple Mail for mail access (furedea/dotfiles[#69](#69)) ([94268fa](94268fa)) * **hooks:** add related test selection rules ([2aca101](2aca101)) * **hooks:** add shared audit and command guard hooks ([6ab33b5](6ab33b5)) * **hooks:** allow read-only local curl diagnostics and log syntax ask kinds (furedea/dotfiles[#287](#287)) ([83cd643](83cd643)) * **hooks:** ask before an agent adds a lint suppression (furedea/dotfiles[#214](#214)) ([b767665](b767665)) * **hooks:** ask only for effects that escape the sandbox (furedea/dotfiles[#163](#163)) ([21409a5](21409a5)) * **hooks:** block destructive non-push git operations ([cc02cb4](cc02cb4)) * **hooks:** escalate unrecognized command forms to a prompt (furedea/dotfiles[#159](#159)) ([e30de17](e30de17)) * **hooks:** fast-forward main after cleaning up merged lanes (furedea/dotfiles[#210](#210)) ([f8a60af](f8a60af)) * **hooks:** honor project allow rules only from trusted owners ([#33](#33)) ([305d391](305d391)) * **hooks:** improve lint-format feedback across providers ([8a512f6](8a512f6)) * **hooks:** judge heredocs, substitutions, loops, and redirections structurally (furedea/dotfiles[#175](#175)) ([9276283](9276283)) * **hooks:** let sessions lock flake inputs and close their own lanes (furedea/dotfiles[#208](#208)) ([f109b49](f109b49)) * **hooks:** let the parent run cleanup_worktrees.py after merge (furedea/dotfiles[#300](#300)) ([fc44c74](fc44c74)) * **hooks:** remove merged task worktrees and branches at session start (furedea/dotfiles[#185](#185)) ([2701e0b](2701e0b)) * **hooks:** replay recent commands through the hooks (furedea/dotfiles[#199](#199)) ([2ed4984](2ed4984)) * **hooks:** report ast-grep rule findings after an edit ([#119](#119)) ([ff91d8c](ff91d8c)) * **hooks:** review only commands that reach past the sandbox (furedea/dotfiles[#178](#178)) ([40c97da](40c97da)) * **hooks:** run zizmor offline after workflow edits (furedea/dotfiles[#295](#295)) ([79b66a6](79b66a6)) * **hooks:** scan with the shared ast-grep rules shipped beside the hooks ([#121](#121)) ([35a9270](35a9270)) * **hooks:** support Go projects in formatting, verification, and permissions ([#57](#57)) ([5506f3c](5506f3c)) * **hooks:** verification selection, unified patch input, formatter/linter ordering (furedea/dotfiles[#144](#144)) ([99a825b](99a825b)) * **lint:** add the first ten ast-grep rules and drop the prose they replace ([#117](#117)) ([c235eb5](c235eb5)) * **nix:** expose the plain agents path as passthru.tree of agent-source ([#94](#94)) ([63632e4](63632e4)) * **security:** add a program_path option that pins a rule's program to one absolute path ([#61](#61)) ([d629ca9](d629ca9)) * **security:** allow agent-browser and agent-desktop except named risky forms ([#63](#63)) ([8dc8da5](8dc8da5)) * **security:** allow cargo caches, crates.io, and OSV in the sandbox ([#60](#60)) ([2f29423](2f29423)) * **security:** allow Go caches and module hosts in the sandbox ([#58](#58)) ([4b3a35c](4b3a35c)) * **security:** ask for every docker form the allowlist does not list ([#54](#54)) ([764374f](764374f)) * **security:** deny the 1Password CLI and keep the Codex login in the keyring ([#52](#52)) ([0580825](0580825)) * **skill-auditor:** support Codex audit workflow ([0d88c3f](0d88c3f)) * **skills:** add measurement-evidence and change-type evidence to tsdd ([#70](#70)) ([85714b5](85714b5)) * **skills:** clarify names and add Herdr delegation (furedea/dotfiles[#127](#127)) ([e6576ba](e6576ba)) * **skill:** skill-auditor by nyosegawa/skills/skill-auditor ([f191132](f191132)) * **skills:** render provider-specific SKILL.md frontmatter ([44325e5](44325e5)) * **statusline:** render the status on one line (furedea/dotfiles[#110](#110)) ([03ad85e](03ad85e)) * update bash-style skill instructions ([9ab1d65](9ab1d65)) * update github-ci-init skill templates ([d238f51](d238f51)) * verify agent changes through native hooks (furedea/dotfiles[#106](#106)) ([923b0ae](923b0ae)) ### Bug Fixes * **agents:** accept generated command permissions (furedea/dotfiles[#66](#66)) ([0af9650](0af9650)) * **agents:** allow gh api reads that pass --allow-escape-sequences (furedea/dotfiles[#265](#265)) ([e732939](e732939)) * **agents:** apply harness review findings (furedea/dotfiles[#149](#149)) ([c8a51d7](c8a51d7)) * **agents:** cap Codex session-end timeout ([2f29a7e](2f29a7e)) * **agents:** deny codex-companion calls the sandbox exclusion cannot match (furedea/dotfiles[#269](#269)) ([25518ab](25518ab)) * **agents:** harden hooks and separate workflow responsibilities (furedea/dotfiles[#128](#128)) ([7e508c4](7e508c4)) * **agents:** let pnpm fetch from the npm registry inside the sandbox (furedea/dotfiles[#222](#222)) ([ac114e8](ac114e8)) * **agents:** let the forbidden rule admit Sonnet lane arguments (furedea/dotfiles[#259](#259)) ([f1b29a9](f1b29a9)) * **agents:** make the bootstrap hint work for POSIX login shells ([c2667fa](c2667fa)) * **agents:** stop asking for commands the hooks can prove safe (furedea/dotfiles[#242](#242)) ([a93d241](a93d241)) * **agents:** wait for hook state locks instead of failing with EAGAIN (furedea/dotfiles[#285](#285)) ([673c108](673c108)) * allow secret scanner hook files ([bca4207](bca4207)) * **bootstrap:** give Codex the agent GitHub token settings and run the bootstrap in CI ([#21](#21)) ([25de080](25de080)) * **bootstrap:** keep Neovim's fallback nvim.log out of the working directory ([#43](#43)) ([3c9fc5c](3c9fc5c)) * **bootstrap:** make the server bootstrap behave like the Nix hosts ([#15](#15)) ([4554dec](4554dec)) * **bootstrap:** print actionable profile and legacy-file messages only when needed ([#49](#49)) ([1918254](1918254)) * **bootstrap:** target the login profile bash actually reads ([#50](#50)) ([0dae5bf](0dae5bf)) * **bootstrap:** verify downloaded tools against pinned checksums ([#111](#111)) ([1744df3](1744df3)) * **ci:** install the locked agent-harness instead of reading it from the flake ([bc2395b](bc2395b)) * **ci:** provide the shell format config and locked JavaScript tools ([dd59634](dd59634)) * **claude:** trust only the CA store bundled with Claude Code (furedea/dotfiles[#284](#284)) ([34be271](34be271)) * **codex:** fall back to auth.json when no keyring is available ([#62](#62)) ([79b6ceb](79b6ceb)) * correct agent tooling and Hister activation (furedea/dotfiles[#85](#85)) ([4bab065](4bab065)) * honor pytest testpaths and bootstrap bats on servers (furedea/dotfiles[#116](#116)) ([b17b59e](b17b59e)) * **hooks:** allow double quoted commit messages ([fc4afd4](fc4afd4)) * **hooks:** bound curl -o, -d and -H in the localhost rule (furedea/dotfiles[#291](#291)) ([7c9db8a](7c9db8a)) * **hooks:** close shell-syntax bypasses of the guard hooks ([#11](#11)) ([c6aacdf](c6aacdf)) * **hooks:** close the guard contract gaps from [#11](#11) review ([#31](#31)) ([db318db](db318db)) * **hooks:** deny codex-companion calls whose text holds a dollar sign or backtick (furedea/dotfiles[#290](#290)) ([f37c317](f37c317)) * **hooks:** find GNU grep on PATH instead of the first grep (furedea/dotfiles[#193](#193)) ([99ba317](99ba317)) * **hooks:** format without dotfiles-installed dprint and prettier configs ([#16](#16)) ([db21f55](db21f55)) * **hooks:** ignore git-ignored sources when judging a project removed ([#22](#22)) ([97c6b93](97c6b93)) * **hooks:** ignore prose arguments when matching forbidden patterns (furedea/dotfiles[#189](#189)) ([d2049d6](d2049d6)) * **hooks:** judge each command as one line with any grep (furedea/dotfiles[#196](#196)) ([202f937](202f937)) * **hooks:** keep merged worktrees holding non-regenerable ignored files ([#29](#29)) ([ac03cfa](ac03cfa)) * **hooks:** keep the first grep when no GNU grep is on PATH (furedea/dotfiles[#195](#195)) ([a0e6a2f](a0e6a2f)) * **hooks:** keep the verification snapshot from locking out symlinked or large worktrees ([#66](#66)) ([7d13f0e](7d13f0e)) * **hooks:** let cleanup_worktrees remove Claude Code session files ([#36](#36)) ([0a910bc](0a910bc)) * **hooks:** let cleanup_worktrees tests choose the untrusted locations (furedea/dotfiles[#306](#306)) ([e82980e](e82980e)) * **hooks:** let GitHub API reads take an unquoted jq filter (furedea/dotfiles[#198](#198)) ([5b6210a](5b6210a)) * **hooks:** make stop verification reliable (furedea/dotfiles[#81](#81)) ([04a33dd](04a33dd)) * **hooks:** preserve verification evidence (furedea/dotfiles[#87](#87)) ([4b5b9c2](4b5b9c2)) * **hooks:** redirect sandbox-failing Git forms and drop covered prompts (furedea/dotfiles[#180](#180)) ([34e39a7](34e39a7)) * **hooks:** resolve Rust integration test targets inside tests subdirectories (furedea/dotfiles[#304](#304)) ([2ccf547](2ccf547)) * **hooks:** respect project formatters and bound diagnostics (furedea/dotfiles[#131](#131)) ([30e83cf](30e83cf)) * **hooks:** scope generic secret regex to quoted values ([fc09292](fc09292)) * **hooks:** silence successful hook execution ([795d8f0](795d8f0)) * **hooks:** skip JavaScript triggers in projects without JavaScript tests (furedea/dotfiles[#161](#161)) ([dc80e28](dc80e28)) * **hooks:** skip verification for a language whose project was removed ([#6](#6)) ([4a9f325](4a9f325)) * **hooks:** support relocated harness assets (furedea/dotfiles[#82](#82)) ([59057bc](59057bc)) * **hooks:** treat any gh api call without write flags as a read (furedea/dotfiles[#201](#201)) ([3ecb215](3ecb215)) * **hooks:** treat glob characters inside double quotes as literal for literal_words rules ([#41](#41)) ([174a7f9](174a7f9)) * **hooks:** use agent-neutral guidance ([37153ce](37153ce)) * improve agent notifications and session setup (furedea/dotfiles[#92](#92)) ([9bf2349](9bf2349)) * load secret patterns from hook directory ([ca465ef](ca465ef)) * migrate dotfiles path to ghq convention ([faff774](faff774)) * **nix:** build CPython 3.15.2 for the ssl eMudhra denylist ([#113](#113)) ([faba045](faba045)) * **nix:** default editor to Neovim (furedea/dotfiles[#105](#105)) ([2a9a22a](2a9a22a)) * resolve hook directory from bash source ([c6ca454](c6ca454)) * restore SSH signing and reliable Bats verification (furedea/dotfiles[#91](#91)) ([891adce](891adce)) * **sandbox:** deny writes to every repository's git hooks and config (furedea/dotfiles[#298](#298)) ([1941513](1941513)) * **sandbox:** match the Codex plugin script under any numeric version (furedea/dotfiles[#302](#302)) ([a49ddc3](a49ddc3)) * **security:** allow the Go checksum tree head and vulnerability database in the sandbox ([#59](#59)) ([af6e158](af6e158)) * **security:** ask for every script a non-bash shell receives ([#99](#99)) ([f88f8fd](f88f8fd)) * **security:** close quoted-argument and wrapper bypasses in the command guard ([#76](#76)) ([5f72757](5f72757)) * **security:** close the remaining command guard bypasses ([#83](#83)) ([0387739](0387739)) * **security:** decide not-a-fork for project rules on hosts without gh ([#67](#67)) ([acaa758](acaa758)) * **security:** keep agent-browser and agent-desktop calls inside the sandbox ([#64](#64)) ([3f2d578](3f2d578)) * **security:** read more of the scripts handed to fish and PowerShell for deny rules ([#110](#110)) ([2c652bb](2c652bb)) * **skills:** audit Codex skill observations (furedea/dotfiles[#88](#88)) ([f429967](f429967)) * **skills:** refine routing triggers from audit ([cef3b9c](cef3b9c)) * **tests:** make git test wrappers exec the real git binary (furedea/dotfiles[#310](#310)) ([893c405](893c405)) * **tests:** stop shifting past the codex wrapper arguments ([eb0f6d7](eb0f6d7)) ### Performance Improvements * **hooks:** evaluate policy regexes with one grep and run pytest in parallel (furedea/dotfiles[#125](#125)) ([ce80ea3](ce80ea3)) --- 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>
概要
Issue #75 の調査(spike)の成果物です.規則を判定するバックエンドとして,
mizchi/jev-lintとcodegirl-007/jevlintを同じ規則・同じ例・同じモデルで比べ,採用するか自作するかの結論を ADR の下書き(Proposed)にしました.結論(ADR-0020)
比較表と限界(例が 42 件で作者ラベル,各 1 回の実行)は #75 のコメントにあります.
含まれるもの
docs/adr/0020_adopt_jev_lint_behind_the_judgement_backend_abstraction.mddocs/spikes/jev/: 規則,例,正解ラベル,計測スクリプト,実測結果(results/)pyproject.toml: ruff の対象からdocs/spikes/jevを除外(例が意図的に注釈なしのため)hook,CI,skill は変更していません.
確認
Refs #75(close は承認後)
🤖 Generated with Claude Code