Goals & Acceptance Criteria
Pins what “done” means and invalidates old permissions if the goal changes.
Someone changes the goal mid-run, yet an approval granted for the old goal still executes.
Revising a goal increments its revision and immediately cancels outdated plans, grants, and approvals.
What It Does (In Plain English)
Goals stores both one-time objectives (finite, like "Ship bugfix #42") and always-on objectives (continuous, like "Keep unpaid invoice errors under 1%"). Every goal carries a revision number — if you edit the goal mid-flight, stale approvals and grants from the old revision automatically expire.
Real-World Example
- 1Operator creates a goal with required evidence: tests must pass with 0 failures.
- 2Mid-run, operator revises the goal scope from rev 1 to rev 2.
- 3Goals emits
goal.revised, invalidating any pending approvals tied to rev 1. - 4Completion Gate checks the rev 2 criteria before allowing the task to close.
When Should You Turn It On?
Required automatically at Level 2 (draft) and above.
Safety level note: Level 2 · Draft — Can create saved drafts and run offline sandbox checks.
How to Add It (workspace.yaml)
level: draft
kits:
- "@neusym/kit-goals@0.1.0"Kits It Works With
Technical Details & Configuration Options (0 settings)
| Package | @neusym/kit-goals |
|---|---|
| Provides Ports | goals@1 |
| Requires Ports | None |
| Optional Ports | None |
| Publishes Events | goal.revisedgoal.status_changed |
| Owned DB Collections | goals |
This kit requires zero custom configuration options.