You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before releasing v2, revisit the project knowledge system from scratch. The current implementation (#99) delivered decisions and pitfalls but left gaps worth rethinking holistically rather than patching incrementally.
Current State
Three knowledge mechanisms exist, partially overlapping:
This is not just about filling gaps — revisit the design from scratch:
Is a three-file model (decisions/patterns/pitfalls) the right shape? Or is two files sufficient? Is there a better taxonomy?
What's the right extraction mechanism? Currently knowledge-persistence skill defines the procedure, and each command has a dedicated phase. Is this too ceremony-heavy? Too light?
Signal-to-noise for patterns: The old PROJECT-PATTERNS.md accumulated 81 lines of patterns, most of which are either obvious from the code or too generic to be actionable. If we add patterns.md, how do we keep it high-signal?
Cross-workflow flow: Currently /implement reads knowledge and writes decisions, /code-review reads and writes pitfalls, /debug reads and writes pitfalls. Is this the right flow? Should /code-review also produce decisions? Should /implement also produce pitfalls?
Capacity and pruning: The skill caps at 50 entries per file. No pruning mechanism exists. What happens when we hit 50?
Relationship to self-learning system: Learning observations and project knowledge are separate systems. Should they be? The learning system detects workflow patterns; project knowledge captures architectural decisions. Are there synergies?
Tasks
Analyze the current implementation end-to-end (skill, agents, commands, hooks)
Review what PROJECT-PATTERNS.md captured vs what decisions.md/pitfalls.md capture — identify the gap
Overview
Before releasing v2, revisit the project knowledge system from scratch. The current implementation (#99) delivered decisions and pitfalls but left gaps worth rethinking holistically rather than patching incrementally.
Current State
Three knowledge mechanisms exist, partially overlapping:
1.
.memory/knowledge/decisions.md(ADR-NNN format) ✅2.
.memory/knowledge/pitfalls.md(PF-NNN format) ✅3.⚠️
.memory/PROJECT-PATTERNS.md(old format, orphaned).memory/alongside the knowledge system that replaced itKnown Gaps from #99
patterns.mdwith P-NNN format + code examplesPROJECT-PATTERNS.mdrelationship resolvedWhat to Rethink
This is not just about filling gaps — revisit the design from scratch:
PROJECT-PATTERNS.mdaccumulated 81 lines of patterns, most of which are either obvious from the code or too generic to be actionable. If we addpatterns.md, how do we keep it high-signal?Tasks
References
shared/skills/knowledge-persistence/SKILL.md— extraction procedure.memory/knowledge/— current knowledge files.memory/PROJECT-PATTERNS.md— orphaned old mechanismshared/agents/coder.md:40-41— Coder reads knowledgeplugins/devflow-code-review/commands/code-review.md:163-168— Phase 5 records pitfallsplugins/devflow-implement/commands/implement.md:312-319— Phase 10 records decisionsplugins/devflow-debug/commands/debug.md:26-28, 136-139— loads + records pitfalls