managarten/packages/shared-branding/src
Till JS 54a12ffd5c feat(webapp): wire isParallelSafe in Companion chat + Mission runner
Enables the M1 parallel-reads optimisation on the webapp side. Both
consumers of runPlannerLoop pass an isParallelSafe predicate derived
from the tool catalog:

  isParallelSafe: (name) =>
    AI_TOOL_CATALOG_BY_NAME.get(name)?.defaultPolicy === 'auto'

Auto-policy tools (list_tasks, get_habits, nutrition_summary, …) run
via Promise.all in batches of 10 when the LLM fans them out in one
round. Propose-policy tools — which surface to the user as Proposal
cards — stay sequential so intent ordering in the inbox is preserved
and pre-execute guardrails can reason about prior-step state.

Tests: 31 existing companion + mission tests pass unchanged; the
parallel path is exercised via the new loop.test.ts cases shipped
with the M1 commit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 14:11:24 +02:00
..
logos refactor: rename zitare -> quotes (Zitate) 2026-04-14 20:59:16 +02:00
app-icons.ts feat(webapp): wire isParallelSafe in Companion chat + Mission runner 2026-04-23 14:11:24 +02:00
AppLogo.svelte style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
AppLogoWithName.svelte style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
config.ts refactor: rename zitare -> quotes (Zitate) 2026-04-14 20:59:16 +02:00
index.ts feat(spaces): validate space metadata on Better Auth organization hooks 2026-04-20 16:05:38 +02:00
mana-apps.spec.ts refactor(shared-branding): derive APP_URLS from APP_ICONS 2026-04-09 15:14:52 +02:00
mana-apps.ts feat(webapp): wire isParallelSafe in Companion chat + Mission runner 2026-04-23 14:11:24 +02:00
ManaIcon.svelte style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
spaces.ts feat(spaces): validate space metadata on Better Auth organization hooks 2026-04-20 16:05:38 +02:00
types.ts refactor: rename zitare -> quotes (Zitate) 2026-04-14 20:59:16 +02:00