docs(code-runtime-python): name the roster aliases by subset direction, align metering prose

Rename UnionCoversRoster/RosterCoversUnion to UnionSubsetOfRoster/RosterSubsetOfUnion so
the names read in the same direction as their extends clauses, share the python3 -I -B
flags between the two mirror probes, and align the README and Agent Note prose with the
checkDoneValue JSDoc: the escaped-size scan is the metering itself, not deferred work.
Regenerate docs/module-graph.md, which listed code-runtime-python twice.
This commit is contained in:
Chinesezjc
2026-08-07 15:37:19 +08:00
parent d3d1cac0e2
commit 5dad49f4db
9 changed files with 19 additions and 17 deletions
@@ -205,12 +205,12 @@ type RosterMessageFrames = Exclude<WireFrameShapes[keyof WireFrameShapes], Names
* `false`, failing the assignment below. Type-only; the `const`s emit nothing
* meaningful at runtime.
*/
type UnionCoversRoster = [MessageFrames] extends [RosterMessageFrames] ? true : false
type RosterCoversUnion = [RosterMessageFrames] extends [MessageFrames] ? true : false
const _unionCoversRoster: UnionCoversRoster = true
const _rosterCoversUnion: RosterCoversUnion = true
void _unionCoversRoster
void _rosterCoversUnion
type UnionSubsetOfRoster = [MessageFrames] extends [RosterMessageFrames] ? true : false
type RosterSubsetOfUnion = [RosterMessageFrames] extends [MessageFrames] ? true : false
const _unionSubsetOfRoster: UnionSubsetOfRoster = true
const _rosterSubsetOfUnion: RosterSubsetOfUnion = true
void _unionSubsetOfRoster
void _rosterSubsetOfUnion
/**
* Each frame's wire fields tagged by required/optional, keyed by field name so