OpenProgram Docs

Design documentation

Reading order

  1. Understand the system: framework overview → repository structure.
  2. Trace an execution: call flow → execution control → session storage.
  3. Change a subsystem: pick a topic below, read its design and implementation-status appendix, then verify source ownership and acceptance requirements.

By area

AreaRead in this order
ArchitectureFramework overview · Repository structure · Implementation navigation
Execution and sessionsExecution control · Session storage · Session DAG · Goals and restart recovery · Agent configuration
Functions and workflowsFunction calling · Workflows · Program model · Application runtime · Report workflows
Events and schedulingEvent layer · Rule execution · Scheduling and memory · Tasks page
Context and memoryContext overview · Context composition · Compaction · Memory overview · Entity memory
InterfacesUI overview · State layer · Chat and composer · Built-in browser · Project workspace · CLI and TUI
ModelsModel catalog · Request building · Account management · Retry behavior · Usage metering
ConnectionsHarness standard · MCP integration · MCP server · Extension gating · Channels
Security and distributionAuthority and sandbox · System access · Dependency security · Installation and packaging · Automatic updates
EngineeringTest system · Error handling · Documentation structure and rendering · Site discoverability

The sidebar has seven areas; expand an area, a module, then a page. Navigation expands the current path, and filtering matches page and category names.

Supporting material

KindIs
PrototypesLayout and interaction experiments, not evidence of implemented behaviour. Own sidebar category.
Implementation recordsMigration steps, plans and discrepancies to verify. Read the current design first; these do not establish implementation status.
ResearchExploratory proposals, threat analysis, evaluation notes; not product commitments.

Maintenance rules

  • Every page has one sidebar category. Register pages and reading order in scripts/docs_site/nav.py; unclassified pages stay visible under Uncategorized. Category changes preserve URLs.
  • One current design per topic. Diagrams, comparisons and records state their relation to it without copying its body.
  • English by default, with synchronized Chinese. See documentation conventions.
  • Documentation claims, source presence, passing tests, publication and installed-App acceptance are separate states. Categories do not indicate completeness.
Last updated · 2026-11-25