Record agreed audio decisions in the audit catalog

This commit is contained in:
2026-12-01 18:41:17 +00:00
parent 473f39bd90
commit 3d24fc4130
2 changed files with 82 additions and 52 deletions

View File

@@ -1,6 +1,6 @@
# Audit Remediation Discussion
Status: Discussion in progress
Status: Main directions agreed; lock contention choice remains
## Purpose
@@ -13,10 +13,11 @@ own the detailed evidence. This document records decisions, explains consequence
and distinguishes recommendations from approved scope. No remediation has been
implemented by this document.
The operator has settled the main direction for topics 1 through 6. Topic 7
needs discussion. Each open topic ends with a question and space for a
response. Implementation details can be settled during planning after the
operator-facing behavior is clear.
The operator has settled the main direction for all seven topics. Topic 1 retains
the smaller choice about waiting versus reporting a busy workspace. The
[session-restore](../session-restore.md) and [audio-inputs](../audio-inputs.md)
roadmaps own their respective target behavior. Implementation details can be
settled during planning against those roadmaps and the remaining catalog entries.
## 1. Coordinate destructive cleanup with other work
@@ -410,10 +411,12 @@ pending implementation and verification._
## 7. Give preparation and inspection the same audio selection rules
Status: Open
Status: Decisions agreed; implementation pending
Finding: [CAT-12](catalog.md#cat-12--p2-share-audio-discovery-and-accept-valid-same-basename-recordings-in-inspection).
Roadmap owner: [Multi-Format Audio Inputs and Shared Discovery](../audio-inputs.md).
### Concrete example
The operator selects `first/speaker.flac` and `second/speaker.flac`. Preparation
@@ -427,41 +430,50 @@ inspection requires a regular file. A named pipe or device can pass the former
check but fail the latter. The audit does not establish successful end-to-end
support for those non-regular sources.
### Recommendation
### Agreed direction
Share read-only selection rules. Accept distinct local recordings with matching
basenames and retain preparation's rejection of duplicate resolved source paths.
Keep destination naming in preparation. Keep the separately selected S3 basename
rule distinct from local selection.
Keep materialization and checkpoint transitions with preparation and reporting
with inspection. Preserve the existing prepared-name disambiguation and keep
the separately selected S3 basename rule distinct from local selection.
For the remaining eligibility choice, I recommend ordinary regular recording
files as the supported file-input surface. That fits repeated reading, hashing,
and resume. Requiring a regular file consistently would narrow preparation's
current initial check, so it needs approval. It does not by itself establish a
new blanket symlink prohibition; existing path/confinement rules remain separate.
Local recording sources must resolve to regular files. This supports repeated
reading, hashing, and resume. Existing path and symlink rules remain separate.
### Viable alternative
Accept multiple audio formats. Automatic directory and S3-prefix scans use one
shared, broad, case-insensitive extension filter; nonmatching sidecars are
ignored. The [roadmap](../audio-inputs.md#broad-extension-filtering-for-automatic-discovery)
owns the extension set and its application to preparation, inspection, reuse,
and transcription fallback. Explicit local file selections and manifest-registered
audio remain extension-agnostic. Backend decoding determines actual codec support;
selection adds no transcoding or format-probing requirement.
Fix the demonstrated basename disagreement and share preparation's existing
selection behavior without tightening file eligibility. This minimizes behavior
changes. Unusual non-regular sources may then fail later during reading or
transcription rather than at discovery. The broader acceptance should not be
presented as evidence that streaming pipes and devices are supported end to end.
Preserve stem-based speaker IDs. After existing prepared-name disambiguation,
reject remaining same-stem collisions across extensions during shared discovery,
identify both sources, and ask the operator to select one encoding or rename the
recordings. Distinct same-full-basename local recordings remain supported. This
moves the existing transcription ambiguity failure earlier without adding
automatic cross-extension renaming or content-based deduplication.
### Question for discussion
Should the shared discovery contract require regular recording files, or preserve
preparation's broader initial eligibility check? I recommend regular files, with
no additional filesystem restrictions bundled into that choice.
The roadmap extends CAT-12's shared-discovery remediation with the subsequently
approved multi-format behavior. Audio generation identity and transfer bounds
remain the separate corrections agreed under topic 4. Publication import is
independent of raw-audio discovery; neither feature roadmap requires completing
the other first.
Operator response:
_Pending discussion._
_Approved: regular-file selection, shared broad audio-extension filtering for
automatic discovery, extension-agnostic explicit inputs, and early rejection of
unresolved speaker-stem collisions. CAT-12 remains open pending implementation
and verification._
## After Discussion
Record approved answers here, then prepare a remediation roadmap against the
catalog. The roadmap should distinguish agreed behavior changes from internal
Prepare remediation plans against the catalog, using the two feature roadmaps
for their assigned work. Distinguish agreed behavior changes from internal
refactoring, retain the audit evidence links, and include focused regression
coverage. This document does not authorize implementing unresolved recommendations
or replacing existing policies before those choices are settled.
coverage. Confirm topic 1's contention behavior when planning the lock fix.
Recording an approved direction does not close its findings or change current
policy; implementation and verification remain outstanding.