Commit Graph
320 Commits
Author SHA1 Message Date
Chris Troutner 69c38d5a36 Updating Docker files for mono repo 2026-08-26 12:05:01 -07:00
Chris Troutner b58f360c89 Note postHeights backfill utility in specifier handoff notes
By specifier.
2026-08-26 11:48:43 -07:00
Chris Troutner 3433516dea Add postHeights backfill utility for existing psf-memo-db deployments
By specifier.
2026-08-26 11:48:32 -07:00
Chris Troutner 2b77b97fcb Mark post-heights-index complete and update handoff notes
By specifier.
2026-08-26 11:43:32 -07:00
Chris Troutner dd59741918 Fix lint errors in ListUseCase unit tests
By specifier.
2026-08-26 11:43:08 -07:00
Chris Troutner 4980eceba2 Merge architect post-heights-index work
By specifier.
2026-08-26 11:42:22 -07:00
Chris Troutner edfa2fd8c0 Fix lint errors in ListUseCase unit test\n\nBy coder. 2026-08-26 11:41:23 -07:00
Chris Troutner a542363d75 Merge architect handoff 30c0949d3f\n\nBy coder. 2026-08-26 11:39:40 -07:00
Chris Troutner 30c0949d3f Harden and review post-heights-index refactor
Architectural review of the refactorer's postHeights index work. Extract a
shared assemblePostPage helper and a ListUseCase base class to remove DRY
duplication in the post-list use cases. Build the gherkin-mutator runner
adapter for psf-memo-db and psf-memo-indexer. Add boundary and tie-break
tests to kill all surviving language mutations across the changed files
(post-query, pagination, list use cases, indexer post handler).

Mutation: all changed source files fully killed. DRY: clean. CRAP <= 6.
Soft Gherkin acceptance mutation documented survivors (see review report).

By architect.
2026-08-26 11:39:12 -07:00
Chris Troutner d5f0b3dc7b Merge refactorer post-heights-index work
By architect.
2026-08-26 11:02:50 -07:00
Chris Troutner 6a8cf6653e Refactor postHeights index code and add property tests
Deduplicate the postHeights query iteration into a shared generator,
extract shared pagination parsing/enrichment, and extract the idempotent
create-if-missing write pattern. Reduces CRAP for the changed post-height
code to <=6 and removes duplicated parse/attach logic across the post list
use cases. Add property tests covering the postHeight key round-trip and
ordering invariants for both the DB and indexer, exposed via a separate
'property' command.

By refactorer.
2026-08-26 11:02:13 -07:00
Chris Troutner fde0086385 Implement postHeights secondary index for efficient pagination
Adds a postHeights LevelDB store written by the indexer and used by
psf-memo-db to paginate recent posts and posts-by-address without full
scans. Includes unit tests and Gherkin acceptance pipelines for both
psf-memo-indexer and psf-memo-db.

By coder.
2026-08-26 10:52:17 -07:00
Chris Troutner 1056a7c302 Update specifier handoff notes with postHeights index gotcha and current HEAD
By specifier.
2026-08-26 10:41:07 -07:00
Chris Troutner 893e5c7513 Merge specifier handoff c13adbf4aa\n\nBy coder. 2026-08-26 10:40:55 -07:00
Chris Troutner c13adbf4aa Add postHeights secondary index specs for efficient post pagination
By specifier.
2026-08-26 10:40:42 -07:00
Chris Troutner 7134979eb8 Reconfigure monorepo for SwarmForge development
- Move specifier-prompt.md to repo root and rewrite it for the monorepo.
- Move specs/feature-backlog.md to root specs/ and update with component scope.
- Add specs/README.md, psf-memo-indexer/specs/README.md, psf-memo-db/specs/README.md.
- Add swarmforge/constitution/articles/monorepo.prompt for shared monorepo rules.
- Update root README.md with repository layout, local dev commands, and SwarmForge info.

By specifier.
2026-08-26 10:23:53 -07:00
Chris Troutner 5a68a42f77 Adding psf-memo-indexer 2026-08-26 09:30:44 -07:00
Chris Troutner 28bde991b5 Adding psf-memo-db 2026-08-26 09:20:10 -07:00
Chris Troutner db4bfb2a57 Adding README 2026-08-26 09:18:14 -07:00
Chris Troutner c168c652de Creating mono-repo from psf-memo-client 2026-08-26 09:10:39 -07:00