Story: Capability-Based Dependency Resolution #7

Closed
opened 2026-03-18 06:25:29 +00:00 by david · 1 comment
Owner

As a developer
I want stages to declare their capabilities and dependencies
So that the pipeline auto-connects stages without hardcoding

Acceptance Criteria:

  • Stages declare capabilities (what they provide) and dependencies (what they need)
  • Pipeline resolves dependencies using prefix matching (e.g., "source" matches "source.headlines")
  • New stages integrate automatically without modifying pipeline controller
  • Introspection shows live DAG of pipeline

Technical Tasks (from commit 952b73c, e0bbfea):

  • Create engine/pipeline/core.py: Stage base class with capabilities/dependencies
  • Create engine/pipeline/controller.py: Pipeline execution with resolution
  • Create engine/pipeline/registry.py: Stage discovery
  • Add introspection for pipeline visualization
**As a** developer **I want** stages to declare their capabilities and dependencies **So that** the pipeline auto-connects stages without hardcoding **Acceptance Criteria:** - [ ] Stages declare `capabilities` (what they provide) and `dependencies` (what they need) - [ ] Pipeline resolves dependencies using prefix matching (e.g., "source" matches "source.headlines") - [ ] New stages integrate automatically without modifying pipeline controller - [ ] Introspection shows live DAG of pipeline --- **Technical Tasks (from commit 952b73c, e0bbfea):** - Create `engine/pipeline/core.py`: Stage base class with capabilities/dependencies - Create `engine/pipeline/controller.py`: Pipeline execution with resolution - Create `engine/pipeline/registry.py`: Stage discovery - Add introspection for pipeline visualization
Author
Owner
**ADR:** [ADR-001: Capability-Based Dependency Resolution](https://git.notsosm.art/david/Mainline.wiki/ADR-001-Capability-Based-Dependency-Resolution)
david closed this issue 2026-03-18 06:53:27 +00:00
david reopened this issue 2026-03-18 06:54:05 +00:00
david added this to the Mainline project 2026-03-18 07:12:12 +00:00
david added the status:feature-complete label 2026-03-18 07:15:12 +00:00
david added the status:tested label 2026-03-18 07:48:50 +00:00
david moved this to Tested in Mainline on 2026-03-18 07:49:48 +00:00
david added the epic:#2 label 2026-03-18 07:55:23 +00:00
david added the epic:Pipeline Architecture label 2026-03-18 07:59:02 +00:00
david closed this issue 2026-03-18 22:03:28 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: klubhaus/sideline#7