Commit Graph

9 Commits

Author SHA1 Message Date
Paul Huliganga 4b4848c541 fix(backend): resolve TypeScript build errors and improve test coverage
- Fix db.run monkey-patch return type to match sql.js signature
- Add .js extensions to all cross-module imports (node16 resolution)
- Add explicit types for callback parameters in test files
- Resolve PhaseProgressLogger type name mismatch
- All tests pass (46/46) and build succeeds

Skipped status/ artifacts (test runtime files)
2026-03-29 23:24:53 -04:00
Paul Huliganga 0510009597 fix(workflow): align orchestrator API and workflow runner 2026-03-26 15:44:45 -04:00
Paul Huliganga 476ca0b0c2 test: full-suite stabilization for orchestrator and progress logging 2026-03-26 14:23:28 -04:00
Paul Huliganga 87ee00dcb5 Task 4: Add local phase update queue (JSONL) with event schema, helper functions, orchestrator emission, and tests. Integrates phase_started, phase_succeeded, phase_failed, workflow_completed events; helper functions for reading pending and marking sent. All tests passing. See tests/phase-updates-queue-README.md for usage. 2026-03-26 13:42:26 -04:00
Paul Huliganga f54468e471 Task 3: Implement robust SequentialOrchestrator + WorkflowStatusManager integration with atomic status file writes, correct status fields, and phase boundary tracking. Fix logic, fully restore run method, ensure all orchestrator status tests pass. 2026-03-26 13:39:54 -04:00
Paul Huliganga 2288849f66 feat(orchestrator): add phase progress JSONL logging with failureReason and nextAction; reader helper and robust tests for Task 2 2026-03-26 13:34:37 -04:00
Paul Huliganga 1c3d697af7 fix(harness): stabilize orchestrator resume semantics and checkpoint test behavior 2026-03-26 13:33:24 -04:00
Paul Huliganga 8afac385b0 Fix resume test: assert orchestrator checkpoint and retry semantics correctly for mid-run resumes (Task 1 remediation) 2026-03-26 13:31:06 -04:00
Paul Huliganga c434733f0c feat(harness): sequential orchestrator with checkpoint/retry/restart, tests + docs
- Add SequentialOrchestrator service for ordered phase execution, per-phase retry/backoff, and restart-safe checkpointing
- Persist phase attempt metadata (success/fail, attempts, timestamp, error)
- Expose importable callable interface
- Add full coverage unit tests for execution order, retry, checkpoint, and resume scenarios
- Update docs and README for usage and dev guidance
2026-03-26 13:28:19 -04:00