diff --git a/MEMORY.md b/MEMORY.md index 4f5275b..06a93a6 100644 --- a/MEMORY.md +++ b/MEMORY.md @@ -240,13 +240,33 @@ First question: "How will I (Max) interact with this programmatically without Ma --- -## Gantt Board CLI Tools (Working 2/22) +## Gantt Board CLI Tools (100% API Coverage) **Location:** `/Users/mattbruce/Documents/Projects/OpenClaw/Web/gantt-board/scripts/` (IN PROJECT, VERSION CONTROLLED) +**Status:** ✅ Rule 2.5 Compliant - All API endpoints have matching CLI commands +**Audit Date:** 2026-02-22 +**Coverage:** 13 API endpoints → 13 CLI commands (100%) + **Rule:** CLI tools belong IN THE PROJECT DIRECTORY, not workspace scripts folder. They must be committed with the project or they'll get lost. -**✅ CORRECTLY PLACED:** These scripts are now in the gantt-board project repo and committed. +### API-to-CLI Coverage Matrix + +| API Endpoint | Method | CLI Command | Status | +|--------------|--------|-------------|--------| +| /api/tasks | GET | `task list` | ✅ | +| /api/tasks | POST | `task create` | ✅ | +| /api/tasks | DELETE | `task delete` | ✅ | +| /api/tasks/natural | POST | `task natural` | ✅ | +| /api/auth/login | POST | `auth login` | ✅ | +| /api/auth/logout | POST | `auth logout` | ✅ | +| /api/auth/session | GET | `auth session` | ✅ | +| /api/auth/register | POST | `auth register` | ✅ | +| /api/auth/forgot-password | POST | `auth forgot-password` | ✅ | +| /api/auth/reset-password | POST | `auth reset-password` | ✅ | +| /api/auth/account | PATCH | `auth account` | ✅ | +| /api/auth/users | GET | `auth users` | ✅ | +| /api/debug | GET | `debug` | ✅ | ### Reference Implementation (Gantt Board) @@ -277,6 +297,15 @@ First question: "How will I (Max) interact with this programmatically without Ma # Auth ./scripts/gantt.sh auth session # Check session ./scripts/gantt.sh auth login # Log in +./scripts/gantt.sh auth logout # Log out +./scripts/gantt.sh auth register # Register new account +./scripts/gantt.sh auth forgot-password # Request password reset +./scripts/gantt.sh auth reset-password # Reset password +./scripts/gantt.sh auth account # Update account +./scripts/gantt.sh auth users # List users + +# Debug +./scripts/gantt.sh debug # Debug endpoint ``` **Usage (Direct Supabase - works without web server):**