Version: 6.1.0
Type: Rust Workspace (Monorepo with Independent Subproject Repos)
This workspace contains multiple General Bots projects:
gb/
├── PROMPT.md ← Workspace-level development guide (READ THIS FIRST)
├── Cargo.toml ← Workspace configuration
├── README.md ← This file
│
├── botapp/ ← Desktop application (Tauri)
├── botserver/ ← Main server (API + business logic)
├── botlib/ ← Shared library (types, utilities)
├── botui/ ← Web UI (HTML/CSS/JS)
├── botbook/ ← Documentation
├── bottest/ ← Integration tests
├── botdevice/ ← Device integration
├── botmodels/ ← AI models
├── botplugin/ ← Plugin system
├── bottemplates/ ← Templates
└── target/ ← Build artifacts
Each project has a PROMPT.md that defines its development rules.
The diagnostics tool reads and respects these PROMPT.md files.
PROMPT.md(this directory) - Workspace-wide rulesbotapp/PROMPT.md- Desktop app specificsbotserver/PROMPT.md- Server specificsbotlib/PROMPT.md- Library specificsbotui/PROMPT.md- UI specificsbotbook/PROMPT.md- Documentation specificsbottest/PROMPT.md- Test specifics
ALWAYS read the relevant PROMPT.md before working on a project.
LOOP AND COMPACT UNTIL 0 WARNINGS - MAXIMUM YOLO
- 0 warnings
- 0 errors
- Trust project diagnostics
- Respect all rules
- No
#[allow()]in source code - Real code fixes only
cargo build
cargo test- Read
PROMPT.md(workspace-level rules) - Read
<project>/PROMPT.md(project-specific rules) - Use diagnostics tool to check warnings
- Fix all warnings with full file rewrites
- Verify with diagnostics after each file
- Never suppress warnings with
#[allow()]
Note: Each subproject has its own git repository. This root repository only tracks workspace-level files:
PROMPT.md- Development guideCargo.toml- Workspace configurationREADME.md- This file.gitignore- Ignore patterns
Subprojects (botapp, botserver, etc.) are not git submodules - they are independent repositories.
✅ FULL FILE REWRITES ONLY
✅ BATCH ALL FIXES BEFORE WRITING
✅ VERIFY WITH DIAGNOSTICS AFTER EACH FILE
✅ TRUST PROJECT DIAGNOSTICS
✅ RESPECT ALL RULES
❌ NEVER use #[allow()] in source code
❌ NEVER use partial edits
❌ NEVER run cargo check/clippy manually
❌ NEVER leave unused code
❌ NEVER use .unwrap()/.expect()
❌ NEVER use panic!/todo!/unimplemented!()
❌ NEVER add comments
- Main Server: http://localhost:8081
- Desktop App: Uses Tauri to wrap botui
- Documentation: See botbook/
See individual project repositories for license information.