Skip to content

docs: JARVIS spec simplification research#187

Open
bdkaat wants to merge 1 commit intoComposioHQ:mainfrom
bdkaat:research/jarvis-simplification
Open

docs: JARVIS spec simplification research#187
bdkaat wants to merge 1 commit intoComposioHQ:mainfrom
bdkaat:research/jarvis-simplification

Conversation

@bdkaat
Copy link

@bdkaat bdkaat commented Feb 24, 2026

Summary

  • Research analysis evaluating the JARVIS build spec against AO's existing architecture
  • Identifies MVP features vs unnecessary complexity across 6 areas: real-time (Convex vs SSE), supervisor (LangGraph vs TypeScript), data layer (PostgreSQL+pgvector+Redis vs flat files), subprocess orchestration, auth, and self-improvement
  • Proposes a simplified architecture delivering 80% of the value at 20% of the complexity — ~7 days of incremental AO improvements instead of a ground-up rewrite with 10+ new dependencies

Key Findings

  • Skip Convex: SSE already works, Convex creates architectural mismatch with flat-file storage
  • Skip LangGraph: ~120 lines of TypeScript replaces the entire Python supervisor graph
  • Skip PostgreSQL + pgvector + Redis: Flat files handle tens of sessions; SQLite is the natural upgrade path
  • Skip FastAPI: No reason to add Python to a TypeScript codebase
  • Defer auth: Localhost-only tool doesn't need Auth.js v5 + RBAC
  • Defer self-modification: Use prompt refinement (lessons-learned.md) instead

Test plan

  • Review research analysis for accuracy and completeness
  • Validate that proposed simplified architecture covers JARVIS spec requirements
  • Check that recommended phase ordering is sound

🤖 Generated with Claude Code

Analyze the JARVIS build spec against AO's existing architecture to
identify MVP features, unnecessary complexity, and a simplified
architecture that delivers 80% of the value at 20% of the complexity.

Key findings:
- Convex adds vendor lock-in for zero benefit over existing SSE
- LangGraph is wrong abstraction for subprocess orchestration
- PostgreSQL + pgvector + Redis is overkill for tens of sessions
- A ~120-line TypeScript supervisor using AO's plugin system replaces
  the entire LangGraph + FastAPI + Python stack
- Auth and self-modification are post-MVP concerns

Recommends 5 phases totaling ~7 days of incremental AO improvements
instead of a ground-up rewrite.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant