Skip to content

feat: casehub-examples/ — working examples module ported from casehub-poc (blocks poc archival) #236

@mdproctor

Description

@mdproctor

The casehub-examples/ module does not yet exist in casehub-engine. It is a prerequisite for archiving the casehub-poc repo.

Scope

Port and update the following examples from casehub-poc to the casehub-engine API (Binding, Worker, CaseDefinition, CaseContext, etc.):

  • DocumentAnalysisApp — basic case with multiple workers, entry criteria, CaseFile state
  • LlmReasoningWorker / LlmAnalysisTaskDefinition / DocumentAnalysisWithLlmApp — LLM-backed worker using the Worker SPI
  • StageBasedDocumentProcessingExample — stage lifecycle, exit criteria, autocomplete
  • StageBasedWorkerIntegrationExample — stages + worker integration
  • Signal-based autonomous monitoring — replacement for AutonomousMonitoringWorker; demonstrates the Signal mechanism that supersedes notifyAutonomousWork()

Notes

Refs casehub-poc migration plan: docs/superpowers/specs/2026-04-14-casehub-engine-migration-plan.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmigrationCapability existing in casehub-poc, or planned in its design/architecture docs

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions