Move attempt views to workspace path ownership
This commit is contained in:
@@ -19,9 +19,8 @@ Directory bundles are not promoted by `internal/fileops`; extraction keeps
|
||||
the original bundle in its run until cleanup and promotes individual validated
|
||||
products.
|
||||
|
||||
Fileops updates, inspects and removes recognized managed latest-attempt links
|
||||
without following their targets, including dangling links. Unrelated entries are
|
||||
left alone and conflicting managed names are rejected.
|
||||
The workspace path owner manages latest-attempt links; fileops provides confined
|
||||
directory creation and removal mechanics.
|
||||
|
||||
## Cleanup Contract
|
||||
|
||||
|
||||
@@ -24,5 +24,5 @@ publish. See [operations](../operations.md#cleanup).
|
||||
## Implementation And Tests
|
||||
|
||||
`internal/stage/cleanup_plan.go`, `cleanup.go`, `internal/fileops/cleanup.go`,
|
||||
`attempt_views.go`, and their tests own authorization, inspection, managed view
|
||||
`internal/artifacts/attempt_views.go`, and their tests own authorization, inspection, managed view
|
||||
removal and confined deletion.
|
||||
|
||||
@@ -33,7 +33,7 @@ previous-session cache paths remain session-durable and are never redirected
|
||||
into run-local output space.
|
||||
|
||||
Polish and extraction write to actual run-local output, log, and debug paths.
|
||||
Each attempt advances managed relative `logs/<stage>` and `debug/<stage>` links;
|
||||
The artifact path owner advances managed relative `logs/<stage>` and `debug/<stage>` links;
|
||||
skips do not rotate them. Restore has its own diagnostic attempt. Extraction
|
||||
promotes validated lanes to flat artifacts; the original bundle remains in
|
||||
the producing run until cleanup. See [Operations](../operations.md#local-state-layout).
|
||||
@@ -97,7 +97,7 @@ syntax and exact deletion scope belong in [CLI](../cli.md#session-clean) and
|
||||
## Implementation And Tests
|
||||
|
||||
- Path model and local store: `internal/artifacts/paths.go`,
|
||||
`internal/artifacts/local.go`
|
||||
`internal/artifacts/local.go`, `internal/artifacts/attempt_views.go`
|
||||
- Run-local materialization: `internal/stage/run_local.go`
|
||||
- Bundle validation and product promotion: `internal/stage/extract.go`
|
||||
- Workspace modes: `internal/fileops/modes.go`
|
||||
|
||||
@@ -41,10 +41,10 @@ their scope. Unless assigned otherwise, a finding remains independent audit
|
||||
remediation. Shared code does not make a refactoring a prerequisite or assign
|
||||
the whole finding to a roadmap.
|
||||
|
||||
Thirty-three entries are closed by the safety, transfer, audio discovery, S3
|
||||
Thirty-four entries are closed by the safety, transfer, audio discovery, S3
|
||||
planning, prerequisite-history, publication-import, CLI classification,
|
||||
inspection aggregation, test maintenance, dead-code removal, and associated
|
||||
documentation work; 10 remain open. **Planned** identifies
|
||||
documentation work; 9 remain open. **Planned** identifies
|
||||
an agreed remedy awaiting implementation. **Potentially eliminated** requires verification that the offending
|
||||
lifecycle is removed. **Coordinate** identifies shared changes, not a commitment
|
||||
that a related feature implements the entire finding. Findings close only after their
|
||||
@@ -742,7 +742,10 @@ Related: [CAT-16](#cat-16--p3-flatten-inspection-error-aggregation).
|
||||
|
||||
### CAT-26 — P3: Place diagnostic-view layout grammar with canonical workspace paths
|
||||
|
||||
Status: Open
|
||||
Status: Closed
|
||||
|
||||
**Closure.** Managed attempt views now use the artifact workspace path owner;
|
||||
fileops retains confined directory mechanics. View, cleanup, stage and app tests pass.
|
||||
|
||||
Original findings: [BN-01](11-boundaries.md#bn-01--p3-diagnostic-view-layout-policy-is-embedded-in-file-operation-mechanics).
|
||||
|
||||
|
||||
@@ -446,7 +446,7 @@ Validation: `go test ./internal/contracts ./internal/adapters/seriatim ./interna
|
||||
|
||||
## Stage 15: Move Attempt Views To The Workspace Path Owner
|
||||
|
||||
CAT IDs: CAT-26. Status: Pending.
|
||||
CAT IDs: CAT-26. Status: Complete.
|
||||
|
||||
Read [BN-01](audit/11-boundaries.md#bn-01--p3-diagnostic-view-layout-policy-is-embedded-in-file-operation-mechanics).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user