Repository navigation
Conversation
…d leads Expose a self-contained investigation entry in the check receipt: the ranked priorities now carry their message, path:line, symbol and a runnable task command, and ruleCounts shows the open finding distribution by rule. The text output prints the same leads under "Start here". Classify vendor, vendored, third_party and third-party folders as generated by default. Bundled third-party code no longer produces first-party complexity findings; users can override roles.generated to analyze those folders. On Archify itself this removes 56 false positives (504 -> 448 findings). Document the first-look workflow, correct the language list and the stale Rust note, and add regression tests for the new entry, vendor classification and fixture digests. Freeze the first-contact baseline, candidate comparison and two external fixed-revision cases under benchmarks/. No maintainer adoption is claimed; no sample-repository pull request was opened.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
tt-a1i
changed the base branch from
main
to
codex/code-analysis-labs-review-candidate
November 9, 2026 15:12
This branch has not been deployed
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
Two changes:
checknow emits a self-containedinvestigationentry. Itsleadsrepeat the ranked priorities with the message,path:line, symbol, impact, and a runnabletaskcommand.ruleCountsshows the open finding distribution, and the text output prints the same leads under Start here.vendor/,vendored/,third_party/andthird-party/folders default to thegeneratedrole. Bundled third-party code no longer produces first-party complexity findings. Users can overrideroles.generatedto analyze those folders. On Archify itself this removes 56 complexity findings in 12 third-party bundle files from the first-party count (504 → 448 findings). The measurements are real; the defect was counting them as first-party.Base
This Draft is stacked on #1301's review head (
codex/code-analysis-labs-review-candidate, commit2877c157), because the Code Analysis module does not exist onmain. The diff is the two commits on top of that revision. It does not retarget #1301, change its review site, or merge anything into Labs.Reproduce
From the repository root:
Evidence
After: 448 findings, 210 warnings; 0 vendor findings; each lead carries a source location and a task command.
RequestsCookieJar._find_no_duplicates. The regression test fails on the original and passes on the one-lineis not Nonefix.cargo check -p clap_builderand 83 library tests pass; re-analysis drops 28 → 27 findings and 4 → 3 cycles.netlocround-trip bug in the same file, and produced a patch with a regression test. The repo-only session reported an environment decision and withdrew its only code-bug candidate. No speed or token benefit appeared in this pair; the benefit was orientation. The scan did not surface the bug.c3f16f5d6(both full-regression shards, Windows portability on Node 22/24, package smoke on three platforms, website, and ZIP freshness).f7b697c157cf4e310efb16f6a66ab8e9e723f91124e7acd5f3702ca207cf5d58. The unpacked CLI reproduced the requests findings and task evidence, reported 0 vendor findings, and emitted the new entry.Evidence and reproduction commands: baseline, candidate comparison, external cases, validation.
Unfamiliar-repository session: repo vs repo + scan
encode/httpxat326b9431(0.27.0), two isolated copies, the same agent configuration and 12-minute cap, both receiving only “帮我看看这个项目”.netlocdefect (≈69 s)netloc, patch and regression testThe scan's top lead was
urlparsecomplexity 39. The scan-assisted session recomputed and waived the metric, then found the netloc bug while reading that function. The scan did not surface the bug, and this pair shows no speed or token benefit; the benefit was orientation.URL(netloc=b"[::1]:8080")fails at 0.27.0 and on current 0.28.1; the fix is a bracket-aware split with 1 failed before and 87 passed after.Full record: experiment, session A, session B, verification, patch.
Merge Danger
Door: two-way. The vendor default is one config override away. Existing baselines and comparisons see a config-digest change, so their vendor findings should be reviewed and the baseline updated rather than treated as fixed.
Blast Radius: analysis output and default finding counts.
prioritieskeeps its shape, so existing consumers still work; new consumers can useinvestigation.leads. Repositories with vendored folders will report fewer findings after this change.No maintainer adoption is claimed. No pull request was opened against the requests or clap sample repositories. Draft only; do not merge.