Preserve transcript destinations that change type

This commit is contained in:
2026-11-10 20:31:03 +00:00
parent 8a2a19ccd3
commit 50940083c8
4 changed files with 78 additions and 9 deletions

View File

@@ -27,8 +27,10 @@ consumed application and PromptKit sources, and effective host message files. An
intentional in-place transcript replacement is allowed. A regular transcript
output is prepared in a sibling temporary file, leaving the final destination
untouched until successful publication. Pipes and devices are opened only for
delivery; a pipe can wait for its reader. Parent directories for required outputs
must already exist.
delivery, and a pipe can wait for its reader. If a transcript destination changes
between a regular file and a pipe or device during processing, Audita can report a
delivery failure while preserving the new destination. Parent directories for
required outputs must already exist.
Enabled reports are initialized as `in_progress` before processing. The
transcript is published before final reports; the files do not form a single

View File

@@ -384,6 +384,8 @@ keep their native behavior.
## R11 — P2: Preserve Pipes That Appear After Output Preparation
**Status:** Completed. Delivery checks the destination type before opening a prepared stream or replacing a file. Tests cover both type changes, preservation of the replacement destination, and cleanup of staged output.
**Category**
The new Stage 7 preparation changes the existing special-file delivery behavior.