Files
AniCraft/docs
Rob CoenenandClaude Opus 5.5 3144fed2c6 fix(fla): read each stream by its own entry; tests and ADR say what they check
These come from CodeRabbit's first review, where they sat in the review
body rather than in threads.

Container and dump:
- `Compound::read_entry` reads the entry itself, and a stream path's
  first entry is indexed. A damaged file that lists one path twice now
  dumps each entry's own bytes beside its own size, and lookups no
  longer scan the directory.
- `fla-dump --stream` reads only that stream (`dump_only`), so another
  stream's damage can't fail it. A stream the file doesn't have is said.

Tests:
- The FAT-loop test needs the file to open, and needs the stream's loop
  refused.
- The test writer marks its FAT sectors FATSECT, as [MS-CFB] 2.3 says.
- The corpus tests compare the scene count.
- A twin member that is listed but can't be read fails the test instead
  of shrinking what is compared.
- The stage test covers every pinned pair.
- Text runs compare the full character position.
- The one tolerated text-bounds difference is pinned to the value seen.
- The own-media test fails on any twin that doesn't import, and on any
  corpus folder it can't list. It knows the two downloads that are zips
  of documents.

ADR 0120:
- the Stage 1 scope reads as history;
- the openspec path is gone;
- the shape check names what it compares (edges and style indices);
- the text check says 372 records pair and 371 match field for field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:29:53 +01:00
..