more
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user