using-determinism-and-replay
БесплатноБез исполняемых скриптовНе проверенUse when past stateful execution must be reproduced or investigated: RNG isolation, snapshots, external-effect substitution, scheduling, rollback or…
от tachyon-beep★ 16 звёзд на GitHubОб этом скилле
Determinism and replay
Design or repair reproducible execution against a named equivalence predicate. Logical equivalence, numeric tolerance and bit-exact identity are different obligations.
Work from the affected contract
- Specify which executions must agree, over what state, environment and tolerance. Name the observation points and the cost the requirement justifies.
- Trace randomness and nondeterministic inputs. Give independent components stable RNG ownership and record seeds, generator states, external inputs and relevant toolchain/environment identity.
- Enumerate snapshot closure, restore order and state excluded from replay. Capture or substitute clocks, network/storage effects and scheduler-dependent observations.
- Separate read-only replay from counterfactual branches and live side effects. Add compare points and locate the first divergent step rather than diffing only final outputs.
- Run repeated/restore/branch tests under the declared predicate. Test perturbations in component order or concurrency when those lie inside the promised environment.
Scope and completion
For a local reproduction, seeds and RNG isolation may suffice. Add snapshots or full replay machinery only for the required investigation/rollback operations. Report determinism class, captured/excluded state, measured costs and actual checks; do not promise cross-device bit equality from a seed alone.
Use the user’s existing intent and authorization. Ask only for missing information that materially changes the result; use additional reviewers when they address a concrete uncertainty. Treat unavailable checks as gaps rather than successful verification.
Focused references
Read only the relevant sections. These are optional technical references, not a required reading sequence or a checklist of artifacts to manufacture. Verify version-specific recipes against the installed toolchain.
| Concern | Reference |
|---|---|
| Canonical State Encoding for Replay | canonical-state-encoding-for-replay.md |
| Cost of Determinism | cost-of-determinism.md |
| Determinism Under Concurrency | determinism-under-concurrency.md |
| Determinism vs Reproducibility | determinism-vs-reproducibility.md |
| Divergence Detection and Localisation | divergence-detection-and-localisation.md |
| External Effects Substitution | external-effects-substitution.md |
| Floating-Point Determinism | floating-point-determinism.md |
| GPU Determinism | gpu-determinism.md |
| Property Tests as Determinism Checks | property-tests-as-determinism-checks.md |
| Replay Infrastructure Design | replay-infrastructure-design.md |
| RNG Isolation Patterns | rng-isolation-patterns.md |
| Seed Governance | seed-governance.md |
| Snapshot Strategy | snapshot-strategy.md |
Optional task entry points
- diagnose-divergence: Diagnose divergence for the affected determinism and replay contract, with scoped source and verification evidence.
- scaffold-replay-system: Scaffold replay system for the affected determinism and replay contract, with scoped source and verification evidence.
- verify-replay: Verify replay for the affected determinism and replay contract, with scoped source and verification evidence.
Use a specialist agent for a bounded independent investigation or review when useful. Available roles: determinism-reviewer, replay-debugger. No fixed reviewer count is required.
Установить using-determinism-and-replay в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл using-determinism-and-replay?
Use when past stateful execution must be reproduced or investigated: RNG isolation, snapshots, external-effect substitution, scheduling, rollback or first-divergence localization.
Как установить скилл using-determinism-and-replay?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл using-determinism-and-replay запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic