Skip to content

Build Method dependency graphs from GitHub Issues #72

Description

@flyingrobots

Idea

Teach Method to build a dependency graph from GitHub Issues instead of filesystem backlog links.

The old filesystem backlog had Depends on: fields and task-matrix/DAG generation. After the GitHub Issues migration, the natural replacement is an issue graph over explicit issue references and labels.

Possible shape

  • Parse issue bodies for Depends on: #123, Blocks: #456, and GitHub task-list relationships.
  • Emit method graph --github as Markdown, DOT, SVG, or JSON.
  • Compute frontier work: open issues with no unresolved blockers.
  • Compute critical path by dependency depth.
  • Detect dependency cycles across issues.
  • Respect Method lanes and legends as graph metadata.

Why it matters

GitHub Issues are contributor-friendly, but dependency legibility can degrade fast. Method should recover the old task-matrix/DAG advantages without resurrecting repo-local backlog files.

Acceptance sketch

  • A repo with no live docs/method/backlog/** can still produce a Method dependency graph.
  • The graph uses GitHub Issues as nodes and preserves lane/legend/type labels.
  • Cycles fail a doctor/check command.
  • Frontier output is deterministic enough for CI and PR comments.

Activity

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

    lane:cool-ideasInteresting but not committed work.legend:processMethod process, workflow, adapters, and CLI work.needs-designNeeds or is missing a Method design artifact.priority:mediumMedium priority.type:enhancementFeature or behavior improvement.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions