From 0f41c3e7297cfa89f1d2d02e39a86e7df37c80a3 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Sat, 21 Feb 2026 17:36:17 -0600 Subject: [PATCH] Document 100% CLI coverage achievement - Audited gantt-board API: 13 endpoints identified - Added 5 missing auth commands to CLI - Updated MEMORY.md with coverage matrix - Rule 2.5 now fully compliant for gantt-board --- MEMORY.md | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) 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):**