Skip to content

Workflow Apps

coo1white edited this page Jun 7, 2026 · 4 revisions

Workflow Apps

Workflow apps are the userland layer above the CW kernel.

The kernel owns:

  • workflow loading
  • input validation
  • task generation
  • dispatch manifests
  • result recording
  • evidence gates
  • candidate scoring
  • verifier-gated commits
  • schedules
  • routine triggers
  • sandbox policy validation
  • report generation

Workflow apps own:

  • domain-specific phases
  • task prompts
  • artifact definitions
  • required inputs
  • evidence requirements
  • sandbox profile references
  • compatibility metadata

App Shape

First-class apps live under:

plugins/cool-workflow/apps/<app-id>/app.json
plugins/cool-workflow/apps/<app-id>/workflow.js

Legacy workflows/*.workflow.js files remain loadable as compatibility wrappers.

Canonical Apps

Current canonical apps include:

  • architecture-review
  • pr-review-fix-ci
  • release-cut
  • research-synthesis
  • end-to-end-golden-path

Validation commands:

node scripts/cw.js app list
node scripts/cw.js app show architecture-review
node scripts/cw.js app validate apps/architecture-review/app.json
node scripts/cw.js app validate end-to-end-golden-path
npm run canonical-apps
npm run golden-path

Design Rule

CW should remain:

one kernel
many apps
stable contracts
inspectable state

Workflow apps should extend behavior without forking runtime logic.

Clone this wiki locally