Skip to content
Metaprogramming & Lifecyclev1.5.4(schema v2.1.0)

JSM Workflow

Strict HSM

Reactive SDLC coordinator taking software changes from intake to final context sync, implementing the JS Mastery Engineering Workflow (https://jsmastery.com/skills).

Registry Repository: Reactive-Skills/skillsBased on:JS Mastery SkillsView on GitHub
Ask your agent
Use the jsm-workflow skill to [describe your task].

Install: npx skills add Reactive-Skills/skills --skill jsm-workflow

States
20
Hierarchical nodes
Initial State
INIT
Bootstrap entrypoint
Allowed Tools
0
Whitelisted for safety
Deliverables
7
Automated projections

Statechart (optional)

Visual state machine topology parsed directly from the official STATECHART.md in Reactive-Skills/skills:

JSM Workflow (stateDiagram-v2)
Rendering statechart...

States & Deterministic Guards

Each state is an isolated operational slice. Transitions occur only when typed signals satisfy programmatic guard conditions.

  1. INITINITIAL

    Verify reactive runtime before any lifecycle work.

    Outgoing Transitions

    • RUNTIME_READYACTIVE
    • SETUP_REQUIREDERROR
  2. ACTIVE

    Owns every nonterminal SDLC phase and handles lifecycle-wide decision reopening.

    Outgoing Transitions

    • DECISION_REOPENEDACTIVE.ARCHITECT
    • DOD_CHANGE_REQUESTEDACTIVE.DOD_AMENDMENT
  3. ACTIVE.INTAKE

    Capture the work request, repo state, and completion target.

    Outgoing Transitions

    • WORK_REQUEST_READYACTIVE.SCOPE
    • BUG_FIX_REQUESTEDACTIVE.DOD_APPROVAL
    • AUDIT_REQUESTEDACTIVE.AUDIT
    • DIRECT_BUILD_REQUESTEDACTIVE.DOD_APPROVAL
    • INTAKE_BLOCKEDBLOCKED
  4. ACTIVE.SCOPE

    Convert the request into ordered work with acceptance seeds.

    Outgoing Transitions

    • SCOPE_READYACTIVE.ARCHITECT
    • SCOPE_ONLYACTIVE.DOD_APPROVAL
    • SCOPE_BLOCKEDBLOCKED
  5. ACTIVE.ARCHITECT

    Settle load bearing design decisions before implementation.

    Outgoing Transitions

    • SPEC_READYACTIVE.AUDIT
    • DOD_AMENDMENT_REQUIREDACTIVE.DOD_AMENDMENT
    • DECISION_DEFERREDBLOCKED
    • DESIGN_FLAW_CONFIRMEDACTIVE.SCOPE
  6. ACTIVE.AUDIT

    Ensure durable project context exists and matches the work area.

    Outgoing Transitions

    • CONTEXT_READYACTIVE.DOD_APPROVAL
    • CONTEXT_REFRESHEDACTIVE.DEVELOP
    • AUDIT_TO_SCOPEACTIVE.SCOPE
    • CONTEXT_BLOCKEDBLOCKED
  7. ACTIVE.DOD_APPROVAL

    Present the complete outcome contract and collect one approval before implementation.

    Outgoing Transitions

    • USER_APPROVEDACTIVE.DEVELOP
    • USER_REVISION_REQUESTEDACTIVE.DOD_APPROVAL
    • USER_REJECTEDBLOCKED
  8. ACTIVE.DOD_AMENDMENT

    Approve a focused DoD diff after an accepted outcome or load-bearing decision changes.

    Outgoing Transitions

    • USER_APPROVEDACTIVE.AUDIT
    • USER_REVISION_REQUESTEDACTIVE.DOD_AMENDMENT
    • USER_REJECTEDBLOCKED
  9. ACTIVE.DOD_AUDIT

    Check every approved criterion, capture evidence, and route failures for repair.

    Outgoing Transitions

    • DOD_CHECK_SUBMITTEDACTIVE.DOD_AUDITjudgment: predicate → fallback: ACTIVE.DEVELOP
    • DOD_AUDIT_PASSEDCOMPLETEguard: (record => Boolean(record) && Array.isArray(record.criteria) && record.criteria.length > 0 && record.criteria.every(item => item && item.status === 'passed' && typeof item.evidence === 'string' && item.evidence.trim().length > 0))((payload.contextUpdates && payload.contextUpdates.dod_record) || context.dod_record)
    • DOD_AUDIT_REPAIR_REQUIREDACTIVE.DEVELOP
    • DOD_AUDIT_BLOCKEDBLOCKED
  10. ACTIVE.DEVELOP

    Implement the scoped and designed change.

    Outgoing Transitions

    • DEBUG_NEEDEDACTIVE.DEBUG
    • BUILD_SKIPPEDACTIVE.DOD_AUDIT
    • BUILD_READYACTIVE.VERIFY
    • DECISION_NEEDEDACTIVE.ARCHITECT
    • BUILD_FAILEDACTIVE.DEBUG
  11. ACTIVE.VERIFY

    Prove behavior in the real product or service.

    Outgoing Transitions

    • VERIFY_PASSEDACTIVE.TEST
    • VERIFY_FAILEDACTIVE.DEBUG
    • VERIFY_DEFERREDACTIVE.TEST
  12. ACTIVE.TEST

    Write or update tests for durable behavior.

    Outgoing Transitions

    • TEST_PASSEDACTIVE.REVIEW
    • TEST_FAILEDACTIVE.DEBUG
    • TEST_DEFERREDACTIVE.REVIEW
  13. ACTIVE.DEBUG

    Reproduce failures, prove the root cause, apply the smallest fix, and verify it.

    Outgoing Transitions

    • BUG_FIXEDACTIVE.VERIFYguard: ((prev, next) => Boolean(next) && typeof next.failure_id === 'string' && next.failure_id.trim().length > 0 && typeof next.failure_evidence === 'string' && next.failure_evidence.trim().length > 0 && next.attempt === (prev && prev.failure_id === next.failure_id ? Number(prev.attempt) || 0 : 0) + 1 && next.attempt <= 3)(context.debug_record, payload.contextUpdates && payload.contextUpdates.debug_record)
    • DESIGN_FLAWACTIVE.ARCHITECT
    • DEBUG_BLOCKEDBLOCKED
  14. ACTIVE.REVIEW

    Review the diff for defects, risks, and missed requirements.

    Outgoing Transitions

    • REVIEW_PASSEDACTIVE.DOCUMENTguard: (reviewer => Boolean(reviewer) && reviewer.isolation === 'fresh_context' && typeof reviewer.agent === 'string' && reviewer.agent.trim().length > 0)(((payload.contextUpdates && payload.contextUpdates.review_record) || {}).reviewer)
    • REVIEW_FINDINGSACTIVE.DEVELOP
    • REVIEW_DEFERREDACTIVE.DOCUMENT
  15. ACTIVE.DOCUMENT

    Write human facing change prose from evidence.

    Outgoing Transitions

    • DOCUMENTEDACTIVE.SYNC
    • DOCUMENT_DEFERREDACTIVE.SYNC
  16. ACTIVE.SYNC

    Reconcile durable context, scope status, and decision status from repo evidence.

    Outgoing Transitions

    • SYNCEDACTIVE.DOD_AUDIT
    • SYNC_BLOCKEDBLOCKED
  17. COMPLETETERMINAL

    Report success after every approved DoD criterion passes with evidence.

  18. BLOCKEDTERMINAL

    Report blocked or stopped work and its unmet DoD item or missing decision.

  19. ERRORTERMINAL

    Runtime setup failed or execution became unsafe.

  20. BYPASS_DETECTEDTERMINAL

    Bypass detected because execution moved outside the signal contract.