OpenProgram Docs

Engineering backlog

Proposals awaiting a decision. Delivery status: Implementation status and handoff. Validate each against current source first; remove it once its decision is in its canonical design.

Frontend state consolidation

Two state paths exist beside the store: untyped window.dispatchEvent events, and apps/web/lib/net/ws/use-ws.ts rebroadcasting store frames as CustomEvents (op:dag-nodes, op:execution-update, op:job-status and others). Review them together, along with module-level runtimeState.

Repository structure

Intended layering: core (openprogram/) at the bottom; the Server (openprogram/interfaces/server) and CLI (openprogram/interfaces/cli) depend on it, never the reverse.

Open: site-* and repository-* pages sit loose in docs/reference/design/. Proposal: subfolders by area, keeping nav.py routing.

Modules with multiple responsibilities

Re-measure when scheduling. Vendored yoga-layout and ink under apps/cli/src/runtime/ are out of scope.

  • openprogram/programs/tools/computer_use/computer_use/desktop/macos/, windows.py
  • openprogram/state/store/snapshot/checkpoint/store.py
  • openprogram/host/security/safe_http.py
  • apps/desktop/main.js
  • openprogram/runtime/conversation/process_runner.py
  • openprogram/programs/applications/browser/pages.py
  • openprogram/interfaces/server/routes/catalog/programs.py
  • openprogram/programs/_host/runtime.py

Regression review checklist

To verify, not a claim that anything is broken. Reproduce against current source and the public UI before opening a task; record completion in the canonical design.

AreaBehavior to verifySource or entry
Command deliveryA closed WebSocket neither counts as success nor clears the draftwsSend, composer submit
Slash commandsOpening / does not run compact; missing /skill names and /task prompts are rejected with feedbackslash-commands.ts
Command menuClosing animation neither consumes Return nor blocks history Up/Down; required arguments stay editableselectSlashCommand, composer key handlers
Session requirementCommands without a session give feedback instead of clearing inputComposer, slash commands
CompactionBusy, suggested, completed, failed and no-op are visible; reactive events get UI feedbackloop_runner.py, reactive.py, chat-handlers.ts
Context historyCompaction keeps old turns and the DAG head; summary expansion verified visiblyContext details, transcript
Help and doctorHelp exposes and focuses the command menu; doctor presents a result with and without a session/help, /doctor
Overlapping controlsJump-to-latest and slash menu usable where they are; observe, not inferred from z-indexChat UI
AttachmentsUnsupported or oversized files give explicit feedbackimage-attach.ts
Desktop startupWindow appears at its layout, not resizing from the cornerInstalled desktop App
CLI resumeArgument reaches the Ink runtime with the intended sessionopenprogram/interfaces/cli/ink.py, apps/cli/src/index.tsx
SSO, speech, plugin isolationDocs separate implemented methods and providers from unimplemented entries; community plugin execution matches its isolation contractmodels/auth/methods/sso.py, interfaces/speech/tts.py, plugin loader
Function recoverySame-frame resume differs from a sibling retry; indirect cycles follow the recursion policyws_actions/chat/retry.py, agent/call_state.py
Function metadataDynamic metadata and literal source declarations follow the form contractFunction forms, metadata docs
DistributionLinux desktop artifacts, upgrade failure recovery, manual workflow publication and sandbox gates match the install docsInstallation, source upgrades, Workflow publishing
Command registryDuplicate names have a defined lookup order and an unambiguous menurunCommand, command menu

Idle automatic compaction is a product decision, not an assumed bug. Environment-variable discovery does not replace the AuthStore boundary. External issue counts and old snapshots are not evidence.

Last updated · 2026-11-25