Commit Graph

16 Commits

Author SHA1 Message Date
Lauren ten Hoor
53dac61911 feat: add roadmap for configurable roles and channel-agnostic groups 2026-02-09 13:43:52 +08:00
Lauren ten Hoor
aa8e8dbd1b feat: refactor model selection to use developer tiers
- Replaced raw model aliases with developer tiers (junior, medior, senior, qa) in dispatch and model selection logic.
- Updated `dispatchTask` to resolve models based on tiers and plugin configuration.
- Modified `selectModel` to return tier names instead of model aliases based on task description.
- Implemented migration logic for transitioning from old model aliases to new tier names in worker state.
- Added setup logic for agent creation and model configuration in `setup.ts`.
- Created shared templates for workspace files and instructions for DEV/QA workers.
- Enhanced project registration to scaffold role files based on developer tiers.
- Updated task management tools to reflect changes in model selection and tier assignment.
- Introduced a new `devclaw_setup` tool for agent-driven setup and configuration.
- Updated plugin configuration schema to support model mapping per developer tier.
2026-02-09 13:41:22 +08:00
Lauren ten Hoor
8a79755e4c feat: Implement GitLabProvider for issue management using glab CLI
- Add GitLabProvider class for handling issue operations, label management, and MR checks.
- Implement methods for ensuring labels, creating issues, listing issues by label, and transitioning labels.
- Introduce a provider factory to auto-detect GitLab or GitHub based on the repository URL.
- Create project registration tool to validate repositories, create state labels, and log project entries.
- Enhance queue status and session health tools to support new session management features.
- Update task completion and task creation tools to support auto-chaining and improved session handling.
- Refactor task pickup tool to streamline model selection and session management.
2026-02-09 12:54:50 +08:00
Lauren ten Hoor
d921b5c7bb Refine session management terminology and clarify plugin-controlled lifecycle in documentation 2026-02-08 20:49:44 +08:00
Lauren ten Hoor
fd6c5142b9 Add comprehensive overview of management theory in MANAGEMENT.md 2026-02-08 18:45:16 +08:00
Lauren ten Hoor
e8908eb3b0 Add comprehensive management theory overview to MANAGMENT.md 2026-02-08 18:44:31 +08:00
Lauren ten Hoor
eb9438ab81 Rewrite architecture for session-per-model and plugin-controlled spawning
- Session-per-model: each project keeps separate sessions per model per role
  (haiku/sonnet/opus for DEV, grok for QA) instead of switching models
- Plugin-controlled lifecycle: sessions managed via Gateway RPC (sessions.patch)
  and CLI (openclaw agent), not agent instructions
- New end-to-end flow diagram: human → Telegram → main session → plugin → gateway → sub-agent
- Session reuse diagram showing spawn vs send path
- Updated system overview with Gateway as explicit component
- Updated data flow map with new projects.json sessions schema
- Session spawn/send moved to "DevClaw controls" in scope boundaries
- Added session_health using sessions.list gateway RPC
- Added session transcripts to file locations table

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 18:17:03 +08:00
Lauren ten Hoor
e7e61987d4 Replace PM terminology with orchestrator/session model across docs
- Add "Agents vs Sessions" explainer section to ARCHITECTURE.md
- Replace all "PM Agent" references with "Orchestrator" in sequence diagrams
- Fix ticket creation: agents create issues via glab, not humans
- Update scope boundaries to show sub-agent session responsibilities
- Clarify plugin returns instructions, agent executes session operations
- Update ONBOARDING.md issue creation to show agent-first workflow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 16:30:22 +08:00
Lauren ten Hoor
9195c4be7f Add ONBOARDING.md and ARCHITECTURE.md docs
ONBOARDING: Step-by-step setup guide — prerequisites, plugin install,
agent config, GitLab labels, project registration, first test.

ARCHITECTURE: Full component interaction — system overview diagram,
complete ticket lifecycle with sequence diagrams for every phase
(heartbeat → pickup → dev work → complete → QA → pass/fail/refine),
data flow map, scope boundaries, error recovery, file locations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 16:12:23 +08:00
Lauren ten Hoor
143a2aaafa Update tagline: every group chat becomes an autonomous dev team
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 15:40:43 +08:00
Lauren ten Hoor
8178a79999 Clarify PM/DEV/QA team structure and isolated group chat model
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 15:38:26 +08:00
Lauren ten Hoor
a94f4f9d54 Add tagline and intro to README
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 15:36:04 +08:00
Lauren ten Hoor
9b5f796c7e Replace real project references with generic examples in README
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 15:34:26 +08:00
Lauren ten Hoor
850627d125 Add 'Why' section explaining the guardrails motivation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 15:30:28 +08:00
Lauren ten Hoor
44cc72fdb2 Rewrite README with architecture docs and mermaid diagrams
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 15:30:00 +08:00
Lauren ten Hoor
9ace15dad5 Initial commit: DevClaw OpenClaw plugin
Multi-project dev/qa pipeline orchestration with 4 agent tools:
- task_pickup: atomic task pickup with model selection and session reuse
- task_complete: DEV done, QA pass/fail/refine with label transitions
- queue_status: task queue and worker status across projects
- session_health: zombie detection and state consistency checks

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 15:26:29 +08:00