session-memory: distributor base + Artifact (WP-0007 T01)

distribute/base.py: Artifact dataclass + Distributor protocol + idempotent
BEGIN/END snippet markers (upsert_block replaces a pattern's block in place so
re-distribution doesn't duplicate) + agnostic markdown body rendering from
SolutionPattern fields. BaseDistributor honours per-flavor body/target hints.
8 new tests; suite 110/110.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-07 15:02:47 +02:00
parent 9e6f8a6e08
commit 7646cbc358
4 changed files with 213 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ active-pattern registry tracking which patterns are live where (FR-X4).
```task
id: AGENTIC-WP-0007-T01
status: todo
status: done
priority: high
state_hub_task_id: "ff618fa6-a78b-4b80-846b-8cde7ad65451"
```