Skip to content

UI map

Papercup ships as a Next.js app at apps/web/app/papercup/. It’s the operator’s surface — directors run autonomously, you observe and intervene.

RouteWhat’s there
/papercupRedirects to Directives
/papercup/directivesDirective index — list, expand, route, status, summaries, ”+ New directive” modal
/papercup/organizationDirector control room — 5 dept tiles + charter + audit + emergency stop + per-dept auto-loop controls
/papercup/projectsProject portfolio grouped by vertical — ”+ New project”
/papercup/timelineCross-department activity feed with filters + search
/papercup/search?q=Deep-linkable universal search across messages / directives / projects
/papercup/harnessesEmbedded coding harness picker
/papercup/briefings(Paperclip-built) Investor briefing summaries
/papercup/documentationThese docs (iframe of apps/papercup-docs)
RouteWhat’s there
/directives/:idFull directive view — body, status, metadata, action buttons, linked projects grid, summary log + add form, linked messages
/projects/:slug7-section detail — Overview, Timeline, Build (links to harness), Capabilities, Spinouts, Campaigns, Settings (with delete Danger zone)
/messages/:idSingle message — body, metadata, status, in-response-to, responses, comments + add form
/harness/:slugSmart router: department harness (inbox/outbox/director) for org-* slugs, coding harness for everything else

When /harness/org-{dept} resolves, you see the Department Harness Dashboard with 7 tabs:

  1. Inbox — pending messages with kind badge, status, click to detail
  2. Outbox — messages this dept emitted
  3. Compose — kind selector (limited to dept’s allowed outboxKinds), multi-select recipients, project picker (required), subject, body
  4. Decisions — decision-log.md viewer
  5. Charter — canonical charter markdown
  6. Director notes — editable textarea + Save
  7. Director agent — prompt resolver, role/mode selectors, ”▶ Run director” + “Show prompt only”, live result panel, recent-runs disclosure with inline expansion

The control room at /papercup/organization includes:

  • Hero with charter editor, audit log viewer, emergency stop, project portfolio link
  • 5 dept tiles with mandate, message-kind chips, live counts, DepartmentControls (auto-loop toggle, interval, Run-now / Stop, scheduler countdown, stats strip)
  • Workload matrix — sortable table view of pending workload across the org

Nav at apps/web/components/Nav.tsx includes Papercup under the Agents group, between Meridian and Harness.

Papercup’s own tab strip (across the top of every Papercup page) lives in apps/web/app/papercup/PapercupTabs.tsx with: Directives → Organization → Projects → Timeline → Harnesses → Briefings.