5.5 KiB
5.5 KiB
CONTEXT.md
Software Development Team
Status: Active - Team creation in progress
Last Updated: 2026-07-03
Purpose
A dedicated multi-agent software development team for Beawit's internal applications and automation tooling.
Team Structure
| Agent ID | Role | Responsibilities | Model |
|---|---|---|---|
| dev-product | Product Manager | Requirements, user stories, feature prioritization, acceptance criteria | kimi-k2.5:cloud |
| dev-architect | Architect | System design, API design, data models, tech decisions | kimi-k2.5:cloud (reasoning) |
| dev-backend | Backend Developer | APIs, databases, integrations, business logic | qwen3-coder:480b-cloud |
| dev-frontend | Frontend Developer | UI/UX, components, client state, styling | qwen3-coder:480b-cloud |
| dev-qa | QA Engineer | Test plans, automated tests, bug reproduction | glm-4.7:cloud |
| dev-devops | DevOps Engineer | Deployments, CI/CD, monitoring, infrastructure | kimi-k2.5:cloud |
| dev-lead (me) | Tech Lead | Coordination, code review, integration, delegation | kimi-k2.5:cloud |
Workspace Organization
Directory Structure
workspace/
├── Core Config (keep in root)
│ ├── IDENTITY.md, SOUL.md, AGENTS.md
│ ├── MEMORY.md, CONTEXT.md, PROJECTS.md
│ ├── USER.md, TOOLS.md, HEARTBEAT.md
│ └── ARCHITECTURE.md
│
├── docs/ # Documentation files
│ ├── summaries/ # *SUMMARY.md files
│ ├── plans/ # *PLAN.md files
│ ├── inventories/ # *INVENTORY.md files
│ └── *.md # Other documentation
│
├── scripts/ # Executable scripts
│ ├── checks/ # check-*.sh scripts
│ ├── fixes/ # fix-*.sh, fix-*.js
│ └── utils/ # get-*, update-*, debug-*
│
├── tests/ # Test and debug files
├── runtime/ # Package and state files
├── architecture/ # Architecture components
├── memory/ # Memory system files
└── Projects/ # Project directories
Organization Rules
- Core config stays in root - Never move IDENTITY.md, SOUL.md, etc.
- New documentation goes to docs/ - Sort by type (summaries, plans, inventories)
- New scripts go to scripts/ - Categorize by purpose (checks, fixes, utils)
- Test files go to tests/ - Any test-* or debug-* files
- Runtime files go to runtime/ - package.json, state files, binaries
- Run organizer monthly -
bash ~/.openclaw/skills/workspace-organizer/scripts/organize-workspace.sh --dry-run
Maintenance
- Use
WORKSPACE_ORGANIZATION_LOG.mdto track changes - Run dry-run before executing organization
- Archive old fix scripts after 30 days
- Clean temp files weekly
Technology Stack
- Backend: Python (FastAPI) — chosen for type hints, async support, and your existing Python codebase
- Frontend: HTMX + Jinja2 templates — lightweight, server-rendered, minimal JavaScript complexity
- Database: PostgreSQL for production, SQLite for local dev
- Infrastructure: Docker containers, VPS deployment via SSH
- Version Control: Git with feature branch workflow
Workflow
- Intent Classification → Orchestrator classifies request using workflow-router
- Context Building → Preprocessing pipeline loads rules, preferences, memory
- Feature Request → dev-product creates user stories + acceptance criteria
- Design → dev-architect designs system changes, API contracts
- Implementation → dev-backend + dev-frontend work in parallel
- Review → dev-lead reviews code, requests changes if needed
- Validation → Automated checks via validation layer + format locker
- Testing → dev-qa validates against acceptance criteria
- Deploy → dev-devops deploys to staging, then production
- Verify → dev-lead confirms deployment success
Architecture Components
| Component | File | Purpose |
|---|---|---|
| Orchestrator | architecture/orchestrator.js |
Main integration point |
| Pipeline | architecture/pipeline.js |
Context preprocessing |
| Workflow Router | architecture/workflow-router.js |
Intent classification |
| Validator | architecture/validator.js |
Response quality checks |
| Format Locker | architecture/format-locker.js |
Output template enforcement |
Usage Examples
# Classify intent
node architecture/workflow-router.js "deploy the app to production"
# Validate a response
node architecture/validator.js deploy /tmp/response.md
# Enforce format
node architecture/format-locker.js coding /tmp/response.md
# Full pipeline
node architecture/orchestrator.js "your request here" --verbose
Current Tasks
- Define team agent structure
- Create agent instruction files
- Establish workflow protocols
- Test first delegation cycle
- Enhance site survey application with dashboard
- Implement memory system for context persistence
- Deploy super-enhanced memory system with JavaScript engine
- Implement workflow router with intent classification
- Deploy validation layer with safety checks
- Deploy format locker with auto-fix
- Integrate all components via orchestrator
Decisions Log
| Date | Decision | Rationale |
|---|---|---|
| 2026-07-03 | Create dedicated dev team | Need scalable capacity for multiple internal app projects |
| 2026-07-03 | Python/FastAPI + HTMX stack | Matches existing skills, FastAPI's type safety, HTMX keeps frontend simple |