You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[PLAN] serve: per-session profile on POST /sessions (+resume) — enabler personal fleet #740
STATUS: PLAN — belum final. Arah produk personal-fleet tole sedang didiskusikan dengan owner (2026-11-14). Jangan dikerjakan sebelum diskusi selesai dan issue ini di-unpark.
What
POST /sessions (dan resume) di tole serve menerima field profile (opsional memory_room override), sehingga satu daemon bisa menampung N persona: tiap sesi membawa profilnya sendiri — persona/system prompt, allow list, memory_room, model tiers, skills.
Why
Visi arah tole: personal assistant fleet ala "Hermes minimal" — tiap persona punya identitas + memori sendiri, paralel, di atas satu orchestrator. Fondasi sudah ada di CLI ([profiles.*], #584), tapi POST /sessions hari ini hanya menerima cwd + resume (crates/tole-cli/src/serve.rs ~line 1232) dan open_serve_session memakai konfigurasi global — sesi di serve tidak bisa beridentitas. Ini enabler #1 untuk klien chat lokal/remote per-persona.
Design sketch (open for discussion)
POST /sessions {"cwd": ..., "profile": "kai"} → validasi profil dari user config (bukan project config — sama seperti CLI: profil dari project config butuh trust), lalu open_serve_session memakai persona file + allow + memory_room + tiers profil tsb.
Resume dengan profile: rekonsiliasi (sesi lama tanpa profil + request dengan profil → pakai yang mana? usulan: profil request menang, tercatat di status).
tole sessions list / GET /sessions menampilkan profil tiap sesi.
Activity
docs(serve): document the per-session profile and update epics (#740)
fix(serve): never resume a tampered or unreadable log into the defaul…
feat(serve): choose a profile per session on create and resume (#740)
test(cli): pin the sessions listing byte for byte and the profile cel…