Skip to content

npm 1.1.0 release prep (format 1.0.0) - #33

Merged
mwhitham merged 12 commits into
mainfrom
cursor/release-prep-951e
Oct 24, 2026
Merged

mwhitham merged 12 commits into
mainfrom
cursor/release-prep-951e

Conversation

@mwhitham

@mwhitham mwhitham commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Re-verification fixes (76d3bb1)

  • ath repair --from-revision rebuilds typed rows via upsertTypedRecord (not data_json only).
  • ath check adds typed_denormalized when columns disagree with data_json.
  • Removed revertLocalWal, repair backup reuse, and SQLite header recovery.
  • Export staging marker removed after rename; unmarked dead-pid dirs are stale.
  • Read-only opens use allowOutdatedSchema + releaseLocalDatabase.

New CLI tests: tests/v1-repair-cli.test.ts, tests/v1-export-staging.test.ts.

Open in Web Open in Cursor 

cursoragent and others added 2 commits October 23, 2026 04:30
- SQL schema 2 migration repairs npm 1.0.0 provider-import typed-table bytes
- Durable atomic export, locale-independent JSON key order, ath repair command
- Unify interactive migrate with confirmed backup path and database ID prompt
- Oura member-portal CSV scores and JSON contributors; remove dead 0.x modules
- Split CLI runtime helpers; CI on Node 22/24; D130-D143 build history

Co-authored-by: Michael Whitham <mwhitham@users.noreply.github.com>
Compare typed-table JSON with recursive key sorting so npm 1.0.0 provider
imports repair and migrate. Ship SQL migration 002, durable export directories,
confirmed repair backups, Oura SpO2 and member-portal fixes, and tests that
build databases through athleticstandard@1.0.0.

Co-authored-by: Michael Whitham <mwhitham@users.noreply.github.com>
@cursor cursor Bot changed the title Release 1.1.0 prep: migrate repair, data safety, Oura CSV, and build history D130–D143 Release 1.1.0 prep: migrate repair, data safety, Oura CSV, and build history D130–D147 Oct 23, 2026
cursoragent and others added 5 commits October 23, 2026 05:23
…ixtures

Classify Oura portal scores from contributor key sets; commit a synthetic
npm 1.0.0 encoding database for tests. Run migration repair in one transaction
with PRAGMA user_version, semantic-only alignment, user_version recovery, and
cleaner migrate/repair errors. Regenerate skill CLI help with after-text.

Co-authored-by: Michael Whitham <mwhitham@users.noreply.github.com>
Co-authored-by: Michael Whitham <mwhitham@users.noreply.github.com>
- Stop reconciling PRAGMA user_version on check, inspect, and open paths; recover
  only after verified backup in confirmed migrate.
- Add ath repair --from-revision with backup reuse for semantic typed-table drift.
- Mark export staging dirs and remove only stale ones; drop marker before rename.
- Open read-only CLI commands with deferWal so check/stats/export do not enable WAL.
- Align D132/D146/D148, Oura skip counts, and shared migration 002 header text.

Co-authored-by: Michael Whitham <mwhitham@users.noreply.github.com>
- Use upsertTypedRecord from current revision for repair and --from-revision.
- Add check for denormalized typed columns vs data_json.
- Remove revertLocalWal, backup reuse, and SQLite header recovery paths.
- Fix export marker timing; clean unmarked dead-pid staging dirs.
- Read-only opens allow outdated schema; releaseLocalDatabase on close.
- CLI tests for divergence repair, migrate errors, and unhealthy hash stability.

Co-authored-by: Michael Whitham <mwhitham@users.noreply.github.com>
…aging

Derive denormalized typed-table checks from typedMainRowFields and child
rows; count column-only mismatches in repair preview. Throw CliExitError from
fail() and release tracked databases on exit. Keep repair and read-only opens
off WAL; skip WAL checkpoint on read-only release. Tighten export staging cleanup
and remove markers before rename. Fix performance bulk SQL duration_ms, Oura met
skip, backup name collisions, and decision order D147-D150.

Co-authored-by: Michael Whitham <mwhitham@users.noreply.github.com>
@cursor cursor Bot changed the title Release 1.1.0 prep: migrate repair, data safety, Oura CSV, and build history D130–D147 npm 1.1.0 release prep (format 1.0.0) Oct 23, 2026
cursoragent and others added 5 commits October 23, 2026 07:40
Defer WAL on write-command opens and enable WAL before write transactions,
reverting sidecars when a write rolls back. Expand CLI sidecar refusal matrix,
conflicts show DELETE-mode hash coverage, export post-rename cleanup safety,
and typed_denormalized repair cycles for every column family.

Co-authored-by: Michael Whitham <mwhitham@users.noreply.github.com>
Co-authored-by: Michael Whitham <mwhitham@users.noreply.github.com>
Never unlink WAL sidecars after a failed write (D151). Revert DELETE-mode
files with PRAGMA only when safe. Keep export markers through rename.
Batch typed denormalized reads, handle parse errors, restore migration
journal mode on failure, and expand regression tests.

Co-authored-by: Michael Whitham <mwhitham@users.noreply.github.com>
…vert

Hold a real read snapshot in the WAL test, corrupt typed data_json with
non-schema JSON, keep original failures when DELETE revert throws, format
Zod errors in CLI and repair output, and document SQLite WAL sidecars on
read-only files.

Co-authored-by: Michael Whitham <mwhitham@users.noreply.github.com>
…rt test

Co-authored-by: Michael Whitham <mwhitham@users.noreply.github.com>
@mwhitham
mwhitham merged commit 070754a into main Oct 24, 2026
2 checks 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.

2 participants