Skip to content

Pennyfarthing: sprint validator fails on cross-epic depends_on references #80

@slabgorb

Description

@slabgorb

Problem

The sprint story validator rejects depends_on fields that reference story IDs from other epics. For example, story 10-4 in epic-10.yaml depends on 9-3 from epic-9.yaml, but the validator only resolves IDs within the same epic file.

This forces a workaround of commenting out cross-epic deps:

# epic-10.yaml
- id: 10-4
  depends_on:
    - 10-3
  # also depends on: 9-3 (cross-epic)

Expected Behavior

depends_on should resolve story IDs across all loaded epic files in the sprint, not just within the current epic.

Affected Commands

  • pf sprint story add — refuses to add stories when cross-epic deps exist anywhere in the sprint
  • pf validate sprint — would also fail if cross-epic deps were left in place

Workaround

Comment out cross-epic deps with # also depends on: X-Y (cross-epic) annotations.

Labels: pennyfarthing, bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions