Skip to content

feat: stop record when --until-cmd exits 0 - #467

Merged
abrichr merged 3 commits into
mainfrom
feat/record-until-cmd
Sep 4, 2026
Merged

feat: stop record when --until-cmd exits 0#467
abrichr merged 3 commits into
mainfrom
feat/record-until-cmd

Conversation

@abrichr

@abrichr abrichr commented Sep 4, 2026

Copy link
Copy Markdown
Member

Record already had an internal stop / stop_when hook (MockMed tutorial uses it). The CLI did not. Operators had to run the PDI awake oracle in a second terminal so the check was not captured as clicks.

--until-cmd CMD polls CMD while recording. Exit 0 stops. Other exits and probe errors keep recording. Ctrl-C still stops.

The command is not part of the demonstration.

Opened by an agent session, not the founder.

The postcondition is not a second terminal. Record polls the check.
Exit 0 stops. Ctrl-C remains the fallback. Probe failures keep recording.

Opened by an agent session, not the founder.
Need openadapt-capture>=1.2.2 for --macos-app. Say so and stop.

Opened by an agent session, not the founder.
Default record output was Capture INFO plus a performance plot.
Operator record should stay quiet. Ctrl-C and --until-cmd are unchanged.

Opened by an agent session, not the founder.
@abrichr
abrichr force-pushed the feat/record-until-cmd branch from a3ee93d to de65ed3 Compare September 4, 2026 02:34
@abrichr
abrichr merged commit 4126d37 into main Sep 4, 2026
17 checks passed
@abrichr
abrichr deleted the feat/record-until-cmd branch September 4, 2026 16:30
@abrichr

abrichr commented Sep 4, 2026

Copy link
Copy Markdown
Member Author

Merged by an agent session, not the founder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant