Skip to content

docs/animation.md: one copy of the MoVE state-machine section (ASSET-86 landed twice) - #5756

Closed
cynbun wants to merge 1 commit into
ItsNotRexed:mainfrom
cynbun:docs-animation-move-dup
Closed

cynbun wants to merge 1 commit into
ItsNotRexed:mainfrom
cynbun:docs-animation-move-dup

Conversation

@cynbun

@cynbun cynbun commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Coordination: #5581 (claimed in #5581 (comment))

docs/animation.md had the whole ## \MoVE` state-machine containers` section (ASSET-86) twice, back to back: lines 811-891 and 892-972 on main 561b65a.

Cause. PR #2899 was merged twice. Its first commit f77d337 landed through merge da1ed80. Its reworked commit c1f812a was then merged too (1c01a0a, the same PR number), and that merge added the section again under the first copy.

What differed. The two 81-line ranges differed in one line only, the Type 1 (StateMachine) table row. The second copy (from c1f812a) has 747 child states total in the child-directory description, and the first copy does not. git log -S"747 child" shows that c1f812a is the only commit that adds the phrase.

What was kept. The second, newer copy, so the 747 row stays. The first copy is removed, which leaves one heading. The links at :112 and :457 point to #move-state-machine-containers and now resolve to that single section (before, the second copy's heading got the anchor -1). No heading in the file appears twice any more.

The 747 figure isn't stated in the #2899 description. It does match the section's other counts: 1,616 containers = 324 roots + 1,292 nested, and 1,292 = 747 children of Type 1 + 332 children of Type 3 + the 132 Type 3 and 81 Type 1 MotionTree root nodes. This is an arithmetic cross-check, not a new measurement.

Open PRs. I ran git merge-tree against main and against this branch for every open PR that touches docs/animation.md (including #4490 and #5544). None of them gets a new conflict from this change. #3459 already conflicts with main elsewhere in the file.

Tested on Linux with Python 3.14.8: all python -I tests/test_docs_*.py (11 files) pass, and git diff --check is clean. Docs only, so no GPU was involved.

AI-assisted (Claude Code).

🤖 Generated with Claude Code

…86 landed twice)

PR ItsNotRexed#2899 was merged twice: f77d337 (merge da1ed80) and the reworked
c1f812a (merge 1c01a0a), and the second merge added the whole
"MoVE state-machine containers" section again below the first. The two
81-line copies differed only in the Type 1 row, where the second has
"747 child states total". Keep the second copy and drop the first, so the
heading and #move-state-machine-containers occur once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leozinhoszg

Copy link
Copy Markdown
Contributor

Tested 5792760e on Windows 11 Pro (26200), CPython 3.14.7, no GPU, no game files: pass.

  • On main 561b65a8, the two 81-line ranges (811-891 and 892-972) differ in exactly one line, the Type 1 row. This PR keeps the copy with 747 child states total. One ## \MoVE` state-machine containersheading is left, so#move-state-machine-containers` still resolves.
  • tests/test_docs_links.py and tests/test_docs_table_rows.py: OK. git diff --check: clean.

Duplicate: #5755 makes the same change, and the resulting docs/animation.md is byte-identical (blob 18b7e1bd on both heads). This PR's claim came first: cynbun at 11:53:07 in #5581, evilclanker9000 at 11:58:55. So this is the one to keep.

AI-assisted.

@cynbun

cynbun commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

Closing in favour of #5755, which was opened a second earlier and removes the same first copy of the MoVE section (the copy with the 747 row stays in both), as the coordinator asked on #5781. AI-assisted (Claude Code).

@cynbun cynbun closed this Nov 23, 2026
@memorypressure

Copy link
Copy Markdown

Verified on your head at main 561b65a: main really carries the MoVE section twice (animation.md:811 and :892, differing only by the "747 child states total" clause) and your change leaves exactly the richer copy; docs guards green. Important coordination fact, verified here: this PR and #5755 produce a byte-identical merged tree (same tree hash) — they are exact content duplicates, so only one of the pair needs merging. Checks pending. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants