Share artifact dependency queries across consumers

This commit is contained in:
2026-12-02 21:20:01 +00:00
parent 0965b7c7ac
commit 19b720742e
27 changed files with 194 additions and 205 deletions

View File

@@ -61,8 +61,10 @@ exact named configured definitions become the effective set for that invocation,
regardless of their `enabled` value. The effective-set resolver itself does not
expand dependencies. Shared domain catalog derivation has materialized the sorted
union of explicit ordering edges and configured-artifact input edges. The
shared artifact closure orders targets and their prerequisites on that one concrete
graph; the analyze work planner uses that order for its decisions.
derived catalog holds an immutable `internal/artifactdeps` graph shared by
validation, prerequisite ordering, and analysis planning. Supplied products can
stop prerequisite traversal; explicit forced targets still include their
prerequisites.
Availability is separate from executability. Invocation selection normalizes a
family selection into its concrete generated members before this resolver runs.
The effective set retains optional family

View File

@@ -53,6 +53,7 @@ enabled capabilities while holding the same lock.
| Manifests | `internal/manifest` | Durable session progress, stage transitions, validation, and atomic persistence. |
| Artifacts and paths | `internal/artifacts`, `internal/pathsafe` | Artifact identities and resolution, local and remote path/key models, current-state discovery, and confined relative destinations. |
| Previous-session cache | `internal/previouscache` | Deterministic planning and materialization requirements for configured previous-session inputs. |
| Artifact dependencies | `internal/artifactdeps` | Immutable configured-artifact dependency ordering, closure, and dependent traversal. |
| Artifact policy | `internal/artifactpolicy` | Source and destination policy, configured artifact identity validation, and publish destination safety. |
| Shared models and file operations | `internal/artifactmodel`, `internal/contracts`, [`internal/fileops`](fileops.md) | Transcript and artifact data contracts plus atomic single-file replacement, bounded reads, workspace modes, and root-scoped cleanup helpers. |
| Logging | `internal/logging` | Small Narratio-owned diagnostic/progress interface adapted to the invocation reporter. |