Expand description
What happened in the app, as an episodic memory: every command run (from a menu, a key, the search, the title bar or an agent) with who ran it, the time spent in each workspace, and every job from its start to its end. Attention, not content: a command’s arguments are kept in short, never the data it worked on.
The command registry and the frame record into it by themselves; an app adds what a step
produced (produced) so the timeline can say where a file came from. kitchen-shell draws it
(its activity::view, on kitchen-ui’s timeline).
The log lives in memory for the app’s session and is never written anywhere: it is the
session’s story, not a record of the person. Each entry names who it was done for
(crate::people::who: a person’s name, or guest).
Structs§
- Entry
- One thing that happened.
Enums§
- Actor
- Who did it.
Functions§
- all
- Everything so far; spans still open end now.
- clear
- Forgets everything (a new project).
- close
- Closes the span
keynow. - command
- Records a command run: by whom, how (
via: menu, key, search, title bar, agent), with what arguments and what came of it. - focus
- The workspace shown now: a span on the Focus lane, until the next one.
- generation
- Bumped on every change (redraw when it moves).
- job_
ended - A job ended.
- job_
started - A job started (its span on the Jobs lane, until
job_ended). - made
- What was made: a job, or an entry that produced something.
- now
- Seconds since 1970 (UTC).
- open
- Opens a span
key(a job, a workspace shown) that lasts untilclose; one open with the same key is closed first. - produced
- What a step produced (files, ids): added to the last activity titled
title, or as one of its own on the person’s lane. - record
- Adds an activity (for the person working, unless it names one).