Skip to content

feat: interactive check-pinned, review past pins - #89

Merged
tobixen merged 3 commits into
masterfrom
feat/check-pinned
Nov 12, 2026
Merged

tobixen merged 3 commits into
masterfrom
feat/check-pinned

Conversation

@tobixen

@tobixen tobixen commented Nov 12, 2026

Copy link
Copy Markdown
Member

Commit message:

Goes through last week's events pinning a task to the calendar and
asks if the task was done.  Yes completes the task (with subtasks),
confirms the event and offers to cancel its other pins; no cancels the
event; partially runs the split flow.  Confirmed events are not asked
about again, which matters for recurring tasks.  It runs first in
manage-tasks, replacing the TODO there.  The test server's event loop
is now closed on stop, so two functional tests can run in one session.

Prompt: So yesterday and today I've had a calendar with tasks "pinned" to the calendar through events.  Did I make any `interactive`-command for going through those events and answering y/n on weather (sic) the tasks were done or not?
Followup-Prompt: Yes, I need that. [an interactive command to go through past pinning events and ask whether each task was done]
Followup-Prompt: go for it, including fixing the dead functional test.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>

Also piggy-backing: test: revive the body of the functional test - since 0c36d0f the body of test_plann sat after a return in a nested helper, so it asserted nothing.

🤖 Generated with Claude Code

Since 0c36d0f the whole body of _run_plann_tests sat one level too
deep, after the `return ret` of the nested dag() helper, so test_plann
only started and stopped xandikos and asserted nothing.  Dedented; it
passes again.

Prompt: So yesterday and today I've had a calendar with tasks "pinned" to the calendar through events.  Did I make any `interactive`-command for going through those events and answering y/n on whether the tasks were done or not?
Followup-Prompt: Yes, I need that. [an interactive command to go through past pinning events and ask whether each task was done]
Followup-Prompt: go for it, including fixing the dead functional test.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
Goes through last week's events pinning a task to the calendar and
asks if the task was done.  Yes completes the task (with subtasks),
confirms the event and offers to cancel its other pins; no cancels the
event; partially runs the split flow.  Confirmed events are not asked
about again, which matters for recurring tasks.  It runs first in
manage-tasks, replacing the TODO there.  The test server's event loop
is now closed on stop, so two functional tests can run in one session.

Prompt: So yesterday and today I've had a calendar with tasks "pinned" to the calendar through events.  Did I make any `interactive`-command for going through those events and answering y/n on whether the tasks were done or not?
Followup-Prompt: Yes, I need that. [an interactive command to go through past pinning events and ask whether each task was done]
Followup-Prompt: go for it, including fixing the dead functional test.
Followup-Prompt: Fix the commit, I'll push manually [add the PR link to the CHANGELOG entry, and fix the typo in the recorded prompt as in the first commit]

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Other pins of a completed task are only offered for cancelling when
they pin no other open task, and before the event is confirmed, so a
failed save no longer leaves them behind.  A task closed through the
edit prompt now confirms (or cancels) its event.  A task or event
deleted on the server meanwhile no longer stops the run.  Tests cover
recurring tasks and a successful partial split.

Prompt: [fix issues found during the review process]

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
@tobixen
tobixen merged commit 0f2caee into master Nov 12, 2026
9 checks passed
@tobixen
tobixen deleted the feat/check-pinned branch November 12, 2026 15:54
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