Skip to content

[feature-runner] Auto-selection and LOOP_COMPLETE #86

@orioltf

Description

@orioltf

This was generated by AI during triage.

Parent

docs/issues/feature-runner/PRD.md

What to build

Extend the skill to handle no-argument invocation. When invoked without a slug, scan docs/issues/ for features where every NN-*.md file is at Status: ready-for-agent. Select the first such feature alphabetically and run it. When no qualifying feature exists, emit LOOP_COMPLETE on its own line and exit cleanly. This makes /loop /implement-feature composable for overnight queue draining — the /loop skill catches LOOP_COMPLETE and terminates.

Acceptance criteria

  • Running /implement-feature with no argument scans docs/issues/ and selects the first feature (alphabetically by slug) where all NN-*.md files are Status: ready-for-agent
  • The selected feature is then executed using the same logic as the named-slug path
  • When no qualifying feature exists, the skill outputs LOOP_COMPLETE on its own line and exits cleanly with no error
  • Running /loop /implement-feature terminates cleanly after LOOP_COMPLETE is emitted
  • Features with a mix of ready-for-agent and resolved/closed issues are not selected (partial features are skipped)

Blocked by

#80


PRD: docs/issues/feature-runner/PRD.md
Migrated from: docs/issues/feature-runner/07-auto-selection.md (source removed after migration)
Touched by PRs: #25, #32

Metadata

Metadata

Assignees

No one assigned

    Labels

    closedPR has been mergedenhancementNew feature or requestfeature/feature-runnerIssues from the feature-runner feature

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions