All workAndrew Cates.

Project 02 of 84

Workloom

Workloom is a package manager for AI agent configuration: one canonical, versioned, org-scoped source of instructions, skills, hooks and MCP configs, rendered into each tool's native files (CLAUDE.md, AGENTS.md, .cursor/rules, and so on), with drift detection and trust gates.

Status
In progress
Area
Workloom Platform Suite
Last activity
2026
Stack
  • TypeScript
  • pnpm workspaces
  • Next.js
  • Tailwind CSS
  • next-auth beta
  • Hono
  • Drizzle ORM
  • Kubb-generated API client

Highlights

  1. Closed two cross-tenant data leaks in Workloom's Hono API. Org stats, audit feed and admin member/team routes now bind the caller's org id through a single memberInOrg helper. The Idempotency-Key cache is now scoped to (org, user, method, path, key), with 422 on body reuse. Tests were confirmed failing against the old code first, and the apps/api suite passed 258/258.
  2. Built a Playwright testability layer across the Workloom Next.js dashboard: 31 typed data-testid registries shared with 30 page objects, plus state attributes (data-load-state, aria-busy, epoch counters) derived from the same React Query state that drives rendering. This covers registry, workspaces, telemetry, editor, admin and auth flows in 37 e2e spec files.
  3. Stabilized the e2e suite from 42 failed / 285 passed to 331 passed / 0 failed (deterministic) by fixing root causes, not adding retries. Fixed 4 real app bugs (a Strict Mode id-skip, a hydration race, a missing nav landmark, a sidebar identity fallback), seeded a demo workspace that turned 7 skipped assertions into real coverage, and shipped an /e2e-check slash command with a Stop-hook nudge.
  4. Used the instrumentation pass to find and fix production-relevant bugs: a workspaces/new render loop, disabled-query false-ready states, stale caches after rollback and edit, a dev-mode admin bypass that defeated non-admin gating, and a telemetry rate limiter that counted requests instead of events and was not keyed per org.
  5. Moved Workloom's production API from Render to Docker on self-hosted CapRover (Hostinger). Added a CLI-based deploy workflow with a health gate, a /health/deep DB readiness route and an api.workloom.app DNS cutover, then removed the dead Render deploy CI.
  6. Moved the repo into the catesworks org and onto self-hosted macOS ARM64 CI runners with Node 24. Along the way, fixed a latent OpenAPI client-drift CI bug (missing build before spec generation) and disabled, rather than deleted, the billing-blocked Windows/Linux Tauri release jobs.
  7. Shipped a static Next.js 16 marketing site for Workloom with a build-time link checker, AA-checked light/dark palette, no-JS navigation, consent-gated cookies and a honeypot contact form. Every product claim was checked against the code, which corrected 5 stale README claims (docs domain, npm availability, telemetry default, desktop platforms, provider coverage).
  8. Set up least-privilege Vercel deploys for the marketing site. Deploys are manual dispatch only, on an isolated release runner group with a main-only environment, and the token is exposed to just the pull and deploy steps, so pushes never spend Vercel build minutes.
  9. Wrote evidence-based CODING_STANDARDS.md and GLOSSARY.md from a census of about 580 source files. Seeded a 93-issue Beads backlog under 11 epic plans to drive the remaining hardening, telemetry, governance and onboarding work.