fased sessions
List stored conversation sessions across one agent or all configured agent stores.
Sessions are the durable context layer under Agents. They can own scheduled
tasks, model overrides, token usage, delivery hints, and transcript metadata.
For the full model, see Agents, Sessions, And Tasks.
- default: configured default agent store
--agent <id>: one configured agent store--all-agents: aggregate all configured agent stores--store <path>: explicit store path (cannot be combined with--agentor--all-agents)
fased sessions --all-agents --json:
Cleanup maintenance
Run maintenance now (instead of waiting for the next write cycle):fased sessions cleanup uses session.maintenance settings from config:
-
Scope note:
fased sessions cleanupmaintains session stores/transcripts only. It does not prune task activity logs (cron/runs/<jobId>.jsonl), which are managed bycron.runLog.maxBytesandcron.runLog.keepLinesin Task configuration and explained in Task maintenance. -
--dry-run: preview how many entries would be pruned/capped without writing.- In text mode, dry-run prints a per-session action table (
Action,Key,Age,Model,Flags) so you can see what would be kept vs removed.
- In text mode, dry-run prints a per-session action table (
-
--fix-missing: also remove store entries whose transcript files are missing. Use it with--dry-runfirst. -
--enforce: apply maintenance even whensession.maintenance.modeiswarn. -
--active-key <key>: protect a specific active key from disk-budget eviction. -
--agent <id>: run cleanup for one configured agent store. -
--all-agents: run cleanup for all configured agent stores. -
--store <path>: run against a specificsessions.jsonfile. -
--json: print a JSON summary. With--all-agents, output includes one summary per store.
fased sessions cleanup --all-agents --dry-run --json:
- Session config: Configuration reference
- Session/task ownership: Agents, Sessions, And Tasks