Architecture & Packages π‘ BETA
This chapter is the developer map of the General Bots workspace: where the code lives, how it is built and which package types carry bot content.

Workspace shape
General Bots is one Rust workspace: a botserver binary plus feature libraries under botserver/crates/. The Diesel schema lives in botschema, and migrations live in botserver/migrations/. The crate map and responsibilities are recorded in the crate manifests under botserver/crates/*/Cargo.toml.
| Area |
Authority in this repository |
| Crates and responsibilities |
botserver/crates/*/Cargo.toml |
| Apps, titles and categories |
botserver/src/apps/registry/ (entries.rs, entries_extra.rs, mod.rs::all_apps) |
| Bot content packages |
bottemplates/bots/**/*.gbai |
| Dependency versions |
botserver/3rdparty.toml |
| Ports and deploy model |
root AGENTS.md |
Chapter contents
Limits
| Limit |
Value / source |
| Single file size |
450 lines (root AGENTS.md); split proactively at 350. |
| Container layer |
Incus only; lxc/lxd are not supported as a runtime (root AGENTS.md). |
| Local service ports |
root AGENTS.md: API 8080, suite 3000, cloud 4000, login 5000. |
| Component versions |
botserver/3rdparty.toml; never infer a version from prose. |