Commit graph

14 commits

Author SHA1 Message Date
a0de94141b feat(01-02): create Project, Discussion, Round, Message, Consensus models
- Add Project model: id, name, created/updated_at, models (JSON), settings (JSON)
- Add Discussion model: id, project_id (FK), question, type, status, created_at
- Add Round model: id, discussion_id (FK), round_number, type
- Add Message model: id, round_id (FK), model, content, timestamp, is_direct
- Add Consensus model: id, discussion_id (FK unique), agreements, disagreements, generated_at/by
- Configure bidirectional relationships with cascade delete-orphan
- All FKs reference correct tables, all type hints present
2026-01-16 15:09:32 +00:00
61da27c7d5 feat(01-02): create base model and enums
- Add Base class using SQLAlchemy 2.0 DeclarativeBase
- Add DiscussionType enum (OPEN, DISCUSS)
- Add DiscussionStatus enum (ACTIVE, COMPLETED)
- Add RoundType enum (PARALLEL, SEQUENTIAL)
- Use str-based enums for database portability
2026-01-16 15:07:47 +00:00
3e90f9cf21 docs(01-01): complete project scaffolding plan
- Create 01-01-SUMMARY.md documenting plan execution
- Update STATE.md with current position and velocity metrics
- Update ROADMAP.md progress table

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 15:01:46 +00:00
44e23226b1 feat(01-01): create src layout and package structure
- Create src/moai/ package with __version__ = "0.1.0"
- Create src/moai/bot/ subpackage for Telegram handlers
- Create src/moai/bot/handlers/ for command handlers
- Create src/moai/core/ for business logic and models
- Create tests/ package for test suite
- Add module docstrings per SPEC.md requirements

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 15:00:30 +00:00
5856e6b2aa chore(01-01): create pre-commit configuration
- Add ruff hooks for linting (with --fix) and formatting
- Add standard hooks: trailing-whitespace, end-of-file-fixer, check-yaml
- Use ruff-pre-commit v0.14.13

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 15:00:14 +00:00
39b1781f19 build(01-01): create pyproject.toml with dependencies and tool config
- Add project metadata with Python 3.11+ requirement
- Configure dependencies: python-telegram-bot, sqlalchemy, httpx, aiosqlite
- Add dev dependencies: pytest, pytest-cov, pytest-asyncio, ruff, pre-commit
- Configure ruff with line-length 100, py311 target
- Configure pytest with asyncio_mode auto
- Use hatchling build backend with src layout

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 14:59:40 +00:00
c48eb1cea7 docs(01): create phase 1 foundation plans
Phase 1: Foundation
- 3 plans created
- 9 total tasks defined
- Ready for execution

Plan 01: Project scaffolding (pyproject.toml, pre-commit, src layout)
Plan 02: SQLAlchemy models (Project, Discussion, Round, Message, Consensus)
Plan 03: Database setup and model tests

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 14:57:27 +00:00
048278e46b docs: initialize MoAI roadmap (6 phases)
Multi-AI collaborative brainstorming platform - Telegram POC

Phases:
1. Foundation: Project scaffolding, tooling, database models
2. Bot Core: Telegram bot setup, /help, /status
3. Project CRUD: Project management commands
4. Single Model Q&A: AI client abstraction, basic queries
5. Multi-Model Discussions: Open mode, discuss mode, @mentions
6. Consensus & Export: Consensus generation, markdown export

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 14:54:30 +00:00
1686f90467 docs: initialize MoAI
Multi-AI collaborative brainstorming platform - Telegram bot Phase 1.

Creates PROJECT.md with requirements and constraints.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 14:53:11 +00:00
1b55df508c Add README.md with project overview
Visual documentation optimized for Forgejo with ASCII diagrams,
feature table, command reference, architecture overview, and roadmap.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 14:42:47 +00:00
9651bd4166 Add CLAUDE.md and .gitignore
- CLAUDE.md provides guidance for Claude Code with build commands,
  architecture overview, and coding standards from SPEC.md
- .gitignore covers Python, virtual envs, testing, IDE files, and env files

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 14:41:47 +00:00
444e2adc40 Add dependency versioning preference to coding standards 2026-01-16 14:39:33 +00:00
6357b3499b Add coding standards and update project structure 2026-01-16 14:39:07 +00:00
d2fa0f920c Initial spec for MoAI - Master of AIs 2026-01-16 14:32:23 +00:00