Convert gitgram/ and aitimemachine/ from embedded git repos (which showed as opaque submodule gitlinks on GitHub) into fully-tracked first-party content. AITM now merges its 7 vendored repos as first-party engines: - memory: beads (Go task DAG) + context7 (docs SDK), unified into saved_contexts - git: vendored C git (bundled binary) + gitnexus (in-process code intelligence) - agentic: a2a (@a2a-js/sdk) + pal (AITM-managed Python subprocess) Includes the full session's product build: Gitgram web/mobile/backend features, AITM website/CLI/MCP, the unified memory layer, engine build tooling (scripts/build-engines.sh, Dockerfile, CI), docs (README, ENGINES.md, ARCHITECTURE.md), and extensive test suites. Build artifacts, node_modules, external/, and gemini-cli are gitignored. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
3.5 KiB
AI Time Machine Experience Plan
Goal: Make AITimeMachine work like macOS Time Machine for AI coding - the AI can go back in time, see what changed, undo mistakes, and restore specific files. Canonical reference:
../../NORTH_STAR_PRD_ARCHITECTURE_V1.md. Execution backlog reference:../../V1_90_DAY_BACKLOG.md.
Planning note:
- This file is a historical plan snapshot.
- Active execution priorities and acceptance criteria are tracked in
../../V1_90_DAY_BACKLOG.md.
Current State ┌───────────────────┬──────────────────────────────────┐ │ Component │ Status │ ├───────────────────┼──────────────────────────────────┤ │ CLI/MCP Core │ ✅ Production Ready (30+ tools) │ ├───────────────────┼──────────────────────────────────┤ │ API Server │ ✅ Mostly Ready (11 endpoints) │ ├───────────────────┼──────────────────────────────────┤ │ Website/Dashboard │ ✅ UI Complete (needs real data) │ ├───────────────────┼──────────────────────────────────┤ │ Authentication │ 🟡 Partial (missing OAuth) │ ├───────────────────┼──────────────────────────────────┤ │ Billing │ 🟡 Partial (quotas not enforced) │ ├───────────────────┼──────────────────────────────────┤ │ Team Features │ ❌ Not Started │ └───────────────────┴──────────────────────────────────┘ What's Left - Priority Order
Phase 1: Production Critical (Week 1)
- OAuth Providers - Enable GitHub/Google login in Clerk
- Rate Limiting - Per API key limits based on plan
- Quota Enforcement - Storage + API request limits
- Monitoring - Sentry + health checks
Phase 2: Security & Polish (Week 2)
- Scoped API Keys - read/write/admin permissions
- IP Allowlisting - Enterprise security
- Webhook Reliability - Retry logic, delivery logs
- Session Management - List/revoke sessions
Phase 3: Dashboard Enhancement (Week 2-3)
- Connect Real Data - Replace mock data with API calls
- Advanced Analytics - Breakdown by project/endpoint
- Audit Log UI - View security events
- Export Features - CSV download
Phase 4: Team Features (Week 3-4)
- Organizations - Create/manage orgs
- Member Invitations - Invite team members
- Shared Checkpoints - Collaborate on states
- Admin Dashboard - Team management
- SSO/SAML - Enterprise auth
Quick Wins (Today)
- Enable GitHub OAuth in Clerk dashboard - 10 min
- Add health check endpoint - 15 min
- Add Sentry error tracking - 20 min
- Connect dashboard pages to real APIs - 30 min each