@zalom/plastic 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PLASTIC.md +20 -3
- package/package.json +1 -1
- package/scripts/doctor.rb +603 -183
- package/scripts/end-intent +65 -22
- package/scripts/lib/installer_core.rb +1 -1
- package/scripts/lib/maintenance_git.rb +2 -1
- package/scripts/lib/outcome_guard.rb +38 -0
- package/scripts/maintenance-run +56 -2
- package/skills/auto/SKILL.md +5 -4
- package/skills/doctor/SKILL.md +50 -18
- package/skills/intent-ending/SKILL.md +16 -6
- package/templates/agents.md +8 -0
- package/scripts/lib/legacy_bookend_amnesty.rb +0 -35
package/PLASTIC.md
CHANGED
|
@@ -283,9 +283,8 @@ Beyond the lifecycle agents, Plastic ships thin skills for day-to-day operation:
|
|
|
283
283
|
- **`plastic-dashboard`** renders a deterministic Value x Effort work cockpit across the global
|
|
284
284
|
store and every project, and emits a machine-readable queue (`scripts/dashboard.rb --data
|
|
285
285
|
[continue|project <slug>]`) that auto mode consumes.
|
|
286
|
-
- **`plastic-doctor`** checks installation health. See the
|
|
287
|
-
|
|
288
|
-
load, and the full no-flag walk after an update).
|
|
286
|
+
- **`plastic-doctor`** checks installation health across three scopes. See the `### Doctor`
|
|
287
|
+
section below.
|
|
289
288
|
- **Lifecycle skills** (`plastic-install`, `plastic-update`, `plastic-uninstall`,
|
|
290
289
|
`plastic-rollback`, intent 55) are thin wrappers over a single pinned
|
|
291
290
|
`npx -y @zalom/plastic@<channel> <verb>` call: initialize or repair an install, advance a
|
|
@@ -296,6 +295,24 @@ Beyond the lifecycle agents, Plastic ships thin skills for day-to-day operation:
|
|
|
296
295
|
hits a Plastic quirk, bug, or missing feature, offer to invoke the plastic-feedback skill
|
|
297
296
|
yourself instead of waiting to be asked; the user still sends it, you never do.
|
|
298
297
|
|
|
298
|
+
### Doctor
|
|
299
|
+
|
|
300
|
+
Doctor has three scopes, each with its own contract (intent 219, the governing doctrine):
|
|
301
|
+
|
|
302
|
+
1. **Core check** (`--core`): fast and binary. Is Plastic loaded and ready for work on every
|
|
303
|
+
registered agent. No store-content scanning, no warnings.
|
|
304
|
+
2. **Store scan** (`--store [global|<slug>]`): fast, three-state. Verifies the operations
|
|
305
|
+
Plastic itself depends on in one store (QMD reachability, sources/chain and cross-store
|
|
306
|
+
resolution, INDEX parsing, links projection), plus tool readiness (Serena, Enola) for a
|
|
307
|
+
project store. Runs at load time: the global board uses `--store global`, a project board
|
|
308
|
+
uses `--store <slug>`.
|
|
309
|
+
3. **Full check** (no flag): the install-wide surface. Agent-scoped and install-scoped
|
|
310
|
+
families (deprecations, install integrity, skill lint, config asks, config-honoring drift)
|
|
311
|
+
plus the global store's own content. Never carries a per-project finding; `--store <slug>`
|
|
312
|
+
is the project-scoped check, not this one.
|
|
313
|
+
|
|
314
|
+
See `plastic-doctor/SKILL.md` for the operational encoding of all three.
|
|
315
|
+
|
|
299
316
|
## Releases and Versioning
|
|
300
317
|
|
|
301
318
|
Plastic ships as versioned releases. A release is a collection of intents: a cut bundles whichever
|