mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 12:41:09 +02:00
Adds the missing bits that turn M1–M6 into a coherent shippable product rather than a pile of commits. Dashboard widget (M7) - InvoicesOpenWidget.svelte: open + overdue totals in the primary currency, top-3 oldest overdue with "X Tage überfällig" under each, empty-state CTA for first-time users - Registered as `invoices-open` in WIDGET_REGISTRY and the component map. Default size medium, no requiredBackend (local-first, no API) - Fixed pre-existing test gap: validBackends list was missing 'body' (body-stats widget has been failing silently) — added so the check protects against drift for real Tests (45 total, all green) - totals.test.ts (9): computeLineTotal with discount+vat, grouping invariant (breakdown sums == invoice totals), rounding edges - pdf/qr-bill.test.ts (17): generateSCORReference stability + spec-validity via swissqrbill's own isSCORReferenceValid, buildQRBillData eligibility gates (currency, IBAN, address, amount), CH + DE address parser paths, referenceNumber-preferred-over-regen invariant - mail-template.test.ts (12): subject/body composition (with/without subject, CHF vs EUR QR-hint, empty recipient fallback), mailto spaces-as-%20 patch, looksLikeEmail edge cases Plan (docs/plans/invoices-module.md) - Updated with commit SHAs per milestone, testing status, and the explicit list of open items (Logo-Upload, AI-Tools, sync collision, structured addresses, finance cross-link, camt bankabgleich) so the next coder knows exactly what's parked where Unresolved: browser smoke test couldn't run — SSR is broken for all module routes in the current tree (pre-existing, likely from the parallel Spaces refactor; /library, /todo, /contacts all return 500 the same way). Unit tests + clean bundle build (M4) + type-check are the coverage we have. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ai-mission-key-grant.md | ||
| event-discovery.md | ||
| invoices-module.md | ||
| library-module.md | ||
| mail-module-plan.md | ||
| mana-research-service.md | ||
| multi-agent-workbench.md | ||
| news-research-module.md | ||
| planner-function-calling.md | ||
| README.md | ||
| scene-scope-empty-state.md | ||
| social-relay-module.md | ||
| spaces-foundation.md | ||
| team-workbench.md | ||
| workbench-templates.md | ||
Plans
Design + rollout plans, grouped by topic. Plans are long-form docs with baked-in decisions, phasing, open questions, and (when shipped) a history section with commit refs.
AI / Workbench roadmap
The Mana AI Workbench has evolved in three successive planned waves — each one laying foundations the next one relies on:
User hat einen Companion (v0 — shipped before these docs)
│
▼
AI Missions + Proposals + Policy + Revert
│
▼
Mission Key-Grants ← ai-mission-key-grant.md ✅
(encrypted inputs decryptable by the server runner)
│
▼
Multi-Agent Workbench ← multi-agent-workbench.md ✅
(named agents, per-agent policy/memory/budget,
identity-aware Actor, scene→agent lens)
│
▼
Team Workbench ← team-workbench.md 📝 (not started)
(multi-user + shared AI context,
admin lens on team members)
| Plan | Status | Scope |
|---|---|---|
ai-mission-key-grant.md |
✅ Shipped | Per-mission RSA-wrapped key grant so mana-ai can decrypt allowlisted encrypted records when user opts in. |
multi-agent-workbench.md |
✅ Shipped | Identity-aware Actor + named AI agents owning missions + per-agent policy + scene lens. 28 tools across 11 modules including server-side web-research. |
workbench-templates.md |
✅ T1 Shipped | Generalised templates: 3 agent-templates + 3 non-AI workbench starter-kits. Seed-handler registry for per-module data seeding. |
team-workbench.md |
📝 Forward-looking | TeamSpace with membership, team-encrypted records, admin lens on team members. Reuses Actor.principalId + key-wrapping patterns from the two above. |
Cross-references:
- Architecture narrative:
docs/architecture/COMPANION_BRAIN_ARCHITECTURE.md§20 (AI Workbench base), §21 (Mission Grants), §22 (Multi-Agent), §23 (Reasoning Loop + Research + Debug) - Non-plan ideas backlog:
docs/future/AI_AGENTS_IDEAS.md - Service-internal notes:
services/mana-ai/CLAUDE.md - Webapp-internal notes:
apps/mana/CLAUDE.md→ "AI Workbench" section
Other plans
| Plan | Topic |
|---|---|
mail-module-plan.md |
Mail module — IMAP/SMTP integration |
news-research-module.md |
News + research pipeline |