Commit Graph

85 Commits

Author SHA1 Message Date
3d3692f3ab docs(07): research phase multilanguage domain 2026-03-25 16:00:02 -06:00
52dcbe5977 docs(state): record phase 7 context session 2026-03-25 15:52:25 -06:00
9db830e14d docs(07): capture phase context 2026-03-25 15:52:25 -06:00
9ee0b8a405 docs: add Phase 7 — Multilanguage (English, Spanish, Portuguese) 2026-03-25 15:37:57 -06:00
7469f39259 docs(phase-6): complete Web Chat phase execution 2026-03-25 10:41:50 -06:00
9af4ad5816 docs(06-03): complete web chat human verification plan
- Created 06-03-SUMMARY.md for human-verify checkpoint completion
- All CHAT requirements (CHAT-01–CHAT-05) confirmed by human review
- STATE.md updated: 25/25 plans complete, session recorded
- ROADMAP.md updated: Phase 6 marked Complete (3/3 summaries)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 10:37:59 -06:00
7281285b13 docs(06-02): complete web chat portal UI plan
- Add 06-02-SUMMARY.md with full execution record
- Update STATE.md: progress 96%, decisions recorded, session updated
- Update ROADMAP.md: phase 6 plan progress (2/3 summaries)
2026-03-25 10:36:22 -06:00
3c10bceba7 docs(06-01): complete web chat backend infrastructure plan 2026-03-25 10:28:44 -06:00
c0fa0cefee docs(06-web-chat): create phase plan 2026-03-25 10:08:44 -06:00
5e4dd34331 docs(06): add research and validation strategy 2026-03-25 10:02:39 -06:00
03e38f3692 docs(06): research web chat phase — WebSocket, Redis pub-sub, channel adapter, portal UI 2026-03-25 10:01:45 -06:00
1b086b8c82 docs(state): record phase 6 context session 2026-03-25 08:38:50 -06:00
4077512a38 docs(06): capture phase context 2026-03-25 08:38:50 -06:00
d0afd66e85 docs: add Phase 6 — Web Chat interface for AI Employees 2026-03-24 22:45:32 -06:00
58a1295e5f docs(phase-5): complete Employee Design phase execution 2026-03-24 20:54:45 -06:00
999c6ce55b docs(05-04): complete RBAC gap closure and wizard error fix plan
- Added 05-04-SUMMARY.md
- Updated STATE.md with decisions and session info
- Updated ROADMAP.md with Phase 5 plan progress (4/4 complete)
2026-03-24 20:52:31 -06:00
b287a95014 docs(05-employee-design): create gap closure plan for RBAC and error handling fixes 2026-03-24 20:50:30 -06:00
969cc4f917 docs(05-03): complete employee design human verification — Phase 5 complete 2026-03-24 20:42:19 -06:00
b917f7c54c docs(05-02): complete employee creation UI frontend plan
- Three-option entry screen, template gallery, 5-step wizard, advanced mode
- SUMMARY.md created with task commits, deviations, decisions
- STATE.md updated with decisions, metrics, session
- ROADMAP.md updated with phase 5 plan progress
- Requirements EMPL-01, EMPL-05 marked complete
2026-03-24 20:40:53 -06:00
c688b76c13 docs(05-01): complete agent templates backend plan — system prompt builder, migration 007, template API
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 20:33:44 -06:00
bffc1f2f67 docs(05-employee-design): create phase plan — 3 plans in 3 waves 2026-03-24 20:11:56 -06:00
5f0b74cf8c docs(05): add research and validation strategy 2026-03-24 20:05:39 -06:00
84d8059eac docs(phase-5): research employee design phase 2026-03-24 20:04:47 -06:00
40eb3106ab docs(state): record phase 5 context session 2026-03-24 19:59:49 -06:00
6a9516ed8b docs(05): capture phase context 2026-03-24 19:59:49 -06:00
03ec956379 docs: add Phase 5 — Employee Design wizard and agent templates 2026-03-24 19:33:23 -06:00
1b51499818 docs(phase-4): complete RBAC phase execution 2026-03-24 17:24:39 -06:00
279946a22a docs(04-rbac-03): finalize RBAC enforcement plan — human-verify checkpoint approved
- Task 3 (human-verify) approved — all 3 tasks complete
- SUMMARY.md updated: tasks 3/3, next phase readiness updated
- STATE.md stopped_at reflects full completion
- ROADMAP.md phase 4 progress confirmed 3/3 summaries complete

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 17:20:14 -06:00
94ada11fbd docs(04-rbac-03): complete RBAC API enforcement plan — guards, test-message endpoint, integration tests
- 17 portal API endpoints guarded with Depends() RBAC guards
- POST /agents/{aid}/test endpoint allows operators to QA agents
- GET /tenants/{tid}/users, GET /admin/users listing endpoints
- POST /admin/impersonate with AuditEvent audit trail
- 56 integration tests covering full RBAC matrix and invite flow
- STATE.md updated, ROADMAP.md phase 4 marked complete
Awaiting human-verify checkpoint (Task 3) before phase is fully done
2026-03-24 17:18:52 -06:00
e899b14fa7 docs(04-rbac-02): complete portal RBAC integration plan
- 04-02-SUMMARY.md: Auth.js JWT + role nav + tenant switcher + impersonation banner + user pages
- STATE.md: advanced to plan 3, metrics recorded, base-ui decisions added
- ROADMAP.md: phase 4 updated to 2/3 plans complete
- REQUIREMENTS.md: RBAC-05 marked complete
2026-03-24 17:08:50 -06:00
1fa4c3e3ad docs(04-rbac-01): complete RBAC foundation plan — migration, guards, invitations, tests
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 13:57:17 -06:00
2aecc5c787 fix(04-rbac): revise plans based on checker feedback 2026-03-24 13:46:03 -06:00
bf4adf0b21 docs(04-rbac): create phase plan — 3 plans in 3 waves 2026-03-24 13:37:36 -06:00
4706a87355 docs(04): add research and validation strategy 2026-03-24 13:28:17 -06:00
0dc21c6ee5 docs(04-rbac): research phase RBAC domain 2026-03-24 13:27:22 -06:00
dc758e9e3a docs(state): record phase 4 context session 2026-03-24 13:09:47 -06:00
52a30dd8e1 docs(04): capture phase context 2026-03-24 13:09:47 -06:00
7252845455 docs: add Phase 4 — RBAC with 3-tier roles and invitation flow
Three roles: platform admin (full SaaS), customer admin (tenant-scoped),
customer operator (read-only). Email invitation flow for tenant user
onboarding. 6 new requirements (RBAC-01 through RBAC-06).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 12:40:43 -06:00
0e0ea5fb66 fix: runtime deployment fixes for Docker Compose stack
- Add .gitignore for __pycache__, node_modules, .playwright-mcp
- Add CLAUDE.md project instructions
- docker-compose: remove host port exposure for internal services,
  remove Ollama container (use host), add CORS origin, bake
  NEXT_PUBLIC_API_URL at build time, run alembic migrations on
  gateway startup, add CPU-only torch pre-install
- gateway: add CORS middleware, graceful Slack degradation without
  bot token, fix None guard on slack_handler
- gateway pyproject: add aiohttp dependency for slack-bolt async
- llm-pool pyproject: install litellm from GitHub (removed from PyPI),
  enable hatch direct references
- portal: enable standalone output in next.config.ts
- Remove orphaned migration 003_phase2_audit_kb.py (renamed to 004)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 12:26:34 -06:00
d936bcf361 docs(phase-3): complete phase execution 2026-03-24 00:58:18 -06:00
80fd097e25 docs(03-05): complete gap closure plan — router wiring and field name fixes
- Add 03-05-SUMMARY.md
- Update STATE.md: advance metrics, record decision, update session
- Update ROADMAP.md: Phase 3 now shows 5/5 plans complete
2026-03-24 00:55:36 -06:00
60c393b137 docs(03): create gap closure plan for router mounting and field name fixes 2026-03-23 22:39:34 -06:00
2416fe36b1 docs(03-04): mark plan complete after human-verify approval 2026-03-23 21:52:20 -06:00
f324beefba docs(03-02): mark plan complete — human-verify approved, state updated to 100%
- STATE.md: percent 86->100, position updated to all phases complete
- ROADMAP.md: Phase 3 Operator Experience marked 4/4 Complete
- Decisions from 03-02 added to accumulated context

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 21:52:08 -06:00
be61f94941 docs(03-03): complete billing management page plan — human-verify approved
- Updated SUMMARY.md: Task 2 (human-verify) marked approved, plan fully complete
- STATE.md: progress updated to 100%, decisions recorded, session updated
- ROADMAP.md: phase 3 plan progress updated (4/4 summaries complete)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 21:51:46 -06:00
521cec46f7 docs(03-02): complete onboarding wizard and BYO API key management plan
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 21:49:52 -06:00
b73f6bf7da docs(03-04): complete usage & cost dashboard plan
- Added Recharts cost tracking dashboard at /usage/[tenantId]
- UsageChart, ProviderCostChart, MessageVolumeChart components
- BudgetAlertBadge with ok/warning/exceeded color coding
- TanStack Query hooks for usage summary, provider costs, message volume, budget alerts
- Time range selector (Last 7/30 days, This month, Last 3 months)
- Usage nav link and /usage tenant picker index page
- Installed recharts (was in package.json but missing from node_modules)
- Portal builds cleanly with /usage and /usage/[tenantId] routes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 21:49:13 -06:00
67632c11ce docs(03-03): complete billing management page plan — paused at human-verify checkpoint
- Billing page at /billing with SubscriptionCard, status badge, agent count +/- adjuster
- BillingStatus component with 6 subscription states (none/trialing/active/past_due/canceled/unpaid)
- TanStack Query mutation hooks: useCreateCheckoutSession, useCreateBillingPortalSession, useUpdateSubscriptionQuantity
- Billing nav link added to dashboard sidebar (CreditCard icon)
- Past-due warning banner and Checkout success toast with session_id URL cleanup
- Stopped at Task 2 checkpoint:human-verify awaiting visual confirmation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 21:47:31 -06:00
e0342f8ec1 docs(03-01): complete backend foundation plan — billing, encryption, HMAC OAuth, LLM key CRUD, usage aggregation
- Create 03-01-SUMMARY.md with full plan documentation
- Update STATE.md: progress 79%, 4 new decisions, session stopped at 03-01
- Update ROADMAP.md: Phase 3 plan progress (1/4 summaries)
- Update REQUIREMENTS.md: mark AGNT-07, LLM-03, PRTA-03, PRTA-05, PRTA-06 complete
2026-03-23 21:38:10 -06:00
ac606cf9ff fix(03): revise plans based on checker feedback 2026-03-23 21:10:23 -06:00