Skip to content

Harden architecture, durability, and long-history workflows - #12

Merged
wellivea1 merged 2 commits into
mainfrom
codex/phase4-local-assistant
Jul 28, 2026
Merged

Harden architecture, durability, and long-history workflows#12
wellivea1 merged 2 commits into
mainfrom
codex/phase4-local-assistant

Conversation

@wellivea1

@wellivea1 wellivea1 commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • add the Phase 4 desktop-local assistant and transactional installer/update path
  • harden sleep/task sync with bounded batches, typed tombstones, atomic task transitions, transactional pull pages, and resurrection prevention
  • replace long-history hot paths with indexed/paginated storage, high-water proposal cursors, linear estimation/scheduling, coalesced refreshes, and lazy frontend routes
  • make sleep import authorization one-use and stale-safe, and make exports durable through same-directory atomic replacement
  • add durable Android SQLite state, Health Connect paging, temporal/source-revision semantics, retry behavior, and a desktop-consistent dense UI
  • unify sleep-v1 classification and contract/fixture validation across core, server, desktop, tools, and CI
  • record all 33 review findings, dispositions, residual risks, and roadmap follow-up in docs/architecture-performance-review-2026-07-27.md

Validation

  • go test ./core/... ./apps/server/... ./apps/desktop/...
  • scoped go vet plus tools-module tests/vet
  • contract validation and exact generation of 29 synthetic fixtures
  • installer suite: 45 passed, 0 failed; modified PowerShell scripts parse cleanly
  • desktop frontend: 243 tests; trusted frontend: 6 tests; typecheck, ESLint, Prettier, UI standards, and production builds pass
  • Android JVM tests rerun from scratch; lintDebug and assembleDebug pass
  • Android instrumentation: 4/4 on Pixel_10_Pro_XL_API_36_1; Status, Correct sleep, and Medication event visually inspected
  • desktop, MCP, and server binaries compile
  • backtest and scheduler benchmarks cover 100 through 20,000 records
  • git diff --check, credential-pattern scan, and git fsck --full pass

Review scope

The review ledger distinguishes completed, partial, and intentionally deferred findings. Remaining architectural debt is explicit in the ledger and roadmap rather than being represented as complete.

@wellivea1 wellivea1 changed the title Phase 4 local assistant and installer transaction hardening Harden architecture, durability, and long-history workflows Jul 28, 2026
@wellivea1
wellivea1 marked this pull request as ready for review July 28, 2026 08:54
@wellivea1
wellivea1 merged commit a6568c0 into main Jul 28, 2026
8 checks passed
@wellivea1
wellivea1 deleted the codex/phase4-local-assistant branch July 28, 2026 09:32
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