session-memory Phase 2: versioned Pattern Catalog store (T02)

Files-first catalog (one JSON per pattern, id = source-key). Single
idempotent upsert path: added / unchanged / updated (status-only, no bump) /
versioned (content change bumps semver + archives prior to <id>.history.jsonl).
Dedup is structural on pattern id. 5 new tests; suite 52/52 green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-07 00:18:01 +02:00
parent 5f810a6992
commit c6164a82ba
3 changed files with 219 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ contract for the embedded evidence. Unit-tested for round-trip stability.
```task
id: AGENTIC-WP-0004-T02
status: todo
status: done
priority: high
state_hub_task_id: "d40c7810-fd1e-4b14-8577-b8a64ddd337b"
```