[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BXB90ZEVHBM1R3C4Y95J3X":3,"skill-same:01M6BXB90ZEVHBM1R3C4Y95J3X":91},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":17,"ownerDescription":17,"updatedAt":50,"install":51,"resources":64},"01M6BXB90ZEVHBM1R3C4Y95J3X","test-examples","示例冒烟测试运行","Run the workspace example smoke set to catch regressions unit tests miss, covering every feature gate combination with self-terminating examples and curl-probed servers. Use when asked to run or verify the examples.","运行工作区示例冒烟测试集，以捕捉单元测试遗漏的回归问题，覆盖每一种功能开关组合，使用可自动终止的示例和经 curl 探测的服务器。当被要求运行或验证示例时使用。","mrchantey\u002Fbeet","mrchantey","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F25616826?v=4","01M6BXAMJ2N7RBWM0HZ0R6QRTV","Pete Hayman","01M6BXAMPVSZ84Q545AHAMT9N8",134,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fmrchantey\u002Fbeet\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-examples\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[31,32,33,34,35,36,37],"test","examples","test examples","unit tests","run","SET","verify","2026-11-10 10:12:30",false,"---\nname: test-examples\ndescription: Run the workspace example smoke set to catch regressions unit tests miss, covering every feature gate combination with self-terminating examples and curl-probed servers. Use when asked to run or verify the examples.\n---\n\n# Run Examples\n\nUse the workspace examples as smoke tests to catch regressions that unit and integration tests may have missed.\n\n## Context\n\nNot every example is verifiable from the CLI — many are 3D\u002F2D Bevy windowed apps, browser-driven, or TUIs that block on stdin. This skill only exercises the ones that exit on their own (or that we can probe with `curl` while they run in the background).\n\nStream the entire output of each example into `.agents\u002Ftmp\u002Fscratch.txt` (overwrite for the first command, append for subsequent ones), then grep that file. This avoids reruns when checking multiple things.\n\nTreat compile failures the same as the `test-run` skill: retry once, and if a mold linker error persists (`RUST_MIN_STACK`, \"section sizes\" etc) bump the workspace `version = \"0.0.9-dev.N\"` in `Cargo.toml`.\n\nLong-running examples must always be wrapped in `timeout` (default 60s — drop it lower once you know the example exits faster). Server examples should be launched with `run_in_background` and killed once the probe has succeeded.\n\n## Smoke Set\n\nThe set below was chosen so that each feature gate combination is exercised by at least one example, and each crate has at least one self-terminating verifier. Most examples just need an `OK` exit status; a few have specific output to grep for (noted inline).\n\n### 1. Action (`--features=action`)\n\nCovers the action runtime end-to-end: pure handlers, async handlers, control-flow nodes, state machines, score-based selectors, and timers.\n\n```sh\ncargo run --example hello_world     --features=action       # prints \"Hello, world!\"\ncargo run --example simple_action   --features=action       # caller-entity lookup\ncargo run --example behavior_tree   --features=action       # sequence + log\ncargo run --example state_machine   --features=action       # RunNext jumps\ncargo run --example repeat_while    --features=action       # loop + condition\ncargo run --example utility_ai      --features=action       # HighestScore\ncargo run --example long_running    --features=action       # 1.3s timer chain\ncargo run --example malenia         --features=action,rand  # BT + utility AI\n```\n\n### 2. Scripting (`--features=quickjs`)\n\n```sh\ncargo run --example scripting --features=quickjs             # JS Script\u003CI,O>\n```\n\n### 3. Router (`--features=router,markdown` \u002F plus extras)\n\nCLI router server, persisted router, and the codegen pipeline.\n\n```sh\ncargo run --example router           --features=router,markdown\ncargo run --example router           --features=router,markdown -- about\ncargo run --example cli              --features=router,quickjs -- greet --name=world\n# the persisted scene caches the route scripts, so regenerate it after any change\n# to script authoring or to a registered type\ncargo run --example router_serde     --features=router,quickjs,template_serde -- --new\ncargo run --example router_serde     --features=router,quickjs,template_serde\ncargo run --example router_serde     --features=router,quickjs,template_serde -- greet --name=world\n# rsx_site is a crate, not a root example: generate its routes, then serve. It\n# scans typed pages, markdown content and a server action from three collections.\ncargo run -p rsx_site --no-default-features --features codegen   # regenerate src\u002Fcodegen\u002F\ncargo run -p rsx_site                                            # http server (default)\ncargo run -p rsx_site --features cli -- guide --accept=text\u002Fhtml # render one route to stdout\n```\n\n### 4. Todo (`--features=router,json`)\n\nRound-trip the todo document: list → create → list → delete → list, ending on `[]` so `examples\u002Ftodo\u002Ftodos.json` is left as found. Keep the `--body` single-quoted wherever the command is scripted: a word-split body routes to `\u002Fcreate\u002Ftest\",..` instead. A missing route (`-- nope`) answers the markdown not-found page and exits 1, like every beet CLI.\n\n```sh\ncargo run --example todo --features=router,json -- list\ncargo run --example todo --features=router,json -- create --body='{\"description\":\"smoke test\",\"done\":false}'\ncargo run --example todo --features=router,json -- list\ncargo run --example todo --features=router,json -- delete --body=0\ncargo run --example todo --features=router,json -- list\n```\n\n### 5. Net (`--features=net,ureq,native-tls` \u002F `--features=http_server`)\n\n`http_client` hits `example.com` and asserts on the response body — skip if offline.\n\n```sh\ncargo run --example http_client --features=net,ureq,native-tls\n```\n\nFor the server side, run in background and probe with `curl`:\n\n```sh\n# launch\ncargo run --example http_server --features=http_server     # background\ncurl -s http:\u002F\u002Flocalhost:8337                              # expect 200 + body\ncurl -s http:\u002F\u002Flocalhost:8337?name=billy\n# kill the background pid\n```\n\nSame pattern for `templating` (`--features=http_server`) and `style` (`--features=http_server,style`).\n\n### 6. Per-crate examples\n\nThese belong to a specific crate so they need `-p`.\n\n```sh\ncargo run -p beet_core --example runner                    # custom test runner\ncargo run -p beet_core --example tracing                   # PrettyTracing init\ncargo run -p beet_ui   --example render_simple             # oneshot terminal render\ncargo run -p beet_ui   --example inline_formatting         # block + inline runs\ncargo run -p beet_ui   --example reactive                  # prints \"success\"\ncargo run -p beet_ui   --example build_css   --features=style       # writes target\u002Fexamples\u002Fstyle\u002F*\ncargo run -p beet_ml   --example hello_ml_basic                     # downloads bert (~90MB, slow first run)\ncargo run -p beet_ml   --example hello_rl_basic --features=bevy_default\n```\n\n### 7. Workspace ML (`--features=examples,ml`)\n\nThe `examples,ml` feature only gates windowed scene code (now scene modules in `beet_extra`, not runnable `--example` targets), so there is no self-terminating CLI smoke here. The runtime ML smoke lives in the crate (`hello_ml_basic`, section 6); this feature's compilation is covered by the skip-set check below (and is the only coverage, since `beet_extra` is excluded from the test crates).\n\n### 8. BSX scenes (`beet --entry=\u003Cfile>.bsx`)\n\nThe no-code `.bsx` scenes run through the installed beet CLI (when editing rust, `cargo run -p beet-cli --features=.. -- \u003Cargs>` instead, so the scenes run against the working tree). Each entry documents its own `beet --entry=..` command in its header, and an entry that declares its hard requirements with `\u003CRequireCfg>` fails fast on a leaner binary, naming what is missing. The self-terminating ones render and exit:\n\nA documented command never carries `--required-features`: that is the entry's own `\u003CRequireCfg>`'s job. The binary still has to *link* the capability though, and the demo scenes name actions from `beet_extra`, which is the `extra` cargo feature. Build the CLI once with what the set needs and run everything against it:\n\n```sh\ncargo build -p beet-cli --features=extra        # every scene below except the ml one\ncargo build -p beet-cli --features=extra,ml     # adds `hello_ml.bsx`\n```\n\nEvery action scene naming a `beet_extra` action (`hello_world`, `simple_action`, `long_running`, `malenia`, `state_machine`, `scripting`) declares `\u003CRequireCfg cfg=\"feature:extra\"\u002F>` beside its root element, where the entry prescan consumes it rather than building it into the `\u003CSequence>`, so a binary without `extra` refuses the load before anything builds, logging `this binary does not satisfy \u003CRequireCfg cfg=\"feature:extra\"\u002F>` with the unmet `feature:extra` on the next line. `behavior_tree`, `repeat_while`, `utility_ai` and `world_script` use only the core vocabulary and run on any build. `winit` enables `extra`, so the windowed build satisfies the requirement too.\n\nThe `ml` build pulls `winit` and bevy_render, so every scene brings up a wgpu device and compiles bevy's compute pipelines on its async compute pool whether or not it needs a GPU; a short scene exits while those compiles are still in the driver. A segfault inside `libnvidia-glcore` during `create_compute_pipeline` (or an `NVVM compilation failed` + `DeviceLost` log) is an exit tearing the driver down beneath that thread, which `process_ext::exit` avoids by `_exit`ing. It is a regression, never host noise: `__GL_SHADER_DISK_CACHE=0` forces every compile through the driver and reproduces it on every short scene. The `extra`-only binary is still the faster build for everything but the ml scene.\n\n```sh\nbeet --entry=examples\u002Fhello                                       # prints \"hello world\"\nbeet --entry=examples\u002Faction\u002Fbehavior_tree.bsx                    # sequence + log\nbeet --entry=examples\u002Fml\u002Fhello_ml.bsx                             # logs \"NearestSentence chose: ...\"\nbeet --entry=examples\u002Fcalculator\u002Fmain.bsx --server=cli add --a=3 --b=4   # result: 7\n```\n\nThe rest of `examples\u002Faction\u002F*.bsx` (`hello_world`, `simple_action`, `long_running`, `repeat_while`, `state_machine`, `utility_ai`, `scripting`, `world_script`) are also self-terminating and worth a sweep.\n\nSkip: `examples\u002Fspatial\u002F*.bsx`, `examples\u002Faction\u002Fwgpu-action.bsx` and `examples\u002Fml\u002Ffrozen_lake_*.bsx` (windowed), `examples\u002Fthread\u002F*.bsx` (need an LLM key), `examples\u002Fbsx_site\u002Fmain.bsx` (HTTP server; verify with `beet --entry=examples\u002Fbsx_site --server=cli` instead, whose markdown page must keep its nav links apart and read `© BSX Site \u003Cyear> v\u003Cversion> | stage=dev` in the footer). Its served page boots `\u002Fwasm\u002Fbeet-ui.wasm`, a build output under `target\u002Fwasm` rather than a synced asset, so serving it over http for a browser needs `just build-wasm-ui` first; `just test-browser` builds it itself.\n\nThe `examples\u002Finfra\u002F*.bsx` deploy entries are never run (they deploy), but each is a `CliServer` root, strict by requirement, so its `--help` is the offline check that every route's params render as the strict refusal reads them: every entry exits 0 listing its routes and their flags, `bucket.bsx`'s listing `--s3-backend` under \"Inherited params\" (its `StateBackendToggle` middleware). Only ever pass `--help` at the root, never a route path, which is a real deploy. `custom_handle_domain.bsx` also requires `feature:atproto`, so a binary without it refuses it naming that.\n\n```sh\ncargo build -p beet-cli --features=infra,extra,atproto\nfor f in examples\u002Finfra\u002F*.bsx; do beet --entry=$f --help > \u002Fdev\u002Fnull || echo \"FAIL $f\"; done\n```\n\nEvery other scene in `examples\u002Faction\u002F` exits 0 (`wgpu-action.bsx` requires `feature:winit`, so a leaner binary refuses it before anything builds). Verify a refusal once per sweep against a binary built without `extra` (`cargo build -p beet-cli`): `hello_world.bsx` must exit nonzero naming `feature:extra`. A `() -> Outcome` load exits zero once it resolves whatever the outcome (an outcome is a branch, not an error), so `malenia.bsx` and `repeat_while.bsx`, whose `\u003CRepeat>` ends by returning its body's fail, report a completed run. Only a scene carrying `{OutcomeOverload{error_on_fail:true}}` turns a `Fail` into a nonzero exit.\n\n## Not Verifiable Via CLI (skip)\n\nDocumented so future passes don't waste time on them:\n\n- **Spatial \u002F ML scenes:** `flock`, `seek`, `fetch`, `frozen_lake_run` etc. are no longer `--example` targets — they live as scene modules in `beet_extra`, reached only by building the `examples,spatial` \u002F `examples,ml` features.\n- **Thread scenes:** `chat`, `multi_agent`, `oneshot`, `persistent_chat`, `tool_call`, `self_evolving`, `coding_agent` are `.bsx` markup scenes under `examples\u002Fthread\u002F`, not `--example` targets. Several also need an LLM key (`OPENAI_API_KEY` \u002F `BEDROCK_*`).\n- **Interactive TUI\u002Fstdin:** `ui\u002Fterm_input`, `ui\u002Ftui`, `ui\u002Fstate` — real examples that block on stdin.\n- **Browser required:** `ui\u002Fcrud`, `ui\u002Fsyntax_highlighting`, `ui\u002Fmedia_renderer` (interactive output).\n- **Needs sshd:** `ssh_server`, `ssh_client`, `ssh_tui`.\n\nA pure compile check is still useful for the skipped set. The first three cover `beet_extra` and the feature gates, which no test crate compiles:\n\n```sh\ncargo check -p beet --features=examples,ml       # beet_extra ML scenes (fetch etc.)\ncargo check -p beet --features=examples,spatial  # beet_extra spatial scenes (flock etc.)\ncargo check -p beet --features=thread            # thread scene templates\ncargo check -p beet-cli --features infra         # examples\u002Finfra\u002F*.bsx deploy templates\n```\n\n## Instructions\n\n1. Begin a fresh run by overwriting the scratch file:\n   ```sh\n   : > .agents\u002Ftmp\u002Fscratch.txt\n   ```\n2. Walk through sections 1–8 and the skip-set compile checks in order, appending each invocation's output:\n   ```sh\n   timeout 60 cargo run --example hello_world --features=action 2>&1 | tee -a .agents\u002Ftmp\u002Fscratch.txt\n   ```\n3. On a failing example, isolate it with `--features=…` matching the workspace declaration, fix using a subagent if the fault is non-trivial, then rerun just that example before moving on.\n4. For server examples, launch with `run_in_background`, probe with `curl`, kill the background pid before continuing.\n5. After all sections pass, re-grep the scratch file for `error`, `warning`, `panicked`, and `FAIL` to catch anything missed. Fix any warnings encountered.\n6. Once the full set passes again, provide a comprehensive summary of what changed and which examples were touched.\n\n## Success\n\nThe smoke set passes when every command in sections 1–8 and the skip-set compile checks exit 0 (or, for the server probes, the `curl` returns the expected body) and the scratch output contains no `error`\u002F`warning`\u002F`panicked` lines beyond the `tracing` example's own demo `WARN`\u002F`ERROR`. Every other one is fixed, whoever wrote the code it points at.\n","# Run Examples\n\nUse the workspace examples as smoke tests to catch regressions that unit and integration tests may have missed.\n\n## Context\n\nNot every example is verifiable from the CLI — many are 3D\u002F2D Bevy windowed apps, browser-driven, or TUIs that block on stdin. This skill only exercises the ones that exit on their own (or that we can probe with `curl` while they run in the background).\n\nStream the entire output of each example into `.agents\u002Ftmp\u002Fscratch.txt` (overwrite for the first command, append for subsequent ones), then grep that file. This avoids reruns when checking multiple things.\n\nTreat compile failures the same as the `test-run` skill: retry once, and if a mold linker error persists (`RUST_MIN_STACK`, \"section sizes\" etc) bump the workspace `version = \"0.0.9-dev.N\"` in `Cargo.toml`.\n\nLong-running examples must always be wrapped in `timeout` (default 60s — drop it lower once you know the example exits faster). Server examples should be launched with `run_in_background` and killed once the probe has succeeded.\n\n## Smoke Set\n\nThe set below was chosen so that each feature gate combination is exercised by at least one example, and each crate has at least one self-terminating verifier. Most examples just need an `OK` exit status; a few have specific output to grep for (noted inline).\n\n### 1. Action (`--features=action`)\n\nCovers the action runtime end-to-end: pure handlers, async handlers, control-flow nodes, state machines, score-based selectors, and timers.\n\n```sh\ncargo run --example hello_world     --features=action       # prints \"Hello, world!\"\ncargo run --example simple_action   --features=action       # caller-entity lookup\ncargo run --example behavior_tree   --features=action       # sequence + log\ncargo run --example state_machine   --features=action       # RunNext jumps\ncargo run --example repeat_while    --features=action       # loop + condition\ncargo run --example utility_ai      --features=action       # HighestScore\ncargo run --example long_running    --features=action       # 1.3s timer chain\ncargo run --example malenia         --features=action,rand  # BT + utility AI\n```\n\n### 2. Scripting (`--features=quickjs`)\n\n```sh\ncargo run --example scripting --features=quickjs             # JS Script\u003CI,O>\n```\n\n### 3. Router (`--features=router,markdown` \u002F plus extras)\n\nCLI router server, persisted router, and the codegen pipeline.\n\n```sh\ncargo run --example router           --features=router,markdown\ncargo run --example router           --features=router,markdown -- about\ncargo run --example cli              --features=router,quickjs -- greet --name=world\n# the persisted scene caches the route scripts, so regenerate it after any change\n# to script authoring or to a registered type\ncargo run --example router_serde     --features=router,quickjs,template_serde -- --new\ncargo run --example router_serde     --features=router,quickjs,template_serde\ncargo run --example router_serde     --features=router,quickjs,template_serde -- greet --name=world\n# rsx_site is a crate, not a root example: generate its routes, then serve. It\n# scans typed pages, markdown content and a server action from three collections.\ncargo run -p rsx_site --no-default-features --features codegen   # regenerate src\u002Fcodegen\u002F\ncargo run -p rsx_site                                            # http server (default)\ncargo run -p rsx_site --features cli -- guide --accept=text\u002Fhtml # render one route to stdout\n```\n\n### 4. Todo (`--features=router,json`)\n\nRound-trip the todo document: list → create → list → delete → list, ending on `[]` so `examples\u002Ftodo\u002Ftodos.json` is left as found. Keep the `--body` single-quoted wherever the command is scripted: a word-split body routes to `\u002Fcreate\u002Ftest\",..` instead. A missing route (`-- nope`) answers the markdown not-found page and exits 1, like every beet CLI.\n\n```sh\ncargo run --example todo --features=router,json -- list\ncargo run --example todo --features=router,json -- create --body='{\"description\":\"smoke test\",\"done\":false}'\ncargo run --example todo --features=router,json -- list\ncargo run --example todo --features=router,json -- delete --body=0\ncargo run --example todo --features=router,json -- list\n```\n\n### 5. Net (`--features=net,ureq,native-tls` \u002F `--features=http_server`)\n\n`http_client` hits `example.com` and asserts on the response body — skip if offline.\n\n```sh\ncargo run --example http_client --features=net,ureq,native-tls\n```\n\nFor the server side, run in background and probe with `curl`:\n\n```sh\n# launch\ncargo run --example http_server --features=http_server     # background\ncurl -s http:\u002F\u002Flocalhost:8337                              # expect 200 + body\ncurl -s http:\u002F\u002Flocalhost:8337?name=billy\n# kill the background pid\n```\n\nSame pattern for `templating` (`--features=http_server`) and `style` (`--features=http_server,style`).\n\n### 6. Per-crate examples\n\nThese belong to a specific crate so they need `-p`.\n\n```sh\ncargo run -p beet_core --example runner                    # custom test runner\ncargo run -p beet_core --example tracing                   # PrettyTracing init\ncargo run -p beet_ui   --example render_simple             # oneshot terminal render\ncargo run -p beet_ui   --example inline_formatting         # block + inline runs\ncargo run -p beet_ui   --example reactive                  # prints \"success\"\ncargo run -p beet_ui   --example build_css   --features=style       # writes target\u002Fexamples\u002Fstyle\u002F*\ncargo run -p beet_ml   --example hello_ml_basic                     # downloads bert (~90MB, slow first run)\ncargo run -p beet_ml   --example hello_rl_basic --features=bevy_default\n```\n\n### 7. Workspace ML (`--features=examples,ml`)\n\nThe `examples,ml` feature only gates windowed scene code (now scene modules in `beet_extra`, not runnable `--example` targets), so there is no self-terminating CLI smoke here. The runtime ML smoke lives in the crate (`hello_ml_basic`, section 6); this feature's compilation is covered by the skip-set check below (and is the only coverage, since `beet_extra` is excluded from the test crates).\n\n### 8. BSX scenes (`beet --entry=\u003Cfile>.bsx`)\n\nThe no-code `.bsx` scenes run through the installed beet CLI (when editing rust, `cargo run -p beet-cli --features=.. -- \u003Cargs>` instead, so the scenes run against the working tree). Each entry documents its own `beet --entry=..` command in its header, and an entry that declares its hard requirements with `\u003CRequireCfg>` fails fast on a leaner binary, naming what is missing. The self-terminating ones render and exit:\n\nA documented command never carries `--required-features`: that is the entry's own `\u003CRequireCfg>`'s job. The binary still has to *link* the capability though, and the demo scenes name actions from `beet_extra`, which is the `extra` cargo feature. Build the CLI once with what the set needs and run everything against it:\n\n```sh\ncargo build -p beet-cli --features=extra        # every scene below except the ml one\ncargo build -p beet-cli --features=extra,ml     # adds `hello_ml.bsx`\n```\n\nEvery action scene naming a `beet_extra` action (`hello_world`, `simple_action`, `long_running`, `malenia`, `state_machine`, `scripting`) declares `\u003CRequireCfg cfg=\"feature:extra\"\u002F>` beside its root element, where the entry prescan consumes it rather than building it into the `\u003CSequence>`, so a binary without `extra` refuses the load before anything builds, logging `this binary does not satisfy \u003CRequireCfg cfg=\"feature:extra\"\u002F>` with the unmet `feature:extra` on the next line. `behavior_tree`, `repeat_while`, `utility_ai` and `world_script` use only the core vocabulary and run on any build. `winit` enables `extra`, so the windowed build satisfies the requirement too.\n\nThe `ml` build pulls `winit` and bevy_render, so every scene brings up a wgpu device and compiles bevy's compute pipelines on its async compute pool whether or not it needs a GPU; a short scene exits while those compiles are still in the driver. A segfault inside `libnvidia-glcore` during `create_compute_pipeline` (or an `NVVM compilation failed` + `DeviceLost` log) is an exit tearing the driver down beneath that thread, which `process_ext::exit` avoids by `_exit`ing. It is a regression, never host noise: `__GL_SHADER_DISK_CACHE=0` forces every compile through the driver and reproduces it on every short scene. The `extra`-only binary is still the faster build for everything but the ml scene.\n\n```sh\nbeet --entry=examples\u002Fhello                                       # prints \"hello world\"\nbeet --entry=examples\u002Faction\u002Fbehavior_tree.bsx                    # sequence + log\nbeet --entry=examples\u002Fml\u002Fhello_ml.bsx                             # logs \"NearestSentence chose: ...\"\nbeet --entry=examples\u002Fcalculator\u002Fmain.bsx --server=cli add --a=3 --b=4   # result: 7\n```\n\nThe rest of `examples\u002Faction\u002F*.bsx` (`hello_world`, `simple_action`, `long_running`, `repeat_while`, `state_machine`, `utility_ai`, `scripting`, `world_script`) are also self-terminating and worth a sweep.\n\nSkip: `examples\u002Fspatial\u002F*.bsx`, `examples\u002Faction\u002Fwgpu-action.bsx` and `examples\u002Fml\u002Ffrozen_lake_*.bsx` (windowed), `examples\u002Fthread\u002F*.bsx` (need an LLM key), `examples\u002Fbsx_site\u002Fmain.bsx` (HTTP server; verify with `beet --entry=examples\u002Fbsx_site --server=cli` instead, whose markdown page must keep its nav links apart and read `© BSX Site \u003Cyear> v\u003Cversion> | stage=dev` in the footer). Its served page boots `\u002Fwasm\u002Fbeet-ui.wasm`, a build output under `target\u002Fwasm` rather than a synced asset, so serving it over http for a browser needs `just build-wasm-ui` first; `just test-browser` builds it itself.\n\nThe `examples\u002Finfra\u002F*.bsx` deploy entries are never run (they deploy), but each is a `CliServer` root, strict by requirement, so its `--help` is the offline check that every route's params render as the strict refusal reads them: every entry exits 0 listing its routes and their flags, `bucket.bsx`'s listing `--s3-backend` under \"Inherited params\" (its `StateBackendToggle` middleware). Only ever pass `--help` at the root, never a route path, which is a real deploy. `custom_handle_domain.bsx` also requires `feature:atproto`, so a binary without it refuses it naming that.\n\n```sh\ncargo build -p beet-cli --features=infra,extra,atproto\nfor f in examples\u002Finfra\u002F*.bsx; do beet --entry=$f --help > \u002Fdev\u002Fnull || echo \"FAIL $f\"; done\n```\n\nEvery other scene in `examples\u002Faction\u002F` exits 0 (`wgpu-action.bsx` requires `feature:winit`, so a leaner binary refuses it before anything builds). Verify a refusal once per sweep against a binary built without `extra` (`cargo build -p beet-cli`): `hello_world.bsx` must exit nonzero naming `feature:extra`. A `() -> Outcome` load exits zero once it resolves whatever the outcome (an outcome is a branch, not an error), so `malenia.bsx` and `repeat_while.bsx`, whose `\u003CRepeat>` ends by returning its body's fail, report a completed run. Only a scene carrying `{OutcomeOverload{error_on_fail:true}}` turns a `Fail` into a nonzero exit.\n\n## Not Verifiable Via CLI (skip)\n\nDocumented so future passes don't waste time on them:\n\n- **Spatial \u002F ML scenes:** `flock`, `seek`, `fetch`, `frozen_lake_run` etc. are no longer `--example` targets — they live as scene modules in `beet_extra`, reached only by building the `examples,spatial` \u002F `examples,ml` features.\n- **Thread scenes:** `chat`, `multi_agent`, `oneshot`, `persistent_chat`, `tool_call`, `self_evolving`, `coding_agent` are `.bsx` markup scenes under `examples\u002Fthread\u002F`, not `--example` targets. Several also need an LLM key (`OPENAI_API_KEY` \u002F `BEDROCK_*`).\n- **Interactive TUI\u002Fstdin:** `ui\u002Fterm_input`, `ui\u002Ftui`, `ui\u002Fstate` — real examples that block on stdin.\n- **Browser required:** `ui\u002Fcrud`, `ui\u002Fsyntax_highlighting`, `ui\u002Fmedia_renderer` (interactive output).\n- **Needs sshd:** `ssh_server`, `ssh_client`, `ssh_tui`.\n\nA pure compile check is still useful for the skipped set. The first three cover `beet_extra` and the feature gates, which no test crate compiles:\n\n```sh\ncargo check -p beet --features=examples,ml       # beet_extra ML scenes (fetch etc.)\ncargo check -p beet --features=examples,spatial  # beet_extra spatial scenes (flock etc.)\ncargo check -p beet --features=thread            # thread scene templates\ncargo check -p beet-cli --features infra         # examples\u002Finfra\u002F*.bsx deploy templates\n```\n\n## Instructions\n\n1. Begin a fresh run by overwriting the scratch file:\n   ```sh\n   : > .agents\u002Ftmp\u002Fscratch.txt\n   ```\n2. Walk through sections 1–8 and the skip-set compile checks in order, appending each invocation's output:\n   ```sh\n   timeout 60 cargo run --example hello_world --features=action 2>&1 | tee -a .agents\u002Ftmp\u002Fscratch.txt\n   ```\n3. On a failing example, isolate it with `--features=…` matching the workspace declaration, fix using a subagent if the fault is non-trivial, then rerun just that example before moving on.\n4. For server examples, launch with `run_in_background`, probe with `curl`, kill the background pid before continuing.\n5. After all sections pass, re-grep the scratch file for `error`, `warning`, `panicked`, and `FAIL` to catch anything missed. Fix any warnings encountered.\n6. Once the full set passes again, provide a comprehensive summary of what changed and which examples were touched.\n\n## Success\n\nThe smoke set passes when every command in sections 1–8 and the skip-set compile checks exit 0 (or, for the server probes, the `curl` returns the expected body) and the scratch output contains no `error`\u002F`warning`\u002F`panicked` lines beyond the `tracing` example's own demo `WARN`\u002F`ERROR`. Every other one is fixed, whoever wrote the code it points at.\n",{"name":5,"description":7},"main","9b5840ae0d850b477ffc451d20edf49b65c6f6eb",".agents\u002Fskills\u002Ftest-examples",8,"https:\u002F\u002Fgithub.com\u002Fmrchantey\u002Fbeet","https:\u002F\u002Fbeet.org","https:\u002F\u002Fgithub.com\u002Fmrchantey","2026-11-14 20:09:05",{"source":9,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add mrchantey\u002Fbeet --skill test-examples",{"tool":57,"command":58},"bunx","bunx skills add mrchantey\u002Fbeet --skill test-examples",{"tool":60,"command":61},"pnpm","pnpm dlx skills add mrchantey\u002Fbeet --skill test-examples","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmrchantey\u002Fbeet\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-examples\u002FSKILL.md",true,[65,71,75,79,83,87],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fbq-coverage-alert-staleness-2026-07-15.md","REFERENCE","参考文档",6224,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fverify-telemetry-alert\u002Freferences\u002Fbq-coverage-alert-staleness-2026-07-15.md",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fbq-coverage-wording-followup-2026-07-15.md",7643,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fverify-telemetry-alert\u002Freferences\u002Fbq-coverage-wording-followup-2026-07-15.md",{"path":76,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fin-house-cron-silent-failure-2026-07-15.md",8365,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fverify-telemetry-alert\u002Freferences\u002Fin-house-cron-silent-failure-2026-07-15.md",{"path":80,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fmcp-mail-bq-coverage-2026-07-13.md",6200,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fverify-telemetry-alert\u002Freferences\u002Fmcp-mail-bq-coverage-2026-07-13.md",{"path":84,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fmcp-mail-bq-coverage-2026-07-15.md",7680,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fverify-telemetry-alert\u002Freferences\u002Fmcp-mail-bq-coverage-2026-07-15.md",{"path":88,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fpost-merge-deployment-coverage-2026-07-20.md",11029,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fverify-telemetry-alert\u002Freferences\u002Fpost-merge-deployment-coverage-2026-07-20.md",[92,115,127,143,155,172],{"skillNo":93,"name":94,"nameZh":95,"description":96,"descriptionZh":97,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":98,"categories":99,"keywords":106,"publishedAt":38},"01M6BXBJB92PMF5T0GB1GK8CMP","worktree-sync-upstream","Git Worktree 上游分支同步","Sync a detached-HEAD worktree with its upstream branch in the main repo in both directions, rebasing only owned commits and fast-forwarding upstream, with recovery steps for tangled history and helpers for prose and secrets.toml conflicts. Use from inside a worktree.","双向同步主仓库中处于 detached-HEAD 状态的 worktree 与其上游分支：仅对由自己创建的提交进行变基（rebase），对上游分支执行快进（fast-forward）；并提供历史记录混乱时的恢复步骤，以及处理 prose 和 secrets.toml 冲突的辅助工具。需在 worktree 内部使用。","https:\u002F\u002Fgithub.com\u002Fmrchantey\u002Fbeet\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworktree-sync-upstream\u002FSKILL.md",[100,103],{"categoryNo":101,"categoryName":102,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":104,"categoryName":105,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[107,108,109,110,111,112,113,114],"worktree","sync upstream","sync","worktree sync upstream","secrets","fast","commits","recovery",{"skillNo":116,"name":117,"nameZh":118,"description":119,"descriptionZh":120,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":121,"categories":122,"keywords":125,"publishedAt":38},"01M6BXBGPK0T0YWC85M5AZR59N","worktree-sync-all","Git 工作树批量同步","Sync the main branch with every worktree in both directions, applying the worktree-sync-upstream skill to each in turn, then levelling them. Use when asked to sync all worktrees.","将 main 分支与每一个 worktree 进行双向同步，依次对每个 worktree 应用 worktree-sync-upstream 技能，然后将它们拉齐对齐。当被要求同步所有 worktree 时使用。","https:\u002F\u002Fgithub.com\u002Fmrchantey\u002Fbeet\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworktree-sync-all\u002FSKILL.md",[123,124],{"categoryNo":101,"categoryName":102,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":104,"categoryName":105,"taxonomyType":28,"taxonomyTypeDesc":29},[107,126,109],"worktree sync all",{"skillNo":128,"name":129,"nameZh":130,"description":131,"descriptionZh":132,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":133,"categories":134,"keywords":137,"publishedAt":38},"01M6BXBE53M9HRGTWNB1W9VKAT","test-the-works","项目全量测试验证","Maximal project health pass. Run core tests, all tests, the example smoke set, the rsx_site verification and every downstream repo in sequence, fixing every failure and warning surfaced along the way. Use when asked to run 'the works' or fully verify the project.","最大化的项目健康巡检。依次运行核心测试、全部测试、示例冒烟测试集、rsx_site 验证以及每一个下游仓库，并修复过程中出现的每一个失败和警告。当被要求运行全套检查（the works）或完整验证项目时使用。","https:\u002F\u002Fgithub.com\u002Fmrchantey\u002Fbeet\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-the-works\u002FSKILL.md",[135,136],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[31,138,139,35,140,37,141,36,142],"test the works","site","core","verification","health",{"skillNo":144,"name":145,"nameZh":146,"description":147,"descriptionZh":148,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":149,"categories":150,"keywords":153,"publishedAt":38},"01M6BXBBRK6XD63BKX60WKFDCW","test-run","测试套件运行与修复","Run the core test suite (just test-core) to a clean, warning-free pass, with recipes for hanging tests and mold linker flakes. Use when asked to run or fix the test suite.","运行核心测试套件（just test-core），直至干净、无警告地通过，并提供处理挂起测试和 mold 链接器偶发问题的方案。当被要求运行或修复测试套件时使用。","https:\u002F\u002Fgithub.com\u002Fmrchantey\u002Fbeet\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-run\u002FSKILL.md",[151,152],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[35,31,154,140],"test run",{"skillNo":156,"name":157,"nameZh":158,"description":159,"descriptionZh":160,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":161,"categories":162,"keywords":167,"publishedAt":38},"01M6BXB6QDY5NH0TMHWTCXX0C2","test-dependency-audit","Cargo依赖审计与精简","Audit every crate's Cargo.toml for unused, duplicate or misplaced dependencies, moving shared deps to the workspace and feature-gating where sensible. Use when asked to audit or slim dependencies.","审计每个 crate 的 Cargo.toml 中未使用、重复或放置不当的依赖项，将共享依赖移至工作区，并在合理处进行特性门控。在被要求审计或精简依赖时使用。","https:\u002F\u002Fgithub.com\u002Fmrchantey\u002Fbeet\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-dependency-audit\u002FSKILL.md",[163,164],{"categoryNo":101,"categoryName":102,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":165,"categoryName":166,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSNPHVX9Y1H3B2ZX3V06RF","Rust 开发",[168,169,170,31,171],"test dependency audit","audit","dependency audit","deps",{"skillNo":173,"name":174,"nameZh":175,"description":17,"descriptionZh":176,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":177,"categories":178,"keywords":185,"publishedAt":38},"01M6BXB508HZNAAD286H0YQ0K8","inner-monologue","内部推理独白","","https:\u002F\u002Fgithub.com\u002Fmrchantey\u002Fbeet\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Finner-monologue\u002FSKILL.md",[179,182],{"categoryNo":180,"categoryName":181,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BS5011KJDVSRXG1DC4P666","普通用户",{"categoryNo":183,"categoryName":184,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C1YEW2680C003GGBD6QCKB","回复风格与输出控制",[186],"inner monologue"]