Expand description
The services every app’s frame shows, without the frame: what runs in the background, what happened, who is working, the scripts’ environments, and what changed in the project’s files. kitchen-shell draws them (status bar, timeline, Settings, the Changes panel); an agent, a test or a server reads the same state here.
jobs: what runs in the background, with progress and cancel.activity: what happened, for the timeline: commands (who, how, with what), time in each workspace, jobs, what steps produced. In memory, never written.people: who is working (the lab’s people, ORCID iDs), so records say who did what.- [
env]: a project’s environments for its scripts (which Python, which packages). changes: what the Changes panel compares (baselines, normalised JSON, the last commit).
Moved out of kitchen-shell in phase 2, step 3c: no drawing here.
Modules§
- activity
- 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.
- changes
- What the Changes panel compares: the files that say what a project is and how its analysis
was done (
session.json,pipeline.json,project.json), read and normalised, and what they are compared against (Baseline). kitchen-shell’sChangesPaneldraws the diffs. - env
- A project’s environments for its scripts: what Python runs them, with which packages, and which Rust toolchain builds them. The project folder holds them, so a project (and a pipeline built in it) runs the same on another computer:
- jobs
- What runs in the background, in one place (from lumen’s job registry): each job has a kind
(
histology,model,export…), a name saying what it is doing, how far it is, and a cancel flag. Only one job that drives the GPU runs at a time (a second is refused, saying what runs). The status bar lists them with a cancel button each; the work itself (off the UI thread) updates its job through itsJobHandle, which ends the job when dropped (finished, failed or cancelled alike). - people
- Who works in the app: people (a name, and optionally an affiliation and an ORCID iD), the one
working now, or a guest. What a person does is recorded under their name (the activity log,
an app’s own records such as a curation log), so the name may end up in files that are shared:
a guest leaves no name (
guest).