docs(01-02): complete LLM pool and orchestrator plan

This commit is contained in:
2026-03-23 10:08:55 -06:00
parent 8257c554d7
commit 0eae48699f
4 changed files with 177 additions and 10 deletions

View File

@@ -3,14 +3,14 @@ gsd_state_version: 1.0
milestone: v1.0
milestone_name: milestone
status: planning
stopped_at: Completed 01-foundation 01-01-PLAN.md
last_updated: "2026-03-23T15:59:38.482Z"
stopped_at: Completed 01-foundation 01-02-PLAN.md
last_updated: "2026-03-23T16:08:44.982Z"
last_activity: 2026-03-23 — Roadmap created, ready for Phase 1 planning
progress:
total_phases: 3
completed_phases: 0
total_plans: 4
completed_plans: 1
completed_plans: 2
percent: 0
---
@@ -51,6 +51,7 @@ Progress: [░░░░░░░░░░] 0%
*Updated after each plan completion*
| Phase 01-foundation P01 | 12 | 2 tasks | 32 files |
| Phase 01-foundation P02 | 6 | 2 tasks | 15 files |
## Accumulated Context
@@ -65,6 +66,10 @@ Recent decisions affecting current work:
- [Phase 01-foundation]: PostgreSQL RLS with FORCE ROW LEVEL SECURITY chosen for tenant isolation; app connects as konstruct_app role (not superuser)
- [Phase 01-foundation]: SET LOCAL app.current_tenant uses UUID-sanitized f-string (not parameterized) — asyncpg does not support prepared statement placeholders for SET LOCAL
- [Phase 01-foundation]: channel_type stored as TEXT with CHECK constraint — native sa.Enum caused duplicate CREATE TYPE DDL in Alembic migrations
- [Phase 01-foundation]: LiteLLM pinned to ==1.82.5, not latest — September 2025 OOM regression in later versions
- [Phase 01-foundation]: Celery tasks are always sync def with asyncio.run() — hard architectural constraint, never async def
- [Phase 01-foundation]: AI transparency clause is unconditional in system prompt — agents must disclose AI identity when directly asked
- [Phase 01-foundation]: llm-pool port 8004 (consistent with shared/config.py llm_pool_url default, not plan-stated 8002)
### Pending Todos
@@ -76,6 +81,6 @@ None yet.
## Session Continuity
Last session: 2026-03-23T15:59:38.480Z
Stopped at: Completed 01-foundation 01-01-PLAN.md
Last session: 2026-03-23T16:08:44.980Z
Stopped at: Completed 01-foundation 01-02-PLAN.md
Resume file: None