Skip to content

Archive workflows miss incomplete tasks in custom schema paths #1948

Description

@clay-good

What happens

The single and bulk archive workflows look for tasks.md or an artifact named tasks. A custom schema can track task checkboxes under another artifact and path, such as implementation at planning/work-items.md. In that case, the workflows can report no tasks and proceed without warning about unchecked items.

Reproduction

Define a schema whose apply.tracks points to a nonstandard task file or glob. Add an unchecked task to a change using that schema, then follow /opsx:archive or /opsx:bulk-archive. The current guidance does not reliably find those checkboxes.

Expected

Both workflows use the selected change's totalTasks and completedTasks from openspec list --json with the same root or store selection. They warn for incomplete tasks and stop if the lookup fails.

This issue covers the workflow guidance; the CLI already resolves schema-tracked task files.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions