feat(cli-push-runner): lint_screen stderr → report 取込 (Phase D 前提整備、順位 109)#144
Merged
Merged
Conversation
…context size ADR を登録
…r を report に取込 (順位 109 / Phase D 前提整備)
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughウォークスルーこのPRは、cli-push-runner の lint-screen ステージを拡張して分類器の stderr を診断セクションとして markdown レポートに含める機能を実装し、並行してタスク追跡ドキュメントを整理・再編成します。 変更内容分類器診断レンダリング実装
タスク追跡ドキュメント再編
コード審査の推定工数🎯 3 (中程度) | ⏱️ ~20 分 関連する可能性のあるPR
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced May 11, 2026
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
Phase D (real pipeline 経由 dogfood) の 前提整備 として、
cli-push-runnerのlint_screenstage が graceful fallback (exit 0) 時にも classifier の stderr を.takt/lint-screen-report.mdの## Diagnosticsection に取り込むよう改修。Phase A (PR #142) で実装した num_ctx overflow 診断 warn log を real pipeline 経由で visible にする。## Diagnosticsection に転載、Phase A 診断 log + 将来の lib-ollama-client の warn 出力が visible になる変更内容
Commit 1: docs only (前 PR carry-over)
順位 114 (PR #143 T3-#1 採用) を
docs/todo8.md新設 + 登録、docs/todo6.mdpreamble の routing 移行 (新規エントリ → todo8.md)、todo-summary.md intro policy 更新。Commit 2: 順位 109 実装 (Phase D 前提整備)
src/cli-push-runner/src/stages/lint_screen.rs新 struct + 関数 signature 変更:
新規 helper:
影響範囲
format_reportが## Diagnosticsection を末尾に追加 (stderr 非空時のみ)render_parse_error):## Diagnosticを JSON parse 失敗 section の後に追加ClassifierOutput { stdout, stderr }を受け取り、両方をwrite_reportに渡すTest plan
cargo test -p cli-push-runner stages::lint_screen14/14 pass (新規 4 件含む):format_report_includes_diagnostic_section_when_stderr_non_empty(TP)format_report_skips_diagnostic_section_when_stderr_empty(FP)format_report_skips_diagnostic_section_when_stderr_whitespace_only(edge case)format_report_appends_diagnostic_to_parse_error_path(parse error path)cargo testworkspace 全体 passformat_report_renders_findings_table等) は signature 変更に伴い""第 2 引数を追加して全 passPhase D への接続
.claude/cli-finding-classifier.exeを deploy しなおすと、real pipeline 経由でも Phase A 診断 log (prompt_eval_count/num_ctx/ overflow hint) が.takt/lint-screen-report.mdで visible になるpush-runner-config.tomlの[lint_screen] enabled = trueを session 内で manual 切替、commit しない方針Out of scope
Summary by CodeRabbit
リリースノート
Documentation
New Features