Repository Public
-
Thu, Nov 19, 202612 commits
-
test(sync): live entity sync scenario against the scratch backend; docs: SYNC_ENGINE §7 entity sync
···
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
-
feat(design): exact colours of SPEC §7 (measured sRGB of the web tokens) and small-text variants of the semantic hues
···
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
-
feat(sync): entity sync — feed with kinds and the cursor rule, tombstones and soft deletes of the new kinds, task outbox with client ids, canvases with three-way merge and visible conflicts; Tasks/Canvas repositories; fake backend becomes the SPNotesTestSupport library with a 3.0 level
···
- engine: /api/meta features (cached), kinds in the feed, restart from 0 when the kinds set changes, reset with entities, full-copy cleanup of entities; pushEntityOps (tasks create/update/delete, ordered, idempotent, rejected ops kept), pushCanvases (PUT baseVersion, 409 → CanvasDocument.merge, conflicts recorded, compare-and-set on editSeq) - store: edge/reference index keys of API-NEXT, retryEntityOps(state:), expediteEntityOps, canvas compare-and-set saves - api: PageType.canvas - a 2.x server (no /api/meta) keeps the engine on the 1.0 behaviour; whole suite green with SPN_FAKE_API_LEVEL=2 - tests: entity feed, task outbox, canvas sync, randomised convergence (tasks + canvases, 1212 seeds green) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
-
feat(api): 3.0 foundation — meta/features, entity feed (kinds), tasks with client ids, canvases with typed 409 copy; fixture recorder and core fixtures recorded from the scratch backend
···
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
-
docs+tests: 2.0.0 — MIGRATION-V2, store/document/API/sync docs, CHANGELOG, server fixtures for the 3.0 nodes, end-to-end sync test
···
The backend's published fixtures (tests/fixtures/next-nodes: 4 documents with expected .md/.txt/.html) pass byte for byte. Reference copies of the server sources the port follows are in docs/reference/next. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
-
feat(document): typed support for the 3.0 nodes (mermaid, drawing, chart, queryView, citation, bibliography, pdf, blockRef, runCode, audio, canvasLink)
···
NodeType / Schema sets / defaults / validator, Markdown + plain text + HTML ported line by line from the server's next-nodes.ts (521 documents recorded from the server's own functions match byte for byte), typed views with init?(node:) / node() that keep unknown attributes, block ids on list items and the new blocks (server ID_TYPES), task due / priority / taskId, aiBlock sources / action, callout kinds. Attachment and page references now include the files and targets of the new nodes; transcript and annotation text are part of the plain text (search index, word count). JS number formatting follows ECMAScript (1e-7, not 1e-07). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
-
feat(document): InkDocument (spn-ink-1) with CoreGraphics renderer, CanvasDocument (spn-canvas-1) with 3-way merge and auto-layout
···
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
-
feat(design): SPNotesDesign — Note Visual System 2.0 tokens, motions and components (SwiftUI)
···
NVColor (light/dark from the SPEC hex table, Lumen gradient), NVFont, NVSpace, NVRadius, NVElevation, NVMotion (Reduce Motion aware), the seven signature motions, and NVCard / NVChip / NVSectionHeader / NVEmptyState / NVAIBadge / NVCitationChip / NVToolbarGlass / NVProgressDots. WCAG contrast of the text pairs is computed in the tests. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
-
feat(store): schema v2 — entities, entity outbox, canvases, events and read-model caches, per-kind cursors
···
First migration run on shipped data: purely additive (seven new tables, no v1 table altered), one transaction, hand-written inverse (Schema.v2Down), tested on a real v1 file fixture (every row kept, idempotent, rollback on failure mid-way). A consistent copy of the file (VACUUM INTO) is made before migrating and removed by a later healthy open. NotesStore.open returns a typed StoreOpenResult so apps can show a blocking error instead of falling back to an empty in-memory store. fix(sync): an op of unknown kind was completed, i.e. silently dropped; it is now parked (ops_parked), surfaced (SyncStatus.unsupported, NotesStore.parkedOps) and released when a build supports it. The entity outbox keeps unsupported and rejected operations the same way. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
-
feat(api): opt-in retry with backoff and idempotency keys for requests that are safe to retry
···
HTTPClient.send never retried. A request now may carry a RetryPolicy; it is honoured only for GET or requests with an Idempotency-Key (never ceremony calls), on failures APIError.isRetryable accepts, honouring Retry-After. Without a policy the behaviour is unchanged: one attempt. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
-
test(store): real schema v1 database fixture written by the shipped 1.0 code path
···
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
-
docs: legendary README — icon, logo, live spbgit badges, author
···
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
-
-
Wed, Nov 18, 20261 commit
-
SPNotesCore 1.0: document model, local store, API client and sync engine shared by SP Notes iOS and macOS
···
Document (lossless ProseMirror model, commands, Markdown, HTML, three-way merge), Store (SQLite + FTS5, offline queue, conflicts, local history), API (passkeys, sessions, typed routes, SSE), Sync (push, change feed, merge, conflicts). 283 tests. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
-