Files
automaton/tasks/project-migration/IMPLEMENTATION.md
T
gitea b15b495d2e Close all 10 tasks through full lifecycle (Implementation → Bug Find → Adversarial → Doc Review → Referee)
- Drive all approved tasks to completion with VERDICT.md
- Fix state machine: IMPLEMENTATION.md was never checked in determine_task_state()
- Fix state machine: DOC_REVIEW.md priority wrong (checked after BUG_REPORT)
- Fix board display: approved planning tasks now advance to Design group
- Fix board display: rejected planning tasks move to Blocked group
- Fix path traversal: review API validated task names against ../ injection
- Fix URL encoding: unquote() task names in API path parsing
- Fix comment parsing: robust REVIEW.md read/write, handle falsy comments
- Fix dead code: KanbanBoard class missing COLUMNS and __init__
- Fix inotify: explicit error messages and polling fallback
- Fix review API: validate task names, prevent path traversal
- Update CHANGELOG.md with all changes
2026-06-13 21:09:57 -04:00

1.0 KiB

Implementation: Project Migration Script

Summary

Created scripts/migrate-project.sh to clean up projects that were set up under the old copy-based model. Also updated prompts/onboarding.md to detect stale projects and offer migration.

Changes Made

scripts/migrate-project.sh

Shell script that:

  1. Scans {project}/.automaton/ for files that now live in ~/.automaton/
  2. Files identical to global → deleted (framework provides them)
  3. Files different from global → moved to .automaton/extensions/
  4. Preserves .agent.md and .rules.md as-is
  5. Reports what was deleted, moved, and kept

prompts/onboarding.md

Added "Migration Check" section at the end:

  • During onboarding, checks if project has stale framework file copies
  • Identifies files beyond .agent.md and .rules.md
  • Offers to run migrate-project.sh or provides manual instructions

Files Created

  • scripts/migrate-project.sh — migration shell script (125 lines)

Files Modified

  • prompts/onboarding.md — added migration detection section