Repository navigation
MUL-8688 feat(cli): control per-issue PR auto-complete - #10057
Merged
Merged
Conversation
Co-authored-by: multica-agent <github@multica.ai>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
EulerBlind
pushed a commit
to EulerBlind/multica
that referenced
this pull request
Nov 6, 2026
Co-authored-by: multica-agent <github@multica.ai> (cherry picked from commit e7592c5)
ddvnguyen
added a commit
to ddvnguyen/multica-x
that referenced
this pull request
Nov 11, 2026
* MUL-8709 fix(attachments): respect quoted fields when detecting CSV delimiters (#10062)
* fix(attachments): respect quoted fields when detecting CSV delimiters
* fix(attachments): isolate CSV delimiter quote states
* feat(cli): control per-issue PR auto-complete (#10057)
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8712 fix(sidebar): drop the title tooltip on sidebar issue rows (#10064)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8686 fix(daemon): reclaim build caches from idle chats (#10038)
* fix(daemon): reclaim build caches from idle chats
* fix(daemon): skip repeat chat sweeps and unify env root guards
---------
Co-authored-by: Frezc <6942296+Frezc@users.noreply.github.com>
* fix(issues): offer retry for failed first list pages (#10044)
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8706 test(service): assert delegated-failure recovery tests on fixture rows, not global sweep totals (#10061)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8718 docs(agents): DB-backed tests assert on fixture rows, not global query totals (#10070)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8705 docs(contributing): simplify PR and issue templates, require UI screenshots (#10059)
* docs(contributing): require PR rationale and UI screenshots
Co-authored-by: multica-agent <github@multica.ai>
* docs(contributing): simplify PRs to high-level design sections
Co-authored-by: multica-agent <github@multica.ai>
* docs(contributing): clarify issue problems and goals
Co-authored-by: multica-agent <github@multica.ai>
* docs(contributing): restore issue link and fix issue section titles
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs(contributing): accept screen recordings as UI evidence (#10078)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8711 refactor(brand): drop the launch icon mode and the onboarding star-row entrance (#10077)
Loaders show only the think loop: the launch intro played twice on a signed-out Desktop cold start, was cut off on every web refresh, and showed a solid star under reduced motion. The onboarding welcome star row is static so the wordmark write-on is the only entrance on that screen.
* fix(squads): correct custom picker trigger semantics (#10068)
* MUL-8571 ZIC-396 fix(hermes): own Windows task gateways without breakaway (#9963)
* fix(hermes): own Windows task gateways without breakaway
Co-authored-by: multica-agent <github@multica.ai>
* fix(hermes): honor Windows gateway launch contract and run CI tests
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: multica-agent <github@multica.ai>
* fix(team): limit agent status previews and persist section collapse (#10066)
Co-authored-by: multica-agent <github@multica.ai>
* fix(autopilots): stop a running run-only run from run history (#10097)
* MUL-8744 fix(landing): remove the header logo hover hop animation (#10101)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8764 feat(rail): reorder the rail spaces by drag (#10121)
* feat(core): persist the app rail's item order per device
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8764 feat(rail): move New issue and search into the rail and reorder rail items by drag
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8764 fix(rail): keep New issue and search where they were; reorder the spaces only
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8764 fix(rail): cancel the click that ends a drag before dnd-kit swallows it
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8766 fix(sidebar): stop opening an issue's project on every issue page (#10123)
* MUL-8766 fix(sidebar): stop opening an issue's project on every issue page
Opening any issue expanded its project in the Work panel and saved that as
if the user had expanded it, so projects piled up open, an issue clicked in a
view lit in two places, and the project often opened without listing the
issue (only the first 5 load) while All issues lit instead.
The tree now changes only when the user toggles a row:
- the open issue lights in one list: the one it was clicked in, else its
expanded project, else the first list that shows it;
- when no list shows it, its collapsed project row is marked (bold, filled
icon, no fill);
- an expanded project always lists its open issue, last when no loaded page
has it;
- the issue page's menu gains "Show in sidebar", which opens the project row
and scrolls to the issue.
Projects the sidebar filters out are no longer inserted for an open issue.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8766 fix(sidebar): address review on showing the open issue
- "Show in sidebar" opens the nav sheet in the compact layout, where
navCollapsed is always false.
- "All issues" lights for the open issue only when it has no project, not
whenever no other row marks it (Projects section collapsed, project
filtered out).
- An expanded project lists its open issue even when a view holds the
highlight: the open issue and the lit row are passed separately.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8775 fix(dev-env): report a stale API or busy web instead of a foreign listener (#10127)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8780 fix(dev-env): wait for our own web server while it compiles instead of calling the port busy (#10129)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8779 feat(rail): narrow the app rail from 64px to 56px (#10130)
Space tiles go from 52 to 48px; the label box stays 44px so no locale
gains truncation. Badges move in 2px to keep their place on the icon.
Desktop's RAIL_WIDTH follows so the title bar clearance stays right.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8781 fix(core): cap the dev User Timing buffer so React render measures stop leaking (#10131)
* MUL-8781 fix(core): cap the dev User Timing buffer so React render measures stop leaking
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8781 fix: install the User Timing cap from the app entry points, keep core env-free
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8778 feat(ui): rectangle buttons and chips, round only for named exceptions (#10132)
* MUL-8778 feat(ui): rectangle buttons and chips, keep round send button
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8778 chore(lint): flag rounded-full on buttons, links and chips
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8778 docs(ui): document control shape rule and exceptions
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(codex): stream agent text while the answer is generated (#10100)
Codex handed off only the first delta of an agent message and held the
rest until item/completed or a 512 KiB aggregate, so live chat and
channel bots (Telegram edits) showed the first word until the end.
Flush pending text on the next delta once it has waited 500 ms, matching
the daemon's report batch.
* perf(search): prune terminal-issue comments in open-only issue search (#10098)
When include_closed is false, issue_matches excludes terminal statuses via issueWhere, but comment_matches previously scanned, lowercased, and aggregated comments across all issues in the workspace before the LEFT JOIN discarded closed-issue rows.
Push an EXISTS check reusing issueWhere into comment_matches when terminalStatusesParam is set so closed issues' comments are skipped before LOWER(c.content) and BOOL_OR/ARRAY_AGG aggregation. Queries with include_closed=true remain byte-for-byte identical.
* fix(issues): clear date filters in unread empty states (#10104)
Co-authored-by: multica-agent <github@multica.ai>
* fix(issues): retain duplicate marking feedback after picker closes (#10114)
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8759 feat(views): show project icon in sidebar project tree (#10116)
* feat(views): show project icon in sidebar project tree
Rows in the Work panel's Projects section always rendered a folder, ignoring
the icon chosen in project settings. Render the chosen icon through the shared
ProjectIcon and keep the folder for projects without one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(views): show project icon for pinned projects in the sidebar
Pinned project rows still rendered a folder after the Projects tree started
showing the chosen icon, so the same project looked different in the two
sections. Use the same ProjectIcon-or-Folder rule for pinned projects.
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: MamRez <8177863+iMohammadReza@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Bohan-J <bhjiang@outlook.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(cli): add --project filter to issue search (#10088)
Allow scoping 'multica issue search <query>' to a single project via --project (full UUID or short prefix, resolved through resolveProjectID), forwarding project_id to GET /api/issues/search.
On the server, SearchIssues validates project_id with parseUUIDOrBadRequest (400 on malformed UUID, matching ListIssues) and pushes the predicate into both issue_matches and comment_matches CTEs so comment-only hits outside the target project are filtered before candidate aggregation. Unfiltered queries remain byte-for-byte identical.
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8782 fix(rail): show the full name when a rail label is cut off (#10133)
* MUL-8782 fix(rail): show the full space name when its rail label is cut off
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8782 fix(i18n): shorten the Spanish rail Inbox label to Bandeja
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8784 chore(core): enforce the core package boundary with ESLint (#10134)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8776 fix(desktop): align title-bar actions with the page column, merge the issue window header into the traffic-light row (#10128)
* MUL-8776 fix(desktop): align title-bar actions with the page column, merge the issue window header into the traffic-light row
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8776 fix(issues): put the issue sidebar's first heading on the header band and the label edge
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8043: feat(issues): include sub-issue runs in execution logs and timelines (#9283)
* feat(issues): include descendant execution logs
Cherry-picked from 288c88f759d0b7e9e98c007341f343add6b571de, excluding private MCA deployment tooling.
* fix(issues): align descendant scope checkbox with recent runs
(cherry picked from commit e6e0cfcc2606da30209b8974347c22a1c6b04fb8)
* fix(issues): control descendant scope independently in runs dialog
(cherry picked from commit 3b9a7159f66f186bcffbf7ed2d669d5fe907add1)
* fix(issues): follow upstream terminology and document dialog scope
* fix(i18n): translate subtree execution history in Spanish
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Bohan-J <bhjiang@outlook.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8771 fix(sidebar): use the shared drag click guard in pinned, views and projects (#10124)
On desktop React is mounted below the document, so it never sees the
release click that dnd-kit stops after a drag. The per-row wasDragged
refs stayed set and swallowed the next real click, and the release
click itself was left to navigate natively. Move useDragClickGuard out
of the rail into a shared hook and use it in all three lists.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-6907 feat(i18n): add complete Russian localization for web and desktop (#9832)
* feat(i18n): register ru locale and add Russian language option
Wire Russian (ru) as a selectable UI locale:
- add "ru" to SupportedLocale / SUPPORTED_LOCALES (packages/core/i18n/types.ts)
- import the ru bundles and register RESOURCES.ru (packages/views/locales/index.ts)
- add the Русский option to the preferences language picker
- accept "ru" in the backend supportedLanguages allow-list so the
user.language field round-trips through updateMe/GetMe (auth.go)
- add the Русский endonym label to en/zh-Hans/ko/ja settings bundles
Translations for the ru bundles follow in subsequent commits. Refs #7848.
* feat(i18n): add Russian translations for core UI namespaces
common, ui, layout, auth, settings, modals, editor, search, inbox.
Keys mirror the en bundle 1:1 (parity guard stays green). Refs #7848
* feat(i18n): add Russian translations for work-item namespaces
issues, my-issues, projects, labels, members, workspace, squads, invite.
Refs #7848
* feat(i18n): add Russian translations for agent and billing namespaces
agents, autopilots, runtimes, skills, chat, onboarding, billing, usage.
Refs #7848
* fix(i18n): populate ru in exhaustive SupportedLocale records
Adding ru to SupportedLocale makes every exhaustive Record<SupportedLocale>
literal incomplete (tsc). Fill the ru arm in:
- web/desktop HTML_LANG maps (ru -> "ru")
- onboarding CONTENT_LANG_BY_LOCALE (ru -> "en" fallback; no ru Mika content yet)
- web use-cases marketing copy
- the agents task-failure test fixtures (bundle + expected label)
- the 100 celestial workspace-name suggestions (Russian astronomical names)
Refs #7848.
* fix(i18n): add ru to landing localeLabels record
The landing header's localeLabels is Record<Locale, string> (Locale =
SupportedLocale), so it also needs the ru arm to typecheck. Landing marketing
copy isn't translated yet, so ru is not added to the landing locale switcher
list; toLandingDictionaryLocale already falls ru back to the English
dictionary. Refs #7848.
* chore(ci): re-trigger checks (unrelated flaky sidebar-resize + lint)
frontend-views-test failed only on layout/sidebar-resize.test.tsx
(setItem call count in a jsdom pointer-drag test) — this PR does not touch
packages/views/layout; a full local views run shows 4944 passed / 1 failed
(that test only). eslint is clean on the files this PR changes.
* fix(i18n): restore ru locale parity with latest main
Since the ru bundle was created, main added new EN keys and retired others
across 11 namespaces. Fill every missing ru key (settings desktop.daemon.*,
issues inline_run/reply.annotations, agents mcp_config, auth web.callback.*,
and more) and drop the now-stale ru-only keys so locales/parity.test.ts passes
in both directions. ICU placeholders and EN plural suffixes preserved.
* fix(i18n): refill ru locale keys after French locale merge
The French locale (#7141) added new EN keys (agents activity success
hints, skills toolbar labels) and a `preferences.language.french` label.
Merging main into the ru branch left ru behind on those keys.
- Add the shared `preferences.language.russian` / `.french` autonym label
to every locale so the language selector renders both options and the
bundles stay at parity.
- Translate the new agents `success_hint`, `success_unavailable`,
`cancelled_count` and skills `section_labels`,
`filter_search_placeholder`, `no_labels`, `no_results` keys into Russian.
* ci: re-trigger checks (flaky execenv gitroot maintenance.lock race)
* fix(i18n): add ru few/many plural forms
i18next picks the plural suffix via Intl.PluralRules and falls back to
English, not to ru _other, when _few/_many are missing, so counts 2-20
rendered as "3 issues". Add _few/_many to all 126 ru plural sets; _many
takes the former _other text and _other now holds the fractional form.
Co-authored-by: inoisy <26604370+inoisy@users.noreply.github.com>
* test(i18n): guard against missing plural categories
Normalize _few/_many in the parity check and add a missing plural-form
guard: every plural set must cover each category the locale reaches for
counts 0-1000 and 1.5, so the next locale with the same gap fails CI.
Co-authored-by: inoisy <26604370+inoisy@users.noreply.github.com>
* fix(i18n): resync the ru locale with main
main added about 800 EN keys since the last sync (mostly issues, settings,
autopilots and editor), retired about 180, and reworded 98 existing
strings. Translate the new keys with full ru plural sets
(_one/_few/_many/_other), drop the retired ones, retranslate the reworded
strings whose meaning changed, and keep each ru bundle in EN key order.
Also use "запуск" for run in the task activity lines.
* fix(i18n): translate working agent filter error in Russian
* fix(i18n): distinguish Russian runs from tracked issues
* fix(i18n): refresh Russian strings for current upstream
* fix(i18n): align Russian notification routing with current main
* fix(i18n): match Russian notification settings and skill terms to current English
The notification settings strings followed the Inbox wording from #9815,
which #9875 reverted. Restore the translations of the current English
(tab label, section title, description, system notification label).
Use навыки consistently instead of the untranslated word skill, and drop
two trailing periods that English no longer has.
Refs #7848
Co-authored-by: multica-agent <github@multica.ai>
* feat(desktop): add Russian labels to the context menu
Users whose OS language is Russian saw the custom link, image and
dictionary items in English.
Refs #7848
Co-authored-by: multica-agent <github@multica.ai>
* fix(i18n): sync Russian status-archive copy and run concurrency tooltip
The status archive dialog still promised that issues keep the archived
status, while English (since #8261) says to move all issues out first.
The agent concurrency tooltip counted issues (задачи) instead of runs
(запуски); cover it in the run terminology regression.
Refs #7848
Co-authored-by: multica-agent <github@multica.ai>
* fix(i18n): translate Russian execution log keys added on main
Refs #7848
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Danila Katalshov <56929384+ADanMan@users.noreply.github.com>
Co-authored-by: inoisy <26604370+inoisy@users.noreply.github.com>
Co-authored-by: Danila <dkatalshov@mac-master.local>
Co-authored-by: Bohan-J <bhjiang@outlook.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8641: fix(skills): add explicit local source choice and batch folder imports (#9505)
* fix(skills): support explicit source choice and batch folder imports
* fix(skills): guard import queues and verify uncertain results
* fix(skills): preserve BOM semantics when reconciling imports
* fix(i18n): complete batch skill import translations
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Bohan-J <bhjiang@outlook.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8786 fix(views): show the full property label when it is cut off (#10138)
* MUL-8786 fix(views): show the full property label when it is cut off
ObjectProperty labels sit in a fixed 80px column and truncate with no way to read the rest. Wrap them in TruncatedTooltip so a clipped label shows in full on hover; labels that fit are unchanged. Shorten French "Identifiant du daemon" to "ID du daemon" so it fits.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8786 fix(views): let the keyboard reach a cut-off property label
A clipped label becomes a tab stop so focusing it opens the full-text tooltip; labels that fit stay out of the tab order. The label re-measures when it resizes and once web fonts load.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8788 chore(views): enforce no store definitions in packages/views with ESLint (#10139)
Move useSearchStore to @multica/core/command-bar and ban zustand store
factories (create/createStore) in non-test views files.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(i18n): add the Russian skills keys missing since #9505 (#10146)
#9505 added twelve create.local strings without Russian translations, so
the locale parity test has failed on main since it merged.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8787 feat(dev-env): make up C=desktop starts a signed-in Desktop with an optional CDP port (#10141)
* MUL-8787 feat(dev-env): make up C=desktop starts a signed-in Desktop with an optional CDP port
- --cdp / --remote-debugging-port N / --no-cdp record a DevTools port in the
environment manifest; up, status --json and the ready block report it.
- Desktop start reuses the daemon path's login (onboarded 'dev' workspace),
seeds two issues into an empty workspace, and hands the profile token to
the dev main process through MULTICA_DEV_AUTH_TOKEN (dev builds only).
- up writes the Desktop env file for any component set when the file is
missing or managed by this tool.
- Stopping Desktop also reaps descendants in turbo's nested process group
and stops the daemon Desktop started; destroy removes Desktop's derived
desktop-localhost-<port> CLI profile.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8787 fix(dev-env): confirm Desktop's daemon stopped before dropping its profile; --no-cdp needs desktop
- stop_desktop_daemon uses 'daemon stop --force', which waits for the profile
lock and confirms cleanup, then re-checks the pid; a plain stop exits 0
while the daemon is still finishing a run.
- destroy keeps Desktop's desktop-localhost-<port> profile (its pid and
config) when Desktop or its daemon could not be stopped, so a retried
destroy can still find it.
- --no-cdp now requires the desktop component like --cdp: clearing the record
without restarting Desktop left the old port serving while status said null.
- Tests: a stop that reports success with the daemon alive, a failed destroy
that keeps the profile and manifest, a retry that finishes, and --no-cdp
without desktop.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(comments): reply directly from selection annotations (MUL-8702) (#10065)
* feat(comments): reply directly from selection annotations
Co-authored-by: multica-agent <github@multica.ai>
* fix(issues): preserve annotation notes during copy and recovery
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Sol-Boy <sol-boy@multica-ai.local>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8790 chore: enforce the dependency catalog and narrow mobile's core imports; sync boundary docs (#10142)
* MUL-8790 chore(deps): move shared dependencies to the pnpm catalog and enforce it in CI
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8790 refactor(mobile): import pure core modules through their own subpaths
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8790 docs: tighten package-boundary rules and sync the conventions table
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8790 chore(deps): keep transitive resolutions unchanged in the catalog migration
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8696: allow squad handoffs from the agent picker (#10137)
* feat(workflows): allow squad handoffs (MUL-8696)
Co-authored-by: multica-agent <github@multica.ai>
* fix(workflows): preserve squad handoffs behind pending runs
Co-authored-by: multica-agent <github@multica.ai>
* fix(workflows): cancel deferred runs on assignee handoff
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8777 fix(layout): one left edge per column, one header band across columns (#10140)
- Settings nav uses the panel insets, so its icons and labels stop
jumping 4px against every other space; the search field sits on the
row edge with its glyph on the icon column.
- The rail's workspace tile is centred on the card's header band on web
and Desktop.
- Inbox and Chat empty lists sit on the column title's edge.
- Nested tree rows put their icons on the parent's label column.
- Panel header actions share the sections' trailing centre line.
- The Settings page header sits on the body's centred column.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* test(daemon): fix flaky TestLocalPathLockerSerializes (#10148)
onWait incremented waitCalls before storing the holder, so the main
goroutine could observe the counter and read a nil holder. Store the
holder first so the polled counter is the last write.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8791 feat(dev-env): attach helper for scripting the managed Desktop over CDP (#10143)
scripts/desktop-cdp.mjs attaches Playwright to the Desktop started by
make up C=desktop ARGS=--cdp (#10141), runs a script module against its
main window with real input, records a CDP screencast to MP4 and takes
screenshots. --login restores the dev session from the environment's
profile token. make env-exec exports the CDP and renderer URLs it needs.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(i18n): add the Russian reply annotation keys missing since #10065 (#10153)
Co-authored-by: Lambda <lambda@multica.ai>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8792 fix(ui): let keyboard users reach cut-off text behind a tooltip (#10147)
* MUL-8792 fix(ui): let keyboard users reach cut-off text behind a tooltip
TruncatedTooltip gains an opt-in focusable prop: plain-text triggers become
a tab stop with a focus ring only while their text is cut off. ObjectProperty
now uses it instead of its local hook, and standalone text in panels, dialogs
and settings rows opts in. Text inside a focusable control moves the tooltip
onto that control, so focusing it opens the tooltip without new tab stops.
Focus that lands under a hovering pointer (menu items) waits for the hover
delay instead of opening at once.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8792 fix(ui): address review on keyboard-reachable truncated text
- Keep a live run's sr-only status text out of the tab order.
- Only hold back focus that a hovering pointer caused: a key press since the
pointer entered marks it as keyboard focus, so Tab and Shift+Tab under a
resting mouse reopen the tooltip.
- Stub ResizeObserver in the desktop test setup.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8795 chore: upgrade apps/web fumadocs to match apps/docs and drop --webpack (#10152)
Move fumadocs-core, fumadocs-mdx, and fumadocs-ui onto the pnpm catalog so
apps/web and apps/docs share one version, and remove the two allowlist
entries from the catalog check. fumadocs-mdx 15 generates .source/server
and works under Turbopack, so web's dev and build scripts no longer need
--webpack.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8796 feat(dev-env): capture the managed Desktop's native macOS window (#10154)
* MUL-8796 feat(dev-env): capture the managed Desktop's native macOS window
scripts/desktop-window-capture.mjs writes a PNG of this environment's
real Desktop window, title bar and traffic lights included. It reads the
CDP port and Desktop identity from `make status --json`, takes the PID
listening on that port, and captures only that PID's on-screen layer-0
window with `screencapture -x -o -l`. It never matches by app name or
title, which the dev build shares with the user's own Desktop. Window
lookup uses JXA instead of a generated Swift script, and the transparent
rounded corners are flattened onto white in Node, keeping the colour
profile.
--compare BASE stops Desktop, checks out BASE's version of the changed
files without touching the index, relaunches through dev-env.sh,
captures before.png, restores the files, relaunches and captures
after.png. Files are restored and Desktop relaunched on success,
failure and SIGINT/SIGTERM/SIGHUP.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8796 fix(dev-env): keep on-disk files through --compare and run --prepare for single captures
Backups now follow the file on disk rather than git's diff status, so a
path git reports as deleted but which still holds a local file (after
git rm --cached) is restored instead of removed. Symlinks and
directories are refused before anything moves.
A single capture now runs --prepare (DESKTOP_CAPTURE_STATE=current) and
aborts without capturing when it fails. The entrypoint guard compares
real paths, so the script also runs when invoked through a symlink.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8801 fix(desktop): keep electron-vite's NODE_ENV out of the daemon env (#10159)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8800 fix(scripts): run entry guards on real paths so symlinked runs don't silently pass (#10158)
* MUL-8800 fix(scripts): run entry guards on real paths so symlinked runs don't silently pass
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8800 chore(ci): drop duplicate catalog test step; frontend-quality already runs it
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8802 fix(desktop): strip the dev launcher's pnpm/turbo/electron-vite env from the daemon (#10160)
* MUL-8802 fix(desktop): strip the dev launcher's pnpm/turbo/electron-vite env from the daemon
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8802 test(desktop): mock electron in runtime-config-loader test so it skips the binary download
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8807 test(desktop): fail fast when a unit test loads the real electron package (#10163)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8329 feat(views): widen the issue and chat reading column on wide screens (#10162)
The issue detail and chat columns parked at a fixed 896px, so on 2560-3440px screens logs, diffs and tables wrapped inside a narrow strip while most of the pane stayed empty.
The column now follows its container: clamp(56rem, 70cqi, 70rem). Narrow panes keep 896px; wide panes grow to at most 1120px, and everything in the column (prose, code, tables, cards) shares the same edges. The issue scroller and its loading skeleton become the @container; chat hosts already were, so the default floating chat window keeps its width.
Closes #9628
* MUL-8809 fix(views): give the floating chat window's icon-only header buttons accessible names (#10164)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8797 feat(inbox): align the inbox filter with the issue filter (#10161)
* feat(inbox): align the inbox filter with the issue filter
Group the inbox filter into notification fields (read state, type, from,
received) and issue fields (status, priority, agent status, project,
assignee, label, due date), with the issue filter's search, active
section, is / is not, and a compact chips bar.
Notification fields match any notification of an issue and the row shows
the newest match; issue fields test the issue. The inbox list and archive
endpoints project project, assignee, due date and labels, and the archive
filters and facets them server-side. Filters stay saved per workspace;
the old idle toggle migrates to agent status = idle.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(inbox): keep an is-not picked first; re-ask the archive after label changes
Choosing "is not" before any value dropped the store entry, so the first
value landed as "is". The operator now stays with its dimension until the
field is cleared, as in the issue filter; an operator with no value is not
counted, not sent, and forgotten on reload.
A label change only patched loaded archive rows, so an issue that newly
matched a label filter never appeared and the facet counts stayed put. Once
the change is committed (mutation success or the realtime event) the archive
pages, lookup and facets are re-read.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(inbox): carry the archive filters into the open row's lookup and anchor
An open archived row that left the filtered pages (auto-read under unread
only) was re-resolved by an unfiltered lookup. That returned the group's
newest notification, which the view's filters then rejected, closing the
detail. The lookup now asks with the view's filters minus unread, so it
returns the row the list showed, and keeps its last answer while a filter
change reloads it. A filtered lookup that comes back empty is checked once
without filters, so a filtered-out deep link still clears the selection
instead of redirecting to the issue page.
The archive page took every row's comment anchor from the group's newest
comment, so a mention matched by a type filter jumped to a later comment.
A notification's own comment now wins; the group anchor only fills rows
without one.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8808 feat(dev-env): onboarded web workspace and one-shot chat/builder/issue fixtures (#10166)
Every make up now signs dev@localhost in, marks the user onboarded and seeds
the dev workspace with two issues, whichever components are selected, so a
Playwright script can open /dev/issues with the profile token.
scripts/dev-fixtures.mjs seeds a chat session, an Agent Builder session and a
wide-markdown issue with a comment. Replies are completed through the daemon
API with the profile's user token, so it needs no model and no daemon and
works inside a daemon-managed task.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* perf(ci): reduce frontend validation overhead (MUL-8789) (#10145)
Reduce repeated repository scans and test locale loading, defer calendar modules until use, and balance the two existing views shards with versioned timings.
Preserve behavioral coverage and test isolation. Keep UI evidence in the PR description, document focus after lazy loading, and report runner CPU details for performance comparisons.
Validation: full CI, targeted unit/type/lint checks, and a browser smoke test for due dates, custom date properties and keyboard-driven range selection.
CI: https://github.com/multica-ai/multica/actions/runs/42579957001
* MUL-8725 feat(tooling): upload PR evidence as native GitHub attachments (#10156)
* feat(tooling): add native PR attachment uploader
Co-authored-by: multica-agent <github@multica.ai>
* docs: clarify placement of uploaded PR attachments
Co-authored-by: multica-agent <github@multica.ai>
* test(desktop): mock Electron in runtime config loader tests
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Yushen <yushen@devv.ai>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8754 fix(views): refetch a failed issue mention when the window regains focus (#10111)
* fix(views): refetch a failed issue mention when the window regains focus
An issue mention outside the cached list falls back to a detail query. The
shared query client disables refetchOnWindowFocus and retries once, so a
transient failure left the chip at its identifier-only fallback until reload.
Enable focus refetch for that fallback query only; a hydrated query stays
fresh under staleTime: Infinity and is not refetched.
* fix(views): skip focus refetch for missing issue mentions (MUL-8754)
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: congvc-bot[bot] <3634010+congvc-bot[bot]@users.noreply.github.com>
Co-authored-by: Sol-Boy <sol-boy@multica-ai.local>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8760: fix(server): heal a drifted issue_counter only when a number collides (#10117)
* fix(issue): heal a drifted issue_counter on collision, not in every create
A workspace whose issue_counter trails MAX(issue.number) hands out a number
uq_issue_workspace_number already holds. Because AllocateIssueNumber bumps the
counter inside the same transaction as the INSERT, the unique violation rolls
that bump back with it: every later create in the workspace retries the same
taken number, and card creation stays wedged with a 500.
This reacts to the collision instead of paying for it on every create:
- IncrementIssueCounter stays `issue_counter + 1`. A healthy create performs
exactly the statements it performed before.
- The violation is typed as IssueNumberCollisionError and reported as
409 issue_number_collision naming the constraint and the allocated number,
instead of the generic "failed to create issue".
- On that collision only, HealIssueCounter moves the counter to
MAX(issue.number) for that workspace and the whole transaction runs again
once. The retry is the transaction, not a savepoint: a savepoint would have
to be established before the statement that might fail, so every successful
create would pay for it too.
- Every repair is logged with the counter it replaced, the highest number the
workspace holds and the number it repaired to. A collision whose counter is
not actually behind is logged and never retried.
Tests: drift seeded as issues 1..5 with the counter left at 2 now lands on 6;
a healthy workspace still allocates counter+1; concurrent creates never share
a number.
Co-authored-by: multica-agent <github@multica.ai>
* fix(issue): pass the create result through when Create returns an error
createOnce returns data alongside some of its errors: ErrActiveDuplicate comes
with IssueCreateResult{DuplicateIssue}, and handler.CreateIssue dereferences it
to build the 409 body. The heal wrapper replaced that result with an empty one,
so the duplicate-response test panicked on a nil DuplicateIssue.
Co-authored-by: multica-agent <github@multica.ai>
* fix(server): heal autopilot issue number collisions
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: Sol-Boy <sol-boy@multica-ai.local>
* MUL-8516 feat(apps): redesign Connected Apps — team accounts, per-agent apps, confirmations (#9849)
* feat(apps): redesign Connected Apps with team accounts, per-agent apps and confirmations
Rebuilds Connected Apps (MUL-8516, plan B, phase 1):
- workspace-owned team accounts alongside personal accounts, unified catalog
with curated mode, and a Settings > Apps page under workspace connections
- per-agent app list with account scope and access level
- server-side MCP gateway with action classification and allow/confirm/block
rules; confirmations land on the issue, chat and Inbox, and the agent is
resumed with the decision
- pinned inbox route kinds for app confirmations and connections
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(apps): call chips, issue apps sidebar, return-to-page connect, custom catalog, tool class overrides, result notifications, rate limit
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* chore(migrations): renumber Connected Apps migrations to 612-622 after main took 611
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(apps): human-only app endpoints, outward-write classification, member-exit and rate-limit checks on approval, paged requests, parsed API responses
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(apps): archive or trash flags on an update tool count as delete
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(apps): complete Spanish and Russian locales and isolate chat header tests
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: Sol-Boy <sol-boy@multica-ai.local>
* MUL-8758 BOYF-670 fix(core): recover pending invitations on focus and reconnect (#10115)
* fix(core): reconcile pending invitations on focus and reconnect
Co-authored-by: multica-agent <github@multica.ai>
* fix(core): recover account invitations after WebSocket reconnect (MUL-8758)
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: Sol-Boy <sol-boy@multica-ai.local>
* fix(views): give the issue views' icon-only Mark done, Archive, Pin and Add issue buttons accessible names (#10167)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8813 chore(eslint): fail lint on icon-size Buttons without an accessible name (#10168)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(connected-apps): pass stored Composio user ID during execution (#10174)
Co-authored-by: Yushen <yushen@devv.ai>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8702: unify annotation saves and whole-draft sends (#10165)
* fix(issues): unify annotation saves and whole-draft sends
Co-authored-by: multica-agent <github@multica.ai>
* fix(issues): preserve annotated reply targets
Co-authored-by: multica-agent <github@multica.ai>
* fix(issues): stop annotation sends before target side effects
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Sol-Boy <sol-boy@multica-ai.local>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8816 chore(eslint): fail lint on icon-only native buttons without an accessible name (#10172)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat: open web issues in desktop (MUL-8735) (#10170)
* fix(dev): align desktop app URL with the managed web port
Co-authored-by: multica-agent <github@multica.ai>
* feat(issues): open web issues in the desktop app
Co-authored-by: multica-agent <github@multica.ai>
* fix(desktop): apply comment links to reused issue tabs
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8822 feat: ask for a GitHub star after an agent finishes enough issues (#10182)
* feat(server): track GitHub star prompt showings per user
Adds an atomic claim endpoint that enforces account age, a 30-day
cooldown and a two-showing cap, a starred marker that retires the
prompt, and a DISABLE_STAR_PROMPT deployment switch exposed through
/api/config.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* refactor(core): share the GitHub star count fetch
Moves the landing page's star fetch into @multica/core/github/stars so
the app can show the same count through React Query.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat: ask for a GitHub star after an agent finishes enough issues
Shows a card above the chat launcher 2.5s after the user moves an
agent's issue to done, once that agent has three done issues, and adds
a permanent Star on GitHub entry to the Help menu.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* docs(selfhost): document DISABLE_STAR_PROMPT
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix: share the session prompt quota and count custom done statuses
The source survey now claims the session's one interruption when it
opens, so a user who answered, skipped or closed it is not asked for a
star in the same session. The per-agent done count asks for the done
category, and ApiClient.listIssues now sends status_category and
status_categories instead of dropping them.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(onboarding): count the source survey gate by done category
The star prompt waits for the source survey, so a workspace that
finishes work in custom done statuses never reached either prompt: the
survey counted only the literal done status and saw zero.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(desktop): keep the star prompt out of the way while the workspace resolves
StarPrompt now reads the current workspace instead of throwing through
useWorkspaceId, and the desktop shell tests stub it like the other
workspace-scoped chrome.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8820: feat(projects): add a rename entry to project menus (#10171)
* feat(projects): add a rename entry to project menus
A project's name could only be changed by clicking the title text in the
project page's properties panel, which nothing marks as editable and which
is out of reach while that panel is collapsed. The project page's name
menu, the projects list row menu (the ⋯ button and right-click) and the
project cards offered no rename, so a project looked impossible to rename
once created.
Add "Rename project" to the project page's name menu and "Rename" to the
projects list row menu. Both open a small dialog with the current name
selected; saving writes through the shared useUpdateProject mutation, so
the list, the sidebar tree, the header and the properties panel update
together. An empty name is refused, an unchanged one closes without a
request, and a failed save keeps the dialog and the draft.
The new copy is translated in every locale.
* fix(projects): reject offline rename submissions
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Bohan-J <bhjiang@outlook.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8829: fix CLI comment attachment binding (#10184)
* fix(cli): 修复评论附件的绑定范围
* fix: bind unowned comment attachments atomically
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: 16bh <13450647+16bh@users.noreply.github.com>
Co-authored-by: Bohan-J <bhjiang@outlook.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(cli): fail daemon start without matching child health (#10207)
Co-authored-by: multica-agent <github@multica.ai>
* fix(cli): prefer exact agent names for squads and autopilots (#10215)
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8853: feat(dev-env): let an agent start its own environment's daemon (#10221)
* MUL-8853: feat(dev-env): let an agent start its own environment's daemon
Inside a daemon-managed task the CLI refused every daemon lifecycle command,
so make up C=daemon stopped early and an agent could never test a real agent
run. The CLI now allows daemon start, stop, status and probe-runtimes for an
explicit --profile the dev-env registry assigns to an environment (its CLI
profile, or its Desktop's desktop-localhost-<port> profile), when the daemon
would talk to that environment's API and the task's MULTICA_* identity has
been stripped, as dev-env's CLEAN_ENV does. Every other profile and command
stays refused.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8853: pass MULTICA_DEV_HOME through to the dev Desktop
turbo runs Desktop's dev task in strict env mode, so a custom dev-env
registry never reached Desktop's bundled CLI, which then refused its daemon
inside an agent task.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8857: fix(cli): stop telling a live task to delete its own marker (#10224)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8858: test(cli): run cmd/multica tests outside the host's task marker (#10225)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8889: feat(sidebar): add Edit view to a saved view's menu (#10228)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8891: fix(views): slim the space panel scrollbar (#10229)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8893: test(repocache): clear host GIT_CONFIG_* vars in TestGitEnv (#10230)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(editor): sign streamed video, audio and PDF previews afresh (MUL-8892) (#10232)
The viewer handed the attachment record's download_url straight to
<video>, <audio> and the PDF iframe. Records live in caches that never go
stale, while a CloudFront-signed download_url expires after 30 minutes, so
on any page left open that long a video preview loaded a 403 and showed an
empty player. Images escaped only because their bytes were already cached
from rendering inline.
Fetch fresh attachment metadata for these kinds before loading them (the
same exchange the Download button makes), and show the failed state with a
Download button when the browser cannot play a file.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(paths): reserve the chat channel bind routes as workspace slugs (#10223)
/lark/bind, /slack/bind, /telegram/bind and /wecom/bind are global
pre-workspace pages like /dingtalk/bind, but only dingtalk was reserved.
The others resolved to a workspace slug, so editor links and the desktop
window bridge treated a bind link as a page inside a workspace named
lark, slack, telegram or wecom. Reserve them the same way; existing
workspaces with those slugs keep working because reservation only gates
creation.
* MUL-8897: docs(config): document zero-duration watchdog overrides (#10234)
* docs(config): document zero-duration watchdog overrides
The config reference left agent_idle_watchdog and agent_tool_watchdog
out of the supported-key table and said agent_timeout is the only
duration key that accepts 0s. multica config set stores 0s for both
watchdog keys (assignNonNegativeDuration), and the daemon reads 0 as
"disabled" for each. Add the two keys with their defaults and correct
the value rule, plus the two code comments that repeat the old claim.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs(config): tighten watchdog wording and sync translations
Clarify that 0s affects the daemon watchdog, note that a zero tool
watchdog leaves the run bounded only by agent_timeout, and add the
watchdog keys and value rule to fr, ja, ko, zh and zh-Hant.
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Bohan-J <bhjiang@outlook.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8899: feat(qoder): issue short-lived single-repo tokens from workspace GitHub App (#10236)
Use the workspace's GitHub App as a fallback for managed Qoder repository credentials, scoped to one repository with short-lived tokens. Preserve manual overrides, recheck authorization before follow-ups, and refresh credentials in reused and long-running sessions without persisting issued tokens.
Includes backend tests and documentation. Frontend changes are excluded.
Co-authored-by: AstralSolipsism <134063164+AstralSolipsism@users.noreply.github.com>
* MUL-8835: fix(auth): preserve a new bearer session after a stale 401 (#10209)
* fix(auth): preserve a new bearer session after a stale 401
* docs(auth): note the no-credential case in the stale-401 guard
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Bohan-J <bhjiang@outlook.com>
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8854 feat(cli,workflows): carry status icon through new_status and issue-status (#10220)
* feat(workflows): accept icon on new_status
A workflow step could declare a new status's name, category and color, but
not its icon: NewWorkflowStatus decoded the field away, so the apply exited
0 while every workspace kept the category default.
Carry icon through the write and validate it with the catalog's existing
vocabulary; an unknown value now fails the workflow write instead of being
silently replaced. A status that already exists by name is still reused
unchanged, because the catalog row is shared by every workflow.
* feat(cli): add issue-status commands with --icon
The status catalog was writable only through the web UI: the CLI had no
command for /api/issue-statuses, so a workspace that synced a workflow
before its status icons were declared could not repair them.
Add multica issue-status list|get|create|update|archive. Statuses are
addressed by key, name, or id; --icon is accepted on create and update,
and an explicit empty value resets to the category default, distinct from
leaving the icon alone.
The command is top-level rather than workflow status because the catalog is
workspace-shared and takes no workflow argument; Long help points at
'multica issue status' for an issue's current status. No unarchive: the
catalog API has no restore endpoint.
* docs(cli): document issue-status and new_status.icon
Add the command to the overview and command tables (en, zh, zh-Hant; the
ja/ko/fr pages predate the command reference), point the workflow row at
the catalog, and record in the platform skill reference that new_status
accepts icon only at create and that issue-status update repairs an
existing row.
* fix(cli): resolve status names to active entries (MUL-8854)
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Bohan-J <bhjiang@outlook.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(cli): validate self-host health before saving config (MUL-8851) (#10240)
* fix(cli): validate backend health before saving self-host config
Co-authored-by: multica-agent <github@multica.ai>
* fix(cli): report HTTP status for failed setup health checks
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: multica-agent <github@multica.ai>
* test(execenv): force the commit failure whatever the host signing format (#10238)
TestFinalizeKeepsWorktreeWhenCommitFails makes the commit fail by turning on
commit.gpgSign and pointing gpg.program at a missing binary. git only uses
gpg.program for the openpgp format, so on a machine whose global config
signs with ssh (gpg.format=ssh) the commit was signed with the developer's
real key and succeeded, and the test failed with "Finalize returned nil
error after the commit failed". Pin gpg.format to openpgp in the test's
worktree so the missing program is the one git runs.
* MUL-8745: feat(deliverables): a link that always opens the latest version (#10102)
* feat(deliverables): latest-version link for an issue deliverable
/{ws}/issues/{id}/deliverables/{name} opens the issue on the newest
upload of the deliverable called {name}, in the page's viewer with its
versions and info panel. It addresses the file by name, not by
attachment id, so a link shared once keeps opening the latest version
as the file is re-uploaded.
- findDeliverableByName: trimmed exact match on the existing grouping;
a name uploaded under two types means the most recent upload.
- The route waits for the timeline before deciding; a missing name
says so and leaves the reader on the issue.
- The canonical-URL rewrite keeps the /deliverables/{name} tail; the
#comment- deep link is unchanged. When the viewer the link opened
closes, the address is replaced with the plain issue page.
- "Copy link to latest version" on each sidebar row, each overview
tile, and the viewer's top bar for files that are deliverables.
- Web page and desktop route; diagnostics bucket the new route.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(deliverables): stay on a linked file that fails to load
The viewer skips an image that fails to decode, so a deleted or
unreadable file never traps the reader. For a latest-version link that
is wrong: the link names one file, and skipping showed a different one
with only a toast to say so.
openAt now takes { stayOnError }. The deliverable link opens with it;
if that file fails, the viewer stays on it and shows "Couldn't load
preview" with a download button on the stage. Moving to another file is
still the reader's choice, and other files skip as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(deliverables): resolve a link against a current timeline read
The link waited for `!timelineLoading`, but the timeline's loading flag
is false whenever cached data exists, and with staleTime: Infinity
mounting does not refetch. Following a link with a cached v1 opened v1,
and the handled guard kept it there once v2 arrived; a cached empty
timeline reported the file missing and dropped the link.
useFreshTimelineRead fetches the timeline once per link and reports
ready only when the cache the page renders from has taken that answer
(useIssueTimeline now exposes dataUpdatedAt). A failed read says the
load failed and keeps the link in the address, so reloading retries,
instead of calling the file missing.
Tests (deliverable-link.fresh.test.tsx; real timeline hook, production
QueryClient, deferred API response): cached v1, a cache that counts as
fresh, a cached empty timeline, a file that really is missing, and a
failed read that keeps the link.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(deliverables): keep a link's session across the overview handoff
Opening the overview from a linked preview (All deliverables, G) closed
the viewer, and the viewer closing gave the address back. On web that
replaced the deliverable route's page with the issue route's and
unmounted the overview just opened.
useDeliverableLinkSession follows the reader from the viewer to the
overview and back, and gives the address back only when neither is
open. PreviewSequenceProvider gains onOpened, called inside openAt, so
the host can tell the overview handing back to the viewer from the
reader leaving.
Tests (deliverable-link.session.test.tsx; the real viewer and overview):
closing the viewer, G and All deliverables keep the address, closing the
overview gives it back, and overview -> viewer -> close gives it back
once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(deliverables): use Next's already-decoded file name param
Next hands dynamic params over decoded. The page decoded `name` again,
so a literal `report%20final.html` (linked as `report%2520final.html`)
looked up `report final.html`, and `report%25final.html` became
`report%final.html`. Pass `name` through as is. decodeRouteSegment had
no other caller and is removed.
Tests (deliverables/[name]/page.test.tsx): links built with
paths.issueDeliverable, matched with Next's own route matcher, reach
IssueDetailRoute with the original name, including literal percent
escapes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* i18n(deliverables): add Russian strings for the latest-version link
Upstream added a ru locale; locales/parity.test.ts requires every EN
key. Adds copy_link, not_found and link_load_failed, using the bundle's
existing word for deliverables (Результаты).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: yunfeng <yunfeng.ren@trustbe.cn>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* MUL-8908: fix(issues): restore typing in filter submenus (#10249)
Co-authored-by: multica-agent <github@multica.ai>
* MUL-8908: fix(skills): restore typing in the Labels filter search (#10253)
The Skills Filter -> Labels search box sat inside a Base UI menu with no
key guard, so the menu's typeahead swallowed every printable key and
ArrowLeft closed the submenu. Reuse the guard the issue filter submenus
got in #10249.
Fixes #9473
Co-authored-by: xiaoyaner0201 <258399167+xiaoyaner0201@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(agent): add the Muse app backend (remote receptionist) [MUL-7945] (#9155)
* feat(agent): add the Muse app backend (remote receptionist)
museapp hands a task to a receptionist for the Muse app over HTTP
instead of spawning a CLI. The daemon advertises a museapp runtime
exactly when MULTICA_MUSEAPP_ENDPOINT is set; reachability and the wire
protocol version come from the receptionist's /v1/health, so the probe
has no binary to --version.
A receptionist that speaks another protocol version is a new demotable
verdict, builtinProbeProtocolSkew, confirmed a round later like the
other verdicts that rest on a live observation. An unreachable one is
transient, the same rule a CLI whose --version fails gets.
The task-scoped token, server URL and workspace ID are forwarded so the
receptionist can call back into Multica as the task. museapp has no
model catalog, and a custom runtime profile of type museapp is refused
with 400: the endpoint and token come from the daemon's environment,
never from a profile a workspace member can edit.
Named museapp, not muse: upstream's muse is Meta's Muse Code CLI.
* feat(views): show the Muse app mark for museapp runtimes
* test(agent): drop review-round labels from the Muse app test comments
* fix(agent): guard Muse app cleanup and forward task CLI context [MUL-7945]
Co-authored-by: multica-agent <github@mu…
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
An issue delivered through PRs opened one after another can move to Done when its first PR merges. Agents can now opt that issue out using
issue createorissue updatewith--pr-auto-complete off, and restore the workspace rule withon.This exposes the existing per-issue setting and preserves the current merge rules, permissions, actor attribution, and next-PR-event behavior when re-enabled.
Related Issue
Closes #10042
Type of Change
Changes Made
on|offflags to CLI create/update. A standalone toggle skips the ordinary issue update; combined updates save issue fields first and report partial failure with a toggle-only retry command.pr_auto_complete_disabledinside the existing issue-creation transaction and echo it only in create responses. Keep ordinary issue reads unchanged and record the existing PR-setting activity for an opt-out.issue pull-requeststable output, including when no PRs are linked. Preserve JSON output.How to Test
Passed locally:
go test ./cmd/multica -count=1with the repository's agent-CLI guard, in a temporary worktree without a daemon task marker.go test ./internal/handler ./internal/service -count=1against the checkout's isolated, migrated database.go build ./cmd/server ./cmd/multicaandgo vet ./cmd/multica ./internal/handler ./internal/service.pnpm --filter @multica/core exec vitest run api/schema.test.ts— 120 tests.pnpm --filter @multica/core typecheckand ESLint for both changed API files.git diff --check.Coverage includes on/off/default handling, request ordering, missing or inconsistent confirmations, older-server fallback and failure recovery, state output without PRs, creator attribution, malformed create input, visibility after commit, and rollback of both the issue and its override.
The task-marked checkout blocks six existing CLI tests on its task-token guard; the same six fail on base
994d6977a. The complete CLI suite passes in the temporary worktree above.Checklist
apps/docs/content/docs/developers/conventions.zh.mdxAI Disclosure
AI tool used: OpenAI Codex
Prompt / approach: Expose the existing per-issue PR merge override in the CLI; implement atomic creation, compatibility handling, focused regression coverage, and documentation.