generated from coulomb/repo-seed
session-memory: Claude + Codex + Grok distributors + registry (WP-0007 T02/T03)
Thin per-flavor distributors over the shared base: Claude (CLAUDE.md, optional skill-stub mode), Codex (AGENTS.md), Grok (.grok/instructions.md). registry maps flavor->distributor — adding a flavor is one entry + one module. Same agnostic body renders to distinct per-flavor targets (FR-A3). 7 new tests; suite 117/117. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
15
session_memory/distribute/codex.py
Normal file
15
session_memory/distribute/codex.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""Codex distributor (PRD §6.4 FR-X1; T03).
|
||||
|
||||
Renders an approved Solution Pattern into an ``AGENTS.md`` snippet — Codex's native
|
||||
repo-convention surface. Identical agnostic body to the other flavors (FR-A3: one
|
||||
pattern, expressible everywhere); only the target file differs.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from .base import BaseDistributor
|
||||
|
||||
|
||||
class CodexDistributor(BaseDistributor):
|
||||
flavor = "codex"
|
||||
target_path = "AGENTS.md"
|
||||
Reference in New Issue
Block a user