AI Project & Program Manager Platform
Self-hosted AI project management starter scaffold for automated backlog grooming, dependency and blocker detection, scope-creep alerts, milestone forecasting, and stakeholder digests.
01. Problem & Context
Engineering and program teams spend hours each week manually grooming inconsistent tickets, discovering cross-team dependency bottlenecks too late, catching silent scope creep in sprint commitments, and assembling executive status digests across fragmented issue trackers.
02. Engineering Solution
Initialized the Phase 3 self-hosted starter scaffold pairing a FastAPI + Pydantic v2 backend (`/api/v1/health{,/live,/ready}`, pure ASGI security-header middleware, fail-fast production secret validation) with a React 18 Vite/Tailwind workspace, PostgreSQL (`pgvector`) + Redis Compose stack, and GitHub Actions CI. Establishes the verified runtime baseline for planned `backlog/`, `dependencies/`, `forecasting/`, and `digests/` domain modules.
03. System Architecture
Verified starter runtime (`backend/app/main.py`, `core/config.py`, `core/middleware.py`, `api/v1/health.py`) paired with a React 18 TypeScript dashboard (`frontend/src/App.tsx`), Docker Compose (`postgres` pgvector, `redis`, `api`, `frontend`, `ollama` profile), and CI pipeline (`ruff`, `mypy`, `pytest`, `tsc`, `vitest`, `vite build`, `npm audit`, Trivy) ready for the four planned domain modules in `docs/ARCHITECTURE.md`.
Core Architectural Components
Verified Starter API, Security Baseline & UI Shell (`/api/v1/health*`)
Shipped FastAPI application with versioned `/api/v1/health`, `/live`, and `/ready` probes, ASGI security-header injection (`X-Request-ID`, `nosniff`, `DENY`), fail-fast `validate_production_security()`, offline `mock`/Ollama/Gemini routing settings, and React 18 live health console.
Planned Domain Module: Backlog Grooming & Triage (`backlog/`)
Blueprint for ticket ingestion, acceptance-criteria readiness scoring, priority ranking, story-splitting suggestions, and duplicate or stale ticket hygiene rules.
Planned Domain Module: Dependency & Blocker Detection (`dependencies/`)
Blueprint for cross-team DAG blocker detection, critical-path bottleneck tracking, and escalation routing across linked milestones.
Planned Domain Modules: Forecasting & Stakeholder Digests (`forecasting/`, `digests/`)
Blueprint for velocity-based delivery projections, scope-creep drift alerts, and evidence-cited weekly executive digests gated behind human review before distribution.
04. Notable Engineering Decisions
Verified Production Baseline Before Domain Feature Expansion
Shipping typed configuration, fail-fast production secret validation, ASGI security headers, non-root Dockerfiles, and full CI checks on commit one ensures every domain module builds on a consistent security and testing foundation.
Local-First Ollama Routing with Default Cloud PII Redaction
Program backlogs and executive risk logs often contain sensitive product and customer details; `LLM_DEFAULT_PROVIDER=mock`, local Ollama support, and `LLM_REDACT_PII_FOR_CLOUD=true` keep inference controllable offline and in CI.
Human-in-the-Loop Publishing Gates for Stakeholder Digests
Automated status digests and escalation notices can misstate delivery risk if sent unreviewed, so the architecture requires explicit human approval and audit trails before external distribution.
05. Engineering Challenges & Solutions
Challenge: Preventing unverified starter boilerplate from shipping with weak dev secrets, missing security headers, or broken container builds.
Engineering Solution: Enforced `validate_production_security()` at startup, pure ASGI security-header middleware, non-root multi-stage Docker images, and automated `ruff`, `mypy`, `pytest`, `tsc`, `vitest`, `vite build`, and `docker compose config` verification.
Challenge: Keeping multi-repo enterprise AI platforms maintainable across 17+ specialized operational domains.
Engineering Solution: Standardized the FastAPI + SQLAlchemy + pgvector + React 18 scaffold and `docs/ARCHITECTURE.md` module blueprint so engineering teams can implement domain pipelines without re-inventing auth, middleware, or CI.
06. Implementation Highlights
- Verified FastAPI starter with `/api/v1/health`, `/live`, and `/ready` probes plus fail-fast `APP_ENV=production` secret and CORS validation
- Pure ASGI `SecurityHeadersMiddleware` injecting `X-Request-ID`, `X-Content-Type-Options: nosniff`, `X-Frame-Options: DENY`, and production HSTS
- React 18 + TypeScript + Vite + Tailwind starter dashboard with live `/api/v1/health` status check and Vitest + Testing Library unit tests
- PostgreSQL (`pgvector`) + Redis + optional Ollama Docker Compose stack with non-root API and unprivileged Nginx containers
- Documented Phase 3 `docs/ARCHITECTURE.md` blueprint for `backlog/`, `dependencies/`, `forecasting/`, and `digests/` modules behind GitHub Actions CI