Repository navigation
refactor: name real argument groups instead of mirroring parameters - #256
Merged
Merged
Conversation
Drop the unused Attempt record, pass LintTarget across lint_engine, move receipt helpers onto VerificationRun, and key session_directory by SessionKey. Refs #247 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…dgets Replace _RenderOptions, which mirrored _render_page's parameters, with a _Browser(path, wait_ms, timeout_seconds) that runs the process and builds its headless flags; _render_page now takes the browser and the width. Refs #247 Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 tasks
3 of 4 tasks
furedea
added a commit
that referenced
this pull request
Nov 20, 2026
agent-config を v0.3.1 に更新する.`flake.lock` の `agent-config` だけを変える. | 入力 | 変更前 | 変更後 | | ------------ | ------------------- | ------------------- | | agent-config | `2514f2d`(v0.3.0) | `3dfa0ad`(v0.3.1) | v0.3.1 の主な変更:`gh` の確認の削減(#254,#256,#262),#196 の Jev 規則の修正(#257〜#260). - [x] `3dfa0ad` が v0.3.1 タグのコミットであることを確認 - [x] `nix flake check --no-build` が通る - [x] `darwinConfigurations.mba.system` をローカルで build - [ ] CI 🤖 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.
概要
lint の引数上限を避けるためだけに作られていたグルーピングを,PR #255 の方針(上限は設計シグナルとして扱う)に沿って直します.振る舞いは変えていません.
Refs #247
変更内容
guard_command.pyのAttempt(kind, command, payload)commandは一度も読まれておらず,record(verdict, kind, payload)で足ります.decide内のcommand取り出しも記録専用だったので削除しました(command_verdictが同じ try 内で同じ値を取り出すため挙動は同じです).lint_engine.pyのtuple[tuple[str, Path], ...]LintTarget(language, path)と命名しました.checkerの引数形は変えていません.session_gate.pyのVerificationRuncurrent_receiptとconfiguration_failureをVerificationRunのメソッドにしました.session_store.session_directoryの 3 引数SessionKeyを受け取るようにし,呼び出し元とテストを更新しました.verify_page.pyの_RenderOptions(width, wait_ms, timeout_seconds)_render_pageの引数を写しただけの型でした.プロセス実行とヘッドレス用フラグを持つ_Browser(path, wait_ms, timeout_seconds)に置き換えました.wait_ms(仮想時間予算)とtimeout_secondsはどちらもブラウザ起動ごとの時間予算です.width と組む viewport 型は実在の概念にならないので作っていません._render_page(html_path, browser, width)は 3 引数になります.確認
uv run --frozen ruff format --check/ruff check/ty check: 成功uv run --frozen pytest -q: 1877 passedlefthook run pre-commit --all-files: 成功🤖 Generated with Claude Code