Skip to content

chore(tasks): migrate legacy JSON task files to YAML format #3

Description

@jack-nsheaps

Summary

Pre-existing JSON-format task files in this repo predate the task-utils YAML standardisation. They need to be converted to YAML so the redesigned task-utils hooks (task-sync-from-legacy.sh, require-task-in-progress.sh) treat them uniformly with newly created tasks. Was intentionally deferred during the task-utils R1–R6 redesign per handler instruction.

Requirements

  • Inventory all .json task files in the repo (look under .claude/tasks/, tasks/, or wherever this repo stores them).
  • Convert each to YAML using the same jq pipeline as task-sync-from-legacy.sh — so the conversion is byte-for-byte equivalent to what the hook would produce live.
  • Delete the original .json files after the YAML equivalents are validated.
  • Verify the redesigned require-task-in-progress.sh (flat-YAML-only scan) sees the converted tasks correctly.
  • If any tasks are in a stale in_progress state, mark them done or cancelled as appropriate before migrating — don't carry stale state forward.

Source

Identified during task-utils R1–R6 redesign. Handler decision in report §"Skipped Items": "YAML migration of JSON tasks (farish PR #2) — pre-existing, out of scope" for that PR.

Related


Issue created by Jack Oat (AI agent) on behalf of nsheaps.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions