Commit Graph
32 Commits
Author SHA1 Message Date
gitea a1dcf09d67 Fix autopilot drive-all loop — agent was stopping after one task
The orchestrator only drove ONE task per invocation, then stopped with
ORCHESTRATION_COMPLETE. User had to manually re-trigger for each task.

Changes:
- Added drive_all() outer loop that scans EVERY task and drives them all
- Tasks needing user review are flagged; orchestrator continues to next
- Only stops when ALL tasks are terminal or ALL remaining need user input
- Output format now shows session summary (completed, awaiting review, blocked)
- Session-starter references 'orchestrate' as primary command
- Updated continue-from-existing to use drive_all()
2026-06-13 22:11:44 -04:00
gitea da1799cd5c Redesign dashboard with Material Design 3 aesthetic
Full M3 redesign with Google's color scheme, elevation system,
and component styling.

Color: primary (#8ab4f8 dark / #1a73e8 light), error (#f28b82),
surface tones with proper dark/light contrast
Elevation: M3 shadow system (levels 0-5) with proper opacity per
color scheme
Typography: Roboto / system-ui stack
Components: M3 card radi (8px), column radi (12px), modal radi (16px)
Focus: M3 focus ring (2px with primary-alpha 0.2)
Cards: accent bar, subtle hover elevation lift
2026-06-13 21:57:21 -04:00
gitea 1531021783 Redesign dashboard with Moon Design System aesthetic
Complete visual refresh using Moon Design's Dragon Ball Z themed
color tokens: Goku (bg), Gohan (cards), Piccolo (surfaces),
Beerus (borders), Trunks (accent/cyan), Goten (green),
Bulma (red), ChiChi (yellow).

Changes:
- Color tokens: full Moon palette with proper dark/light variants
- Typography: Inter font, improved hierarchy and spacing
- Cards: left accent bar instead of border, hover lift effect
- Buttons: shadow glow on primary, consistent radius
- Modals: slideUp animation, deeper backdrop blur
- Stats: larger value text, uppercase labels
- Scrollbar: transparent track, Moon border color
- Help modal: bordered table rows, monospace kbd
- Filter inputs: focus glow matching accent
- Layout: 24px gutters, 14px header padding
2026-06-13 21:50:28 -04:00
gitea 03d9ed5a9c Update 'upgrade automaton for this project' flow to handle task migration
The onboarding Migration Check now also detects tasks at the deprecated
{project}/tasks/ location and moves them to .automaton/tasks/.
2026-06-13 21:41:42 -04:00
gitea d49dc88e61 Integrate migration detection into update.sh
update.sh now checks the current project after pulling latest changes.
If it detects stale prompt/contract/script copies or tasks at the
deprecated root-level location, it prompts the user to run migration.
No more needing to know about migrate-project.sh separately.
2026-06-13 21:39:29 -04:00
gitea 7c8c606d73 Consolidate task location: always .automaton/tasks/
Both framework and project tasks now live in .automaton/tasks/.
Every project has a .automaton/ directory, so no need for special
scope-based path logic. Removed the dual-convention gap.

Changes:
- Dashboard _find_tasks_dir() and _get_review_path() always use
  {root}/.automaton/tasks/ — no scope branching
- migrate-project.sh: moves tasks/ -> .automaton/tasks/ during upgrade
- Orchestrator prompt: all task path references updated to
  {project}/.automaton/tasks/
2026-06-13 21:37:13 -04:00
gitea 741364654c Fix task directory gap in upgrade process
The additive extension model refactor moved prompts/contracts/scripts into
.automaton/ but never addressed where tasks live. Two conventions existed:
framework keeps tasks in .automaton/tasks/, Orchestrator creates project
tasks at tasks/.

Fixes:
- Dashboard _find_tasks_dir() now scope-aware: framework mode prefers
  .automaton/tasks/, project mode prefers tasks/ at project root
- migrate-project.sh: if tasks exist in .automaton/tasks/ (old model),
  move them to tasks/ (project root)
- Orchestrator prompt: documents that tasks location depends on scope
2026-06-13 21:33:23 -04:00
gitea e3e45a23f2 Fix dashboard task directory resolution for projects
Dashboard was hardcoded to read tasks from .automaton/tasks/, but the
Orchestrator creates tasks at tasks/ (project root). Added _find_tasks_dir()
that checks both locations and _get_review_path() that reads REVIEW.md
from whichever location the task lives in.

Priority: .automaton/tasks/ first, then tasks/ as fallback.
This handles framework mode (tasks in .automaton/), project mode
(tasks at root), and symlinked projects.
2026-06-13 21:30:08 -04:00
gitea 2c03abb7ec Fix dashboard module resolution from any project directory
- Add automaton.pth to user site-packages so python -m automaton.dashboard
  works from any working directory, not just ~/.automaton/
- Add scripts/dashboard.sh as a convenience wrapper with PYTHONPATH
2026-06-13 21:18:05 -04:00
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
gitea 9b8f527776 Replace prompt() with inline textarea in review section, close modal on submit 2026-06-13 18:04:10 -04:00
gitea 48d8fb4f44 Add session discipline rule with concrete failure example 2026-06-13 17:59:39 -04:00
gitea 0ac84a8d41 Add retroactive task specs for ad-hoc changes 2026-06-13 17:54:14 -04:00
gitea 6630577bb9 Convert task detail panel to centered modal 2026-06-13 17:52:35 -04:00
gitea 01d8451f3a Display SPEC.md content in task detail panel 2026-06-13 14:51:18 -04:00
gitea 75cb4a14eb Show artifact badges on pending review task cards 2026-06-13 14:38:08 -04:00
gitea 52dcf8e309 Implement all 5 tasks: additive extension model, framework self-enforcement, changelog, project migration, dashboard review 2026-06-13 12:26:27 -04:00
gitea 46ceed0122 Add Blocked dashboard column, framework audit, and 5 new task specs 2026-06-13 12:16:01 -04:00
gitea 5ffcb4b624 Add dashboard, tasks, and template structure 2026-06-12 23:59:21 -04:00
gitea a1391e7364 Rename product from agent-framework to automaton; move scripts to scripts/ folder 2026-06-12 13:22:10 -04:00
gitea 502f47eb21 Refactor: rename framework files to dot-prefixed lowercase, fix onboarding references, validate VRAM detection
- Rename AGENT.md -> .agent.md, RULES.md -> .rules.md, ONBOARDING.md -> .onboarding.md
- Rename BUG_REPORT.md -> .bug_report.md, ADVERSARIAL_BUG_REPORT.md -> .adversarial_bug_report.md, VERDICT.md -> .verdict.md
- Fix onboarding.md references to use new .onboarding.md path
- Fix stop-hook-pattern.md reference to use .onboarding.md
- Update README.md, config.md, install.sh, update.sh, prompts/*, references/*
- VRAM detection script validated and working
2026-06-12 12:40:15 -04:00
gitea c629661b28 Redesign file system to avoid conflicts: layered approach with project overrides and global defaults, proper upgrade process 2026-06-11 22:25:09 -04:00
gitea 8897852cc0 Fix all 30 bugs: Orchestrator state determination, auto-execution loop, sub-task management, VRAM detection, and more 2026-06-11 21:54:15 -04:00
gitea a74eadfb86 Split config: VRAM/model settings to config.md, agent behavior to AGENT.md 2026-06-11 20:25:27 -04:00
gitea f4587886b9 Add Test Design phase: test_design.md prompt, workflow state machine, orchestrator updates, implement/referee reference TEST_PLAN.md 2026-06-11 09:25:45 -04:00
gitea fec11d29dc Enable Autopilot by default: AGENT.md, README, onboarding, orchestrate updates 2026-06-10 23:59:37 -04:00
gitea a17cbbe304 Add update mechanism: update.sh script, project upgrade option in onboarding, update instructions in README, Bug 12 2026-06-10 23:48:43 -04:00
gitea 3ac1b0858b Fix bugs 1-11: interactive research/design, doc review phase, orchestrator state machine, design phase in workflow, fix verdict task creation contradiction 2026-06-10 23:44:55 -04:00
gitea 3cdb95e083 Integrate TDD and Grill with Docs into Design, Implementation, and Verification workflows 2026-06-10 14:46:11 -04:00
gitea 59b6339765 Implement Autopilot mode: state machine, adversarial bug finding, and proactive orchestration 2026-06-09 23:58:48 -04:00
gitea d235c12ab0 Add design phase + 3D visualization + orchestration improvements 2026-05-31 00:29:10 -04:00
gitea 72ae07c310 Initial commit: minimal agent framework 2026-05-30 23:27:09 -04:00