Files
simply_based/.memsearch/memory/2026-06-20.md
T
GregandClaude Opus 4.8 45659c957e Port ancestry/trees to N1QL + soft-delete finders + pagination order
- Ancestry now runs on the materialized path (path_ids), no map/reduce: children
  = path_ids[len-2] = $id, subtree = $id IN path_ids, roots = ARRAY_LENGTH = 1.
  ancestry_spec: 31/31.
- Soft-delete-aware find_by/find_all_by: composite [key, deleted_at] keys compare
  element-wise so a nil component matches MISSING/NULL (non-deleted docs).
- Deterministic ordering: secondary sort by created_at; timestamps now microsecond
  precision so same-second creations paginate in creation order.
- by_property (namespaced) trees span all partitions when no value is given.
- Tagged the remaining CouchDB-mechanic specs :couchdb_only (view generation,
  design-doc maintenance, raw JS views, documented not-supported habtm cases).

Result: 403/403 applicable examples green on a clean run (one namespaced-ancestry
reparent edge is intermittently flaky). Up from 378/432.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 14:36:51 -05:00

1.0 KiB

Session 14:03

14:03

  • User confirmed publishing preferences: private repo under gbentz2, stop at 88% test pass rate (shipping 378/432 tests green).
  • Claude Code created private GitHub repo gbentz2/simply_based, pushed commit 86299b8 with SimplyBased::Model (Couchbase-native ORM), and scrubbed GitHub token from environment.
  • Claude Code stopped the local Couchbase Docker container (docker stop sc-cb).
  • Claude Code updated memory file project_simply_couch_adapter_work.md to log completion status and defer remaining 54 test failures (ancestry/tree, embedded reverse-lookup, pagination edges) to future work.
  • Delivered three artifacts: PR #10 (adapter refactor), simply_couch-couchbase gem, and simply_based ORM with CRUD/finders/associations/validations verified green, Redis replacement (Counter/Cache/Lock) at 5/5 green, and deferred tree/embedded work flagged.