Repository navigation
fix(ci): restore runtime module line limits - #190630
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
8e4ebf7 to
e820fdf
Compare
|
Codex review: needs maintainer review before merge. What this changesMoves session tree projection, the read-only session type, and database-path membership lookup into existing modules to satisfy runtime line limits. Example: CI lints src/agents/sessions/session-manager.ts.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR addresses a verified lint failure with focused extractions that preserve existing contracts; no actionable defects were found. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe session manager projects transcript entries into navigation trees and exposes a read-only extension API; database startup uses filesystem identity matching to classify inspected database paths. flowchart TD
A[Transcript entries] --> B[Session manager core]
B --> C[Session codec tree projection]
C --> D[Session navigation consumers]
E[Database startup admission] --> F[Database path matching]
F --> G[Inspection classification]
Technical reviewBest possible solution: Retain these focused extractions and land through the existing CI gates once they complete. Do we have a high-confidence way to reproduce the issue? GitHub annotations establish all three line-limit failures, and fetched main retains the same affected source; no target code was executed during this read-only review. Is this the best way to solve the issue? The smallest complete repair moves existing responsibilities into existing owners while preserving callers and public types, without raising limits or introducing parallel implementations. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 82e11d7c4dde. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +17. Total +17 across 5 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 1, 2026, 3:15 PM ET / 20:15 UTC. |
|
Merged via squash auto-merge.
|
What Problem This Solves
The runtime lint gate rejects three current modules for exceeding its 700-line limit. Failing check.
User Impact
Restores the CI lint gate without changing runtime behavior or the existing read-only session API. No migration or operator action is required.
Why This Change Was Made
Move the read-only session view type, pure tree projection, and database-path lookup into their existing owning modules. Session navigation, startup admission, and the facade type export retain their existing contracts.
Evidence
git diff --check.