Repository navigation
feat(desktop): Office observer, an agent that watches every agent - #44
Merged
Merged
Conversation
A one-click target on each workspace (sidebar rows, Ctrl+Tab cards, Office name plates, Hosts page, Workspaces list and board) puts it in focus; ⌘⇧F, the context menus, bulk selection, the command palette and F in Ctrl+Tab do the same. Focused workspaces show a bold name and an indigo target. One shared "Focus" filter narrows the sidebar, Ctrl+Tab, ⌘K, Office, Hosts, Workspaces and Needs you. The Office's "Active" filter (agents not resting) is renamed "Working" so "active" no longer means two things. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…gent
A booth in the Office corner shows the observer's state, its last run and
headline; its panel lists the latest findings by mission (your work,
efficiency, Superset) with a link or the conversation to open, and starts
a run in a fresh session ("Run now") with the agent the user picks.
The run itself is the superset:observer skill: it reads one digest of every
agent (`superset observer snapshot`), the to-dos, Desk reports, Superset
ideas, PRs and, through the messenger agent when there is one, messages;
writes a dated Markdown synthesis and publishes the short version with
`superset observer publish`. It only reads and hands over through the Desk.
Runs are kept host-side in ~/.superset/state/office-observer.json, like the
reports, and pushed to the app through the host-store event.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
An observer in the Office: one agent whose job is to read every other agent and hand Marius one synthesis on three missions:
~/.claude/superset-ideas.md, deduplicated against the roadmap, proposed as roadmap items.It only reads. Texts in the user's name come back as
superset report draft; it never touches the user's to-dos.How it fits
Observer · <date>with the prompt "load the superset:observer skill and follow it", so a run never drags the previous run's context. Default agent: the first Claude config whose label mentions "automation" (unattended, no permission prompts), else the first Claude config; the panel lets the user pick another, stored host-side.plugins/superset/skills/observer/SKILL.md(ships assuperset:observer): begin, archive the previous observer sessions (only project-less sessions namedObserver · …), gather, think, write~/Documents/superset-observer/<date>.md, publish, one Desk report, Superset ideas as notes. Budget: one pass, under ~15 minutes.superset observer:snapshot [--host] [--insights]: one compact digest of every conversation on a host (agent state, quiet minutes, open to-dos, open reports, tracked tasks, labels, notes, Superset ideas, totals). Sources an older host lacks are listed inunavailablerather than shown as empty. Plain shells and the observer's own sessions are left out.begin,publish --file <json>,status.officeObserver.get/setConfig/begin/publish, kept in~/.superset/state/office-observer.json(like agent reports, no migration), pushed to the app with a newhost-store:changedstoreoffice-observer. Additive: older apps ignore the new store value, and the app treats a host without the procedure as "too old".Scheduling
Superset automations are paywalled on this plan, so scheduling goes through Relais: a new template "Observateur de l'Office" (weekdays 8:30 and 17:30,
@automationsagent, fresh session namedObserver · {{date}}), committed in the local Relais repo. It is a template only: nothing is scheduled until it is created from My automations, after this build is installed (the skill ships with the app).Not in this PR
feature/office-states(working / waiting / resume later / done). Once it merges,observer snapshotshould read it instead of guessing from hook events.observer snapshot --host <id>; the Office booth only reads this Mac's host.Base
Branched from
marius/mainwith #43 (Focus,feature/active-workspaces) merged in, since it touches the Office. The diff includes #43 until it merges.Checks
bun testonpackages/host-service/src/office-observer,packages/host-service/src/trpc/router/office-observer,packages/cli/src/lib/observer,apps/desktop/.../office(all green).tsc --noEmitonpackages/host-serviceandpackages/cli(only the existing grants test errors in cli remain).bun run check:i18nclean, 18 new strings in every locale.observer snapshotagainst the real local host: 66 conversations in 25 workspaces, 47 open Desk reports (oldest 21 days), 24 Superset ideas, ~69 KB of JSON.To test
Observer · …session and the booth turns to "Starting…" then "Observing".superset observer snapshot | lessfrom any terminal.🤖 Generated with Claude Code