Skip to main content

Workflows

Workflows orchestrate tasks into complete processing pipelines. All workflows are defined in YAML and executed by JARVIS.

Workflow Structure


Available Workflows

wf-pipeline-full

Complete 5-phase processing pipeline. ID: wf-pipeline-full Purpose: Transform raw content into structured knowledge, dossiers, and agent memories. Stages: Checkpoints:
  • Created after each stage
  • Stored in /.claude/jarvis/CHECKPOINTS/
  • Format: CP-{timestamp}-{workflow-id}-{stage-id}.json
Resume:
Rollback:
Source: core/workflows/wf-pipeline-full.yaml:1-xxx

wf-ingest

Ingest new material into inbox. ID: wf-ingest Purpose: Download, transcribe, and organize external content. Stages: Output: Organized file in inbox/{PERSON}/{TYPE}/{filename}.txt Source: core/workflows/wf-ingest.yaml:1-xxx

wf-extract-dna

Extract DNA from narratives and assign to agent. ID: wf-extract-dna Purpose: Create cognitive DNA structure (5 layers) for mind clones. Stages: Source: core/workflows/wf-extract-dna.yaml:1-xxx

wf-conclave

Multi-agent deliberation workflow. ID: wf-conclave Purpose: Constitutional decision-making with critic, advocate, and synthesizer. Stages: Anti-loop Rule: Council runs once per query. No recursive re-runs. Source: core/workflows/wf-conclave.yaml:1-xxx

Workflow Execution

Via JARVIS

Via Slash Command

Programmatic


Checkpointing

Automatic Checkpoints

Created after each stage:

Manual Checkpoints

Checkpoint Retention

  • Last 10 checkpoints per workflow kept
  • Older checkpoints archived to .claude/jarvis/CHECKPOINTS/archive/
  • Critical checkpoints (marked) never deleted

Error Handling

Retry Strategy

Failure Handlers

Rollback on Failure


Quality Gates

Each stage can define quality gates:
Failure Actions:
  • rollback: Restore from last checkpoint
  • retry: Retry stage up to max_attempts
  • skip: Skip stage and continue
  • abort: Abort entire workflow

Creating Workflows

Workflow Template

Validation

Registration

Add to core/workflows/README.md:

See Also