ton-bug-triage
БесплатноЗапускает вложенные скриптыНе проверенReproduce TON bugs on a local tontester network. Use only when the task involves launching tontester validators, deploying contracts to a local network, or…
от jiayaoqijia★ 81 звезда на GitHubОб этом скилле
TON Bug Triage
Use this skill when the job is to prove something on a local tontester network, not just to launch validators.
Typical triggers:
- deploy a contract and trigger a bug with an internal message
- compare baseline and probing validator builds
- verify a crash, liveness failure, malformed-packet path, or compatibility claim
- collect maintainer-ready evidence for a local TON repro
The standard is: choose the smallest topology that answers the question, define the success condition before running, and collect enough evidence that the result is interpretable.
Working Model
Keep these paths distinct:
- Skill scripts: files under this skill directory, such as
scripts/run_basic_network.py - Source tree: the real TON checkout passed as
--repo-root - Build directory: binaries and libraries such as
validator-engine,create-state,tonlibjson, andtolk - Work directory: per-run state, logs, configs, and emitted artifacts
Do not assume the skill directory and the repo are the same thing. The scripts live in the skill. They operate on the repo and build you pass in.
wallet-env.txt is the main handoff artifact between the launcher and follow-up helpers.
These helpers depend on tontester internals and private APIs. If tontester changes, expect to adjust helper behavior, generated bindings, or command assumptions.
Workflow Selection
Choose one workflow before running anything:
Workflow A — trigger via transactionUse this when the bug is reached by deploying a contract, sending an internal message, or delivering a malformed/custom payload to a contract account.Workflow B — trigger via validator behaviorUse this when the bug requires patched validator code, mixed builds, consensus interference, malformed protocol packets, reordered traffic, or deliberately invalid block behavior.
If a repro touches both, ask one question first: can you trigger it on an unmodified network after a normal deploy/send path? If yes, start with Workflow A. If no, treat it as Workflow B.
Core Rules
Start with the smallest network that can answer the question. Use one validator unless the path needs peers, consensus, or mixed builds.
Prefer ordinary deploy/send flow over zerostate edits. If the bug only reproduces after zerostate mutation, say that clearly.
Keep baseline and probing builds separate. Usually
vanilla-build/is baseline andbuild/orbuild-probing/is the modified build.Decide the success condition before running. Examples: target
mc_seqno, explicit crash marker, process death, active contract account, inspected transaction, or honest-node rejection of a malformed packet.For Workflow B, make the probing node self-immune. Operational meaning: the probing node may emit malformed or adversarial behavior, but it must stay alive until the target effect is observed on the honest nodes. A run is invalid if the probing node dies first and that death could explain the outcome.
Record enough evidence to rerun the exact scenario. Keep the run directory, the build directories, the commands, the relevant addresses, and the exported artifacts.
Before calling something maintainer-ready, rerun it from a clean checkout or detached worktree with only the intended artifacts.
Core Scripts
Prefer the bundled scripts over one-off shell sequences.
scripts/run_basic_network.pyLaunch one or more validators from a single build. Supports--emit-wallet-env,--base-port,--validators, and--keep-alive.scripts/run_mixed_network.pyLaunch baseline and probing validators from different build directories. Use this for malicious-vs-honest experiments, log-based crash detection, and probing-node survival checks.scripts/compile_tolk.pyCompile a.tolksource to.fifand materialize the contract code BoC. It hard-fails if thetolkbinary is stale relative to repoHEAD.scripts/build_stateinit.pyBuild a deployableStateInitBoC from code plus optional data and library-dictionary BoCs.scripts/run_fift_script.pyRun a.fifscript with the correct include paths.scripts/wallet_send.pyBuild and optionally send a wallet-signed message. Use--init-bocfor deployment and--body-bocfor arbitrary internal payloads.scripts/send_boc.pySend a prebuilt serialized external message BoC through tonlib without rebuilding it viawallet_send.py.scripts/address_info.pyNormalize and inspect raw and friendly TON address forms when helper inputs need to be cross-checked.scripts/account_state.pyFetch raw account state and dump code/data BoCs for inspection.scripts/get_method.pyRun a get-method through tonlib and print JSON.scripts/inspect_latest_transaction.pyFetch the latest account transaction, export raw transaction data, and save message body/init-state BoCs when tonlib returns them asmsg.dataRaw.scripts/run_liteclient.pyRun a `li
Установить ton-bug-triage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ton-bug-triage?
Reproduce TON bugs on a local tontester network. Use only when the task involves launching tontester validators, deploying contracts to a local network, or comparing patched validator builds — not for general TON development or testnet interaction.
Как установить скилл ton-bug-triage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ton-bug-triage запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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