managarten/apps/mana/apps/web/src/routes/(app)/todo
Till JS 7a1f11c971 feat(ai): inline proposal inbox in the todo module
First pilot of the AI Workbench ghost-state pattern. A reusable
`<AiProposalInbox module="todo" />` component renders pending proposals
for a given module as dashed-outline ghost cards above the real content —
zero UI when the AI is idle, approve / reject inline when it's not.

- `data/ai/proposals/queries.ts` — reactive `useAiProposals` live query
  with module / status / missionId filters. Module filter resolves via
  the tool registry so each proposal auto-routes to the right page.
- `components/ai/AiProposalInbox.svelte` — the drop-in inbox component.
  Shows tool description + params + AI rationale; approve runs the
  original intent under the AI actor context (preserving attribution),
  reject stores the row with status=rejected for the next planner pass.
- Wired into /todo for the pilot. Other modules opt in by adding one
  line once their tools land in DEFAULT_AI_POLICY.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 20:58:46 +02:00
..
settings fix(mana/web+packages): clear all 270 warnings to zero 2026-04-10 17:34:49 +02:00
+layout.svelte feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
+page.svelte feat(ai): inline proposal inbox in the todo module 2026-04-14 20:58:46 +02:00