Skip to main content

weft-run

COMMAND, not reference: Build and run the weft program, then report what came out. Run this when the user asks for this step by name, optionally naming node ids to target. The `weft-` reference skills beside it are things you read; this is a procedure you carry out.

来源信息

仓库
WeaveMindAI/weft
最近来源活动
2026年10月5日 10:23
检测到的 SKILL.md 语言
英语
星标
1,997
分支
218

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
weft-run
description
COMMAND, not reference: Build and run the weft program, then report what came out. Run this when the user asks for this step by name, optionally naming node ids to target. The `weft-` reference skills beside it are things you read; this is a procedure you carry out.
Run this project's program and report what actually came out. 1. Read `weft-running`, `weft-sdp` and `weft-debugging` (how to read what a run did). A saved example names starting parameters to run again. Node targets name where execution stops, including those nodes; `--before` stops before them. With no selection, run the ordinary graph roots; triggers require an explicit fire or emitted outputs. 2. Validate before building: `weft validate --file src/main.weft < src/main.weft`. Fix structural errors and inspect runtime findings. Pick an existing connection with `weft connect --node <id> --grant <grant>`; when credentials are missing, tell the user which node needs its Connect button or `weft connect` in their terminal. 3. Run `weft run --detach`, adding the requested selection, or `weft run <example> --detach` for saved parameters. Run builds automatically. For isolated inputs use `--from '<node>={"port":value}'`, or `--group '<group>={"port":value}'` for a whole group. To execute one trigger, prepare with `weft bake`, then use `--fire '<trigger>=<wake-json>'`. Read the interface before choosing payloads. 4. Inspect status with `weft executions`. Read `weft logs <execution-id>` for failures and `weft events <execution-id> --node <id> --full` for values. If suspended, inspect the question or timer and report what it needs. Historical answers are evidence for deciding a new answer. 5. When rerunning a frozen example, leave out `--seed` to review current computation, then `weft diff <execution-id> example:<name> --full`. Judge the result against the user's intent. A difference is neither an automatic failure nor permission to replace the accepted example. Freeze again only after accepting the new result. 6. Report status, the requested outcomes and any failure with its node and inputs. Name the stage this run exercised and the next stage to grow. If you start calling a completed run proof of quality, write "Wait. Read the result." and inspect the values.
在 GitHub 查看