This commit is contained in:
Brent Larsen
2026-10-26 22:21:04 -05:00
parent 9b848cefcf
commit ffc1003f2d
9 changed files with 574 additions and 16 deletions
+13
View File
@@ -183,3 +183,16 @@ The present direction is therefore to clarify and protect the framework rather t
- an opaque content-addressed artifact cache replacing human-readable artifact warehouses;
- generalized workflow states, queues, schedulers, or orchestration engines beyond the pull method already in use;
- framework-level understanding of LLM providers, translation semantics, publishing semantics, or other domain relationships that belong in modules.
### Vacuuming the durable artifact warehouse
`npx optimus --vacuum` examines every declared target through its current pull
chain without allowing rebuilds; `--vacuum --apply` independently rechecks a
previously reviewed checksummed plan before deleting unreachable artifact files.
Do not use a single chosen output as the only root. Every defined target and
every meaningful intermediate artifact it pulls must survive. Keep the
planning report in disposable side-effects. Custom transformers with their own
artifact writers must call `utils.requireCurrentArtifact(filename, isReusable)`
after their freshness check and before any external work, so vacuum fails
closed rather than accidentally regenerating. Do not infer reachability from
`reportEnsure` or `reportBuild`: presentation is diagnostic only.