Blame · Line-by-line history
project-state.md
Each line is annotated with the commit that last touched it. Click any SHA to jump to that commit and see the surrounding change.
| d0bc8c2 | 1 | # GlueCron — Project State |
| 2 | ||
| 3 | > Auto-updated at end of each agent session. Human-readable snapshot. | |
| 4 | ||
| 5 | ## Current Status | |
| 6 | ||
| 03015ae | 7 | - **Codebase:** 200+ files, ~62,000 lines TypeScript |
| d0bc8c2 | 8 | - **Tests:** 767 passing across 51 test files |
| 9 | - **TypeScript errors:** 10 remaining (all Bun Uint8Array compat, non-blocking) | |
| 03015ae | 10 | - **Database:** 56+ tables, 35 migrations (Drizzle + Neon PostgreSQL) |
| 11 | - **Branch:** `claude/resume-previous-work-KzyLw` (9 commits ahead of main) | |
| d0bc8c2 | 12 | |
| 13 | ## What's Shipped (Blocks A–J complete) | |
| 14 | ||
| 15 | - Full GitHub-parity git hosting (Smart HTTP clone/push/fetch) | |
| 16 | - Issue tracker, PR system with AI review + auto-merge conflict resolution | |
| 17 | - Green gate enforcement (GateTest, secret scan, security scan, merge check, AI review) | |
| 18 | - Auto-repair on gate failures (secrets, security issues) | |
| 19 | - Branch protection, CODEOWNERS, rulesets | |
| 20 | - Flywheel learning system (review outcomes, pattern extraction, context injection) | |
| 21 | - SSE real-time streaming (gate updates, notifications) | |
| 22 | - SBOM export (SPDX 2.3 + CycloneDX 1.5) | |
| 23 | - License compliance scanner | |
| 24 | - OAuth2 + PAT tokens + 2FA/TOTP + WebAuthn passkeys | |
| 25 | - Webhooks, deploy pipelines, CI workflows | |
| 26 | - Wiki, discussions, projects, gists, packages (npm registry) | |
| 27 | - Marketplace, sponsors, billing, org management | |
| 28 | - GraphQL API, admin panel, audit log | |
| 29 | ||
| 30 | ## Active Gaps | |
| 31 | ||
| 03015ae | 32 | - Self-healing loop built but needs integration into post-receive hooks for automatic triggering |
| d0bc8c2 | 33 | - Web Push notifications (infrastructure exists, needs final wiring) |
| 34 | - Streaming AI responses via SSE | |
| 35 | - Developer velocity metrics dashboard | |
| 36 | - No client-side JavaScript interactivity (pure SSR currently) | |
| 37 | - Mobile experience not optimized | |
| 38 | ||
| 39 | ## Deployment | |
| 40 | ||
| 41 | - **Target:** Fly.io (London region, persistent volume for repos) | |
| 42 | - **Dockerfile:** Multi-stage, Bun runtime, auto-migration on release | |
| 43 | - **Not yet deployed** — awaiting DATABASE_URL and first deploy | |
| 44 | ||
| 45 | ## Key Integrations | |
| 46 | ||
| 47 | - **GateTest:** `https://gatetest.ai/api/scan/run` (test runner) | |
| 48 | - **Crontech:** `https://crontech.ai/api/trpc/tenant.deploy` (deploy on push to main) | |
| 49 | - **Anthropic Claude:** AI review, merge resolution, security scan, triage, changelog, test gen |