Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/skill/references/domains/editor-collaboration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: <slug> (<role>) ----`, then
`# name: <a short name in the person's language>` and `# note: <one sentence: what the step does>`. 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 |
Expand Down