Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review blockedAutomated review did not run, so no review verdict was produced. Reason: The input-safety check rejected material in this revision. No detected value, path, or scanner output is reproduced here. ClawSweeper will not retry this unchanged revision. Next step: If this is a genuine credential, remove and rotate it. If it is an intentional test fixture, a maintainer must review and qualify it. |
|
Codex review: blocked before merge. Reviewed September 4, 2026, 10:09 PM ET / September 5, 2026, 02:09 UTC. ClawSweeper reviewWhat this changesThe branch gives plugin metadata an explicit lifecycle owner, carries workspace and model context through authentication and pricing, bounds session-summary reads, and improves Telegram model-picker receipts. Merge readiness⛔ Blocked before merge - 6 items remain Keep open as the agreed reference branch, not a landing unit. Several extracted repairs have shipped in v2026.9.1, but remaining model-selection and metadata-lifecycle work is not fully accounted for, so neither whole-PR implementation nor supersession is established. Priority: P1 Review scores
Verification
How this fits togetherThe Gateway uses configuration and workspace plugin metadata to prepare agent runs, select models, resolve credentials, and price usage. Its health and status paths also read session databases, so repeated discovery or excessive session hydration can stall unrelated requests. flowchart TD
A[Configuration and workspaces] --> B[Prepared plugin metadata]
B --> C{Operation context}
C --> D[Retained agent generation]
D --> E[Model selection, auth, and pricing]
E --> F[Channel replies and receipts]
G[Session databases] --> H[Bounded health and status reads]
C --> H
Decision needed
Why: The introduced guard intentionally stops an existing execution path, and the request to split the performance repair does not itself establish acceptance of that restriction. Before merge
Agent review detailsSecurityNone. PR surfacePR surface statistics unavailable: the file list is incomplete. Review metrics
Stored data modelPersistent data-model change detected: Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Complete the smaller owner-based replacements by reusing shipped metadata, summary, and pricing paths, with the ACP authorization contract isolated for explicit compatibility disposition. Do we have a high-confidence way to reproduce the issue? No high-confidence current-main reproduction is established: supplied before/after runs target earlier revisions, and v2026.9.1 already contains several underlying repairs. Is this the best way to solve the issue? No for wholesale landing: the agreed extraction approach reuses already-shipped fixes and lets the remaining model and lifecycle contracts be validated independently. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against f9b00a558261. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (16 earlier review cycles; latest 8 shown)
|
eebae21 to
5119615
Compare
|
Confirming this fix works, with a second finding underneath it that turned out to be the larger half. Thank you for the work on this. It solved a burn I'd been chasing for days, and the diagnosis it enabled found the rest. Setup13 agent entries, 13 distinct Before this branchGateway pinned at 100% of a core indefinitely. After this branchThe rediscovery loop is gone. Idle gateway now sits at 1.0% CPU, RSS 1.1 GB. The second layerWith the branch deployed, the gateway was still at ~85%. The cause was the "System busyness" debug overlay — the diagnostics panel itself.
const DEBUG_OVERLAY_POLL_INTERVAL_MS = 2000;Measured over 10 minutes with the overlay open: 257
These two are one chain rather than two independent bugs. The observability panel was generating most of the load it was reporting, which makes it hard to catch: the burn only appears while you're looking at it. Possibly worth a separate issue, but two things would help:
Sibling to #122865, which reports the same shape (unthrottled dashboard polling saturating the gateway) for One remaining issue on this branch
|
|
Thanks for the detailed measurements. I am holding this PR open while checking the session projection failure and the remaining full-store work in I can reproduce successful list/describe calls with fresh sessions in four distinct workspaces, including custom plugin load paths; I am now testing persisted model overrides and the configless normalization path. If available, a redacted stack trace for the first metadata-guard exception and the affected session's model/provider override fields would help pin down the exact path. Please omit credentials, message content, and private paths; no full session store is needed. The metadata win and your reported 1% idle CPU are useful evidence, but I will not treat them as proof that the dashboard path is fixed. The final branch will receive another built-Gateway replay before merge. |
84f0909 to
ce36be2
Compare
The useful correctness and cleanup work from this PR has landed in 83 focused PRs, with the complete replacement map and per-cut evidence in #142100. This body replaces the original broad implementation proposal. #130706 remains closed unmerged as replaced by that series, with its branch preserved; #142100 remains closed unmerged as the completed decomposition/reference map.
The focused repairs preserve selected model identities and keep their metadata, authentication, pricing, limits and runtime ownership consistent. They also correct configuration publication, channel controls, media, compaction and fallback reporting while removing duplicate paths. Actual landed production accounting is 5,453 lines added / 5,508 removed: net −55, measured once per merge against its first parent. Including the separate UI repair #143889 gives net −49. Tests, QA scenarios and tooling are counted separately; no forecast or unmerged work contributes.
All 744 original paths across 19 neighborhoods have recorded dispositions. The general collection framework and extra storage/listener/retention plumbing, separate projector, unsupported import/mechanical changes and blanket constrained-ACP refusal were not adopted. Broader captured-source, sparse-donor/route-reader and compaction proposals also remain unadopted for the ownership/provenance defects documented in #142100. Existing canonical owners were reused.
The previous three cuts—#144438, #144354 and #144474—have verified native merges, required CI and qualified runtime evidence. Source tests, compiled CLI/API checks, real Gateway lifecycle, local loopback peers and authenticated external scenarios remain separate. Historical and production-identical proof keeps its original revision; #144474's final test-only adapter carries the earlier compiled proof. #140488's changed hook behavior passed, but its full live driver remains failed on cleanup-confidence warnings. The map preserves the five early execution/provider unknowns and all failed-attempt qualifications.
The September 13 continuation landed #147830 and #147849, reducing production by another nine lines. These repair captured image model/resize selection and exact configured-row transport facts for registered harnesses. Each passed its own focused checks, independent review, normal build, scoped compiled proof and exact-head CI, followed by native merge verification. The image proof uses real registered providers and SSE loopback; the harness proof uses public CLI/SDK selection through a real synthetic plugin. Hosted inference and the separate non-idempotent alias handoff remain unclaimed.
The September 12 continuation landed #146113, #146183, #146134 and #146261: usage-price cache refresh, cold TTS catalog selection, declared reasoning tiers, and static Kimi aliases. These four reduce production by another 31 lines. Each has verified native merge, exact-head CI and qualified runtime proof. Hosted OpenAI checks exposed and then verified the API-specific maximum-effort contract; TTS/Kimi uses compiled loopback proof with OS egress denial, not hosted Kimi inference. The reasoning patch carried unchanged onto current main after an unrelated Gateway shard-capacity failure; its build/hosted evidence retains the original c31 revision. All prior failed-attempt and proof qualifications remain in #142100.
Authenticated Telegram model-picker callback proof was waived by the maintainer on August 30, 2026 and was not run. No message round trip/mock substitute or desktop credential fallback was used. That waiver is limited to the Telegram obligation and does not waive upstream-provider validation or erase the #142473 recorder proof, which ran on combined build
6809with identical recorder files, not a standalone recorder build.Retained-source isolation, broader compaction provenance, sparse donor semantics and ACP per-turn overrides remain separate limits; lost historical model IDs cannot be reconstructed. #130324 remains open and unproved. This series does not establish the cause of the original multi-workspace CPU/stall report. Contributor credit is preserved in the linked replacement PRs and their commits.