Record pipeline integration audit findings
This commit is contained in:
@@ -128,6 +128,53 @@ native route and flags. Test semantic recovery guidance rather than snapshotting
|
||||
whole diagnostic strings. No generation or paid provider is needed to establish
|
||||
CLI syntax compatibility.
|
||||
|
||||
## 4. Reconcile accepted absolute analysis destinations with artifact identity
|
||||
|
||||
**Priority:** P2
|
||||
|
||||
**Status:** Pending
|
||||
|
||||
**Stages:** 10 and 16; analysis reuse and lifecycle integration in 18–19 and 21.
|
||||
|
||||
**Evidence:** [product_destinations.go](../../internal/config/product_destinations.go),
|
||||
`validateProductDestinations`, lines 19–35 and 63–65, accepts an absolute
|
||||
destination directly under the selected session's `artifacts/` directory.
|
||||
[analyze_fingerprint.go](../../internal/stage/analyze_fingerprint.go),
|
||||
`normalizedAnalyzeOutputIdentity`, lines 251–260, instead passes the configured
|
||||
value to a relative-only normalizer. Analysis checkpoint creation uses that same
|
||||
helper. [analyze_evidence.go](../../internal/artifacts/analyze_evidence.go),
|
||||
`InspectAnalyzeEvidence`, lines 77–82, independently rejects the absolute form.
|
||||
|
||||
An operator can therefore supply a valid flat destination, pass configuration
|
||||
validation, and then fail analysis with `relative path must not be absolute`.
|
||||
Selecting the equivalent absolute path for an already completed artifact also
|
||||
makes it non-resumable. Catalog hydration consequently cannot advertise that
|
||||
artifact as current for dependent analysis or publication. This is an existing
|
||||
relative-only assumption left unreconciled with the Stage 10 decision to retain
|
||||
both absolute and relative syntax for valid canonical destinations, rather than
|
||||
a new regression in the fingerprint helper itself.
|
||||
|
||||
**Reproduction:** temporary Go-overlay tests confirmed that concrete-artifact
|
||||
and product-destination validation accept an absolute canonical path. Separate
|
||||
tests using `currentAnalyzeFixture` confirmed that changing only
|
||||
`artifacts/session_recap.md` to its absolute equivalent makes resume return
|
||||
non-resumable and makes forced analysis fail during fingerprint computation.
|
||||
The probes changed no repository code and used no real subprocess or provider.
|
||||
|
||||
**Required change:** derive one consistent session-relative product identity
|
||||
from either supported syntax using the selected session root, and use it for
|
||||
analysis fingerprints, checkpoint records, and evidence/catalog resolution.
|
||||
Keep the ConfigKit result unchanged and retain the existing flat-placement and
|
||||
confinement rules. Reconcile publication and restore consumers of configured
|
||||
output paths as necessary. Do not resolve the mismatch by imposing a new ban
|
||||
on valid absolute destinations.
|
||||
|
||||
**Verification:** cover successful analysis and unchanged resume for equivalent
|
||||
absolute/relative canonical paths, current artifact resolution and dependent
|
||||
inputs, and publication/restore with that configuration. Manifest product
|
||||
identities remain portable and session-relative; paths outside the permitted
|
||||
product directory remain invalid under the existing placement contract.
|
||||
|
||||
## Review coverage and verification
|
||||
|
||||
| Implementation stages | Inspected boundaries |
|
||||
@@ -157,5 +204,46 @@ Passing checks during review used Go 1.27.4:
|
||||
The two temporary regression probes reproduced findings 1 and 2 despite the
|
||||
green existing suites. Finding 3 was confirmed against the built native CLI
|
||||
and its existing diagnostic assertions. These expose coverage gaps, not flaky
|
||||
default tests. No further required remediation was identified in the reviewed
|
||||
scope.
|
||||
default tests. No further required remediation was identified in the initial
|
||||
reviewed scope.
|
||||
|
||||
### Integration follow-up
|
||||
|
||||
A second review used Narratio commit
|
||||
`d3d7728f1f3809d65ab8256cd6973700bca31d93` (the implementation source is unchanged
|
||||
from the reviewed commit above), following the implementation stages in order.
|
||||
It examined new behavior against existing consumers and lifecycle machinery:
|
||||
|
||||
| Stage | Integration boundary reviewed |
|
||||
| --- | --- |
|
||||
| 1 | Shared structural/semantic validation consumes native resolved values; schema loading stays offline. |
|
||||
| 2 | The v2 marker flows through local execution, remote discovery, previous-session acquisition, and restore. |
|
||||
| 3 | Canonical path changes flow into stage staging, prepared references, previous inputs, and manifest resolution. |
|
||||
| 4 | Shared roster acquisition and forwarding agree with the existing players projection and character-family derivation. |
|
||||
| 5 | Campaign defaults and session clearing/replacement preserve independent field and resource-origin semantics. |
|
||||
| 6 | Native acquisition/inspection and session initialization retain separate configuration results and template precedence. |
|
||||
| 7 | The catalog's indexed shared sources retain consumer selectors and pass its independent validation. |
|
||||
| 8 | Prepared snapshots and generated autocorrection feed existing Seriatim inputs and prepare resume checks. |
|
||||
| 9 | Individual/combined vocabulary, prepared-source IDs, verified references, and content-change evidence agree. |
|
||||
| 10 | Flat destination validation was compared with existing analysis identity code; finding 4 records the mismatch. |
|
||||
| 11 | Native completion parsing retains exit-status authority and shares runtime argument construction with readiness. |
|
||||
| 12 | Canonical extraction evidence feeds catalog, analysis, and reuse independently of the retained bundle; finding 1 still applies. |
|
||||
| 13 | Audita execution/readiness use the same saved inputs and preserve existing transcript/report acceptance. |
|
||||
| 14 | Selected-work projection controls readiness, real/synthetic input choice, lazy adapters, and isolated probe diagnostics. |
|
||||
| 15 | Attempt transitions, failed attempts, self-skips, reuse, and latest-view ownership agree with runner lifecycle. |
|
||||
| 16 | Transcript/product promotion and producer diagnostic routing remain distinct; finding 4 also affects analysis execution. |
|
||||
| 17 | Audio acquisition and restore retain one verified copy while per-speaker checkpoints remain manifest-backed. |
|
||||
| 18 | Prepared-file enumeration, product discovery, immutable declarations, lock carry, and current-run diagnostics preserve their roles. |
|
||||
| 19 | Committed product mapping, rebased session references, previous inputs, audio verification, and restore conflict/recovery paths were inspected. |
|
||||
| 20 | Cleanup authorization and role-based retention preserve latest targets and durable bundles; finding 2 still applies. |
|
||||
| 21 | Semantic resume, bounded selection, artifact evidence, and operator recovery were checked; findings 3–4 remain applicable. |
|
||||
| 22 | Assembled campaign/consumer workflows and controlled compatibility evidence were checked against the pinned releases. |
|
||||
| 23 | Canonical documents, examples, recorded verification, and scope/ownership boundaries were reconciled with the implemented interfaces. |
|
||||
|
||||
The follow-up reran `go test ./...`, `go vet ./...`, `go build ./...`, documentation
|
||||
checks, and focused configuration, stage, application, and managed-view
|
||||
regressions with Go 1.27.4. Catalog `go test ./...` and `go run ./cmd/validate`
|
||||
also passed at `016473fd16b15847f3e913670c423faa7c35720b`. Existing tests passed;
|
||||
the temporary absolute-path probes exposed finding 4. Findings 1–3 remain
|
||||
pending. No fixes, compatibility shims, new product restrictions, or upstream
|
||||
changes were made.
|
||||
|
||||
Reference in New Issue
Block a user