Jacob Schmidt 9b31184f0c Separate CAD task assignment from task acceptance
- Reserve tasks as `available`/`assigned` before leader acknowledgement
- Update CAD and task lifecycle handling and docs to reflect the new flow
- Remove startup heartbeat reset and reset task backend explicitly in preInit
2026-05-17 10:12:15 -05:00
..
2026-04-17 17:09:21 -05:00
2026-04-17 17:09:21 -05:00
2026-04-17 17:09:21 -05:00

Forge Shared Libraries

The lib workspace contains reusable Rust crates for Forge domain models, repository traits, services, and shared helpers.

Crates

  • forge-models: serializable domain models shared by services and extension routes.
  • forge-repositories: repository traits plus in-memory implementations used by tests and transient hot-state stores.
  • forge-services: business logic for actor, bank, garage, locker, org, phone, store, task, and CAD workflows.
  • forge-shared: validation and cross-crate helpers.

Durable persistence is implemented in the server extension with SurrealDB repository implementations.

Test

cargo test -p forge-models
cargo test -p forge-repositories
cargo test -p forge-services
cargo test -p forge-shared