FIELD NOTE / 015DESIGN STUDY

NOTES ON STOPPING HALFWAY

Cancelled
is a result.

A scan stops halfway. A step fails. A machine goes quiet. What should each of them leave behind?

Listen to this note · 6 minAI-narrated

RECORDING / 5:40

Subscribe to the podcast
Downloads
Transcript

Machine-generated from the recording; names and speaker boundaries may need checking.

0:04 Moth and Gravel Field Note 15 Cancelled is a result. An AI

0:12 narrated edition of the published note.

0:15 You start a scan of a large folder. A minute in, you change

0:20 your mind and press cancel. The progress disappears. What did

0:24 you just get? Nothing, most screens would say. The scan did

0:29 not finish, but something did happen. The work began, stopped,

0:35 and left the world in some state. Nothing is a claim about

0:40 that state, and it is rarely checked.

0:43 Three small tools on our bench answer differently. Each treats

0:47 the unhappy ending as a result of its own. The scan that did

0:52 not finish, Verstas, is a prototype that looks at the

0:55 workspaces on a disk and plans their cleanup. It only looks and

1:00 plans. It deletes nothing. For each thing it might clean, the

1:05 plan gives one of three answers: ready, review required, or

1:09 blocked. In a recorded run on a synthetic tree of 240,012 files,

1:16 a scan was cancelled during discovery. The desktop said so

1:20 in plain words. The operation was cancelled before

1:24 finalization. Every live progress region cleared. The

1:28 inventory from the last finished scan stayed selected instead of

1:32 being replaced by half of a new one. The same banner at reading

1:36 size. The identifiers belong to the synthetic run. The finished

1:41 history gained no entry for the cancelled scan.

1:45 The next scan finished normally, and only its final answer

1:49 replaced the earlier inventory. The scan after the cancellation

1:54 finalized. Unaltered crop from the same recorded run. The

1:59 identifiers and times are the run's own. The important part is

2:04 what did not happen. The cancelled scan did not become a

2:08 small, plausible inventory. A partial count is easy to mistake

2:13 for a complete one, especially in a tool whose next step might

2:17 be, clean these up. The step that failed. Luozi drives

2:22 Android devices from a laptop, one step at a time. When a step

2:27 fails, the run does not end in a red line and silence. It writes

2:32 a failure envelope. Which scenario? Which step? What the

2:36 step was doing? The error and its kind? And the screenshot,

2:41 recording, and log it kept. The record itself is shown on the

2:45 page. A shortened excerpt from a failure envelope in Luozi's test

2:50 fixtures. A fixture, not a recorded device run. Ellipses

2:54 mark omissions. A failure becomes something to read later,

2:59 after the device is unplugged. Failed at step two, watching the

3:04 stream, a transport error, starts a different conversation

3:08 from it didn't work. The machine that went quiet. The third tool

3:13 is smaller. A relay bridge of ours connects a relay board to a

3:17 message broker, so a laptop can switch its outputs. When the

3:21 bridge connects, it announces that it is online. Before that,

3:26 it leaves the broker a last will. The code itself is shown

3:30 on the page. From the bridge's source, with its comment

3:34 shortened. Read from the code, no hardware run was made for

3:38 this note. If the bridge disappears without saying

3:41 goodbye, the broker publishes offline on its behalf, and keeps

3:46 it for anyone who asks later. Silence would be easier to

3:50 build, but it is also ambiguous. Quiet could mean nothing

3:55 changed, or that nobody is left to say so. A retained offline

4:01 turns a disappearance into a message with a time on it. The

4:05 last will covers only the connection. Whether a relay

4:08 actually switched is a separate question. After a command, the

4:13 bridge tries to read the relay state back from the board and

4:17 reports what it read. One habit serves. One habit serves three

4:22 tools and surfaces. The unhappy path leaves a receipt. The

4:27 receipt is shown in the same place as success, in the same

4:30 plain voice, and it does not claim more than it knows. For

4:35 any button that starts something long or destructive, there is a

4:38 useful question to ask before shipping it. What does the

4:42 screen say if you stop halfway? If the answer is nothing, a

4:46 result is probably missing. What these endings show. The Verstas

4:52 images are unaltered crops from a recorded Windows run of the

4:55 prototype at a pinned source revision on a synthetic file

4:59 tree. The tool planned only. Nothing was deleted. Verstas is

5:05 a working name. The Luozi envelope is shortened from a

5:08 test fixture, not from a device run. The relay bridge lines are

5:13 read from its source. No hardware run was made for this

5:17 note. No study with people was run. Whether someone reads these

5:22 endings as results is the next question. Read the image and

5:26 source provenance. You have been listening to Moth and Gravel

5:30 Field Notes. The written edition is at mothandgravel.com.

Download transcript

Did it happen, and can I take it back? ↗
A desktop banner reads: Bad state: scan operation 80bcccf4-8851-4ab3-b1c8-4b01a2ef1539 was cancelled before finalization. Below it, the previous inventory scan stays selected.
Verstas, cancelled during discovery. An unaltered crop from a recorded run on a synthetic file tree.

You start a scan of a large folder. A minute in, you change your mind and press Cancel. The progress disappears.

What did you just get?

Nothing, most screens would say. The scan did not finish. But something did happen: the work began, stopped and left the world in some state. “Nothing” is a claim about that state, and it is rarely checked.

Three small tools on our bench answer differently. Each treats the unhappy ending as a result of its own.

The scan that did not finish

Verstas is a prototype that looks at the workspaces on a disk and plans their cleanup. It only looks and plans; it deletes nothing. For each thing it might clean, the plan gives one of three answers: ready, review required or blocked.

In a recorded run on a synthetic tree of 240,012 files, a scan was cancelled during discovery. The desktop said so in plain words: the operation “was cancelled before finalization”. Every live progress region cleared. The inventory from the last finished scan stayed selected, instead of being replaced by half of a new one.

The cancellation banner at full width: scan operation 80bcccf4-8851-4ab3-b1c8-4b01a2ef1539 was cancelled before finalization. The previous inventory stays selected below it.
The same banner at reading size. The identifiers belong to the synthetic run.

The finished history gained no entry for the cancelled scan. The next scan finished normally, and only its final answer replaced the earlier inventory.

The next inventory scan, finalized, with its start and completion times twenty-six seconds apart and a scan safety summary of twelve warnings.
The scan after the cancellation, finalized. Unaltered crop from the same recorded run; the identifiers and times are the run’s own.

The important part is what did not happen. The cancelled scan did not become a small, plausible inventory. A partial count is easy to mistake for a complete one, especially in a tool whose next step might be “clean these up”.

The step that failed

Luotsi drives Android devices from a laptop, one step at a time. When a step fails, the run does not end in a red line and silence. It writes a failure envelope: which scenario, which step, what the step was doing, the error and its kind, and the screenshot, recording and log it kept.

{
  "schema": "luotsi-failure-bundle.v1",
  "scenario": "view stream failure",
  "status": "failed",
  "failedStep": { "index": 2, "name": "watch stream", "action": "view" },
  "artifacts": [
    { "kind": "screenshot", "path": "failure-screen.png", … },
    { "kind": "recording", "path": "failure-recording.mp4", … },
    { "kind": "logcat", "path": "failure-logcat.txt", … }
  ],
  "error": {
    "message": "Unexpected end of stream",
    "category": "transport"
  }
}
A shortened excerpt from a failure envelope in Luotsi’s test fixtures. A fixture, not a recorded device run; ellipses mark omissions.

A failure becomes something to read later, after the device is unplugged. “Failed at step two, watching the stream, a transport error” starts a different conversation from “it didn’t work”.

The machine that went quiet

The third tool is smaller. A relay bridge of ours connects a relay board to a message broker, so a laptop can switch its outputs. When the bridge connects, it announces that it is online. Before that, it leaves the broker a last will.

# Last will: the broker publishes this, retained,
# if the bridge disappears without a word.
self.client.will_set(
    self.mqtt_status_topic,
    payload=self._status_payload("offline"),
    qos=1,
    retain=True,
)
From the bridge’s source, with its comment shortened. Read from the code; no hardware run was made for this note.

If the bridge disappears without saying goodbye, the broker publishes “offline” on its behalf, and keeps it for anyone who asks later.

Silence would be easier to build. It is also ambiguous: quiet could mean nothing changed, or that nobody is left to say so. A retained “offline” turns a disappearance into a message with a time on it.

The last will covers only the connection. Whether a relay actually switched is a separate question. After a command, the bridge tries to read the relay’s state back from the board and reports what it read.

One habit

Three tools, three surfaces, one habit: the unhappy path leaves a receipt. The receipt is shown in the same place as success, in the same plain voice, and it does not claim more than it knows.

For any button that starts something long or destructive, there is a useful question to ask before shipping it.

What does the screen say if you stop halfway?

If the answer is “nothing”, a result is probably missing.