flybrain/packages/session-types/tests
acamilo bbf71bfead session types: the legacy Game Boy profile and the RT-01a extension methods
PROF-02a and RT-01a, machine-readable half, per the operator's port decisions of 2026-09-23.

Generic (in the session schema set, so contractDigest moves):
- AgentTelemetry.stimulusRemainingMs (number|null): sugar admission reads the pulse from the
  last commit.
- EpisodeRequest.kind is terminal | rollback.
- Environment.SaveSlot / Environment.RestoreSlot (capability gameboy-slots-v1) and
  Agent.Rollback (capability legacy-ratchet-rollback-v1) payloads, with their scope checks;
  maxSlots 4.

Legacy Game Boy (module gameboy, digested apart from contractDigest):
- registered payload schemas gameboy-readout-context-v1, gameboy-channels-v1,
  gameboy-joypad-v1, gameboy-memory-inspection-v1, legacy-ratchet-rollback-v1, each SchemaRef
  digest over its canonical declaration;
- the one legacy profile gameboy-legacy-fafb-v783-v1 embedding today's schema-1 fingerprint,
  lif-1ms-f64-v2 and fly-kc-mbon-rstdp-v2, with its AssetRef digest;
- the composition declaration carrying the decoder and macro-channel configuration, the
  executor pokered-macros-v1, gameboy-slots-v1, legacy-ratchet-rollback-v1,
  legacy-transient-reset and FLYSIM01 as format of record, cross-checked against the FLYSIM01
  compatibility string.

Fixtures regenerated by update_fixtures (new derived gameboy-legacy.json); valid/invalid cases
for every new type in both languages; the frame clock proven identical to the legacy f64
accumulator. flysim gains only a test (and a dev-dependency) that recomputes the pinned
fingerprint, versions, frame size, warm-up, clock and button order. The synthetic fly-session
agent reports stimulusRemainingMs null and its task names kind terminal; no runtime change.
2026-09-23 08:31:58 +00:00
..
canonical.test.ts feat(session-types): the TypeScript half of the contracts, over the same fixtures 2026-09-22 11:54:13 +00:00
checkpoint.test.ts feat(session-types): the TypeScript half of the contracts, over the same fixtures 2026-09-22 11:54:13 +00:00
descriptor-checks.test.ts feat(session-types): the TypeScript half of the contracts, over the same fixtures 2026-09-22 11:54:13 +00:00
encodings.test.ts feat(session-types): the TypeScript half of the contracts, over the same fixtures 2026-09-22 11:54:13 +00:00
gameboy.test.ts session types: the legacy Game Boy profile and the RT-01a extension methods 2026-09-23 08:31:58 +00:00
payloads.test.ts feat(session-types): the TypeScript half of the contracts, over the same fixtures 2026-09-22 11:54:13 +00:00
rational.test.ts feat(session-types): the TypeScript half of the contracts, over the same fixtures 2026-09-22 11:54:13 +00:00
readers.ts session types: the legacy Game Boy profile and the RT-01a extension methods 2026-09-23 08:31:58 +00:00
schema.test.ts session types: the legacy Game Boy profile and the RT-01a extension methods 2026-09-23 08:31:58 +00:00
seeds.test.ts feat(session-types): the TypeScript half of the contracts, over the same fixtures 2026-09-22 11:54:13 +00:00
traces.test.ts feat(session-types): the TypeScript half of the contracts, over the same fixtures 2026-09-22 11:54:13 +00:00