mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-17 14:09:40 +02:00
docs(mana-ai): contract test + RLS scoping shipped; narrow remaining work
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
24eb8b3b7f
commit
9bc77dd3b9
1 changed files with 1 additions and 2 deletions
|
|
@ -20,9 +20,8 @@ What works end-to-end:
|
|||
- [x] **Server-side input resolvers** for plaintext tables — `db/resolvers/` with a pluggable registry + single-record LWW replay (`record-replay.ts`). `goals` resolver ships by default. Encrypted tables (notes, kontext, tasks, events, journal, …) are intentionally **not** resolved server-side; those missions depend on the foreground runner which decrypts client-side. See `resolvers/types.ts` for the privacy rationale.
|
||||
|
||||
Intentionally **not yet** implemented (future work):
|
||||
- [ ] Per-user Postgres RLS scoping on the mission *read* path — current cross-user scan relies on downstream code honouring `userId`. Write path is already RLS-scoped via `withUser`.
|
||||
- [ ] Contract test between this service's `AI_AVAILABLE_TOOLS` and the webapp's `DEFAULT_AI_POLICY` — drift today means silent degradation (server won't propose newly-added webapp tools).
|
||||
- [ ] Materialized mission snapshot — full LWW replay per tick is O(N changes). Fine pre-launch; revisit when user count grows.
|
||||
- [ ] Revert-per-iteration in the Workbench timeline — would undo the AI's approved writes. Needs per-event-type inverse logic (delete reverts create, uncomplete reverts TaskCompleted, …).
|
||||
|
||||
## Port: 3066
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue