Repository navigation
fix(templates): install from catalog Add and open chat - #193117
Patrick-Erichsen wants to merge 1 commit into
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. |
|
Codex review: needs changes before merge. What this changesThe PR makes catalog Add install a template directly and open the confirmed new agent’s chat. Example: Click Add on Workflow Operator 1.2.0.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep this PR open: direct catalog Add is useful and still missing on main, but the new consent-review path needs reconnect recovery. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Control UI catalog passes a selected package to the existing Add owner, which requests Gateway installation, presents exceptional consent, and hands the confirmed agent to chat navigation. flowchart LR
Catalog[Template catalog] --> Owner[Existing Add owner]
Owner --> Gateway[Gateway installation]
Gateway --> Review[Exceptional consent review]
Review --> Owner
Gateway --> Roster[Confirmed agent roster]
Roster --> Chat[New agent chat]
Technical reviewBest possible solution: Keep the shared Add owner and make its catalog-origin consent review recover automatically after reconnect. Do we have a high-confidence way to reproduce the issue? Current-main source directly shows Add invoking details navigation; the PR reports a failing base regression, but this review did not execute it. Is this the best way to solve the issue? Reusing the existing installation and chat owner is the smallest complete approach, provided catalog-origin review retains the owner’s reconnect recovery. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against a1f99240c836. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceAcceptance criteria:
What I checked:
PR surfaceSource +87, Tests +202, Other +2. Total +291 across 6 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 4, 2026, 8:54 PM ET / November 5, 2026, 01:54 UTC. |
What Problem This Solves
Fixes: clicking Add on a Template catalog card opens its details instead of adding it.
User Impact
Users can Add a Template directly from the catalog, see an in-place Adding… indicator, and enter the new agent chat automatically when installation is confirmed. Clicking the card still opens its details. Templates needing trust or capability consent still show the existing explicit review.
Why This Change Was Made
Reuse the existing installation and chat-handoff owner for catalog Add rather than routing through details first. Installation can download dependencies, write the workspace, and activate agent configuration, so chat waits for a completed Add response and a confirmed roster entry. External setup requirements such as OAuth do not prevent opening the installed agent chat. No Gateway protocol, installation policy, or persistence changes.
Evidence
templates.add.applyrequests.Proof uses synthetic Gateway responses in the real production-bundle UI; actual download duration, live provider execution, and production installation are not claimed. No merge or deployment performed.