Commit graph

7 commits

Author SHA1 Message Date
Claude
797f02c74d
Implement Phase 1: LangGraph backend MVP
Sets up the full backend foundation for CouncilOS:

- CouncilState TypedDict with all required fields and LangGraph reducers
- Three agent nodes: master_agent (drafts), critic_agent (scores + routes),
  writer_agent (final polish)
- LangGraph graph with cyclic rework loop: Master → Critic → (score < 8:
  back to Master | score ≥ 8: Writer → END)
- Safety valve: MAX_ITERATIONS=5 prevents infinite loops
- FastAPI app with REST endpoints (POST /api/councils/run, GET /api/councils/run/{id})
  and WebSocket endpoint (/ws/council/{run_id}) for real-time agent status events
- In-memory RunStore for Phase 1 (PostgreSQL-backed in Phase 3)
- pytest test suite: state, routing logic, critic parser, agent nodes, API endpoints
- .env.example, .gitignore, docker-compose.yml, Dockerfile

https://claude.ai/code/session_01RfMpt3TbMjZEtK3CAyP5iQ
2026-02-20 16:33:39 +00:00
Kenearos
34dcfb3dcd
Merge pull request #3 from Kenearos/claude/analyze-test-coverage-tXWWZ
Add test coverage analysis and strategy document
2026-02-20 17:26:44 +01:00
Claude
852df60f68
Add test coverage analysis and strategy document
Maps every testable component in the planned architecture to concrete
test cases, prioritised by risk. Covers CouncilState reducers, routing
logic, agent node functions, dynamic graph builder, REST API, WebSocket
events, God Mode, tool wrappers, and the React Flow blueprint parser.
Includes tooling recommendations and a sequenced build order.

https://claude.ai/code/session_01Dexzo7FAbhU5fMePHGVgRP
2026-02-20 15:31:08 +00:00
Kenearos
a64fba3201
Merge pull request #2 from Kenearos/claude/add-claude-documentation-3aGsJ
Add CLAUDE.md with comprehensive project documentation
2026-02-20 16:21:58 +01:00
Claude
3eda043e9b
Add CLAUDE.md with comprehensive project documentation
Documents the CouncilOS architecture, tech stack, development roadmap,
CouncilState data model, UI structure, and coding conventions for AI
assistants working in this repository.

https://claude.ai/code/session_018ZdWbY5UpCiwhSA9SFkReL
2026-02-20 15:20:42 +00:00
Kenearos
91ee526941
Revise README for CouncilOS project overview
Updated the README to provide a comprehensive project blueprint for 'CouncilOS', detailing the executive summary, technical architecture, UI/UX design, development roadmap, and important instructions for the development team.
2026-02-20 16:15:01 +01:00
Kenearos
fd903e0adf
Initial commit 2026-02-20 16:14:20 +01:00