Shared Team Board & File Locks
Gives parallel agents file/symbol locks, frozen interface contracts, and shared discovery notes.
Two parallel agents edit the same file at the same time and overwrite each other’s work.
Each agent locks its own scope, builds against frozen contracts, and shares findings without colliding.
What It Does (In Plain English)
When multiple agents work on the same codebase or customer entity at once, Blackboard prevents them from colliding. Agents claim expiring path or symbol leases, read frozen shared contracts published before they start, and post discovery notes (symbol_map, interface_spec, constraint) for teammates.
Real-World Example
- 1Preflight publishes a frozen TypeScript interface contract on Blackboard.
- 2Worker A acquires a write lease on
src/billing/while Worker B lockssrc/orders/. - 3If Worker A tries to edit outside its lease,
cli-executorcatchesCLI_LEASE_SCOPE_VIOLATION.
When Should You Turn It On?
Add whenever running 2+ parallel agents over shared files, entities, or repositories.
Safety level note: Level 1 · Review — Read-only. Can inspect and answer, never changes outside systems.
How to Add It (workspace.yaml)
kits:
- "@neusym/kit-blackboard@0.1.0"
kitConfigs:
blackboard:
defaultLeaseTtlMs: 300000Kits It Works With
Technical Details & Configuration Options (3 settings)
| Package | @neusym/kit-blackboard |
|---|---|
| Provides Ports | blackboard@1 |
| Requires Ports | tasks@1 |
| Optional Ports | tools@1secrets@1 |
| Publishes Events | blackboard.changedblackboard.contract_changed |
| Owned DB Collections | blackboard_locksblackboard_wait_edgesblackboard_leasesblackboard_contractsblackboard_notes |
Configuration Options (kitConfigs.blackboard)
| Setting | Type | Default | Description |
|---|---|---|---|
maxLeaseTtlMs | integer | 1800000 | — |
defaultLeaseTtlMs | integer | 300000 | — |
maxCasRetries | integer | 32 | — |