Skip to content

refactor(aidd-orchestrator): make the delivery loop a contract-compliant router #420

Open

Description

@blafourcade

Need

The delivery loop configures unattended delivery, routes one ready work request to delivery, and iterates on review feedback. Its current public name, async-dev, describes an implementation style rather than that outcome.

The public skill remains 00-async-dev in this refactor. Renaming its identifier is a separate compatibility migration; this issue only makes its router understandable, lazy-loaded, and contract-compliant.

Current state

The SDLC provider is already discovered at runtime by capability description. The remaining problem is structural: the always-loaded router duplicates the routing protocol and expands every setup, run, and review detail, although one invocation uses only one path.

Scope

  • Make the root router express only route → setup | run | review, its action table, and transversal rules.
  • Add internal load boundaries:
    • route resolves the mode from the routing protocol.
    • setup, run, and review each load their existing ordered action sequence only after selection.
  • Keep detailed selection precedence, trigger aliases, and conflict handling in the routing reference, with one source of truth.
  • Preserve the existing dynamic SDLC-provider discovery and all current setup, run, and review behavior.
  • Measure the lines read on the shortest and longest paths before and after.

Out of scope

  • Renaming 00-async-dev, changing its invocation, or breaking trigger compatibility.
  • Splitting setup, run, and review into separate public skills.
  • Changing automation policy, GitHub integration, or the SDLC capability contract.

Acceptance criteria

  • The root router satisfies the skill contract: flow, action table, and transversal rules only.
  • A mode is selected through one routing source of truth, then only its internal sequence is loaded.
  • Setup, run, and review produce the same observable outcomes as before for the same inputs.
  • Provider discovery remains runtime-based; no provider name appears in root routing logic.
  • Existing trigger aliases continue to select the same mode.
  • The PR states shortest- and longest-path line counts before and after.

Activity

  1. added theissue type on Jul 10, 2026
  2. changed the title [-]refactor(aidd-orchestrator): slim async-dev, 1915 lines and a 131-line router[/-] [+]refactor(aidd-orchestrator): async-dev is 1915 lines with a 131-line router, four times the median[/+] on Jul 13, 2026
  3. changed the title [-]refactor(aidd-orchestrator): async-dev is 1915 lines with a 131-line router, four times the median[/-] [+]refactor(aidd-orchestrator): async-dev skill overloaded and plugin cross referencies[/+] on Jul 30, 2026
  4. changed the title [-]refactor(aidd-orchestrator): async-dev skill overloaded and plugin cross referencies[/-] [+]refactor(aidd-orchestrator): make the delivery loop a contract-compliant router[/+] on Sep 9, 2026
  5. added this to the QA gate milestone on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions