Document and verify published product imports

This commit is contained in:
2026-12-02 16:49:46 +00:00
parent 56483f9064
commit e5d91cb19b
32 changed files with 330 additions and 265 deletions

View File

@@ -41,8 +41,9 @@ 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.
Twelve entries are closed by the safety, transfer, audio discovery, S3
planning, and prerequisite-history work; 31 remain open. **Planned** identifies
Seventeen entries are closed by the safety, transfer, audio discovery, S3
planning, prerequisite-history, publication-import, and associated documentation
work; 26 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 the roadmap implements the entire finding. Findings close only after their
@@ -84,8 +85,9 @@ Narratio remains a fixed-stage orchestrator. The application coordinates
invocations, locks, plans, stages, and restore; adapters own external transports.
ConfigKit supplies completed configuration, CommandKit/ckconfig supply native
CLI/inspection, and Narratio derives separate domain catalogs. Manifest-backed
speaker/artifact checkpoints govern product reuse. Publication selects immutable
snapshots through a current pointer, restore installs manifest authority last,
speaker/artifact checkpoints and valid supplied records govern product reuse.
Publication selects immutable inventories through a current pointer, restore
saves a merged local baseline last,
and cleanup has a separate authorization/lifecycle. See the
[implemented overview](../../internal/overview.md) and
[architecture policy](../../policy/architecture.md).
@@ -124,12 +126,15 @@ Related: [CAT-39](#cat-39--p3-simplify-manual-clean-to-its-live-directory-only-c
### CAT-02 — P2: Make restored carried products agree with manifest authority
Status: Open
Status: Closed
**Disposition / owner.** Planned — the [restore roadmap](../session-restore.md#build-and-consume-restore-defined-completion)
owns this remedy. Its publication-import and synthesized-completion model
supersedes historical producer-evidence reconciliation; implementation and the
original round-trip regression outcomes remain outstanding.
**Closure.** Inventory-based import records validated local supplied products
without installing remote execution evidence. The publish–lock–generate–republish
round trip for a transcript and configured artifact, downstream source resolution,
and republishing are covered by
[`import_workflow_test.go`](../../../internal/app/import_workflow_test.go).
The [restore roadmap](../session-restore.md#build-and-consume-restore-defined-completion)
owns the implemented product-import model.
Original findings: [FC-02](01-correctness.md#fc-02--p2-carried-publication-bytes-conflict-with-restored-manifest-evidence),
[TE-02](08-testing.md#te-02--p2-publication-and-restore-tests-do-not-prove-carried-output-authority-is-coherent).
@@ -445,12 +450,13 @@ Related: [CAT-12](#cat-12--p2-share-audio-discovery-and-accept-valid-same-basena
### CAT-14 — P3: Close temporary committed-manifest cleanup gaps
Status: Open
Status: Closed
**Disposition / owner.** Potentially eliminated — the [restore roadmap](../session-restore.md#decouple-remote-discovery-from-execution-snapshots)
removes unnecessary execution-snapshot publication. Close only after verifying
that the temporary-manifest creation and ownership gaps disappear; repair any
retained lifecycle rather than assuming snapshot removal fixes it.
**Closure.** Publication no longer creates or uploads a temporary session
execution-manifest snapshot; the inventory commit is encoded and written by
[`publish_commit.go`](../../../internal/stage/publish_commit.go). The removed
temporary-file lifecycle and its ownership gap no longer exist. Publication
tests verify that no execution ledger is emitted.
Original findings: [RS-03](05-resources.md#rs-03--p3-publications-temporary-manifest-has-cleanup-gaps-before-ownership-transfer).
@@ -752,12 +758,12 @@ separate manifest-last installation order.
### CAT-29 — P3: Correct force-after-enablement guidance
Status: Open
Status: Closed
**Disposition / owner.** Coordinate documentation — the [restore roadmap](../session-restore.md#align-policies-and-canonical-documentation)
adds render selection and supplied-baseline reuse. Correct the existing
render/publish/analyze enablement guidance explicitly while distinguishing
ordinary local semantic reuse from restore-defined completion.
**Closure.** [Operations](../../operations.md#stage-execution-and-continuation-behavior) explains
automatic reassessment of observable enablement/configuration changes, explicit
force for current-result replacement or private changes, and independent supplied
coverage.
Original findings: [DOC-02](13-documentation.md#doc-02--p3-operator-guidance-incorrectly-requires-force-after-enablement).
@@ -771,12 +777,12 @@ descriptions rather than repeating stale behavior.
### CAT-30 — P3: Correct internal resume and fingerprint descriptions
Status: Open
Status: Closed
**Disposition / owner.** Coordinate documentation — the [restore roadmap](../session-restore.md#align-policies-and-canonical-documentation)
rewrites resume descriptions. Check each original mismatch for locally generated
work as well as documenting the new baseline; do not change fingerprints to
match obsolete prose.
**Closure.** The focused [analyze](../../internal/stage-analyze.md),
[prepare](../../internal/stage-prepare.md), and [manifest](../../internal/manifest.md)
descriptions now distinguish diagnostic render-debug, provenance-only input
ownership, and prepare's durable-copy and current-source checks.
Original findings: [DOC-03](13-documentation.md#doc-03--p3-internal-resume-summaries-describe-obsolete-fingerprint-inputs).
@@ -836,12 +842,13 @@ filesystem enforcement in Narratio.
### CAT-34 — P3: Include the combined glossary in prepared-input documentation
Status: Open
Status: Closed
**Disposition / owner.** Coordinate documentation — the [restore roadmap](../session-restore.md#align-policies-and-canonical-documentation)
changes prepared-input/publication descriptions. Verify the retained combined
input inventory explicitly; execution-snapshot removal does not make the four
individual Audita inputs a five-input invocation.
**Closure.** [Manifest](../../internal/manifest.md#prepared-glossary-evidence),
[publication](../../internal/stage-publish.md), and
[restore](../../internal/command-restore.md) documentation include the combined
document alongside the four individual envelopes. The manifest description
retains Audita's four-envelope input distinction.
Original findings: [DOC-07](13-documentation.md#doc-07--p3-internal-glossary-inventories-omit-the-combined-prepared-document).

View File

@@ -1,6 +1,6 @@
# Audit Remediation Discussion
Status: Decisions agreed; safety and transfer work complete; feature work pending
Status: Decisions agreed; assigned safety, transfer, and feature work implemented
## Purpose
@@ -67,7 +67,7 @@ closed, including the acquisition-diagnostic review follow-up._
## 2. Import published artifacts and retain local resume
Status: Scope agreed; remote execution checkpoints deferred
Status: Publication import implemented; remote execution checkpoints deferred
Finding: [CAT-02](catalog.md#cat-02--p2-make-restored-carried-products-agree-with-manifest-authority).

View File

@@ -1,6 +1,6 @@
# Import Published Products: Implementation Plan
Status: Pending
Status: Complete
## Scope and working rules
@@ -25,9 +25,9 @@ code may connect stages, but remove the old execution-snapshot workflow by
completion. Intermediate commits are not a finished release. Update owned
current-behavior documentation when each capability becomes implemented.
This is a planning document. This pass changes no application code or policy.
Implementation commits use plain-English messages under agent policy; pushing
and releasing require separate authorization.
This document records the staged implementation. Implementation commits use
plain-English messages under agent policy; pushing and releasing require separate
authorization.
## Implementation decisions
@@ -430,7 +430,7 @@ Validation: run focused workflow tests uncached, then `go test ./...`.
## Stage 13: Align policy, documentation, and audit disposition
Status: Pending
Status: Complete
1. Finalize and check the Stage 1 architecture policy adaptations: completion
can express executed work or satisfaction by supplied products; product

View File

@@ -1,6 +1,6 @@
# Session Restore from Published Artifacts
Status: Agreed scope; implementation pending
Status: Implemented and verified
## Goal
@@ -20,7 +20,7 @@ agreement to synthesize stage completion using a small stage/output mapping.
That agreement supersedes earlier suggestions that restore must reconstruct
historical producer evidence or avoid marking covered upstream stages complete.
## Current Baseline
## Historical Baseline
Reviewed against `d8bc99b17efdddd0a728ef519b2e5a1d25f85fa9`.
@@ -125,8 +125,8 @@ Illustrative coverage:
This mapping is about satisfaction, not reconstruction. A final trimmed
transcript can cover earlier stages even though their intermediate files are
absent. The manifest records actual imported files and marks covered stages
complete without inventing output records for files that do not exist.
absent. The manifest records actual imported files; validated supplied records
express covered work without inventing output records for files that do not exist.
Keep independent products independent. A transcript does not prove that
extraction, analysis, or rendering completed. Render and extract remain sibling
@@ -380,8 +380,8 @@ Use focused offline behavioral tests and representative assembled workflows:
baseline-save, and partial-restore retry coverage. Choose tests for observable
risks, not exact helper structure or incidental wording.
The implementation plan should select checks proportionately under the
[testing policy](../policy/testing.md). This planning pass implements no behavior.
The implementation and its focused and assembled tests follow the
[testing policy](../policy/testing.md).
## Scope Boundaries