fix(tools): emit Python SDK members in one lexicographic stream

The Python renderer partitioned identifier methods ahead of subscript
comments, so a tool set like {a-tool, z} emitted z first — contradicting
the documented lexicographic contract and the TypeScript flavor, which
quotes exotic keys in place. Interleave both kinds in one ordered stream
and track emitted statements for the pass fallback.

Also correct four stale serialization claims in the base Code Mode note
that the live-parallel scheduler superseded.
This commit is contained in:
Chinesezjc
2026-08-05 12:59:20 +08:00
parent 0220e06633
commit 698fdaea9b
5 changed files with 40 additions and 23 deletions
@@ -2,5 +2,5 @@
# side as of the last confirmed-consistent state. Both languages carry equal authority;
# after editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write .agents/notes/implemented/feature/2026-06-15-code-mode.md
2026-06-15-code-mode.md: 2bbd2357ce3ec19acac732c1f63a88d5b47dc3a8
2026-06-15-code-mode.zh.md: 94ee9ae09763a7e8d6e27b3bed7b7a6443a55566
2026-06-15-code-mode.md: 4aa735fbe18a160fa69b9130fa8cb843f7be5723
2026-06-15-code-mode.zh.md: 642e8d5d24390fb14b050e2d255cc3f7112413c8