Credits after conversion

Bass stem. Resampled to 44.1 kHz by ffmpeg 9.0.1 with its BEXT-writing option (‑write_bext 1).1:05:18.37embedded start. Expected: 1:00:00.00. Writer splits gone.refused

Agents wrote the audio tools. A separate check, kept outside their folders, decides whether a converted stem still carries the same credits, splits and start position.

Deterministic test signals. No third-party recordings. FileEaters exports and watermarking not tested.

Delivery check
Title
Night Drive, bass stem v3
Source
bass.wav, 48 kHz, 24-bit Broadcast Wave, credits written in iXML and ID3
Transformation
Resampled to 44.1 kHz by ffmpeg 9.0.1 with its BEXT-writing option (‑write_bext 1).
What changed

Writer splits gone. Inès Valdés 60.00 and Théo Marlow 40.00 are no longer anywhere in the file.

Start timestamp wrong. The timestamp says where the stem sits on the session timeline. Its sample count was copied as is (172,800,000), but the sample rate changed.

Embedded start1:05:18.37Expected 1:00:00.00

An application that uses this timestamp would place the stem 5 min 18 s late. No application import was tested.

Decision
refusedA value can survive a conversion and still be wrong. The check compares meaning, not bytes.

Technical: bext TimeReference 172,800,000, unchanged from the 48 kHz source. The same start at 44,100 Hz is 158,760,000.

Agents build, a separate check judges

Each builder agent got a task, one file it could write, and a few helpers, in a folder of its own. The check ran its output and sent back the report. Other agents tried to get wrong files past the check.

Measured, not claimed: no read of the check's files appears in the builders' traces, and the rules and fixtures were unchanged after every take (verified by hash). This is a folder and a tool list, not a sandbox.

Proof 1. A tool failed the check, and its agent fixed it

Restoring adapter

Puts the delivery metadata back after ffmpeg resamples a stem.

  1. Take 1check refused

    The adapter written by the earlier run, checked as is.

    Source with two iXML copies whose splits disagree (60/40 and 70/30): the check refuses that source, the tool restored it anyway by keeping one copy.

  2. Take 2check passed

    The agent revised it from the report (agent run time 24 s).

    Bass and vocal stems accepted, also over its own output; the ambiguous source is now refused.

Credits writer

Writes a label's credits record (shares as "60%", start as timecode) into a bare stem.

  1. Take 1check refused

    The writer from the earlier run, checked as is.

    Shares of 60.004% and 39.996% were rounded to 60.00 and 40.00 and the tool reported success.

  2. Take 2check passed

    The agent revised it from the report (agent run time 50 s).

    48 kHz bass and 44.1 kHz vocal records accepted; unrepresentable shares now refused.

Take 1 of each is the tool an earlier agent wrote. It had passed the check of its day at its first take. The cases added after review (an ambiguous source, shares that cannot be written with two decimals) refused it. Run times are agent run times only.

Proof 2. Agents tried to get wrong files accepted

RoundWrong files writtenAccepted at firstAccepted after the rule fixes
Round 1, a new agent880
Round 2, a new agent880
Round 3, a new agent860
Review of the finished page by another model family98, and 1 crashed the check0

Holes were fixed in the rules by a person, never by the agents. Replaying a round after fixing its holes only proves those holes are closed. The rules as they stand now have not yet faced a new round.

Every wrong file and the rule it led to

The descriptions are the attacking agents' own. What a label, a DAW or a publisher would then do with the file was not tested.

Round 1

  • The credits add a third writer 'Ines Valdes' with another IPI and society claiming 60 % on top of the real 100 %, so royalties would be paid to a different person.first: acceptedrule: every credited entry must match exactly one expected writer; the writer count is checkednow: refused. Writer splits: altered (unexpected writer: Ines Valdes)
  • The credits document ties these splits to a different recording (ISRC ZZTST2600099) and a different publisher, so the label would register the splits against the wrong recording and pay the wrong publisher.first: acceptedrule: the credits record must name this recording's ISRC and this publishernow: refused. Writer splits: altered (credits attached to another recording: ZZTST2600099)
  • The iXML credits read by DAWs and session tools say 70/30 instead of 60/40, so the file carries two contradictory writer splits.first: acceptedrule: a carrier whose credits cannot be read makes the splits contradictory instead of being ignorednow: refused. Writer splits: contradictory (iXML USER: unreadable profile: float 70.0 not allowed)
  • The file is labelled ND-BASS v3 but contains the vocal stem's audio, so the mix would get two vocal tracks and no bass.first: acceptedrule: the decoded audio must be this stem's test tone (frequency within 2 %)now: refused. Audio: altered (channel 1: content is a 439.75 Hz tone, this stem's test tone is 110 Hz)
  • The stem is pure digital silence of the right length: the bass part is missing from the delivery.first: acceptedrule: level within 1 dB of the test tone on every channelnow: refused. Audio: altered (channel 1: silent)
  • The bass content starts 500 ms after the declared start position (and its last 500 ms are cut), so when spotted at 1:00:00 it plays out of sync with the other stems.first: acceptedrule: audio must be audible from the first sample to the last (tolerance 2 ms, or the codec delay for MP3 and AAC)now: refused. Audio: altered (channel 1: audio starts 0.50 s late)
  • The 24-bit master was replaced by 8-bit mu-law telephony audio, a lossy format that is not a Broadcast Wave PCM stem and would degrade the mix.first: acceptedrule: WAV and AIFF deliveries must carry linear PCM of 16 bits or morenow: refused. Audio: altered (audio is pcm_mulaw, not linear PCM of 16 bits or more)
  • iXML FILE_UID says ND-VOX-v2 and the titles say 'vocal stem', so a DAW or asset system would file this bass stem as the vocal stem.first: acceptedrule: iXML FILE_UID and the titles in INFO and ID3 must name the same stem as the credits recordnow: refused. Stem identity: altered (iXML FILE_UID is 'ND-VOX-v2', expected 'ND-BASS-v3')

Round 2

  • The file carries a second credits record giving a 70/30 writer split under ID3 TXXX 'cac_credits', which the check ignores but case-insensitive readers such as ffmpeg pick up, so a publisher or collecting society can register the wrong split.first: acceptedrule: a credits record under any spelling of TXXX:CAC_CREDITS is read and must agreenow: refused. Writer splits: contradictory (ID3 TXXX:cac_credits (mutagen 1.48.1 (translate=False)): share changed for Inès Valdés: 60.00 became 70.00; share changed for Théo Marlow: 40.00 became 30.00)
  • iXML SPEED and its BEXT mirror hold the 44.1 kHz sample count (158,760,000) declared at 48 kHz, so DAWs and conform tools that read iXML place the stem at 0:55:07.50 instead of 1:00:00.first: acceptedrule: the iXML SPEED timestamp and BEXT mirror must give the same start as bextnow: refused. Start position: contradictory (bext says 1:00:00.00, but iXML SPEED timestamp says 0:55:07.50 (158,760,000 samples at 48000 Hz); iXML BEXT time reference says 0:55:07.50 (158,760,000 samples at 48000 Hz))
  • The bass stem's iXML BWF_ORIGINATOR_REFERENCE says ND-VOX-v2 and its tracks are named VOX L/R, so asset managers and DAW import tools that read iXML file or label it as the vocal stem.first: acceptedrule: the iXML BWF_ORIGINATOR_REFERENCE mirror must name this stemnow: refused. Stem identity: altered (iXML BWF_ORIGINATOR_REFERENCE is 'ND-VOX-v2', expected 'ND-BASS-v3')
  • The right channel is polarity-inverted, so the bass cancels completely when the stem is folded to mono or summed with a correctly phased copy.first: acceptedrule: a sine fit at the stem's tone, per channel: polaritynow: refused. Audio: altered (channel 2: polarity inverted)
  • The bass stem also contains the vocal stem's content 18 dB down, so muting the vocal in a remix or instrumental version still leaves it audible.first: acceptedrule: what remains after removing the tone must stay below -60 dB (-40 dB for MP3 and AAC)now: refused. Audio: altered (channel 1: -18.1 dB of content other than this stem's tone (limit -60.0 dB): bleed, gap or noise)
  • The vocal stem has a 25 ms digital dropout at 1.000 s, an audible gap that ends up in any mix built from this delivery.first: acceptedrule: same residual limit: a gap leaves the fitted tone behindnow: refused. Audio: altered (channel 1: -18.6 dB of content other than this stem's tone (limit -60.0 dB): bleed, gap or noise)
  • The whole bass stem is 64 samples late (uncompensated plugin latency) while bext still says 1:00:00, so it is out of phase with the other stems when they are lined up.first: acceptedrule: the fitted tone must start on time within half a sample (2 samples for MP3 and AAC)now: refused. Audio: altered (channel 1: audio shifted by +64.0 samples (+1.33 ms))
  • The right channel of the vocal stem is 48 samples behind the left, which smears the stereo image and comb-filters the vocal when the stem is summed to mono.first: acceptedrule: same timing limit, per channelnow: refused. Audio: altered (channel 2: audio shifted by +48.0 samples (+1.00 ms))

Round 3

  • The bass stem carries a second RIFF INFO list titling it 'Night Drive (vocal stem)', and tools that keep the last INFO list (ffmpeg-based catalogues among them) file it as the vocal stem.first: acceptedrule: any chunk present twice (INFO list, data, bext, iXML, id3) refuses the filenow: refused. container anomalies: 2 'LIST/INFO' chunks in one file: readers disagree on which one counts
  • The iXML TRACK_LIST names both channels 'ND-VOX Lead Vocal', so a DAW importing the bass stem creates tracks and clips labelled as the lead vocal.first: acceptedrule: iXML track names may not name another stemnow: refused. Stem identity: altered (iXML track name 'ND-VOX Lead Vocal L' names the vox stem (ND-VOX))
  • RIFF INFO ISMP gives the start time code as 00:59:58:00 while bext says 01:00:00:00, so a tool spotting the vocal stem from INFO (ffmpeg exposes it as the file timecode) places it two seconds early.first: acceptedrule: RIFF INFO ISMP time code must give the same start as bextnow: refused. Start position: contradictory (bext says 1:00:00.00, but RIFF INFO ISMP says 00:59:58:00)
  • The file's axml chunk declares a 50/50 writer split while the credits profile says 60/40, so a publisher ingesting the BWF XML chunk registers the wrong shares for the composition.first: acceptedrule: an axml, XMP or cart chunk is refused as an unsupported metadata format: the check cannot validate it (a harmless axml is refused the same way)now: refused. container anomalies: 'axml' chunk present: unsupported metadata format, cannot validate
  • The credits document holds two 'writers' tables (75/25 then 60/40); which split a registration system records depends on its JSON parser, so the writer shares are ambiguous.first: acceptedrule: a credits record with a duplicated key is unreadablenow: refused. Writer splits: altered (iXML USER: unreadable profile: duplicate key 'writers')
  • The vocal stem has a 25 ms digital dropout 40 ms after its start, an audible gap on the first note that the studio would have to repair before the mix.first: refusednow: refused. Audio: altered (channel 1: -38.1 dB of content other than this stem's tone (limit -60.0 dB): bleed, gap or noise)
  • The bass stem has a -1 dBFS click 50 ms before its end, an audible pop that ends up in the mix.first: refusednow: refused. Audio: altered (channel 1: -58.9 dB of content other than this stem's tone (limit -60.0 dB): bleed, gap or noise)
  • The bass stem file contains two data chunks, the first one holding the vocal audio, so DAWs and libsndfile-based tools that play the first data chunk deliver vocals on the bass track.first: acceptedrule: same duplicate-chunk rulenow: refused. container anomalies: 2 'data' chunks in one file: readers disagree on which one counts

Every conversion, field by field

Each field is judged on four questions: where it is stored, whether it still means the same thing, which reader recovers it, and whether the file passes. Missing optional credits do not refuse a file; credits that are present but wrong do. No score adds them up.

One 48 kHz, 24-bit stem with its credits written in iXML, ID3, INFO and bext, through the conversions a delivery meets. Our adapter columns evaluate our own chain after ffmpeg, not ffmpeg.

Source file Bass stem, no conversionreferenceAccepted
ffmpeg Resample 48 to 44.1 kHzdefault optionsRefused
ffmpeg Resample 48 to 44.1 kHz-write_bext 1Refused
  • Start position, ffmpeg, Resample 48 to 44.1 kHz

    -write_bext 1, source bass.wav

    Integrity

    identical but wrong

    • the number was kept (172,800,000) but the sample rate changed to 44100 Hz: the stem now starts at 1:05:18.37 instead of 1:00:00.00

    Storage, where it physically is

    bext TimeReference

    Reading, which reader recovers it

    • cac-chunks 1.0.0: reads it
    • ffprobe: reads it

    Expected, from the reference model

    1:00:00.00 = 158,760,000 samples at 44100 Hz

    Found in the output

    1:05:18.37 = 172,800,000 samples at 44100 Hz

    Command, run as written

    ffmpeg -nostdin -v error -y -i bass.wav -ar 44100 -c:a pcm_s24le -write_bext 1 out.wav
ffmpeg 24 to 16 bit, same rate-write_bext 1Refused
afconvert Resample 48 to 44.1 kHzdefault optionsRefused
afconvert 24 to 16 bit, same ratedefault optionsRefused
sox Resample 48 to 44.1 kHzdefault optionsRefused
flac WAV to FLAC and backdefault optionsRefused
flac The FLAC file itselfpreservation optionRefused
flac WAV to FLAC and backpreservation optionAccepted
zip Zip archive and extractdefault optionsAccepted
ffmpeg + our adapter Resample, then restore: bass stemour adapter after the converterAccepted
ffmpeg + our adapter Resample, then restore: vocal stemour adapter after the converterAccepted
The check's own counterexamples and safety cases (22, all held)
  • Reference fileaccepted
  • 44.1 kHz file with the start position rescaledaccepted
  • Names stored in decomposed Unicode (NFD)accepted
  • Shares swapped between the two writers (sum still 100)refused
  • Shares rounded to 59.99 and 40.01 (sum still 100)refused
  • Second writer missing, first at 100refused
  • First writer listed twice at 30 + 30 (sum still 100)refused
  • Accents stripped from a namerefused
  • IPI number loses its leading zerosrefused
  • Bass file carrying the vocal stem's credits recordrefused
  • 44.1 kHz file keeping the 48 kHz start numberrefused
  • iXML and ID3 carry different splitsrefused
  • An old iXML copy left next to the new onerefused
  • Container size larger than the filerefused
  • Last chunk cut shortrefused
  • iXML with an entity-expansion payloadrefused
  • 300 chunks in one filerefused
  • A text file named .wavinvalid output
  • File name containing '; touch PWNED'one literal file, nothing run
  • Output path '../escaped.wav'refused before running
  • A step that hangs (sleep 5, limit 1 s)killed, reported
  • Converter not installedtool unavailable, not a pass

These cover this harness's parser and runner only. They are not a security review. Telling an agent that metadata is data is a rule, not a tested resistance to injected instructions.

The restoring adapter on 5 variants no builder saw
  • 96 kHz source resampled to 44.1 kHzaccepted
  • Start at 23:59:00 at 96 kHz (needs the high word), to 48 kHzaccepted
  • 44.1 kHz source upsampled to 96 kHzaccepted
  • Converted by afconvert instead of ffmpegaccepted
  • afconvert to 16 bit, same rateaccepted
Agent runs we set aside, and the agents' setup

Discarded (20260925T172302Z-4db16e). The agent's workspace was the whole repository, so it read cac/acceptance.py (the rules) before writing the adapter. It passed at the first take, but a pass against rules it had read proves nothing about the check's independence. The loop was changed: the agent now works in a separate workspace without the rules, the reference model or the fixtures.

Earlier build (20260925T172552Z-2f367f). Kept: the first build of the adapter, with the rules hidden. It passed at take 1. The judge on the finished page then found that it restores an ambiguous source by keeping the first of two contradictory iXML chunks; the next run starts from this adapter.

Claude Code in print mode (opus) on a subscription, started with --safe-mode (no CLAUDE.md, skills, hooks or MCP servers) and a tool list: Read, Glob, Grep, Write(adapters/restore_metadata.py), Edit(adapters/restore_metadata.py). --safe-mode is not a file-system sandbox. The account's language setting still applied: the agents' own summaries, kept in the traces, are in French.

What this does not cover

  • Pro Tools and Logic imports, Google Drive and Dropbox round trips: not tested.
  • FileEaters exports and watermarking: not tested. The fixtures are ours, with fictional people and identifiers.
  • The check shows that declared credits were not changed or detached. It does not establish that they were true, or agreed by the people named.
  • The relations between person, IPI, society and share use an explicit profile defined here (cac-credits/1). It is not a standard. DDEX RIN is the industry route for exchanging session and contributor data; it is not implemented here.
  • The RIFF INFO tag named ISRC means Source. Recording codes are read from ID3 TSRC and their equivalents only.
  • ffprobe is recorded as a common viewer, not as a reference: it shows the TIPL role without the person.
  • Loudness fields hold test values written by the fixture builder. The check compares them; it does not measure the signal.
  • An axml, XMP or cart chunk is refused as an unsupported metadata format: the check cannot validate it, which does not mean it is wrong.

How to re-run

Download the source archive (code, tests, fixture builders, lock, agent loops, attack files, results). macOS with ffmpeg, flac and sox.

Checks only, no model

python3 -m venv .venv && .venv/bin/pip install mutagen==1.48.1 pytest
.venv/bin/python -m pytest
.venv/bin/python -m cac.run

Agent loops (needs Claude Code, signed in)

.venv/bin/python loop/orchestrate.py --max-iterations 4
.venv/bin/python loop/redteam.py --task fixtures

This page is generated from one results file: results.json.

Run
20260925T185301Z-bf1fd4
Code
a10e2e3
ffmpeg
9.0.1
afconvert
2.0, macOS 27.0 26A428
flac, sox
flac 1.5.0, sox 14.4.2_6 (Homebrew)
Readers
cac-chunks 1.0.0; mutagen 1.48.1 (translate=False); ffmpeg decode + ffprobe