Skip to content

Integrate Milo, habits, and practice with LifeOS and Nexus - #7

Merged
Hustlenix merged 9 commits into
mainfrom
codex/levelup-milo-usability
Oct 20, 2026
Merged

Hustlenix merged 9 commits into
mainfrom
codex/levelup-milo-usability

Conversation

@Hustlenix

@Hustlenix Hustlenix commented Oct 20, 2026 •

Copy link
Copy Markdown
Owner

Connect lessons and practice plans to saved actions, Small Steps, habits, and the daily ritual while retaining main's mission onboarding, XP, skill paths, and Nexus replication.

Today now exposes both missions and saved practice. The detailed reading/focus record remains under Progress. Both backup surfaces preserve Nexus, mission state, habits, Small Steps, and practice drafts; a regression test covers a combined restore and rollback after a late Nexus write failure. Shared theme tokens, text sizing to 150%, a replayable tour, install guidance, and the plain-language README are included. Small screens and tablets use compact navigation.

Milo Talk uses explicit context selection and approved action saves. Its separately deployed backend stays disabled by default; live cloud activation requires its documented configuration and provider permission.

Validation: 225 app tests, 8 backend tests, lint, and the 70-page production export passed. Browser checks passed the release operating loop (onboarding, mission XP, reading, quizzes, focus, Nexus convergence/encryption, backup restore, and Milo), 48 connected-practice checks, 109 Milo checks, and 108 layouts at 150% across four themes and three widths. Added the new routes to the live smoke suite and backend boundary tests to CI.

LalithReddy added 9 commits September 28, 2026 22:24
Ship the LifeOS Phase 2 milestone: journey and coach views backed by the AI advisor panel, a profile editor that reads and writes the local student profile, and a four-step onboarding wizard that seeds it. Adds the gamification core (progression, missions, monetization hooks, lifecycle context) with unit tests, a new sidebar navigation, and static-page metadata for every route.
Phase 1 of 4: local-first habit model with chosen-weekday schedules, per-habit streaks, starter templates, a daily ritual module on /today/ with smart prompts, and a /habits/ manager with weekly review. Backup round-trip and a dedicated test suite included.
New /habits route and HabitsView client component: empty state, active habit cards, Monday-start week table, inline add/edit form, and an archived section with restore plus two-step delete.

Adds two domain readers in lib/habits.ts. historyCells returns a status per date key and is schedule-aware; weekView now delegates to it so the rolling history and the week table cannot drift. historyEntries returns the logged entry per key and is the only door to a day's value, so a quantity cell can render value/target. A met day reads 25/25 rather than a check glyph; the sr-only spoken label carries the same figures so the state is never colour-only.

Dates come from useClientToday() and localDateOffset(), never toISOString(), so a user west of UTC cannot see tomorrow's cells. Before the client has a real date the view renders its header only, so server HTML and first paint agree.

Weekday chips read habit.days against a 0 = Sunday index, so labels are correct on any day of the week. Focus moves to the safe default when the delete confirmation opens and to the Archived heading after a confirmed delete.

Tests: 8 added, 35 in the habit suite. Covers both readers, their agreement with weekView, schedule-blind vs schedule-aware behaviour, and inherited-key habit ids.
@Hustlenix Hustlenix changed the title Connect daily practice, add Milo Talk, and improve accessibility Integrate Milo, habits, and practice with LifeOS and Nexus Oct 20, 2026
@Hustlenix
Hustlenix marked this pull request as ready for review October 20, 2026 04:39
@Hustlenix
Hustlenix merged commit de8b6b9 into main Oct 20, 2026
1 check passed
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