AGENTS.md@toolkit ยท diff

git:20261005.aec7204 to git:20261007.b7eb037

8 added, 9 removed. Audit A to A.

# Toolkit
This workspace lives at `toolkit/` inside the agent-skills catalog repository. The catalog skill rules in the root
`AGENTS.md` govern `skills/`, not the toolkit. The toolkit follows this file and its package-local AGENTS.md files.
Toolkit commits use the catalog's natural-language commit format.
## Workspace boundaries
- The nightly Rust workspace contains the `ai-commit`, `ai-coord`, `ai-handoff`, `ai-notify`, and `ai-skillet` crates.
Keep shared Rust configuration at the workspace root (`toolkit/`) and crate behavior within its crate.
- - `apps/coord-dashboard` and `apps/handoffs` are independent Bun packages with separate locks and package-local
- validation. Do not combine their dependencies, scripts, or build outputs with the Rust workspace or each other.
+ - `apps/coord-dashboard` is an independent Bun package with its own lock and package-local validation. Do not combine
+ its dependencies, scripts, or build outputs with the Rust workspace.
- Context is source-owned. This file describes workspace-wide behavior. Package-local AGENTS.md files own product and
workflow guidance. Update the owning package rather than duplicating its guidance here.
## Validation
Use `toolkit/justfile` for local validation (`just <recipe>` inside `toolkit/`, or `just toolkit::<recipe>` from the
catalog root). Run focused tests while iterating, then the complete affected gate before committing:
| Change scope | Final local gate |
| --------------------------------------------- | ---------------------------- |
| Rust code, Cargo dependencies, Rust toolchain | `just rust-check` |
| Coordination dashboard | `just coord-dashboard-check` |
- | Handoffs application | `just handoffs-check` |
| Shared workspace wiring or Rust/app contracts | `just check` |
- `just rust-check` checks formatting, Clippy with warnings denied, tests, and builds for the locked Rust workspace. Both
- application gates check types, tests, and production builds. UI changes also need the owning package's rendered
- verification. `just check` runs all three gates. None of these checks installs CLI binaries. Documentation-only edits
- follow the root formatting and factual-verification rules.
+ `just rust-check` checks formatting, Clippy with warnings denied, tests, and builds for the locked Rust workspace. The
+ dashboard gate checks lint, formatting, types, tests, and the production build. UI changes also need the owning
+ package's rendered verification. `just check` runs both gates. None of these checks installs CLI binaries.
+ Documentation-only edits follow the root formatting and factual-verification rules.
## Compatibility and safety
- Preserve each tool's documented command, output, and persisted-data contracts. Do not add compatibility paths,
migrations, aliases, or dual formats unless explicitly requested. Reject incompatible persisted versions with
actionable errors.
- Changes that can invalidate live ai-coord agents, state, hooks, or CLI installation require explicit authorization and
an isolated `AI_COORD_STATE_DIR` for development and validation. Never reset coordination state or replace global
hooks from this checkout implicitly.
- Updating the installed CLIs (`just install-cli`, or `just toolkit::install-cli` from the catalog root) is
pre-authorized when the committed changes preserve the documented command, output, and persisted-data contracts. It is
also pre-authorized when `ai-coord` shows no other live agent sessions on this machine. Otherwise ask the user to
close the other agents before installing.
- - Keep both Bun applications local-only. Handoffs must remain read-only and bound to loopback. The coordination
- dashboard must not make external requests.
+ - Keep the dashboard local-only and bound to loopback, with no external requests. Its handoffs view must remain
+ read-only.