Skip to content

feat: start+duration in the pin-tasks editor plan - #97

Merged
tobixen merged 2 commits into
masterfrom
feat/pin-plan-duration
Nov 25, 2026
Merged

tobixen merged 2 commits into
masterfrom
feat/pin-plan-duration

Conversation

@tobixen

@tobixen tobixen commented Nov 24, 2026

Copy link
Copy Markdown
Member

Commit message:

feat: start+duration in the pin-tasks editor plan

The plan from check-for-panic --interactive-fix-timeline (also run by
interactive manage-tasks) listed start and end per task, so moving a
task meant editing both.  It now lists start and duration, all in one
timezone named at the top of the file, and offers to plan again after
pinning.  A line that cannot be parsed reopens the editor instead of
crashing and losing the edit.

Prompts:
> read tmp-sticking and consider something [a note: the plan editor
> is hard to use; one should be able to edit the start and keep the
> duration, and to rerun it easily, also from manage-tasks]

> Reconsidering ... "delete the end" should not be needed.  Editing
> the start should suffice to get the end auto-adjusted.  The file
> format needs to make it obvious it works this way.  About time
> zones, make sure all timestamps are in the same time zone and add
> information about the timezone at the top of the file.

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

Also piggy-backing: test: disable a system-wide pytest-asyncio

🤖 Generated with Claude Code

With filterwarnings = error, an installed pytest-asyncio turns its own
deprecation warning (asyncio_default_fixture_loop_scope unset) into an
INTERNALERROR before any test runs.  plann has no async tests.

I finally decided to uninstall the system-wide pytest-asyncio - I can't
add "-p no:asyncio" to every project where I'd like to run tests.  It's
still considered harmless, and serves to mark that plann is (so far) not
supporting async operation, so I leave it in place here.

Prompt: fix "-p no:asyncio" in pyproject.toml, like it's done in several
  other projects

Assisted-By: Claude Opus 5.5
Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
The plan from check-for-panic --interactive-fix-timeline (also run by
interactive manage-tasks) listed start and end per task, so moving a
task meant editing both.  It now lists start and duration, all in one
timezone named at the top of the file, and offers to plan again after
pinning.  A line that cannot be parsed reopens the editor instead of
crashing and losing the edit.

Prompts:
> read tmp-sticking and consider something [a note: the plan editor
> is hard to use; one should be able to edit the start and keep the
> duration, and to rerun it easily, also from manage-tasks]

> Reconsidering ... "delete the end" should not be needed.  Editing
> the start should suffice to get the end auto-adjusted.  The file
> format needs to make it obvious it works this way.  About time
> zones, make sure all timestamps are in the same time zone and add
> information about the timezone at the top of the file.

Assisted-By: Claude Opus 5.5
Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
@tobixen
tobixen merged commit dbd43d5 into master Nov 25, 2026
9 checks passed
@tobixen
tobixen deleted the feat/pin-plan-duration branch November 25, 2026 09:22
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