Remove legacy publish and state paths
This commit is contained in:
@@ -4,15 +4,15 @@ Audience: developers and LLM coding agents changing `internal/state`.
|
||||
|
||||
## Purpose
|
||||
|
||||
`internal/state` parses, validates, serializes, and transforms `.distributor.json` destination catalog state.
|
||||
`internal/state` parses, validates, serializes, and updates `.distributor.json` destination catalog state records.
|
||||
|
||||
## Inputs And Outputs
|
||||
|
||||
Inputs are destination state JSON, constructed catalog values, owner scopes, managed output paths, timestamps, and prune policy inputs. Outputs are validated catalog values, JSON bytes, managed path lists, owner-filtered output lists, missing-output repair projections, and prune candidate plans.
|
||||
Inputs are destination state JSON, constructed catalog values, owner scopes, managed output paths, timestamps, and prune policy inputs. Outputs are validated catalog values, JSON bytes, managed path lists, owner-filtered output lists, missing-output repair results, and prune candidate plans.
|
||||
|
||||
## Boundaries
|
||||
|
||||
The package does not inspect storage backends, mutate files, choose workflow actions, build publish outputs, generate URLs, or parse config. Publish planning consumes parsed catalog state and helper projections.
|
||||
The package does not inspect storage backends, mutate files, choose workflow actions, build publish outputs, generate URLs, or parse config. Publish planning consumes parsed catalog state and catalog output helpers.
|
||||
|
||||
The external destination state contract is documented in `docs/integrations/destination-state.md`.
|
||||
|
||||
@@ -36,7 +36,7 @@ The package identifies schema versions older than the current catalog schema as
|
||||
|
||||
The package provides helpers for finding catalog outputs by path, filtering outputs by owner, listing managed output paths, removing missing output records for one owner or every owner, and building owner-scoped prune candidates.
|
||||
|
||||
Catalog helper projections preserve output `created_at` for existing managed paths and use the current publication time for rewritten `updated_at`. Root-level `created_at` preservation is owned by publish execution.
|
||||
Publish execution owns catalog output projection and timestamp preservation for rewritten outputs. State helpers only parse, validate, filter, and remove catalog records supplied by callers.
|
||||
|
||||
## Skip And Resume Behavior
|
||||
|
||||
|
||||
Reference in New Issue
Block a user