fix: Whisper liest /work/in nur, Restrisiko des Abschreib-Pods dokumentiert
Der Decoder-Container mountet /work/in schreibgeschützt und nur /work/out beschreibbar (Policy-Test); ingest ignoriert Ergebnisse zu Aufnahmen außerhalb des Manifests (Test). ARCHITECTURE Annahme 106 beschreibt das getragene Restrisiko (DNS im Pod-Netz, Sicht auf den eigenen Lauf) und stärkere Optionen für später. Refs #27 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
c53810b8a6
commit
484d799a36
4 files changed
+31
-4
No files matched your search
@@ -175,6 +175,18 @@ describe('voice work dir', () => {
|
||||
expect([...results.values()]).toEqual([null, null, null]);
|
||||
});
|
||||
|
||||
it('ignores result files for captures that are not in the manifest', async () => {
|
||||
const manifest = await writeInputs(dir, [
|
||||
{ claim: CLAIM('ck1'), audio: Buffer.from('a') },
|
||||
]);
|
||||
await writeOut('ck1', result('ck1'));
|
||||
await writeOut('planted', result('planted'));
|
||||
|
||||
const results = await readResults(dir, manifest);
|
||||
|
||||
expect([...results.keys()]).toEqual(['ck1']);
|
||||
});
|
||||
|
||||
it('clears input and output', async () => {
|
||||
await writeInputs(dir, [{ claim: CLAIM('ck1'), audio: Buffer.from('a') }]);
|
||||
await writeOut('ck1', result('ck1'));
|
||||
|
||||
Reference in new issue
Block a user