Skip to content

[feature-runner] Full context bundle for /tdd sub-agent invocations #84

@orioltf

Description

@orioltf

This was generated by AI during triage.

Parent

docs/issues/feature-runner/PRD.md

What to build

Extend the /tdd sub-agent invocation to use the full context bundle defined in ADR-0027, replacing the minimal bundle (issue file + PRD only) from the scaffold slice. The bundle adds: all sibling issue files in the feature directory, domain-scoped CONTEXT.md, domain-scoped ADRs, and the last 5 git commits.

Scope is inferred by scanning the PRD for apps/claude-code/<plugin> path references. If found, inject that plugin's docs/adr/ and CONTEXT.md. If not found, inject the root docs/adr/ and root CONTEXT.md.

Acceptance criteria

  • Each /tdd invocation receives the full bundle: issue file, PRD, all sibling issue files, scoped CONTEXT.md, scoped ADRs, last 5 git commits
  • For a feature whose PRD references paths under apps/claude-code/<plugin>/, the plugin's docs/adr/ and CONTEXT.md are injected
  • For a feature whose PRD does not reference any apps/claude-code/<plugin>/ path, the root docs/adr/ and root CONTEXT.md are injected
  • Root ADRs are not injected into plugin feature runs

Blocked by

#80


PRD: docs/issues/feature-runner/PRD.md
Migrated from: docs/issues/feature-runner/05-full-context-bundle.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