Spec notes: UX1's thresholds and the 37,500-token turn share
The spec's detector table states the thresholds as shipped (0.75 with three title words, 0.7 with five across title and brief), kept by the controller; §4 says a judgement turn reserves 150,000 / 4. HK1-PROGRESS records both and the live view.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 files changed,
+18
−11
docs/superpowers/plans/HK1-PROGRESS.md+13 −8docs/superpowers/specs/2026-11-08-equipo-housekeeping.md+5 −3
CI cancelled — superseded by a newer push — run details
diff --git a/docs/superpowers/plans/HK1-PROGRESS.md b/docs/superpowers/plans/HK1-PROGRESS.md| index 027b61da..b8d672b0 100644 |
| --- a/docs/superpowers/plans/HK1-PROGRESS.md |
| +++ b/docs/superpowers/plans/HK1-PROGRESS.md |
| @@ -119,7 +119,10 @@ suggestions (the Suggestions lane is not drawn). Conventions as in |
| Equipo did newest first with its evidence ("100% alike, 3 words in |
| common") and Undo while it can ("Undo until 15 Nov"), refusals and |
| failures, the detectors with On/Off and the switch. The digest line |
| - in the conversation with its link. |
| + in the conversation with its link. Live (Paul dislikes reloads): the |
| + view is a work region, nav-stream.js hears `housekeeping` events and |
| + work-stream.js swaps it in place; Undo and the switches post in the |
| + background (`static/housekeeping.js`), plain posts without scripts. |
| 9. Settings' Housekeeping section (coordinator, 2026-11-08: Pause, the |
| quiet-hours controls and the link to the activity view go in the |
| @@ -179,7 +182,9 @@ suggestions (the Suggestions lane is not drawn). Conventions as in |
| view with evidence, three meters, detectors and Undo in reach (44 px on |
| touch), no sideways scrolling; Undo from the view; Settings' section at |
| both sizes, quiet hours saved and shown again, Pause from Settings and |
| - the view saying so. It failed |
| + the view saying so; live: a new combine, Undo, a switch and a change |
| + made from another device land with no reload (the last failed with |
| + nav-stream's housekeeping listener removed). It failed |
| first: the page template was not registered (500). |
| - Mutations, each observed failing a test (script and output kept under |
| `~/.cache/tmp/equipo-hk1/` while working): the fold destination's owner |
| @@ -199,8 +204,8 @@ suggestions (the Suggestions lane is not drawn). Conventions as in |
| - Thresholds are UX1's as shipped on staging (title 0.75 with three |
| words, or title and brief 0.7 with five; a match at 0.6 with two, or |
| - 0.5 with three), not the spec table's rounded "0.8": they are pinned |
| - in the fixtures. |
| + 0.5 with three), kept by the controller; the spec's table now says so. |
| + They are pinned in the fixtures. |
| - The combined receipt keeps its card kind `combined` (native apps and |
| pages already draw it) and gains `action_id` and `visible_at`; the |
| new card kind `housekeeping` is the digest line. |
| @@ -211,9 +216,10 @@ suggestions (the Suggestions lane is not drawn). Conventions as in |
| `refused` (§6's Never list says refused); it acts the next day. |
| - `checked_at` for headroom is the connection record's update time (the |
| runner reports headroom at most once a minute). |
| -- With Paul's defaults the token limit binds before the turn limit for |
| - judgement turns: 40,000 each, so three fit in 150,000. Recorded in |
| - `TestHousekeepingReservation`; for Paul if four is meant. |
| +- A judgement turn reserves its share of the day's tokens, 150,000 / 4 |
| + = 37,500 (Paul: four turns must fit), derived from the limits, not a |
| + fixed 40,000; the token budget stays the binding total. The spec's |
| + §4 says so. |
| - `duplicate_possible` links count as actions in the ledger (class |
| `link`) but not toward the ten-a-day ceiling and are not listed on the |
| view; refusals are. |
| @@ -234,7 +240,6 @@ suggestions (the Suggestions lane is not drawn). Conventions as in |
| - Settings' section is on today's `/settings` page until UX1's Settings |
| page is merged. |
| - Person's zone is UTC everywhere (quiet hours, the day, 03:00, 08:00). |
| -- The view is not live: it re-reads on each visit and after its forms. |
| - Version skew as before: an old runner is unaffected (no new frames). |
| ## Copy for review |
diff --git a/docs/superpowers/specs/2026-11-08-equipo-housekeeping.md b/docs/superpowers/specs/2026-11-08-equipo-housekeeping.md| index bd59c4e4..a22d1a36 100644 |
| --- a/docs/superpowers/specs/2026-11-08-equipo-housekeeping.md |
| +++ b/docs/superpowers/specs/2026-11-08-equipo-housekeeping.md |
| @@ -103,8 +103,8 @@ detectors of §8 arrive later. |
| | Detector | Fires on | Class | Judgement | |
| |---|---|---|---| |
| -| `duplicate_same_creator` | `record_task` by a creator whose open, unstarted task in the same project overlaps the new one at or above 0.8 with three shared words, both tasks owned by that creator and checked again in the transaction | Act and tell: combine, receipt with Undo (built on `thin-v1-ux1`) | none | |
| -| `duplicate_possible` | overlap at or above 0.6, or any overlap across creators | Link only: "Possible duplicate of" on the new task, `Task.duplicate_of` as UX1 | none | |
| +| `duplicate_same_creator` | `record_task` by a creator whose open, unstarted task in the same project overlaps the new one at or above 0.75 with three shared title words, or 0.7 with five across title and brief (UX1's thresholds as shipped; kept by the controller 2026-11-08), both tasks owned by that creator and checked again in the transaction | Act and tell: combine, receipt with Undo (built on `thin-v1-ux1`) | none | |
| +| `duplicate_possible` | overlap at or above 0.6 with two shared title words, or 0.5 with three across title and brief, or any such overlap across creators | Link only: "Possible duplicate of" on the new task, `Task.duplicate_of` as UX1 | none | |
| | `retry_transient` | a step that **never pushed a candidate** stopped with `runner_restarted`, `interrupted`, `provider_failed`, `clone_failed`, `candidate_unavailable`, `checks_timeout` or `no_runner`, termination proven, no earlier automatic retry in this failure chain | Act and tell: one retry per chain, Undo until the retried step starts (slice 2) | none | |
| | `ready_waiting` | a task at Ready to merge with an open card or no card for over 24 h | Digest mention only, never a new card | none | |
| | `branch_gone` | the merge watch finds the task branch deleted on the forge without a merge | Needs you `branch_moved`, as today; digest line | none | |
| @@ -201,7 +201,9 @@ that will spend holds a **reservation** written in its `claimed` |
| transaction: the claim sums today's reserved and charged figures for the |
| person and refuses the claim (`held`, §4 ledger) if the new reservation |
| would exceed any limit, so two concurrent claims cannot both pass. A |
| -judgement turn reserves one turn and 40,000 tokens. A retry reserves one |
| +judgement turn reserves one turn and its share of the day's tokens, |
| +150,000 / 4 = 37,500, so all four turns fit (Paul, 2026-11-08; the |
| +token budget stays the binding total). A retry reserves one |
| retry and 100,000 tokens, covering the retried Engineering step and the |
| review and checks that follow it, and an execution cap: the retried step |
| runs under the ordinary `step_timeout`, at most the ordinary two fix |