Repository navigation
chore: remove the legacy verification runner and config copies - #117
Merged
Merged
Conversation
The native Stop gate replaced run_verification.py in #106. Its reuse cache, log module, opt-in file, tests, and coreutils timeout link had no callers left. Drop the reference copies of atuin, gh, git, and yazi configs that Nix already owns. Prune the stale statusline mapping and the timeout note that described the old runner. Co-Authored-By: Claude Fable 5.1 <[email protected]>
furedea
force-pushed
the
chore/remove-legacy-verification-runner
branch
from
September 17, 2026 03:08
66be8e3 to
35bf7cf
Compare
furedea
added a commit
that referenced
this pull request
Sep 17, 2026
## Summary Stacked on #117. Behavior-preserving rename so the Stop gate uses one vocabulary: `session_*` for session state, `check_*` for the helpers that plan, run, and interpret one check. | Before | After | Responsibility | | --- | --- | --- | | `agents/hooks/lib/verification_selection.py` | `check_selection.py` | select `Invocation`s from changed paths | | `agents/hooks/lib/verification_output.py` | `check_evidence.py` | interpret runner output as `Evidence` | | `agents/hooks/lib/session_checks.py` | `check_execution.py` | execute one check with a bounded budget | | `tests/agents/hooks/test_verification_selection.py` | `test_check_selection.py` | | | `tests/agents/hooks/test_verification_output.py` | `test_check_evidence.py` | | `verification_*` was the prefix of the standalone runner removed in #117; `session_checks.py` never depended on session state. Follow-ups: imports in `session_gate.py` and `check_execution.py`, the `related_test_extensions.json` key (`check_*.py`, now also mapping to the gate tests that exercise execution), `test_verification_rule.py`, and the deptry first-party list. `verification_session.py` (provider-facing entry point) and the `related_test_*.json` / `RUN_RELATED_TESTS_*` names stay: they are documented, deployed names. ## Verification - `uv run --frozen pytest`: 961 passed - `deptry`, `vulture`, ruff format/check, ty, dprint via lefthook ## Rollout Mac: rebuild. Server: `git pull` and re-run `install_server.sh`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Fable 5.1 <[email protected]>
2 tasks done
furedea
added a commit
that referenced
this pull request
Nov 10, 2026
## 概要 agent-config を最新にして,編集のたびに共通の ast-grep 規則(agent-config#117,#121)が動くようにする.`ast-grep` は #427 で PATH に入っている. | 項目 | 前 | 後 | | --- | --- | --- | | agent-config | eae1408(共通の規則なし) | #117 まで | | 編集後の hook | ast-grep を動かさない | 共通の規則で ast-grep を動かし,指摘を返す(止めない) | ## 検証 - [x] `darwin-rebuild switch` で適用済み(ユーザー) - [x] 配られた `hooks/lint/sgconfig.yml` で,`@staticmethod` を含む試しのファイルに `py_no_staticmethod` が出ることを確認 Refs furedea/agent-config#74 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: furedea <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Audit of files no longer referenced anywhere in the repository.
agents/hooks/run_verification.py,agents/hooks/lib/verification_reuse.py,agents/hooks/lib/verification_log.py, the.agents/hooks/rules/verification_reuse.jsonopt-in, their four test modules, and the~/.config/agent-harness/bin/timeoutlink innix/home/default.nix. The native Stop gate from feat: verify agent changes through native hooks #106 (verification_session.py->session_gate->session_checks) never called them and carries its own receipt reuse and log limits.atuin/config.toml,gh/config.yml,git/.gitconfig,yazi/keymap.toml, andyazi/yazi.toml;nix/home/default.nixis the single source for those programs.related_test_extensions.jsonmappings that pointed at the removed tests and theagents/claude/statusline/*.jsonkey that matched no tracked file; drop theRUN_RELATED_TESTS_REUSE/RUN_RELATED_TESTS_FORCEexclusions insession_gate.pyand the deptry first-party entries; align the README timeout note with the native gate (300 seconds per check).verification_selection.pyandverification_output.pystay:session_gateandsession_checksimport them.Verification
uv run --frozen pytest: 961 passeddeptry,vulture, ruff format/check, ty, dprint, autocorrect, nixfmt, statix, deadnix via lefthookRollout
Mac: rebuild (the timeout link disappears and the hooks directory loses the removed modules). Server:
git pulland re-runinstall_server.sh.🤖 Generated with Claude Code