Files
clawgo/tasks.md
2026-03-09 13:24:55 +08:00

1.7 KiB

Task Breakdown (tasks.md)

Workstreams

1. Workspace workflow

  • Define how spec-driven coding should work in ClawGo.
  • Update workspace policy to require spec.md, tasks.md, and checklist.md for non-trivial coding tasks.
  • Add a built-in spec-coding skill.

2. Scaffolding

  • Add a script that initializes the three markdown documents in the current project root.
  • Keep scaffolding idempotent so existing docs are preserved.
  • Reuse shared template files so shell and runtime initialization stay consistent.

3. Agent context

  • Extend the context builder to surface current-project spec.md, tasks.md, and checklist.md when present.
  • Add truncation to keep prompt growth bounded.
  • Add tests for loading and truncation behavior.
  • Restrict project planning docs to coding-oriented tasks only.
  • Auto-initialize spec docs in the coding target project root when a coding task begins and files are missing.
  • Auto-register the current coding request into tasks.md.
  • Auto-mark the request complete and append a progress note when the turn succeeds.
  • Reopen previously completed tasks when later repair/regression/debug work indicates they are not actually done.

4. Documentation

  • Document the workflow in README.md.
  • Apply the workflow to the current ClawGo enhancement itself by creating the three docs in the repo root.
  • Clarify that skill files are templates and real project docs live in the coding target project.

Progress Notes

  • The implementation stays lightweight on purpose: markdown files + built-in skill + policy + context loading.
  • No new planner service or database state was introduced in this iteration.