From 2fbe44965cc71d889af9a21662ce5f9df4035435 Mon Sep 17 00:00:00 2001 From: lizaixi01 Date: Tue, 1 Dec 2026 17:24:04 +0800 Subject: [PATCH] skill: build one feature at a time while a person watches the editor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DECISION: the editor-collaboration reference tells an agent that the editor is often open beside it: make the notebook first, then write one feature at a time and let it run (no `--no-run`), reading each state before the next; not every cell with `--no-run` and one run at the end; and head each feature cell with `# ---- feature: ... ----`, `# name:` and `# note:` so the tree shows the step the agent talks about. WHY: on the aiad site the agent wrote all five cells with `--no-run` and ran them at the end: the page showed no model for minutes, then all of it at once, while the agent's messages described the steps one by one (the user, 2026-12-01: 左边对话和右边编辑窗口内容不一致; playground/learn/aiad-sync-report.md, problem 3). WHAT CHANGES: docs/skill/references/domains/editor-collaboration.md (the built copies under skills/ are not tracked). Checked: tools/skillbuild.py --check (OK, 502 files) and a build of all targets. Co-Authored-By: Claude Opus 5.5 --- .../references/domains/editor-collaboration.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/skill/references/domains/editor-collaboration.md b/docs/skill/references/domains/editor-collaboration.md index f338a4d3..9503d036 100644 --- a/docs/skill/references/domains/editor-collaboration.md +++ b/docs/skill/references/domains/editor-collaboration.md @@ -97,6 +97,20 @@ sca new bracket --kind part # a new, empty notebook; the open editor li step), or edit the file directly, nothing else holds it. - `@app.function` cells cannot be changed this way; edit them in the file. +### The person watches the editor while you build + +The editor is often open beside you (a person following along, or a web page that shows it next to your messages). +Build so that what they see follows what you say: + +- Make the notebook first (`sca new`), so the editor opens it, then write **one feature at a time and let it run**: + `sca cell insert` / `sca cell put` without `--no-run`, read the state the command prints, then the next feature. + The model then grows step by step, and a failing step is seen where it fails. +- Do not write every cell with `--no-run` and run them all at the end: until then the person sees no model (a model that + was there disappears while its cells are stale) and then all of it at once. +- Head each feature cell as the feature tree expects: `# ---- feature: () ----`, then + `# name: ` and `# note: `. The tree shows + that name and note, so the step you talk about is the step they see. + ## Read what the person is doing | Need | Where |