You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(review): map or fail closed before filing Linear issues without a project (INT-2619) (#273)
review --max --fix (and review --issues) filed autonomous follow-up issues
with no Linear project when the repo had no openswarm.json mapping, only
logging a warning that's easy to miss in unattended runs. Confirmed via
Linear: 15 orphan audit issues across vega-agent, OpenSwarm, enzyme,
audioman, pykiwoom-rest, ecount-mcp, whisper-diarization, NDrum, and
CompanyDataEngine (backfilled to their correct projects; NDrum and
CompanyDataEngine had no project at all, so those were created).
- ensureProjectMapping() in reviewCommand.ts: when no repo->project mapping
exists, map it interactively (same picker as openswarm add) on a TTY, or
fail closed headless instead of silently filing a project-less issue.
- Wired into runReviewCommand (--issues) and all three reviewMaxCommand.tsx
filing paths (filePmSynthesizedIssues / createMasterAuditIssue /
filePerAreaFollowups).
- resolveLinearCredential() now also checks config.yaml linear.apiKey, the
same source ensureTaskSource() uses — closes a gap where the mapping
preflight could wrongly conclude Linear wasn't configured and let filing
proceed without a project.
- no-teams from the mapping picker (team lookup failure) now aborts instead
of silently proceeding, since it isn't a user choice to skip mapping.
- openswarm.json added for this repo and vega-agent (the two repos without
one); enzyme, whisper-diarization, NDrum, CompanyDataEngine also mapped.
179 -> 186 tests passing, tsc clean, oxlint clean.
0 commit comments