A local-first multi-agent app development platform, built on PenguinHarness
A Session's source is always recorded, and the sidebar keeps every background conversation in one folder
- Date: 2026-10-10
- Type: feature
- Scope:
core,server,web,cli,docs
This is ported from upstream PenguinHarness (#999, commit e521a9de).
Every Session's session_meta recorded what kind of conversation it was, in a required source: user for a person's conversation, schedule for a scheduled task's run, subagent for a run_subagent child, cli for one penguin run created, company for company mode's desk and ticket Sessions, and api, reserved for the Sessions the Agent API opens. benchmark was retired. The sidebar's Subagents, Scheduled and Evaluations folders were merged into one Background folder that holds the Sessions a program opened, each row marked with its source; company Sessions were left out of the session list altogether. How Traces written before this change are read is recorded in backward compatibility.
Details
- Core recorded
source: "user"whencreateSessionwas given none, and carried a resumed Session's source into every context it opened.SessionSourcewas defined once in core's OmniMessage types, andnormalizeSessionSourcenarrowed a value read back from a Trace or a forwarded meta. - The Web App composer's conversations, forks and
penguin chatwereuser; the server'sclientcolumn, which program created the row, stayed a separate fact. A fork's Trace head recordeduserwhatever the Session it was cut from. - Company mode's organization runtime opened its desk and ticket Sessions as
company, still stampedclient: "org"; the children they spawn stayedsubagent. A desk opened at a hire that had not run when the server restarted was rebuilt ascompanyfor its first run, and the list read such a row ascompanymeanwhile. penguin runcreated every Session ascli, the Test Sessions the agent-evaluation skill launches included, and the skill no longer passed--source benchmark. The flag left the help.- The sessions list's and the Agent Trace listing's
categorytookactive,backgroundandarchived, andcounts=1returned those three totals: archived first, thenactivefor auserSession or one not yet classified,backgroundforapi,schedule,subagentandcli. AcompanySession belonged to no category, archived or not: a list asked for a category, a Workspace group or counts left it out of the page, the totals, the per-Workspace totals and their stamps, and the paged Agent Trace listing left it out too; the plain list still served it, and company mode's own sessions route listed desks and tickets as before.excludeOrgstayed, since it also drops the children of company Sessions and the rows an organization names before its next pass stamps them. On creation,sourceaccepted"cli"only;api,schedule,subagent,companyanduserwere refused with a 400.session_createdalways carried the new Session's source. - The Web App's sidebar drew one Background folder below each group's active conversations (and one shared set in time grouping), loaded and paged per Agent and category like the other folders. Each of its rows carried a source mark with a tooltip: a plug for API, a calendar for Scheduled, two robots for Subagent, a
>_prompt for CLI. The alarm clock kept marking a conversation with a scheduled task still to fire. - Last conversation, the chat page's auto-select and the jump after deleting the open conversation picked only a person's conversations, so a scheduled run no longer qualified, and a company Session never did.
- The Evaluation Center's Use dialog stopped marking the conversation it composed: the evaluation conversation was an ordinary one, and the draft cache no longer kept the mark. This replaced the rule of The Evaluations folder holds only the Test Sessions an agent starts, which kept
benchmarkfor those Test Sessions: they becamecliSessions in the Background folder. - The gallery's mock list route and fixtures followed the three categories, and its company desk fixture became a
companySession that no category lists.