Files
Excersise-Tracker/docs/TASKS.md
T

60 KiB
Raw Blame History

Exercise Tracker tasks

This file holds accepted, scoped implementation work. It is not a speculative backlog. Current status and known issues belong in CURRENT_STATE.md; durable decisions belong in DECISIONS.md.

Proposed implementation sequence

Reconciled with docs/SPEC.md and docs/WORKOUT_ROUTINE.md. TASK-001–003, TASK-012–018 and TASK-020 are Complete. TASK-006 is Superseded; TASK-005 and TASK-008 are Accepted. TASK-019 requires rebuilding because its original uncommitted source is missing; it is not implementation-ready. Remaining tasks are Proposed. Completed application work is integrated in local codex, including reconstructed TASK-018 compact inputs within TASK-016. Implement one task per isolated branch/worktree under docs/WORKFLOW.md. Preserve the authoritative programme and historical storage semantics.

TASK-001: Application foundation and responsive shell

  • Status: Complete
  • Objective: Establish the React/Vite, React-Bootstrap, and test foundation with a responsive application shell.
  • Scope: App entry, local styling, navigation frame, lint/build/test scripts, and boundaries for routine data, storage, timers, and views.
  • Acceptance criteria: The shell builds and renders at phone and desktop widths with keyboard-usable navigation; no backend, authentication, remote assets, or tracking SDKs are introduced.
  • Relevant areas: Package configuration, app source, tests.
  • Required validation: Lint, build, shell test, and mobile/desktop visual check.
  • Non-goals: Workout data, date navigation, logging, persistence, and timers.
  • Dependencies or blockers: None. The owner confirmed the phone and desktop visual check on 2026-10-25. Automated checks passed in the earlier validation record and again with Node 24.21.0 on 2026-10-26.

TASK-002: Exercise definitions and authoritative routine seed

  • Status: Complete
  • Objective: Encode the full seven-day baseline as structured, versioned data.
  • Scope: Stable exercise IDs, prescriptions, order, session types, rest/load components, optional flags, untimed afternoon holds, daily hangs with an initial two-minute goal, and Monday/Friday “Full body stretch routine” headings with no exercise entries until supplied. Keep the exercise library separate from routine prescriptions. Earlier dog-walk data was removed under TASK-013.
  • Acceptance criteria: Data matches the owner-revised docs/WORKOUT_ROUTINE.md, including ranges and unspecified values; no invented stretch exercises or replacements; Saturday finger hangs and daily hangs are distinct.
  • Relevant areas: Bundled data, domain model, validation tests.
  • Required validation: Automated data invariants and manual source-to-data audit of every day and exercise.
  • Non-goals: Exercise imagery, logging, user edits.
  • Dependencies or blockers: TASK-001 is complete. The owner selected this task on 2026-10-25 and removed the previously listed stretch exercises on 2026-10-26. The seed follows docs/WORKOUT_ROUTINE.md for the pull-up EMOM discrepancy. Data invariants and the seven-day source audit passed; the repository's npm tests passed with Node 24.21.0 on 2026-10-26.

TASK-003: Date and period navigation with routine views

  • Status: Complete
  • Objective: Show the correct routine for an actual local date and one selected period.
  • Scope: Today default, navigation across weeks, seven-day strip, exclusive Morning/Afternoon switch above it, locally remembered period, and Monday/Friday morning “Full body stretch routine” headings with no exercise rows yet. Earlier dog-walk UI was removed under TASK-013.
  • Acceptance criteria: Day changes preserve period; only one period is shown; browsing never creates a record; targets and exercise order match the seed.
  • Relevant areas: Navigation and session UI, preference state, tests.
  • Required validation: Interaction and keyboard tests, mobile/desktop visual check, build.
  • Non-goals: Saving performed work or timers.
  • Dependencies or blockers: TASK-002 is complete. The owner confirmed TASK-003 complete on 2026-10-26. Interaction tests, lint, and build passed with Node 24.21.0.

TASK-004: Exercise detail and local media placeholders

  • Status: Proposed
  • Objective: Show useful exercise guidance offline before illustrations are available.
  • Scope: Detail panel, fields for instructions/muscles/equipment/cues/warnings, personal-note affordance for later storage, labeled placeholders and local asset metadata.
  • Acceptance criteria: Every seeded exercise opens a useful detail view; missing images have accessible placeholders; no hotlinked images or invented technique guidance.
  • Relevant areas: Exercise library, detail UI, tests.
  • Required validation: Detail and accessibility tests, offline asset check, responsive visual check.
  • Non-goals: Producing final illustrations or logging notes. TASK-015 supplies the expandable detail shell and missing-content placeholders; this task owns reviewed content/detail extensions.
  • Dependencies or blockers: TASK-002 and TASK-003; detailed technique text requires reviewed source/content.

TASK-005: Extended workout recording

  • Status: Accepted
  • Objective: Extend the initial dated rep/weight records from TASK-014 with other requested performance details while preserving partial and historical records.
  • Scope: Storage migrations building on the existing hang-goal override and TASK-014 strength entries; additional load variants or counts when needed beyond TASK-014's exercise-specific strength fields; hangs, untimed hold checkoffs, notes, optional body weight, previous-session suggestions, and error states. No timer-derived workout or break duration, per-round EMOM logging, or volume-per-minute rate.
  • Acceptance criteria: Additional performance details and hang attempts survive reload and remain distinguishable from prescribed targets; multiple hang attempts are distinct; edits/reseeding do not rewrite history; browsing alone writes no workout; storage failures are surfaced. TASK-014's EMOM total, regular per-set reps/weight, and legacy total-weight records remain available.
  • Relevant areas: IndexedDB adapter, domain model, recording UI, tests.
  • Required validation: IndexedDB integration tests, migration/error cases, load-component and hang reload checks, partial-session checks, build.
  • Non-goals: Progress charts, routine editor, backup UI.
  • Dependencies or blockers: TASK-014 and TASK-015. TASK-015 now owns metadata-driven load/count/side/duration/hang recording, completion and previous-session suggestions. TASK-005 retains notes, optional body weight and other extended recording without duplicating TASK-015.

TASK-006: Timers during and between exercises

  • Status: Superseded by TASK-014
  • Objective: Show current local time, time the whole workout and relevant exercises/sets/rests, and let the owner change the daily hanging goal.
  • Scope: A larger persistent local time clock in the header; a manually started whole-workout elapsed clock with pause/resume/stop/reset; count-up timing for open-ended morning work such as finger hangs; countdowns from prescribed morning hold/carry durations, with a user choice when the prescription is a range and optional side steps; no times or per-exercise timers for afternoon isometric holds; an editable daily hang goal saved through a narrow IndexedDB routine override with no vest display yet; rest presets of 60, 90, 120, and 180 seconds, including the documented between-exercise rest; ten one-minute EMOM rounds; visible completion and optional short bleeps for impending and actual timer transitions, muted by default.
  • Acceptance criteria: Current local time is prominent, readable, and updates across views, including phone width; afternoon isometric holds show no time targets or timer controls, while the daily hang goal can be changed, survives reload, and shows no vest load; already-running timers remain accessible; the workout clock can run alongside one exercise, rest, or EMOM timer and both show correct elapsed time after background-tab return; only one exercise/rest/EMOM timer runs at once, and replacing it requires an explicit action; timers are available from the relevant morning exercise or rest context; prescribed targets and clock readings do not automatically create a completed workout record; EMOM uses timestamps and displays the correct round; when sound is enabled, distinguishable bleeps announce approaching and actual transitions without requiring sight of the screen, with equivalent visible feedback and no promise of background audio; per-round logging remains independent.
  • Relevant areas: Timer logic and UI, tests.
  • Required validation: Clock-controlled unit tests for concurrent workout/interval timing and pause/resume, wall-clock updates and afternoon timer absence, hang-goal IndexedDB read/write/error/reload checks, keyboard/interaction tests, sound-on/off and unavailable-audio checks, background-throttling check, build, and phone/desktop visual check.
  • Non-goals: Guaranteed background alarms, custom rest presets, or automatic workout completion/logging.
  • Dependencies or blockers: TASK-003 is complete. The owner removed timers on 2026-10-27. TASK-014 removes the timer implementation while retaining the time-of-day clock and editable hang goal.

TASK-007: Routine editor

  • Status: Proposed
  • Objective: Edit future prescriptions through the UI without changing past records.
  • Scope: Exercise order, day/period assignment, sets/ranges, durations, load presets, rest and optional state beyond the already-editable daily hang goal; validation and persistence.
  • Acceptance criteria: Valid edits survive reload and app updates; historical sessions retain their performed values and prior prescription context; invalid entries are rejected clearly.
  • Relevant areas: Editor UI, routine versioning, storage, tests.
  • Required validation: Edit/reload/migration/history-isolation tests and responsive check.
  • Non-goals: Fully custom exercise creation unless separately approved.
  • Dependencies or blockers: TASK-005; clarify editor scope for adding/removing exercises before affected controls are built.

TASK-008: History and progress

  • Status: Accepted
  • Objective: Browse actual dated performance and transparent basic trends without a time-based rate.
  • Scope: Completed/partial session history, prior vs current performance, reps and load trends, total external-load volume from completed regular sets and aggregate EMOM entries, with historical minute/legacy records preserved separately, longest continuous and cumulative hang separately, optional body-weight trend.
  • Acceptance criteria: External-load volume is the sum, across completed regular sets and aggregate EMOM entries; historical minute entries retain their own load calculations, of actual reps multiplied by recorded external kilograms moved (vest, dumbbell total based on count, and/or EZ-bar total; body weight excluded). Do not combine detailed and legacy representations for the same performance. Use the current aggregate when it coexists with older representations for one session; never sum both. Show the formula and raw totals; label partial workouts and incomplete load data. Timed-only work contributes no rep-load volume; routine edits leave history intact. Do not show volume per minute.
  • Relevant areas: Queries/aggregations, history/progress UI, tests.
  • Required validation: Calculation and view tests with mixed loading modes, missing weights, partial workouts, and timed-only exercises; responsive check.
  • Non-goals: Coaching, calorie estimates, streaks.
  • Dependencies or blockers: TASK-014 and TASK-005. The owner removed volume per minute on 2026-10-27 while keeping rep and weight recording.

TASK-009: JSON backup and restoration

  • Status: Proposed
  • Objective: Transfer all local data using a versioned JSON file.
  • Scope: Export, schema validation, import preview/confirmation, replace/merge handling, and failure recovery.
  • Acceptance criteria: Round trip restores plans, logs, hangs, body weight, notes and settings; invalid files do not corrupt current records; replacement/merge requires explicit confirmation.
  • Relevant areas: Backup format, storage transaction, settings UI, tests.
  • Required validation: Full round trip in a fresh profile, invalid/old-version tests, transaction rollback test.
  • Non-goals: Cloud synchronization or CSV export.
  • Dependencies or blockers: TASK-015 supplies the tested JSON v2/v1 adapter; TASK-005/TASK-007 extend future stored content. User-facing preview/confirmation/conflict policy remains this task, with no automatic merge acceptance.

TASK-010: Offline release and full UX verification

  • Status: Proposed
  • Objective: Make the built app usable on reload without a network connection and verify v1 end-to-end.
  • Scope: Service worker/cache, offline status, storage explanation and backup guidance, accessibility/responsive polish, complete acceptance checklist.
  • Acceptance criteria: Built app opens offline after initial load; all major controls work by keyboard and at phone width; no data transmission or remote asset dependency is required.
  • Relevant areas: Build configuration, app shell/settings, integration tests, documentation.
  • Required validation: Production build served from stable origin, offline reload, cross-feature smoke tests, accessibility and mobile/desktop review.
  • Non-goals: Deployment to a chosen host or multi-device sync.
  • Dependencies or blockers: TASK-004 through TASK-009.

TASK-011: Reviewed exercise illustrations

  • Status: Proposed
  • Objective: Add accurate, licensed local illustrations for the documented exercise variants.
  • Scope: Create or source images, document rights/origin, review technique, add alt text and local assets.
  • Acceptance criteria: Added images match the prescribed variant, have reviewed technique and origin metadata, and load offline.
  • Relevant areas: Local assets, exercise library metadata, tests.
  • Required validation: Human technique/rights review and offline visual check.
  • Non-goals: Unreviewed generated or hotlinked imagery.
  • Dependencies or blockers: TASK-004; approved image source/review process. May proceed independently after that task.

TASK-012: Dog walks as reference only

  • Status: Complete
  • Objective: Keep the owner's usual dog walks visible as context without asking for walk entries or timing them.
  • Scope: Replace three daily walk slots and their timer controls with a compact reference to the documented typical frequency, duration, and current vest use; remove walk-recording requirements from future storage, history, and backup scope; preserve the routine facts for possible later calorie calculations without implementing estimates.
  • Acceptance criteria: Today/Week shows the walk reference, no individual walk slots or timer controls; no walk logs are planned; the source routine and seed carry the same reference facts; calorie estimates remain out of scope.
  • Relevant areas: Routine seed and tests, Today/Week UI, specification, task/context documents.
  • Required validation: Routine data and UI tests, full test suite, lint, build, context validation, and git diff --check.
  • Non-goals: Calorie calculations, walk completion, duration or vest entry, and logging.
  • Dependencies or blockers: TASK-002 and TASK-003 are complete. The owner requested this change on 2026-10-26.
  • Completion evidence: Version 5 seed and Today/Week UI use one walk reference with no walk slots or timer controls. The full suite passed (25 tests across 7 files), as did lint, build, context validation, and git diff --check on 2026-10-26. Browser visual checks were unavailable in this environment.

TASK-013: Remove dog walks from the app

  • Status: Complete
  • Objective: Remove dog walks from the workout tracker and its current product scope.
  • Scope: Remove the dog-walk reference from Today/Week, the routine seed, and current specification/source-routine requirements. Keep completed task and decision history as historical evidence.
  • Acceptance criteria: No dog-walk UI or seed data remains; tests assert the absence; active specification and future task scope do not require walks or calorie calculations.
  • Relevant areas: Routine view, seed, tests, specification and context documents.
  • Required validation: Full test suite, lint, build, context validation, and git diff --check.
  • Non-goals: Calorie calculation or changes to unrelated workout features.
  • Dependencies or blockers: The owner explicitly requested removal on 2026-10-26. Supersedes TASK-012's reference behavior.
  • Completion evidence: Version 6 seed, Today/Week UI, and current product documents omit dog walks. All 25 tests passed across 7 files, as did lint, build, context validation, and git diff --check on 2026-10-26. Browser visual checks were unavailable in this environment.

TASK-014: Remove timers and record strength reps and weight

  • Status: Complete

  • Objective: Keep the local time-of-day clock but replace workout timers with dated strength recording.

  • Scope: Remove workout, exercise, rest, and EMOM timers and sound controls; retain the large wall clock and editable hang goal; save one actual total-reps and exercise-specific load entry for each EMOM exercise, and actual reps plus exercise-specific load for each regular set, by date and exercise in local IndexedDB. Vest, dumbbell, and EZ-bar inputs follow the documented seed; mixed vest/dumbbell work has separate fields. Keep the prescribed EMOM protocol visible as reference without a timer.

  • Acceptance criteria: No timer controls or audio remain; the wall clock still updates; EMOM totals and regular set rows can be edited and survive reload and date navigation; flys request dumbbell kilograms per dumbbell without a vest field; exercises with vest and dumbbells request both separately; a new set copies the previous set's weights and leaves reps blank; older single-total records remain available without reinterpretation; browsing without saving creates no workout record; invalid or unavailable storage is surfaced; no volume-per-minute display or requirement remains.

  • Relevant areas: React routine cards and styling, IndexedDB adapter, tests, task/decision/spec context.

  • Required validation: UI entry, load-component, next-set default, legacy-record, and reload tests; storage migration/error tests preserving the hang-goal override; full test suite, lint, build, context validation, and git diff --check.

  • Non-goals: Per-round EMOM logs, timed workout/break records, volume per minute, and a full history view.

  • Dependencies or blockers: TASK-002 and TASK-003 are complete. The owner requested this change on 2026-10-27.

  • Agent-side evidence: On 2026-10-27, the original EMOM and regular-set entries persisted by date and exercise in the version 2 IndexedDB store while the prior hanging goal remained available. Timer UI/audio/engine files were removed; 23 tests across 7 files, lint, build, context validation, and git diff --check passed. The 2026-10-28 component and next-set correction passed its focused tests; full validation results are recorded in CURRENT_STATE.md and HANDOFF.md. Captain validation of the revised entry flow remains open.

  • Engaged validation evidence (2026-11-04): Current-worktree tests (27 across 7 files), lint and build pass. Source/test review established no new defect; no app code changed. Browser inventory is empty and in-app browser unavailable, leaving visual/runtime QA unverified. Exact current worktree is served loopback-only at http://127.0.0.1:5174/ for Captain acceptance; see HANDOFF. Status remains awaiting Captain validation.

  • Accepted TASK-014 correction (2026-11-04): Add suitcase-carry dumbbell kilograms per set, accepting zero and different loads across sets, copying the prior set load, and preserving save/reload/date isolation. Keep the duration-per-side prescription visible without requiring repetition inputs or inventing performed duration. Extend storage additively without rewriting existing records. Validate UI and storage regression coverage plus full checks; Captain validation remains required.

  • Correction evidence (2026-11-04): Suitcase-carry weight-only set inputs implemented with load-sets storage, explicit zero, independent loads, next-set copying, save/reload and date isolation. All 29 tests across 7 files, lint and build pass. No database version bump or historical rewrite; browser QA remains unavailable and Captain validation remains pending.

  • Accepted TASK-014 correction (2026-11-04): Add vest-only load metadata and per-set inputs for front planks (weight only, no reps) and side-plank hip raises (reps and vest). Preserve existing records and targets; accept zero and different weights per set, next-set copying and reload. This explicitly implements only these two equipment assignments from TASK-015; the broader task remains pending.

  • Plank correction evidence (2026-11-04): Seed v7 and shared editor show vest-only inputs for front planks and side-plank hip raises, without invented target loads. UI regressions verify per-set/zero loads, next-set copying, reload, absence of irrelevant fields/reps, and explicit conversion of historical bodyweight-only hip raises. All 32 tests across 7 files, lint and build pass. No database migration; awaiting Captain validation.

  • Completion evidence (2026-11-04): Captain explicitly confirmed “task complete” after the suitcase-carry and plank vest corrections. Final agent checks passed all 32 tests across 7 files, lint, build, context validation and whitespace checks. Agent browser QA was unavailable; Captain acceptance is recorded without claiming a separate agent visual check. No commit, merge or deployment was authorized or performed.

TASK-015: Exercise equipment specifications and context-aware UI

  • Status: Complete
  • Engaged: 2026-11-04 on task/015-equipment-ui from clean codex commit 669bfc3. Timer-free. Focused UI brief: docs/TASK-015_UI.md.
  • Lock-on: Captain selected TASK-015 for briefing on 2026-11-04 after accepting TASK-014. This was a briefing only; the subsequent ADR-018/engage instruction resolved timer/Git gates.
  • Brief refreshed: 2026-11-04. This is the existing matching task, expanded rather than duplicated. Initial planning was documentation-only; subsequent engagement authorized implementation.
  • Objective: Separate exercise capabilities, workout prescriptions, and actual performance, and use equipment/measurement metadata to drive a compact exercise interface.

Scope and boundaries

  1. Add versioned equipment and measurement metadata to all 30 current exercise definitions, following the assignment matrix in WORKOUT_ROUTINE.md's equipment assignment matrix. Supported equipment vocabulary: bodyweight, weighted vest, dumbbell(s), EZ curl bar, straight bar. No exercise is assigned a straight bar by this request; support the type without adding exercises. Multiple equipment types may be used simultaneously. Deep-push-up dumbbells are support handles, excluded from lifted load.
  2. Remove fixed resistance from exercise capabilities. Retain prescription targets separately, and record actual equipment-specific resistance independently for each set/minute. Dumbbell entry is kilograms per dumbbell with count represented explicitly; EZ/straight-bar entry is total kilograms including the bar. Zero is valid where additional resistance is supported; blank is not an inferred zero.
  3. Define repetitions, repetitions per side, duration, duration per side, distance where appropriate, and EMOM repetitions per minute. Preserve existing rep/set ranges, order, optional exercises, and unspecified targets. Carries currently prescribe duration per side; do not invent a distance target. Bird-dog and other unilateral holds allow actual seconds per side without inventing prescribed times.
  4. Replace prescription-load-key-driven fields with reusable metadata-driven controls. Support independent set completion, partial drafts, per-set loads, EMOM minute rows, duration attempts, previous matching session suggestions, and existing next-set load defaults. Suggestions are editable drafts, never automatically performed/completed records. Match by exercise, period, format, measurement/side semantics, and compatible equipment; do not suggest future sessions, reinterpret legacy totals, or overwrite current-date work.
  5. Compact cards show name, target sets/reps/duration, relevant equipment and rest guidance; actual entry is distinct. Use shared field headings on desktop with accessible row labels, stacked controls on mobile, and expandable details for available instructions, muscles, technique notes and local images/placeholders. Review this proposal through Frontend UI Design before code. Keep Today/Week navigation, exclusive Morning/Afternoon switching, local clock and editable hang goal. Timer-free behavior follows ADR-018.
  6. Daily hang is bodyweight-only with an initial editable 120-second continuous target, actual seconds per attempt, optional additional attempts, longest continuous and total duration separately. Never infer success from cumulative duration or prefill 120 as achieved. Keep Saturday weighted finger hangs distinct.
  7. Preserve old records, load interpretation, hang-goal overrides and any local plan edits through versioned storage/record upgrades. Define and test versioned JSON serialization and legacy import compatibility at the adapter boundary; the Settings backup interface and merge policy remain TASK-009.
  8. Update SPEC, WORKOUT_ROUTINE, relevant decisions, data README, tasks/current state and handoff with approved requirements, schema rules, validation and Captain acceptance evidence.

Acceptance criteria and required tests

  • Audit all 30 exercise IDs against the authoritative equipment matrix; test each exercise's visible and absent controls, not just example cards. Validate schema vocabulary, measurement units, side semantics and equipment combinations.
  • Bodyweight-only hanging knee raises, afternoon holds and daily hang show no external-load input. Vest-only exercises show no dumbbell or barbell inputs; handles never add resistance. Straight-bar support has a schema/control test without a seeded assignment.
  • Bulgarian split squats and all four specified mixed leg exercises support separate vest and dumbbell values. Different sets and EMOM minutes retain different loads after save/reload/date navigation, including explicit zero. Dumbbell counts and bar-inclusive totals produce correct saved external load.
  • Rep exercises show reps or reps per side as appropriate; timed exercises show seconds or seconds per side without requiring reps. Carry distance is supported only when relevant metadata selects it. Finger-hang duration remains unspecified as a target.
  • EMOM supports ten minute-by-minute rep/load entries, partial rounds and derived totals. Legacy aggregate EMOM records remain aggregate, available without invented minute allocations. No default targets become actuals; mixed-load volume, if calculated, uses the sum of each minute's reps times its own load, never total reps times one assumed weight.
  • Completion follows successful explicit Save, not a separate checkbox: fully filled valid rows complete, incomplete rows stay drafts. Partial records survive reload; previous-session prefills and next-set defaults do not mark work complete or write records on browsing.
  • Daily hang attempts preserve actual seconds independently, compute longest and cumulative totals, and compare the continuous target to the longest attempt. Editable goal persists independently; unilateral isometric logging requires neither reps nor invented duration targets.
  • Metadata/prescription changes, reseeding and upgrades leave existing actuals and historical load semantics unchanged. Test old total-only and component sets/EMOM, v1 hang-goal-only database and v2 database, unknown historical equipment, blocked/unavailable storage and failed transaction rollback. No legacy total is decomposed or per-minute load fabricated.
  • Versioned JSON round trips restore both old and new records and relevant definition/prescription context; old versions are accepted through explicit adapters and invalid/unsupported input leaves data unchanged. No claim that old app binaries can read new records is required.
  • Keyboard and screen-reader labels remain useful despite reduced repeated visible text. Verify mobile (including 320px) and desktop layouts without horizontal scrolling, expanded details, errors, mixed equipment, many sets and EMOM rows.
  • Preserve exercise order/ranges/optional state, Monday/Friday empty stretch headings, date/period navigation, clock, storage errors and existing recording. Timer tests follow the approved timer decision. Run full npm test, lint, build, context validator and git diff --check; review diff against the confirmed base; perform mobile/desktop browser QA and obtain Captain validation before Complete.

Inspected implementation and likely affected files

  • src/data/exerciseDefinitions.json: currently only IDs/names/categories; add equipment, measurement, support-role and version metadata.
  • src/data/initialRoutine.json, src/data/index.js, src/data/README.md, src/data/initialRoutine.test.js: versioned prescription seed (now v8), target/load separation and assignment invariants.
  • src/App.jsx, src/StrengthEntryEditor.jsx, src/HangGoalEditor.jsx, src/routineView.js, src/strengthLoad.js, src/styles.css: exercise cards, metadata selectors, reusable set/minute/attempt fields, details and responsive layout; add focused domain/components as needed rather than hardcoding exercise IDs.
  • src/localDatabase.js, src/strengthStorage.js, src/hangGoalStorage.js and their tests: versioned reads/writes, new performance shapes, compatible prior-session queries, historical context and overrides. Legacy strength validation retains repetition sets, weight-only load-sets and aggregate EMOM. New PerformanceEditor/model/storage support actual duration/side/attempt/completion/minute data from metadata. The old editor remains available only for explicitly editing original-format records.
  • src/App.test.jsx, src/StrengthEntryEditor.test.jsx, src/routineView.test.js and new focused metadata/storage/serialization tests.
  • Documentation listed above; future TASK-009 consumes the serialization contract. No export/import implementation exists today.

Migration implications and proposed implementation sequence

  1. Approve unresolved timer/Git decisions and UI brief; reconcile task ownership below. Establish a safe dedicated task worktree from the agreed base without losing current uncommitted prerequisites.
  2. Define separate versioned exercise capabilities, prescriptions and performance records. New records retain actual units, side, equipment/count and sufficient definition/prescription context for historical interpretation. Review whether old preset weights remain optional prescription information; never use them to generate actual loads or capabilities.
  3. Add metadata and audited seed updates, then a versioned performance reader/writer with legacy adapters. The initial baseline was IndexedDB v2. The implemented v3 adds performanceEntries and its compound index while retaining routineOverrides and strengthEntries verbatim. New detailed records use schemaVersion 1 and saved definition/prescription snapshots. Test before integrating UI.
  4. Build reusable card/measurement/load/row/detail components; add minute and duration flows plus compatible prior-session lookup. Apply the focused layout proposal, preserving the existing visual language.
  5. Add JSON codec/version compatibility fixtures, regression tests and browser QA; update context and hand off an exact testable representation. No repository testtask adapter currently exists; recheck at handoff.

Dependencies, decisions and implementation gate

  • TASK-014 is Complete following Captain acceptance on 2026-11-04; its committed dated-load implementation in codex 669bfc3 is the technical baseline.

  • TASK-015 owns metadata, applicable per-side/duration/hang logging, completion and previous-session suggestions requested here, replacing the overlapping portions of TASK-005 when engaged. TASK-005 retains notes, optional body weight and other unrelated extended recording. TASK-004 supplies reviewed detail content; TASK-015 can provide the expandable shell and honest missing-content placeholders without waiting for TASK-011's final illustrations. TASK-008 consumes the new performance shapes; TASK-009 owns backup UI/import policy. Do not duplicate those features.

  • Timer decision resolved (2026-11-04): Captain selected timer-free behavior. Keep only the wall clock and prescribed rest/EMOM guidance; no timers/audio return (ADR-018).

  • Git decision resolved (2026-11-04): Captain authorized committing existing work and merging it into local codex before implementation. Create TASK-015 branch from that clean integration baseline per ADR-018 and WORKFLOW. Do not merge TASK-015 without further authority.

  • The current explicit request resolves earlier planning questions: minute-by-minute EMOM is required (derived totals supplement it; existing aggregate history stays aggregate); isometric duration means actual logging, not prescribed hold targets; daily hang goal means continuous; dog walks are bodyweight-only classification context without authorized restoration of removed app screens/records. No fixed vest values enter definitions. These do not require repeated approval.

  • Non-goals: unrelated redesign, new exercises, fabricated technique content/assets, dog-walk UI/logging, calorie calculations, routine editor, full history/backup UI, volume per minute, merge or deployment.

  • Skills applied: Frontend UI Design, Webapp Feature, Frontend Visual QA availability check and Code Review of tracked/untracked task changes against codex. Browser inventory remained empty; no visual pass is claimed.

  • Captain correction (2026-11-04): Remove all completion checkboxes; successful Save completes fully filled valid rows and retains incomplete drafts. Suggestions, browsing and failed saves do not create achieved performance.

  • Captain correction (2026-11-04): Remove the count input from all exercises; retain definition defaults for new rows and preserve recorded historical counts internally for load calculations.

  • Earlier Captain correction (2026-11-04): Floor flys always use two dumbbells. Hide their count control, retain kilograms per dumbbell and a fixed count of two in new records/calculations. Preserve original snapshot counts in existing records.

  • Implementation evidence (2026-11-04): Metadata and seed v8, reusable detailed editor, left/right actuals, minute EMOM/conventional sets, load/count and completion, hang totals, compatible previous-session lookup, expandable details, additive IndexedDB v3 and JSON adapter v2/v1 are implemented. Original stores/records remain intact. Reviewed against codex 669bfc3; no unrelated theme/history/backup UI changes. All 129 tests across 11 files, lint, build, context validation (0 warnings) and whitespace checks pass on 2026-11-04. Exact Captain checklist is in HANDOFF. Captain subsequently authorized task commit/merge to local codex on 2026-11-04; no push/deployment authorized.

  • Completion evidence (2026-11-04): Captain explicitly confirmed “task complete” after removal of all dumbbell-count inputs and completion checkboxes. Final checks passed 129 tests across 11 files, lint, build, context validation and whitespace checks. Agent browser QA was unavailable; Captain acceptance is recorded without claiming a separate agent visual pass. Captain subsequently explicitly authorized committing and merging this accepted task into local codex on 2026-11-04. No push or deployment is authorized.

TASK-016: Apply a consistent dark theme

  • Status: Complete — Captain explicitly accepted TASK-016 and authorized its commit and local codex merge on 2026-11-11. Rebuilt source: .task-worktrees/task-016, branch task/016-dark-theme-rebuild, base 922d1f6. This is a reconstruction, not recovery of the old missing /tmp candidate.
  • Requested: 2026-11-04
  • Objective: Make the application consistently dark themed while preserving existing layout, navigation and workout behavior.
  • Scope: Dark page backgrounds and layered card/panel surfaces; readable primary/secondary text; coordinated borders, green accents, buttons, links, badges, form inputs and native controls. Cover selected, hover, focus, disabled, loading, saved/success and error states. Use shared CSS color tokens and compatible React-Bootstrap theme settings rather than scattered overrides. Retain the existing typography, spacing and component hierarchy.
  • Acceptance criteria: All existing Today, Week, History, Plan and Settings surfaces use the dark palette consistently, including exercise cards, strength-entry rows, hang-goal controls, header and clock. No unintended light panels or inputs remain. Text meets WCAG AA contrast (4.5:1 normal text, 3:1 large text); essential control boundaries and focus indicators meet 3:1 against adjacent colors. Selected/error/completion states are distinguishable without relying solely on color. Keyboard focus, touch targets and readability remain clear on mobile and desktop; no new horizontal overflow. Navigation, Morning/Afternoon switching, recording, date isolation and goal persistence remain operational. Dark theme applies consistently on initial load and reload, including when the OS uses a light theme.
  • Relevant areas: src/styles.css, src/main.jsx, src/App.jsx, shared React-Bootstrap configuration, strength/hang editors where required, existing interaction tests and docs/SPEC.md. No workout data or IndexedDB migration is expected.
  • Proposed approach: Inspect current UI and approve a restrained dark palette; centralize semantic colors for surfaces/text/borders/accent/status/focus; apply the supported Bootstrap dark theme plus local tokens; inspect all controls and states in the browser and correct contrast or native-control mismatches. Preserve existing green identity where contrast permits.
  • Required validation: Mobile (including 320px) and desktop browser review across all sections and both workout periods; keyboard/focus and measured contrast checks; input, disabled, saved and error-state review; existing test suite, lint, build, context validation and git diff --check; Captain visual acceptance before Complete. Avoid tests that merely duplicate CSS declarations.
  • Dependencies: Confirmed codex base 922d1f6. The 2026-11-11 rebuild reimplements accepted TASK-018 compact CSS requirements as a prerequisite. TASK-020 launcher repair is copied to make the candidate runnable. TASK-019 availability changes are not included: the earlier combined candidate is missing. No Git merge or commit occurred.
  • Non-goals: New layouts, unrelated UX redesign, light-mode variants, a theme picker, OS-theme switching, new settings or persistent preferences, and changes to workout definitions/storage/timers.
  • Decisions required before implementation: Review the exact palette through the UI brief; default scope is a single dark theme. A light/dark switch would require separately approved scope.
  • Recommended skills when engaged: Frontend UI Design → Webapp Feature → Frontend Visual QA. Captain engaged implementation with TASK-019 on 2026-11-08; palette/composition and measured contrast are in docs/TASK-016_UI.md on the TASK-016 branch.

TASK-017: Replace EMOM tables with one weight and one total-reps input

  • Status: Complete — Captain explicitly accepted on 2026-11-07
  • Engaged: 2026-11-07 on task/017-emom-totals, base codex / 9c0e820.
  • Requested: 2026-11-07. Captain reiterated that the EMOM minute table is unwanted and only one weight input and one total-reps input are needed.
  • Objective: Restore simple aggregate EMOM entry under ADR-020, consistent with the original ADR-014 intent.
  • Scope: Replace the normal EMOM input table with exactly one weight (kg) input and one total-reps input per exercise/session. Remove minute rows and the minute/conventional-set mode switch. Keep prescribed protocol guidance, explicit Save, validation and dated local persistence.
  • Acceptance criteria: Every EMOM exercise has exactly these two performance inputs, with no minute table, repeated fields, add-set controls, completion checkboxes or mode switch. Values survive Save, reload and date/period navigation with correct isolation. Zero weight is valid; blanks remain missing rather than becoming zero or targets. Browsing writes nothing; invalid values and storage failures remain visible. Existing aggregate and detailed minute records retain original values and semantics without silent conversion, overwritten history, fabricated uniform weights or double-counting. Regular sets, non-EMOM equipment controls, hangs, navigation and the wall clock retain existing behavior; timers remain absent.
  • Relevant areas: src/PerformanceEditor.jsx, src/performanceModel.js, performance/legacy storage adapters and tests, docs/SPEC.md, docs/TASK-015_UI.md and context documents.
  • Required validation: UI assertions for exactly one weight and one total-reps input and no EMOM table/mode switch; IndexedDB save/reload/date-isolation tests; historical aggregate/minute compatibility and zero/blank/error regressions; full tests, lint, build, context validation and git diff --check. Verify keyboard use and 320px/desktop layout. Captain manual acceptance is required before Complete.
  • Non-goals: Changes to the training programme or other exercise entry, advanced/per-minute entry, timers, history/progress screens and unrelated refactors.
  • Dependencies or blockers: TASK-015 is integrated on local codex (inspected HEAD 9c0e820). ADR-020 supersedes its minute-entry requirements and ADR-017's corresponding clause. During implementation define compatible persistence and historical access without silently collapsing varying historical loads. TASK-008 must support new aggregates alongside preserved minute history without double-counting. No additional input fields are authorized.
  • Implementation evidence (2026-11-07): Two-input EMOM form, separate aggregate key/format, preserved original editors, aggregate-only suggestions and JSON v3 with v1/v2 import compatibility implemented. 139 tests across 12 files, lint and build pass; context/whitespace checks and refreshed testtask snapshot are recorded in HANDOFF. Reviewed against codex / 9c0e820. Browser UI automation inventory is empty; real 320px/desktop and keyboard visual checks remain for Captain. No commit/merge performed.

Accepted TASK-017 validation correction — one input for both sides (2026-11-07)

  • Status: Complete — included in Captain acceptance on 2026-11-07.

  • Scope: All exercises currently asking separate left/right reps or seconds, including Single-arm preacher curls over a chair, use one reps/seconds input per set labeled as applying to each side. Entering or clearing it updates both sides together. Keep equipment inputs and prescribed side guidance.

  • Acceptance: No separate left/right input controls remain. Save/reload, multiple sets, zero/blank drafts and compatible suggestions work. Previously recorded unequal or partial left/right values remain intact on read and untouched Save, shown as read-only history; entering a replacement explicitly applies it to both sides. No schema migration or programme changes.

  • Validation: All-exercise control matrix; preacher-curl and hold entry/reload; historical unequal/partial preservation; storage integration; full tests/lint/build/context/whitespace and refreshed TASK-017 test snapshot. Captain acceptance remains required.

  • TASK-017 completion evidence (2026-11-07): Captain explicitly stated “task complete. commit all and merge to codex”, accepting EMOM totals and shared per-side inputs. Final automated verification: 143 tests across 13 files, lint, build, context validation and whitespace checks pass. No independent agent browser visual pass is claimed. Captain authorized committing all pending task changes and local codex integration; no push/deployment. Work was done on a dedicated task branch in the original worktree, not a separate implementation worktree; this workflow deviation is recorded, not retroactively corrected. Testtask execution belongs to Captain.

TASK-018: Narrow numeric workout inputs

  • Status: Complete — Captain accepted on 2026-11-08. Original uncommitted /tmp implementation is missing; accepted compact-input requirements were reconstructed and integrated through TASK-016 in 0cf0515 on 2026-11-11. Original branch task/018-compact-inputs contains no separate candidate commit.

  • Requested: 2026-11-08.

  • Objective: Reduce the excessive width of numeric fields; Captain expects values of at most three digits in normal use.

  • Scope: Compact widths for regular performance measurements and equipment loads, EMOM weight/total reps, hang attempts/goal and earlier-record numeric editors. Adjust their grid columns where necessary so inputs no longer stretch across the card; retain aligned headings, readable labels and the existing visual language.

  • Acceptance criteria: Three-digit values remain readable with native input controls, padding and focus indicators. Existing supported decimal weights remain usable. Inputs are visibly compact at desktop and mobile widths, including 320px; labels, units, historical side text and errors wrap without horizontal overflow. Preserve accessible names, keyboard use and control height. Existing validation, zero/blank semantics, Save, suggestions, date isolation and historical data behavior remain unchanged. Three digits guide visual sizing; this task does not add a 999 limit or truncate existing data.

  • Relevant areas: src/styles.css, src/PerformanceEditor.jsx, src/EmomTotalEditor.jsx, src/StrengthEntryEditor.jsx, src/HangGoalEditor.jsx and existing tests if markup must change.

  • Proposed approach: Use a shared compact numeric width with bounded grid columns; keep labels free to wrap and retain existing responsive stacking. Prefer CSS-only changes. Inspect three-digit values and supported decimal loads with browser number controls before settling the width.

  • Required validation: Existing tests, lint, build, context validation and git diff --check; inspect task diff against confirmed codex base. Desktop and 320px manual checks for regular/mixed-equipment rows, EMOM, hangs and expanded earlier records; keyboard/focus and zero/blank/decimal entry checks. Captain runs PATH=/home/rob/.nvm/versions/node/v24.21.0/bin:$PATH scripts/testtask.sh 018; Captain visual acceptance is required before Complete. No tests that merely duplicate CSS rules.

  • Dependencies: TASK-017 is integrated in clean local codex at 922d1f6. ADR-016/019 preserve load and storage semantics, ADR-020 preserves two-field EMOM, ADR-021 preserves shared side entry. TASK-016 dark theme remains separate. Prepare the dedicated numbered branch under WORKFLOW only when implementation is engaged and authorized; no Git operations are authorized by this briefing.

  • Non-goals: Dark theme, card redesign, smaller touch heights, new numeric limits, changed validation/storage, programme changes or unrelated refactoring.

  • Recommended implementation skills: Webapp Feature → Frontend Visual QA; Roborto Project Context governs task/handoff. No application implementation or browser/testtask launch during lock-on.

  • TASK-018 agent validation (2026-11-08): 143 tests across 13 files, lint, production build, context validation (0 warnings) and git diff --check pass. Final diff reviewed against confirmed codex base 922d1f6; only scoped CSS and task context changed. CSS-only change uses shared 5.25rem numeric inputs, bounded desktop/EMOM columns and aligned desktop headings; control heights, responsive stacking and data behavior retained. No new numeric limits or CSS-mirroring tests. Desktop/320px, native controls, decimal readability and keyboard/focus checks await Captain testtask acceptance. No testtask/browser launched.

TASK-019: Hide previous-session action when no applicable data exists

  • Status: Accepted / requires rebuild — prior implementation-ready candidate in /tmp/exercise-tracker-task-019 is missing. Its branch contains no candidate commit. TASK-019 is not included in 0cf0515 or the TASK-020 completion; prior validation records below are historical evidence only.

  • Requested: 2026-11-08.

  • Objective: Show “Use previous session” only when there is compatible previous-session data that can be applied.

  • Scope: Conditional visibility in regular set/hold/hang and EMOM performance editors, including preserved detailed historical editors where the action exists. Resolve availability using the existing previous-performance compatibility rules: same exercise, period and format, compatible saved definition, earlier actual date and completed source rows. Empty, draft-only, incompatible, current-date or future records do not qualify. Preserve aggregate/minute separation and explicit user-triggered application.

  • Acceptance criteria: The action is absent when no qualifying source exists, including a fresh database; visible when qualifying data exists. Keep it absent while availability is unknown or lookup fails; surface lookup failure with a retry path. Re-evaluate on date, period, exercise or saved-definition/format changes without stale results or button flashes. Checking availability writes nothing and never applies data automatically. Preserve current-entry protection, zero values, partial drafts, suggestions requiring review/Save, saved data and historical isolation. Existing populated-entry behavior is otherwise unchanged; this task does not broaden when suggestions may overwrite current work.

  • Relevant areas: src/DetailedPerformanceEditor.jsx, src/EmomTotalEditor.jsx, src/performanceStorage.js and corresponding UI/storage tests.

  • Required validation: Fresh/empty store, compatible completed source, zero-valued source, draft-only and incompatible sources, current/future exclusion, date/period/exercise changes, stale async responses, storage failure/retry, and existing-entry preservation. Run full tests, lint, build, context validation and git diff --check; review against confirmed integration base. Captain manual verification of hidden/visible states and keyboard access through testtask 019 is required before Complete. Captain alone runs testtask.

  • Dependencies: Existing previousPerformance rules and ADR-019/020/021 govern compatibility and history. TASK-018 is Complete but uncommitted in its own worktree. TASK-019 starts from confirmed codex 922d1f6 with accepted TASK-018 CSS copied as a prerequisite. TASK-016 contains a copy of the TASK-019 candidate for the shared Captain test pass.

  • Non-goals: Automatically applying suggestions, changing compatibility or history semantics, overwriting current entries, new history screens, layout redesign, storage migrations or unrelated refactoring.

  • TASK-018 completion evidence (2026-11-08): Captain explicitly stated “task-018 complete”, satisfying the Captain acceptance gate. Agent checks passed 143 tests, lint, build, context validation and whitespace review. No independent agent browser pass is claimed. Implementation remains uncommitted on task/018-compact-inputs in /tmp/exercise-tracker-task-018; commit and integration require separate Captain instruction.

TASK-016 / TASK-019 group implementation evidence — 2026-11-08

  • TASK-019: Shared keyed/cancellable availability lookup gates the action in detailed and aggregate EMOM editors. Unknown/empty/incompatible availability stays hidden; lookup failures have a separate retry path preserving current input. Existing compatibility, explicit application and current-entry protection remain unchanged. Added real IndexedDB UI cases and async race/retry tests; existing suggestion tests now wait for availability.
  • TASK-016: Single dark document theme before first paint, semantic surface/text/accent/border/status tokens and coordinated Bootstrap/native controls. No theme switch or OS preference dependency. Existing layout and accepted compact-input dimensions retained. Brief and measured palette ratios: docs/TASK-016_UI.md in the task worktree.
  • Validation: Full suite passes 155 tests across 15 files in both candidates; after the final parent-context race guard, the focused suite passes 13 tests across 2 files (including one additional regression). Final lint/build, context validation (0 warnings), whitespace checks and diff review against codex 922d1f6 pass. Overlay review separates TASK-018 CSS and identical TASK-019 files from TASK-016 changes. No storage/schema/dependency changes.
  • Remaining acceptance: Captain desktop/320px, keyboard/focus, all sections/both periods, native number controls, initial/reload theme and suggestion hidden/visible/failure states. Palette text pairs exceed 4.5:1 and essential border/focus pairs exceed 3:1 by sRGB calculation; no browser visual/console/network pass is claimed. Captain alone runs testtask. Both tasks remain awaiting acceptance, not Complete. No commits/merges/push/deployment.

TASK-020: Run testtask from project home

  • Status: Complete — Captain explicitly accepted TASK-020 and authorized commit/local codex merge on 2026-11-11. Tooling was already integrated as a TASK-016 prerequisite in 0cf0515; the dedicated branch is reconciled to that commit before recording completion. Source: persistent .task-worktrees/task-020, branch task/020-testtask-repair.

  • Objective: Run scripts/testtask.sh TASK_ID from project home and select the corresponding checked-out task implementation, including uncommitted task files.

  • Scope: Project-local wrapper source routing using Git worktree/branch metadata; preserve the standalone runner, snapshot integrity/secrets rules, browser isolation and Captain ownership. Report the selected source and refuse missing/ambiguous task worktrees rather than silently testing codex. Install the reviewed wrapper/helper in project home for immediate use, retaining the authoritative task worktree copy.

  • Acceptance: Home-folder invocation for TASK-016 selects its combined candidate; other active numbered task branches route independently. Paths with spaces work. Invalid IDs, unknown tasks and ambiguous candidates fail clearly. No branch switches, commits or merges. No runner/browser launched during agent checks.

  • Validation: Routing integration tests in temporary fixture repositories with a stub runner, shell syntax, Python checks, context validation and whitespace/diff review. Captain performs the real testtask/browser launch.

  • Non-goals: Global CLI changes, launching/stopping test sessions, changing app storage or browser-profile persistence, application UI changes.

  • TASK-020 evidence (2026-11-08): Five fixture-repository routing tests pass with a stub runner, covering home invocation, independent task IDs, dirty/untracked source preservation, paths with spaces, invalid/missing/ambiguous selection and no branch switch. Shell syntax passes; live read-only source resolution selects /tmp/exercise-tracker-task-016 for 016. Existing snapshot/runner/hooks remain unchanged. No actual testtask/browser launched. Original and task context validation and whitespace checks pass. Captain's real launch is pending.

TASK-020 repair — 2026-11-11

  • Captain requested fixing testtask to work like PitchInvader. Reproduced source-resolution failure for 016: registered /tmp implementation directories for 016/018/019/020 no longer exist. All task branch refs point at 922d1f6; Git unreachable objects contain only old specification/routine documents, not the missing application candidate. No recoverable 016 candidate was found in the available repository evidence. Previous implementation/acceptance records remain historical evidence, not proof of a currently available candidate.
  • Scope: Retain the standalone runner, isolated browser/profile and hash-verified snapshot adapter; select supported Node automatically through installed nvm like PitchInvader, provide read-only --check, report missing source loss clearly, and allow a live replacement source despite an old missing registration. Never silently test codex for a missing task. Use persistent implementation sources under .task-worktrees/, distinct from .test-worktrees/ snapshots.
  • Source: .task-worktrees/task-020, branch task/020-testtask-repair; existing project-home tooling/context edits preserved and incorporated. Wrapper/helper/hook/tests copied to project home for immediate use under the existing TASK-020 installation scope. No application changes or integration performed.
  • Validation: 10 fixture routing/runtime tests pass with a stub runner, covering missing candidates, stale registrations, automatic Node selection, unavailable Node and no-launch preflight as well as original routing behavior. Real local --check 020, syntax, context and whitespace checks are recorded in the handoff. Captain alone launches a real runner/browser.
  • Blocker: TASK-016/018/019 uncommitted application sources are missing. Restoring a saved candidate or separately authorized rebuilding is required before testing those tasks. Do not reconstruct baseline branches and call them recovered implementations.

TASK-016 reconstruction — 2026-11-11

  • Trigger: Captain reported the 016 source-missing error after launcher repair. Rebuilt accepted TASK-016 in persistent .task-worktrees/task-016 on task/016-dark-theme-rebuild from codex 922d1f6; no recovery of lost uncommitted files is claimed.

  • Single dark document/Bootstrap/native-control palette, semantic tokens and coordinated states; no theme picker, OS dependency or storage/programme changes. Accepted TASK-018 compact numeric requirements are reimplemented as a prerequisite. TASK-019 is not included in this candidate.

  • TASK-020 launch tooling is copied as a prerequisite; tests/lint exclude nested .task-worktrees at home and in candidates. Home source preflight for 016 now passes. Actual runner and browser remain Captain-owned.

  • UI brief and measured token contrast: docs/TASK-016_UI.md in the new candidate. Fresh full-suite result and final checks are in HANDOFF. Desktop/320px/native-control/focus/initial-reload/manual verification remains required before Complete.

  • TASK-016 reconstruction final evidence: 143/143 tests across 13 files pass with npm test -- --maxWorkers=1 (default parallel run had two timing failures); final lint/build, 10 stub-runner tooling tests, home --check 016, context validation (0 warnings) and whitespace review pass. Diff reviewed against 922d1f6; app changes are CSS and document theme metadata only. No real runner/browser/snapshot was started. Implementation-ready pending Captain visual acceptance.

  • TASK-016 completion (2026-11-11): Captain explicitly stated “task -016 complete commit and merge”, satisfying the Captain acceptance gate and authorizing commit/local codex integration of the tested reconstruction, including accepted compact-input requirements and the testtask tooling prerequisite. Agent evidence: 143/143 tests with one worker, lint/build, 10 routing tests, palette measurements, context/whitespace and diff review. Default-parallel timing failures remain disclosed; no independent agent browser pass is claimed. TASK-019 remains missing and is not included. TASK-020 retains its separate status/worktree; its launch tooling prerequisite is included in TASK-016 integration. No push/deployment or worktree/session cleanup authorized.

TASK-020 completion and integration audit — 2026-11-11

  • Captain explicitly stated “task 020 complete. commit and merge”, satisfying the acceptance gate and authorizing local integration. No runtime code changes are required: all TASK-020 tooling is already byte-identical to codex 0cf0515 from TASK-016 integration.
  • Preserved the dedicated worktree's duplicate tooling and older context in a named safety stash, then fast-forwarded task/020-testtask-repair to codex before recording completion. This avoids reintroducing stale task state. The completion commit contains context changes only.
  • Revalidated 10 stub-runner routing/runtime tests, no-launch preflight for 016/020, shell syntax, context validation and whitespace review. No runner/browser/session launched or stopped. Previous TASK-016 interaction/lint/build evidence remains unchanged.
  • Audit: all task branch commits are ancestors of local codex. All completed available application/tooling work is integrated, including reconstructed TASK-018 compact-input requirements. TASK-019 is not Complete and its missing source is not merged/recovered. Prior /tmp registrations and safety stashes remain preserved; no push/deploy or destructive cleanup authorized.