From b007fee8fb5b39a5f9b369c59af71ac9e795ceaf Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Fri, 17 Jul 2026 22:22:37 +0000 Subject: Implement linear task chains and recurring maintenance buckets Backend, web timeline, and Android widget wiring for the last two unimplemented items from doot-future-task-scheduling-ideas. Chains: task_chains table + chain_id/chain_position/chain_unlocked on native_tasks (migration 026), WIP-limit-1 advancement hooked into CompleteNativeTask, locked tasks excluded from all date-based queries, 5 new /api/widget/chains* endpoints, an N/M position badge on web and Android widget rows. Buckets: maintenance_buckets table + bucket_id/bucket_state/ bucket_last_active_at on native_tasks (migration 027), staleness-then-priority selection scoring, a new RunBucketCycleCheck scheduler loop, 5 new endpoints including the distinct Defer action, a Defer button on web and Android widget rows. Also corrected stale "not yet approved" status headers on the two already-shipped specs this work depended on (labels/projects, budgets/ availability) -- their headers were never updated after implementation. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01EZ7ikw2ukGJFTHE3bJS7zL --- docs/superpowers/specs/2026-07-15-linear-task-chains-design.md | 2 +- .../specs/2026-07-15-recurring-maintenance-buckets-design.md | 2 +- .../specs/2026-07-15-task-budgets-and-availability-design.md | 2 +- docs/superpowers/specs/2026-07-15-task-labels-and-projects-design.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/superpowers/specs') diff --git a/docs/superpowers/specs/2026-07-15-linear-task-chains-design.md b/docs/superpowers/specs/2026-07-15-linear-task-chains-design.md index a66d828..98198b2 100644 --- a/docs/superpowers/specs/2026-07-15-linear-task-chains-design.md +++ b/docs/superpowers/specs/2026-07-15-linear-task-chains-design.md @@ -1,6 +1,6 @@ # Linear Task Chains with WIP Limits — Design -**Status:** Backlog idea, refined via interview 2026-07-15. Not yet approved for implementation. +**Status:** Implemented 2026-07-17. Backend (migration 026, store, HTTP API), web timeline position badge, and Android widget data layer + row badge all shipped with tests (`go test ./...` green). See `docs/superpowers/plans/2026-07-17-linear-task-chains.md` for the task breakdown. Not built: a dedicated Android checklist screen for browsing a full chain (locked + unlocked) -- the row-level badge and `GET /api/widget/chains/{id}` endpoint exist, but the standalone browsable view described in "Visibility" below is deferred, consistent with this spec's own "Web UI specifics for the chain/checklist view" being out of scope. ## Context diff --git a/docs/superpowers/specs/2026-07-15-recurring-maintenance-buckets-design.md b/docs/superpowers/specs/2026-07-15-recurring-maintenance-buckets-design.md index 5072643..2bfb5ba 100644 --- a/docs/superpowers/specs/2026-07-15-recurring-maintenance-buckets-design.md +++ b/docs/superpowers/specs/2026-07-15-recurring-maintenance-buckets-design.md @@ -1,6 +1,6 @@ # Recurring Maintenance Buckets — Design -**Status:** Backlog idea, refined via interview 2026-07-15. Not yet approved for implementation. +**Status:** Implemented 2026-07-17. Backend (migration 027, store, scheduler, HTTP API), web timeline Defer action, and Android widget data layer + row Defer button all shipped with tests (`go test ./...` green). See `docs/superpowers/plans/2026-07-17-recurring-maintenance-buckets.md` for the task breakdown. Not built: a dedicated bucket-management UI (create bucket / add-remove pool items screen) on either web or Android -- the CRUD API exists and is tested, but per this spec's own "Not designed in detail here" on UI, the management surface itself is deferred. ## Context diff --git a/docs/superpowers/specs/2026-07-15-task-budgets-and-availability-design.md b/docs/superpowers/specs/2026-07-15-task-budgets-and-availability-design.md index 923ef54..5cf2c04 100644 --- a/docs/superpowers/specs/2026-07-15-task-budgets-and-availability-design.md +++ b/docs/superpowers/specs/2026-07-15-task-budgets-and-availability-design.md @@ -1,6 +1,6 @@ # Task Budgets and Availability Times — Design -**Status:** Backlog idea, refined via interview 2026-07-15. Not yet approved for implementation. +**Status:** Implemented (migration 025, shipped 2026-07-17). Status header and the implementation plan's checkboxes were never updated after implementation -- corrected 2026-07-17. ## Context diff --git a/docs/superpowers/specs/2026-07-15-task-labels-and-projects-design.md b/docs/superpowers/specs/2026-07-15-task-labels-and-projects-design.md index 4144d5b..9c13094 100644 --- a/docs/superpowers/specs/2026-07-15-task-labels-and-projects-design.md +++ b/docs/superpowers/specs/2026-07-15-task-labels-and-projects-design.md @@ -1,6 +1,6 @@ # Task Labels and Projects — Design -**Status:** Backlog idea, refined via interview 2026-07-15. Not yet approved for implementation. +**Status:** Implemented (migration 024, shipped 2026-07-15). Status header was never updated after implementation -- corrected 2026-07-17 during the linear-task-chains/maintenance-buckets work, which depends on this being done. ## Context -- cgit v1.2.3