JSM Workflow
Reactive SDLC coordinator taking software changes from intake to final context sync, implementing the JS Mastery Engineering Workflow (https://jsmastery.com/skills).
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:
States & Deterministic Guards
Each state is an isolated operational slice. Transitions occur only when typed signals satisfy programmatic guard conditions.
- INITINITIAL
Verify reactive runtime before any lifecycle work.
Outgoing Transitions
- RUNTIME_READYACTIVE
- SETUP_REQUIREDERROR
- ACTIVE
Owns every nonterminal SDLC phase and handles lifecycle-wide decision reopening.
Outgoing Transitions
- DECISION_REOPENEDACTIVE.ARCHITECT
- DOD_CHANGE_REQUESTEDACTIVE.DOD_AMENDMENT
- 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
- ACTIVE.SCOPE
Convert the request into ordered work with acceptance seeds.
Outgoing Transitions
- SCOPE_READYACTIVE.ARCHITECT
- SCOPE_ONLYACTIVE.DOD_APPROVAL
- SCOPE_BLOCKEDBLOCKED
- 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
- 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
- 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
- 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
- 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
- DOD_CHECK_SUBMITTEDACTIVE.DOD_AUDITjudgment:
- 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
- ACTIVE.VERIFY
Prove behavior in the real product or service.
Outgoing Transitions
- VERIFY_PASSEDACTIVE.TEST
- VERIFY_FAILEDACTIVE.DEBUG
- VERIFY_DEFERREDACTIVE.TEST
- ACTIVE.TEST
Write or update tests for durable behavior.
Outgoing Transitions
- TEST_PASSEDACTIVE.REVIEW
- TEST_FAILEDACTIVE.DEBUG
- TEST_DEFERREDACTIVE.REVIEW
- 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
- BUG_FIXEDACTIVE.VERIFYguard:
- 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
- REVIEW_PASSEDACTIVE.DOCUMENTguard:
- ACTIVE.DOCUMENT
Write human facing change prose from evidence.
Outgoing Transitions
- DOCUMENTEDACTIVE.SYNC
- DOCUMENT_DEFERREDACTIVE.SYNC
- ACTIVE.SYNC
Reconcile durable context, scope status, and decision status from repo evidence.
Outgoing Transitions
- SYNCEDACTIVE.DOD_AUDIT
- SYNC_BLOCKEDBLOCKED
- COMPLETETERMINAL
Report success after every approved DoD criterion passes with evidence.
- BLOCKEDTERMINAL
Report blocked or stopped work and its unmet DoD item or missing decision.
- ERRORTERMINAL
Runtime setup failed or execution became unsafe.
- BYPASS_DETECTEDTERMINAL
Bypass detected because execution moved outside the signal contract.