generated from coulomb/repo-seed
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>
10 lines
478 B
Python
10 lines
478 B
Python
"""Distribute phase (PRD §6.4) — render approved Solution Patterns into per-flavor
|
|
artifacts. Mirror of the collector design: agnostic core, thin distributor edges.
|
|
|
|
base.py Artifact + Distributor protocol + idempotent snippet markers (T01)
|
|
claude.py CLAUDE.md snippet distributor (T02)
|
|
codex.py AGENTS.md snippet distributor (T03)
|
|
grok.py native instruction distributor (T03)
|
|
__main__.py `python -m session_memory.distribute` (T05)
|
|
"""
|