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

@@ -34,10 +34,12 @@ shared change surfaces, not extra prerequisites.
## Remediation Ownership And Remaining Decisions ## Remediation Ownership And Remaining Decisions
The [session-restore roadmap](../session-restore.md) owns the agreed redesign for The [session-restore roadmap](../session-restore.md) owns the agreed redesign for
importing published artifacts. Disposition notes below relate findings to that importing published artifacts. The [audio-inputs roadmap](../audio-inputs.md) owns
work without expanding its scope. Unless assigned otherwise, a finding remains shared audio discovery and the approved multi-format extension of CAT-12.
independent audit remediation. Shared code does not make a refactoring a Disposition notes below relate findings to those roadmaps without expanding
prerequisite or assign the whole finding to the roadmap. 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.
All 43 findings remain open. **Planned** identifies an agreed remedy awaiting All 43 findings remain open. **Planned** identifies an agreed remedy awaiting
implementation. **Potentially eliminated** requires verification that the offending implementation. **Potentially eliminated** requires verification that the offending
@@ -47,17 +49,17 @@ relevant behavior or code removal is verified. Original audit reports, finding
identities, priorities, and source links remain unchanged. identities, priorities, and source links remain unchanged.
Directions for CAT-02, CAT-04, CAT-05, and CAT-09 reflect subsequent agreed choices. Directions for CAT-02, CAT-04, CAT-05, and CAT-09 reflect subsequent agreed choices.
CAT-12 also reflects the approved audio selection and naming decisions.
Other direction paragraphs retain the audit's candidate remedies; agreed Other direction paragraphs retain the audit's candidate remedies; agreed
choices and roadmap ownership are identified by the disposition notes. choices and roadmap ownership are identified by the disposition notes.
Decisions on [audio generation/size handling](discussion.md#4-keep-downloaded-audio-and-its-source-identity-together), Decisions on [audio generation/size handling](discussion.md#4-keep-downloaded-audio-and-its-source-identity-together),
[subprocess completion](discussion.md#5-finish-subprocess-shutdown-before-releasing-its-files), [subprocess completion](discussion.md#5-finish-subprocess-shutdown-before-releasing-its-files),
and [publication source lifetimes](discussion.md#6-open-publication-sources-as-they-are-needed) [publication source lifetimes](discussion.md#6-open-publication-sources-as-they-are-needed),
are agreed, with implementation pending. Continue with and [audio selection and naming](discussion.md#7-give-preparation-and-inspection-the-same-audio-selection-rules)
[topic 7: audio eligibility](discussion.md#7-give-preparation-and-inspection-the-same-audio-selection-rules). are agreed, with implementation pending. Topic 1 retains the smaller choice
Topic 1 also retains the smaller choice about waiting versus reporting a busy about waiting versus reporting a busy workspace. Remote checkpoint timing and
workspace. Remote checkpoint timing and failure handling are deferred, not failure handling are deferred, not decisions blocking publication import.
decisions blocking publication import.
## Consolidation Decisions ## Consolidation Decisions
@@ -162,7 +164,9 @@ Status: Open
**Disposition / owner.** Independent audio-acquisition remediation — [discussion topic 4](discussion.md#4-keep-downloaded-audio-and-its-source-identity-together) **Disposition / owner.** Independent audio-acquisition remediation — [discussion topic 4](discussion.md#4-keep-downloaded-audio-and-its-source-identity-together)
selects accepting the raw-audio generation actually downloaded; implementation selects accepting the raw-audio generation actually downloaded; implementation
and verification remain pending. The [restore roadmap](../session-restore.md) and verification remain pending. This is separate from the
[audio-inputs roadmap's discovery changes](../audio-inputs.md#relationship-to-other-work).
The [restore roadmap](../session-restore.md)
relaxes generation-history requirements for imported products, not source identity relaxes generation-history requirements for imported products, not source identity
for local audio reuse. for local audio reuse.
@@ -256,6 +260,10 @@ new command confirmation or publication restriction.
Status: Open Status: Open
**Disposition / owner.** Independent copy-resource remediation — coordinate with the
[audio-inputs roadmap](../audio-inputs.md#reuse-and-transport-verification), which
reuses the copy path. Multi-format discovery does not remove whole-file buffering.
Original findings: [EF-01](02-efficiency.md#ef-01--p2-local-audio-copying-buffers-the-complete-recording). Original findings: [EF-01](02-efficiency.md#ef-01--p2-local-audio-copying-buffers-the-complete-recording).
**Issue.** The changed/missing local-copy path hashes a recording, reads all its **Issue.** The changed/missing local-copy path hashes a recording, reads all its
@@ -343,11 +351,13 @@ S3 is unnecessary.
Status: Open Status: Open
**Disposition / owner.** Independent audio-discovery remediation — coordinate with the **Disposition / owner.** Planned — the [audio-inputs roadmap](../audio-inputs.md)
[roadmap's preparation changes](../session-restore.md#adapt-preparation-and-operator-reporting). owns shared discovery, regular-file eligibility, broad automatic extension
Artifact-only execution does not fix raw-audio inspection; filtering, and early unresolved speaker-stem collision errors, as agreed in
[discussion topic 7](discussion.md#7-give-preparation-and-inspection-the-same-audio-selection-rules) [discussion topic 7](discussion.md#7-give-preparation-and-inspection-the-same-audio-selection-rules).
remains open. Coordinate with the [restore roadmap's preparation changes](../session-restore.md#adapt-preparation-and-operator-reporting)
without making either feature a prerequisite for the other. Implementation and
verification remain pending.
Original findings: [CX-01](03-complexity.md#cx-01--p2-audio-discovery-is-duplicated-and-inspection-rejects-valid-inputs), Original findings: [CX-01](03-complexity.md#cx-01--p2-audio-discovery-is-duplicated-and-inspection-rejects-valid-inputs),
[BN-04](11-boundaries.md#bn-04--p3-audio-discovery-is-owned-independently-by-preparation-and-inspection). [BN-04](11-boundaries.md#bn-04--p3-audio-discovery-is-owned-independently-by-preparation-and-inspection).
@@ -359,11 +369,16 @@ rejects them. The audits also identify differing duplicate-path and
file-eligibility handling. file-eligibility handling.
**Direction.** Give read-only audio selection a shared owner, preferably **Direction.** Give read-only audio selection a shared owner, preferably
`internal/audio`. Keep copying/naming/checkpoints in preparation and reporting in `internal/audio`. Keep materialization and checkpoint transitions in preparation
app. Preserve duplicate-resolved-source rejection, local destination and reporting in app. Apply the approved regular-file requirement and the
disambiguation, and the separately selected S3 basename rule. Resolve eligibility roadmap's shared case-insensitive filter for automatic discovery; explicit local
differences against the existing contract rather than adopting the strictest file selections and manifest-registered audio remain extension-agnostic. Preserve
check. Retain cross-consumer regression coverage. duplicate-resolved-source rejection, existing local prepared-name disambiguation,
and the separately selected S3 basename rule. Retain stem-based speaker IDs and
reject remaining cross-extension stem collisions during discovery, identifying
both sources after existing disambiguation. Verify consistent mixed-format
selection, downstream acceptance, transport, and local retry across consumers
without imposing backend codec guarantees.
Related: [CAT-13](#cat-13--p2-give-s3-session-planning-the-evidence-needed-for-truthful-reuse-decisions). Related: [CAT-13](#cat-13--p2-give-s3-session-planning-the-evidence-needed-for-truthful-reuse-decisions).
@@ -374,7 +389,10 @@ Status: Open
**Disposition / owner.** Independent planning/preflight remediation — the [agreed decision](discussion.md#3-inspect-s3-when-planning-and-preflighting) **Disposition / owner.** Independent planning/preflight remediation — the [agreed decision](discussion.md#3-inspect-s3-when-planning-and-preflighting)
selects read-only S3 checks for both commands. Coordinate with the selects read-only S3 checks for both commands. Coordinate with the
[restore roadmap's planning changes](../session-restore.md#preparation-and-readiness-support-artifact-only-execution); [restore roadmap's planning changes](../session-restore.md#preparation-and-readiness-support-artifact-only-execution);
skipping covered audio work does not fix planning for raw-audio sessions. skipping covered audio work does not fix planning for raw-audio sessions. Use the
[audio roadmap's shared selection rules](../audio-inputs.md#one-selection-responsibility)
when composing raw-audio evidence; discovery consolidation alone does not supply
the missing remote collaborator.
Original findings: [FC-03](01-correctness.md#fc-03--p2-session-planning-reports-reusable-s3-preparation-as-changed). Original findings: [FC-03](01-correctness.md#fc-03--p2-session-planning-reports-reusable-s3-preparation-as-changed).

View File

@@ -1,6 +1,6 @@
# Audit Remediation Discussion # Audit Remediation Discussion
Status: Discussion in progress Status: Main directions agreed; lock contention choice remains
## Purpose ## 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 and distinguishes recommendations from approved scope. No remediation has been
implemented by this document. implemented by this document.
The operator has settled the main direction for topics 1 through 6. Topic 7 The operator has settled the main direction for all seven topics. Topic 1 retains
needs discussion. Each open topic ends with a question and space for a the smaller choice about waiting versus reporting a busy workspace. The
response. Implementation details can be settled during planning after the [session-restore](../session-restore.md) and [audio-inputs](../audio-inputs.md)
operator-facing behavior is clear. 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 ## 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 ## 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). 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 ### Concrete example
The operator selects `first/speaker.flac` and `second/speaker.flac`. Preparation 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 check but fail the latter. The audit does not establish successful end-to-end
support for those non-regular sources. support for those non-regular sources.
### Recommendation ### Agreed direction
Share read-only selection rules. Accept distinct local recordings with matching Share read-only selection rules. Accept distinct local recordings with matching
basenames and retain preparation's rejection of duplicate resolved source paths. basenames and retain preparation's rejection of duplicate resolved source paths.
Keep destination naming in preparation. Keep the separately selected S3 basename Keep materialization and checkpoint transitions with preparation and reporting
rule distinct from local selection. 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 Local recording sources must resolve to regular files. This supports repeated
files as the supported file-input surface. That fits repeated reading, hashing, reading, hashing, and resume. Existing path and symlink rules remain separate.
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.
### 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 Preserve stem-based speaker IDs. After existing prepared-name disambiguation,
selection behavior without tightening file eligibility. This minimizes behavior reject remaining same-stem collisions across extensions during shared discovery,
changes. Unusual non-regular sources may then fail later during reading or identify both sources, and ask the operator to select one encoding or rename the
transcription rather than at discovery. The broader acceptance should not be recordings. Distinct same-full-basename local recordings remain supported. This
presented as evidence that streaming pipes and devices are supported end to end. moves the existing transcription ambiguity failure earlier without adding
automatic cross-extension renaming or content-based deduplication.
### Question for discussion The roadmap extends CAT-12's shared-discovery remediation with the subsequently
approved multi-format behavior. Audio generation identity and transfer bounds
Should the shared discovery contract require regular recording files, or preserve remain the separate corrections agreed under topic 4. Publication import is
preparation's broader initial eligibility check? I recommend regular files, with independent of raw-audio discovery; neither feature roadmap requires completing
no additional filesystem restrictions bundled into that choice. the other first.
Operator response: 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 ## After Discussion
Record approved answers here, then prepare a remediation roadmap against the Prepare remediation plans against the catalog, using the two feature roadmaps
catalog. The roadmap should distinguish agreed behavior changes from internal for their assigned work. Distinguish agreed behavior changes from internal
refactoring, retain the audit evidence links, and include focused regression refactoring, retain the audit evidence links, and include focused regression
coverage. This document does not authorize implementing unresolved recommendations coverage. Confirm topic 1's contention behavior when planning the lock fix.
or replacing existing policies before those choices are settled. Recording an approved direction does not close its findings or change current
policy; implementation and verification remain outstanding.