Skip to content

fix: cli-tasks example no longer echoes tasks.txt on save#355

Merged
danieljohnmorris merged 5 commits into
mainfrom
fix/save-example-no-echo
May 17, 2026
Merged

fix: cli-tasks example no longer echoes tasks.txt on save#355
danieljohnmorris merged 5 commits into
mainfrom
fix/save-example-no-echo

Conversation

@danieljohnmorris
Copy link
Copy Markdown
Collaborator

Closes interactive-cli rerun8 cosmetic finding. save now returns "ok" instead of wrl's filename return.

Pins the fixed-shape save helper across every engine. The buggy
shape returned wrl's ~path and printed tasks.txt on every add/
done/clear; the fixed shape matches on wrl's result, returns
~"ok" on success, and propagates the error on failure. The
lifecycle entrypoint exercises clear/add/add/done/load in one
shot so the harness sees the file round-trip too.
Adds a callout next to the +=/mset/mdel mutation note so the
save-helper shape that echoes tasks.txt on every successful
mutation has a one-stop explanation, with the discard-and-
return-"ok" idiom and a link to the example.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@danieljohnmorris danieljohnmorris merged commit 4dbad60 into main May 17, 2026
5 checks passed
@danieljohnmorris danieljohnmorris deleted the fix/save-example-no-echo branch May 17, 2026 21:05
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