Skip to main content

MC 101647 — AutoCoder archive + durable executor HTTP consolidation

MC #101647 — AutoCoder archive + durable executor HTTP consolidation

Verdict: PASS_WITH_SCOPE_NOTE

Actions completed

  • Archived broken AutoCoder UI LaunchAgent source plist that pointed at missing ~/system/services/autocoder/start_ui.sh.
  • Preserved archive manifest and SHA256 evidence under ~/system/_archive/autocoder-2026-05/.
  • Patched ~/system/tools/build-mode.js so build-mode autocoder routes to maintained ~/system/tools/autocoder.js instead of the missing Python service.
  • Added read-only durable executor observability endpoints to ~/system/tools/orchestrator-http-server.js:
    • GET /api/v1/durable/stats
    • GET /api/v1/durable/stale?timeout=60
    • GET /api/v1/durable/workflows/:id/events
    • GET /api/v1/durable/workflows/:id/replay
  • Verified durable executor had 0 running and 0 pending workflows before retiring its standalone LaunchAgents.
  • Unloaded com.john.durable-executor and archived its Library/config/daemon LaunchAgent plists under ~/system/_archive/durable-executor-2026-05/ with hashes.
  • Restarted com.alai.orchestrator-bridge to load the patch and verified health + durable endpoints on port 3052.

Validation evidence

  • Syntax checks PASS: orchestrator-http-server.js, durable-executor.js, build-mode.js, autocoder.js.
  • Patched server smoke PASS on alternate port 4052 before live restart.
  • Live bridge after restart: GET /health PASS, GET /api/v1/durable/stats PASS, GET /api/v1/durable/stale?timeout=60 PASS.
  • Durable executor test suite PASS: 27/27.
  • launchctl list confirms com.alai.orchestrator-bridge running and no com.john.durable-executor / com.john.autocoder-ui loaded.

Scope note

The source file ~/system/tools/durable-executor.js remains in place because tests and historical APIs still import DurableExecutor. The separate daemon/LaunchAgent was retired; durable observability is now exposed through orchestrator-http-server.js. Full source-file deletion would be unsafe until imports/tests are migrated.

Evidence directory

/tmp/101647-evidence/

BookStack

https://docs.alai.no/books/system-architecture/page/mc-101647-autocoder-archive-durable-executor-http-consolidation