Skip to content

docs: phased plan + subsystem maps for logging/category redesign - #175

Merged
mapgie merged 4 commits into
mainfrom
claude/design-handover-bdq9he
Aug 22, 2026
Merged

docs: phased plan + subsystem maps for logging/category redesign#175
mapgie merged 4 commits into
mainfrom
claude/design-handover-bdq9he

Conversation

@mapgie

@mapgie mapgie commented Aug 22, 2026

Copy link
Copy Markdown
Owner

What this is

A planning + groundwork PR for the logging & category-system design handover. No app code changes yet, by design: the ask was a phased plan that successive sessions can implement without losing existing features. Everything here is under docs/design/logging-redesign/.

Contents

  • PLAN.md — the master plan:
    • Golden rules (additive-first, versioned migrations, colour-as-role, changelog/a11y/WCAG gates, privacy invariants).
    • A feature-preservation inventory (the "do not lose these" list) covering logging, categories/management, theme/colour, and every downstream surface that reads the data.
    • A current-vs-mock gap analysis: much of the "new" model already exists (icons, input types, allow-multiple, timeline, show-in-period), so this is unification more than greenfield.
    • 8 phases, each shippable, each with scope, data changes, acceptance criteria, and a preservation checklist. Ordered additive-first: colour roles → group model → component library → MetricInput façade → unified log screen → What You Track home → create/edit + alarms → cleanup/removal (only after parity).
    • A progress log table and open decisions to surface to a human.
  • subsystem-maps/ — three stamped groundwork maps (logging screens, category data model, theme/colour machinery) so a fresh session doesn't re-explore. Each is stamped against commit d07d947 / versionCode 116 / DB v23 with a staleness check.
  • handover/ — the original design bundle preserved in-repo (intent README, theme spec, mockup HTML, rendered row screenshots).

Notably preserved / flagged

  • The plan diverges from the handover where the handover would cause feature/appearance loss (e.g. it keeps existing categories' colours instead of defaulting them to neutral grey). Divergences are called out in PLAN.md §5, §6, and §8.
  • The Color.kt theme-spec reconciliation is intentionally kept as a separate task, not folded into a logging phase.

Checks

  • Docs-only change (.md / .html / .png) — does not match check_changelog_fragment.py's app-code patterns, so no changelog fragment is required.
  • No Kotlin/build files touched.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Hz3A1rUUrbhVHcRWgguUFD


Generated by Claude Code

claude and others added 3 commits August 22, 2026 17:52
Adds a handoff-ready plan for the logging & category-system redesign so
successive sessions can implement it in phases without losing features.

- docs/design/logging-redesign/PLAN.md: golden rules, feature-preservation
  inventory, current-vs-mock gap analysis, 8 phases with acceptance criteria
  and per-phase preservation checklists, a progress log, and open decisions.
- subsystem-maps/: three groundwork maps (logging screens, category data
  model, theme/colour machinery), each stamped against commit d07d947 /
  versionCode 116 / DB v23 with a staleness check for future sessions.
- handover/: the original design bundle (README, theme spec, mockup HTML,
  rendered row screenshots) preserved in-repo for offline reference.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hz3A1rUUrbhVHcRWgguUFD
Adds docs/design/logging-redesign/phases/ with a detailed handoff guide for
each of the 8 phases (objective, prerequisites, exact files with current line
refs, step-by-step with code sketches, migration/data details, acceptance and
feature-preservation checklists, gotchas, and changelog guidance). Links them
from PLAN.md and the folder README.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hz3A1rUUrbhVHcRWgguUFD
@mapgie
mapgie marked this pull request as ready for review August 22, 2026 18:31
Adds a reusable handover template plus a ready-to-paste Phase 1 prompt for
launching fresh sessions to implement each phase.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hz3A1rUUrbhVHcRWgguUFD
@mapgie
mapgie merged commit 309f04b into main Aug 22, 2026
2 checks passed
@mapgie
mapgie deleted the claude/design-handover-bdq9he branch August 22, 2026 18:41
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.

2 participants