Conversation
Change ZeroRunParams to accept zeroAgentId instead of composeId. createZeroRun() now resolves composeId internally via resolveZeroAgent() for the downstream startRun() call. All 8 callers updated to pass zeroAgentId. buildAgentIdentityPrompt() removed in favor of direct formatAgentIdentityPrompt() call with data from resolveZeroAgent(). Closes #6231 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
Code Review: PR #6239 (Round 1)SummaryThis PR refactors Key FindingsCritical Issues (P0)None. High Priority (P1)
Testing ReviewCoverage
Convention Compliance
Testing Verdict: AdequateVerdict: Changes RequestedFixing P1 issues (non-null assertions and empty string fallbacks) and will re-review. Round 1 of automated review-fix loop |
⚡ Lighthouse — Web
Tested URL: https://pr-6239-www.vm6.ai/ · Full report |
- Make getWorkspaceAgent return undefined when zero agent is missing - Add fail-fast error responses in runs route and slack interactive route - Update seedTestCompose to create zero_agents row for test consistency Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Code Review: PR #6239 (Round 2) — LGTM 🎉All P0 and P1 issues have been resolved. SummaryThis PR refactors
Remaining P2 Items (Deferrable)
Verdict: LGTM ✅No critical or high-priority issues remaining. This PR is ready for merge. Completed after 2 round(s) of automated review-fix loop |
⚡ Lighthouse — App
Tested URL: https://pr-6239-app.vm6.ai/ · Full report |
Acceptance Report: #6231 — refactor(api): switch createZeroRun from composeId to zeroAgentIdEpic: #6226 — Migrate Email Integration from Infra Layer to Zero App Layer 1. Requirements (Definition of Done)
2. Code Review
3. Architectural Alignment
4. Independence
5. Issues FoundMust Fix (blocking acceptance)None. Should Fix (non-blocking, but recommended)None. Nits (optional)
VerdictACCEPTED ✅ Clean, well-executed implementation. All 7 |
Summary
ZeroRunParamsto acceptzeroAgentIdinstead ofcomposeId, withcreateZeroRun()resolvingcomposeIdinternally via newresolveZeroAgent()helperzeroAgentIdbuildAgentIdentityPrompt()in favor of directformatAgentIdentityPrompt()call with data fromresolveZeroAgent()createTestCompose()to auto-createzeroAgentsrow andcreateTestZeroAgent()to handle conflictsTest plan
composeIdonly appears inresolveZeroAgent()forstartRun()passthroughbuildAgentIdentityPromptis fully removed from zero directoryCloses #6231
🤖 Generated with Claude Code