Files
AniCraft/docs/adr
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
..

Architecture decision records

One file per decision: NNNN-short-title.md, numbered in order. The files in this folder are the index.

Numbers never move

A pull request keeps the ADR number it was given until it merges or closes, so its author never has to renumber because another PR merged first.

  • Taking a number: use the next number above every ADR in this folder and every number in the table below. Add your number to the table in the same PR (or ask a maintainer to reserve it for you before you start).
  • Reserved numbers are skipped. No other PR may use a reserved number, even if a lower number looks free on main. Gaps in the sequence are expected.
  • When a PR merges, its row leaves the table (the ADR file now holds the number). When a PR closes without merging, its row leaves the table and the number stays unused.
  • Maintainers keep this table current for open pull requests from anyone, including outside contributors whose PR already contains an ADR: that PR's number is reserved as it is.

Reserved for open pull requests

Number Pull request Topic
0037 #38 (outside contribution) Interface languages
0120 #478 Legacy Flash 8–CS4 .fla import (compound binary container)