Skip to content

feat(ai-autopilot): bootstrap orchestrator core — scope -> architect -> build -> full-fledged loop (#122)#127

Merged
suleimansh merged 3 commits into
mainfrom
feat/bootstrap-orchestrator
Jul 2, 2026
Merged

feat(ai-autopilot): bootstrap orchestrator core — scope -> architect -> build -> full-fledged loop (#122)#127
suleimansh merged 3 commits into
mainfrom
feat/bootstrap-orchestrator

Conversation

@suleimansh

Copy link
Copy Markdown
Member

Child of #116 (bootstrap). The spine.

Sequences autopilot's existing primitives into one flow, taking a user from nothing to a running, production-grade app:

scope  →  architect  →  build  →  full-fledged loop

Bootstrap owns the control flow (loop, gate, interrupt) over four injectable steps, so it runs offline against stubs + FakeRunner. Default step builders wire those steps onto the real primitives:

  • agentArchitect — an ai-sdk agent + Output.object, with the decisions briefing prepended so it does not re-pitch a rejected idea.
  • supervisorBuild — the Supervisor over a planner + persona workers.
  • loopChecklist / loopImprove — the Loop (checklist verdict + firing the review/QA chains).

Tests: orchestration with stubs (happy path, loop-until-clean, stop-at-maxPasses, prototype-skips-loop, abort, observer isolation, construction guards), each default step against real primitives, and a full end-to-end run wiring Bootstrap + all four default steps + AiFake offline. Full suite 158 green.

Stacked on #120 and #121 — base is the #121 branch so this diff is bootstrap-only; it retargets to main once they merge. Merge order: #125#126 → this.

Closes #122.

@suleimansh suleimansh added the enhancement New feature or request label Jul 2, 2026
@suleimansh suleimansh self-assigned this Jul 2, 2026
@suleimansh suleimansh added the priority: high Should be addressed soon label Jul 2, 2026
Base automatically changed from feat/production-grade-checklist to main July 2, 2026 17:24
@suleimansh suleimansh merged commit 11dce73 into main Jul 2, 2026
2 checks passed
@suleimansh suleimansh deleted the feat/bootstrap-orchestrator branch July 2, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority: high Should be addressed soon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bootstrap orchestrator core: scope -> architect -> build -> full-fledged loop

1 participant