Skip to content

Feedback: openspec view does not detect nested tasks.md files #1202

Description

@awaithope

OpenSpec version: 1.3.1\n\nWe use a project-local schema where the tasks artifact is configured as generates: "**/tasks.md" because each change can have separate backend/tasks.md and frontend/tasks.md files.\n\nObserved behavior:\n- openspec status --change correctly detects the tasks artifact as done and shows 4/4 artifacts complete.\n- openspec view does not show task progress for the same change. It classifies the change as Draft because it appears to look only for openspec/changes//tasks.md.\n\nExample structure:\nopenspec/changes/refine-people-groups-browse/backend/tasks.md\nopenspec/changes/refine-people-groups-browse/frontend/tasks.md\n\nExpected behavior:\nopenspec view should use the resolved schema artifact output glob, or at least count all **/tasks.md files, so dashboard task progress matches openspec status.\n\nLikely cause:\ndist/utils/task-progress.js getTaskProgressForChange() currently reads path.join(changesDir, changeName, 'tasks.md') directly, instead of resolving the schema glob or recursively collecting tasks.md files.\n\nSuggested fix:\nMake getTaskProgressForChange() aggregate checkbox counts from every resolved tasks artifact output, e.g. **/tasks.md for schemas that support layered frontend/backend design/tasks. This would make view consistent with status and project-local schemas.


Submitted via OpenSpec CLI

  • Version: 1.3.1
  • Platform: linux
  • Timestamp: 2026-06-11T13:27:44.314Z

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions