Skip to content

pulse-memory: init script, one admit path, store doc fixes - #75

Merged
p10ns11y merged 2 commits into
mainfrom
ksp-265-pulse-followups
Nov 9, 2026
Merged

p10ns11y merged 2 commits into
mainfrom
ksp-265-pulse-followups

Conversation

@p10ns11y

@p10ns11y p10ns11y commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Review follow-ups from #74.

%%{init: {"theme":"base","themeVariables":{"primaryColor":"#e0f2fe","primaryBorderColor":"#0284c7","lineColor":"#7c3aed"}}}%%
flowchart LR
  A[pulse_admit.py]:::cli --> R[admit_row]:::core
  T[tstack-state pulse admit]:::cli --> R
  R --> H[content_hash · prefetch_key_for]:::core
  I[pulse_init_db.py]:::new --> S[(store 0600)]:::ok
  classDef cli fill:#e0f2fe,stroke:#0284c7,color:#0c4a6e
  classDef core fill:#ede9fe,stroke:#7c3aed,color:#4c1d95
  classDef new fill:#fef3c7,stroke:#d97706,color:#78350f
  classDef ok fill:#dcfce7,stroke:#16a34a,color:#14532d
Loading
  • pulse_init_db.py added; the connect() hint now points at a real script.
  • Hash and prefetch helpers live once, in pulse_common. tstack-state imports them.
  • One admit path: admit_row. Locked disagreement forks to key-2, resolution not in the evidence, on both paths. Test proves both write the same rows.
  • store.md: retrieve returns fact, memory, or context; data only by exact key.

Tests: pulse-memory thin + 21 unit tests, tstack state, e2e, durable, capture.

@p10ns11y
p10ns11y merged commit db19eb3 into main Nov 9, 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