fix(mapper): tighten monorepo review slices - #160
Conversation
Refresh project metadata during mapping, prefer specialized ownership, and bound review prompts so large workspaces produce accurate, reviewable features.
Apply the final prompt-byte limit to the fully rendered review and rebase generic entrypoints after specialized ownership is removed.
Keep validated owned files usable when every provider-suggested entrypoint is rejected by repository path filtering.
|
Codex review: needs real behavior proof before merge. Reviewed July 16, 2026, 11:20 PM ET / July 17, 2026, 03:20 UTC. Summary Reproducibility: yes. at the source-fixture level: the added tests encode overlapping generic ownership, rejected entrypoints, package-manager precedence, semantic misclassification, mounted routes, and prompt overflow. No high-confidence real-workspace reproduction transcript is supplied. Review metrics: 3 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: Land the changes only after a representative existing monorepo is mapped before and after the branch, demonstrating bounded prompts, preserved multi-entrypoint metadata, non-overlapping ownership, correct mounted-route grouping, and intentional handling of existing persisted feature state. Do we have a high-confidence way to reproduce the issue? Yes at the source-fixture level: the added tests encode overlapping generic ownership, rejected entrypoints, package-manager precedence, semantic misclassification, mounted routes, and prompt overflow. No high-confidence real-workspace reproduction transcript is supplied. Is this the best way to solve the issue? Unclear. The individual repairs follow existing mapper patterns and are well tested, but a representative upgrade comparison is needed to establish that combining prompt limits, feature regrouping, confidence changes, and project-state refresh is the narrowest safe solution. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 041bf4bfd670. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: fix(mapper): tighten monorepo review slices This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
|
Closing after live upgrade validation. On an unchanged real monorepo, this branch changed 2,337 of 2,973 existing feature IDs, leaving prior review history attached to skipped records instead of the replacement active features. The ownership and route-grouping improvements are useful, but this draft combines them with prompt, detection, status, confidence, and agent-metadata changes while making an unbounded persisted-state migration without a defined compatibility contract. Any future work should first preserve or explicitly migrate feature identity/history; the independent prompt and agent-metadata improvements can remain separate. Thanks for the substantial investigation and implementation work. |
Summary
Why
Large monorepos such as APEX could produce overlapping review slices, lose accepted entrypoint metadata, and misclassify
clientmodules as CLI functionality. The mapper now uses validated entrypoints and narrower ownership boundaries while retaining legitimate semantic signals.Validation
corepack pnpm format:checkcorepack pnpm typecheckcorepack pnpm lintcorepack pnpm exec vitest run --silent— 895 passed, 1 skippedcorepack pnpm buildorigin/main: Codexgpt-5.6-solhigh and Claude Fable 5 high both returned 0 findings