Commit graph

26 commits

Author SHA1 Message Date
copilot-swe-agent[bot]
071f994e20 fix: code review fixes - remove dead verdict variable, fix safety valve, fix fragile test, use tool factories
Co-authored-by: Kenearos <86194771+Kenearos@users.noreply.github.com>
2026-03-12 22:27:14 +00:00
copilot-swe-agent[bot]
d4cfb34423 Changes before error encountered
Co-authored-by: Kenearos <86194771+Kenearos@users.noreply.github.com>
2026-03-12 15:00:09 +00:00
copilot-swe-agent[bot]
3be3cb73b6 Add all BMAD skill artifacts: epics, stories, sprint-status, QA tests, project-context, readiness report
Co-authored-by: Kenearos <86194771+Kenearos@users.noreply.github.com>
2026-03-12 14:26:40 +00:00
copilot-swe-agent[bot]
e37cb6f4c0 Add BMAD planning artifacts: PRD, Architecture, UX Design (pre-skill attribution)
Co-authored-by: Kenearos <86194771+Kenearos@users.noreply.github.com>
2026-03-12 14:14:41 +00:00
copilot-swe-agent[bot]
f79d3a700d Install BMAD-METHOD v6 framework
Co-authored-by: Kenearos <86194771+Kenearos@users.noreply.github.com>
2026-03-12 14:08:29 +00:00
copilot-swe-agent[bot]
8f55b2a130 Initial plan 2026-03-12 14:04:28 +00:00
Kenearos
cc0c26f9d0
Merge pull request #10 from Kenearos/claude/implement-todo-item-6rSCP
Add DB-backed tests for run_service CRUD functions
2026-02-24 10:00:34 +01:00
Claude
828038ec02
Add DB-backed tests for run_service CRUD functions
Expand test_run_service.py from a single stub to a full test suite
using an in-memory SQLite database (same pattern as test_blueprint_service.py).

New test classes cover:
- TestCreateRun: verifies field storage, blueprint_id, execution_mode, created_at
- TestGetRun: existing run retrieval and None for unknown ID
- TestListRuns: empty list, full listing, limit and offset pagination
- TestUpdateRun: status changes, auto-setting completed_at on terminal
  statuses (completed/failed), not setting it for non-terminal statuses,
  storing final_draft/critic_score/iteration_count, and silently ignoring
  unknown field keys via the hasattr guard

All tests use isolated fixtures that create and drop tables per test,
ensuring no state leaks between cases.

https://claude.ai/code/session_01MLq4Vjq9XWKPtu3iX3iqL3
2026-02-23 13:07:01 +00:00
Kenearos
c0c333a2f5
Merge pull request #9 from Kenearos/claude/coding-agent-prompt-I6sds
Remove unused state management and clean up imports
2026-02-22 11:35:36 +01:00
Claude
7becffcc89
Fix React hook anti-patterns, incorrect mock paths, and unused code
- Replace useState+useEffect sync pattern with useMemo in
  EdgeSettingsPanel.tsx to eliminate cascading re-renders
- Remove redundant draft state in NodeSettingsPanel.tsx and use
  store data directly, eliminating useEffect sync loop
- Fix mock paths in test_tools.py: patch tavily.TavilyClient and
  pypdf.PdfReader at their source modules (lazy imports)
- Remove unused variable assignment in routes.py (god mode reject)
- Remove unused node_lookup dicts in dynamic_graph_builder.py
- Remove unused imports across test files (Blueprint, CouncilState,
  pytest, llm assignments)
- Remove unused CouncilBlueprint type import in types.test.ts
- Run npm audit fix to resolve moderate vulnerability

All 107 backend tests and 26 frontend tests pass. Ruff, ESLint,
and TypeScript checks are clean.

https://claude.ai/code/session_01XqzyT6fhS8sUe9P5fCmuVU
2026-02-22 10:29:54 +00:00
Kenearos
7d023af43b
Merge pull request #8 from Kenearos/claude/check-progress-McAlj
Add Docker support for Next.js frontend service
2026-02-22 11:20:20 +01:00
Claude
99f8ab11a8
Add frontend Dockerfile and integrate into docker-compose
- Multi-stage Dockerfile (deps → build → runner) for optimized production image
- Enable Next.js standalone output for minimal container size
- Add .dockerignore to exclude dev artifacts from build context
- Add frontend service to docker-compose.yml with API dependency

https://claude.ai/code/session_01QU6gpDgMtX4b9k1UXTivEf
2026-02-22 09:37:59 +00:00
Kenearos
fb0d3ae8f1
Merge pull request #7 from Kenearos/claude/identify-missing-features-NI1UU
Phase 4: God Mode, Tool Binding, and Persistent Run History
2026-02-21 12:01:41 +01:00
Claude
001649a364
Implement Phase 4: tools, God Mode, and missing features
Backend:
- Add Tavily web search tool wrapper (tools/web_search.py)
- Add PDF reader + ChromaDB vector store tool (tools/pdf_reader.py)
- Bind tools to LLM calls via .bind_tools() in dynamic_graph_builder
- Implement God Mode using LangGraph interrupt_before + MemorySaver
- Add approve/reject/modify API endpoints for God Mode
- Add PDF upload endpoint with ingestion pipeline
- Add persistent run history (CouncilRun model + run_service + API)
- Add Alembic migration for council_runs table
- Enhance WebSocket to emit run_paused and run_resumed events
- Add tests for tools, God Mode, and run history

Frontend:
- Add God Mode approval UI (GodModePanel component)
- Add Auto-Pilot / God Mode toggle in Konferenzzimmer
- Add functional PDF upload handler
- Add Conditional Edge editor (EdgeSettingsPanel component)
- Add edge click selection in ArchitectCanvas
- Update Zustand store with edge selection and update actions
- Update types for God Mode, execution modes, and WS events
- Update API client with God Mode, PDF upload, and blueprint run endpoints
- Update WebSocket hook for paused/resumed events
- Add Vitest config and frontend tests (store, parser, types, API)

https://claude.ai/code/session_017U6idFgaqnYTXzPxA7mxMv
2026-02-21 10:53:12 +00:00
Kenearos
c6d0c4a636
Merge pull request #6 from Kenearos/claude/check-project-progress-oDygi
Phase 3: Dynamic graph builder and blueprint persistence
2026-02-21 11:30:19 +01:00
Claude
437db4ca68
Implement Phase 3: dynamic graph builder, blueprint persistence, and CRUD API
- Add dynamic_graph_builder.py that constructs LangGraph graphs at runtime
  from frontend CouncilBlueprint JSON (no more hardcoded graphs in production)
- Add PostgreSQL persistence via SQLAlchemy async with Blueprint model
- Add blueprint CRUD endpoints (POST/GET/PUT/DELETE /api/councils/)
- Add POST /api/councils/{id}/run to execute blueprints dynamically
- Add Alembic migration infrastructure with initial blueprints table
- Add database.py with async engine and SQLite fallback for dev/test
- Fix missing typing-extensions and add aiosqlite dependency
- Add 42 new tests (80/80 total passing) covering dynamic graph building,
  blueprint service CRUD, and API integration

https://claude.ai/code/session_014yZUxrPsgZbvkebXbCXR4U
2026-02-21 10:28:27 +00:00
Kenearos
89ba3aacd4
Merge pull request #5 from Kenearos/claude/check-project-progress-4CYs7
Implement Phase 2: Next.js + React Flow frontend MVP
2026-02-20 19:47:53 +01:00
Claude
216fdd9589
Implement Phase 2: Next.js + React Flow frontend MVP
- Scaffold Next.js 15 app with TypeScript, Tailwind, App Router
- Install @xyflow/react, Zustand, Lucide icons, nanoid
- Define council types (AgentNodeData, CouncilBlueprint, WSMessage, etc.)
- Implement Zustand store for canvas and run state
- Build custom AgentNode component (label, system prompt, model badge, tool chips, active pulse)
- Build ConditionalEdge component (dashed indigo line with condition label)
- Build NodeSidebar (drag-and-drop + click to add agents)
- Build NodeSettingsPanel (name, system prompt, model selector, tool toggles)
- Build ArchitectCanvas (React Flow canvas with drop zone, minimap, controls)
- Build blueprint parser (React Flow JSON ↔ CouncilBlueprint JSON)
- Build API client for FastAPI backend (CRUD + run endpoints)
- Build useCouncilWebSocket hook for live agent status via WebSocket
- Build Tab A: Rat-Architekt (canvas builder with save/export toolbar)
- Build Tab B: Konferenzzimmer (execution view with live diagram + result panel)
- Add NavTabs navigation with CouncilOS branding
- All TypeScript checks passing

https://claude.ai/code/session_01EkbecUVn7esdxLCXxVVRDX
2026-02-20 17:03:32 +00:00
Kenearos
06aec41a8a
Merge pull request #4 from Kenearos/claude/start-implementation-2XWxH
Implement Phase 1: LangGraph backend MVP
2026-02-20 17:51:01 +01:00
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