OpenProgram Docs

Programs page

File tree where the code is programs/ workflows/ paper_search literature_review survey_pipeline Call tree or graph who calls whom survey_pipeline selected literature_review direct paper_search transitive
  1. File treewhere the code is; each Program appears once
  2. Call tree or graphsurvey_pipeline, selectedliterature_review, directpaper_search, transitive

Direction of calls, not folder containment. Tree and graph share the same relationship data, derived from source (static Program imports and Agentic Programming calls). Code: apps/web/components/programs/programs-page.tsx.

AreaShows
File treeFolders, files, counts and Git state (clean, modified)
Detail headerPath, description, kind, HEAD state, signature, direct and transitive Workflow counts, branch and commit
Call rowName, relationship, how it is reached

Catalog and form launching

CaseBehaviour
CatalogOne callable catalog for the Programs page, favorites bar and parameter forms; HTTP refreshes and WebSocket updates feed one store
Refresh failsKeeps the last good cache
Stale responseCannot overwrite a newer one
UseOnly opens the form
Missing functionRefreshes the catalog and shows an explicit error
Chat switchCancels the previous form request

Contract: Workflow package.

Tab ownership

The launcher captures selected tab and chat before resolving a Program. An older request, cancellation, chat switch or tab switch opens nothing in another view.

Selected viewOn success
Active sessionKeeps its draft and running task
New-tab pageBecomes a draft session in place
Any other viewOpens a separate draft and keeps its tab

The draft is selected and initialized before its form opens. A catalog failure leaves the view intact with an error. Nothing runs or submits until an explicit send.

Verification
  • Click a real sidebar favorite on a new-tab page, edit its task field and close without submitting.
  • Preserve another active task and its draft. Cancel catalog resolution when the tab changes.
  • Program launcher unit tests, rendered launcher browser tests, Web unit and source checks, TypeScript, production export, repository contracts, documentation links. Installed-App acceptance is a separate gate.
  • Runtime and browser APIs are retained; external product parity and dependency upgrades are excluded.
Last updated · 2026-11-25