Cross-Pollination Brief — First Features (June 4 – June 27, 2025)
Retrospective brief covering Piper Morgan's first feature sprint: PM-005 through PM-011. Sources: omnibus logs, git history, blog metadata.
June 2025 was the month Piper Morgan grew from a working bootstrap into a system with real architectural opinions. Seven feature milestones (PM-005 through PM-011) shipped in 24 days, but the lasting contributions weren't the features themselves — they were the patterns discovered while building them. A four-tier knowledge hierarchy. The CQRS-lite separation that still governs PM's routing. The discovery that two orchestration systems had been built without anyone noticing. And a foundational insight about documentation: AI assistants require more comprehensive documentation than human teams, because context humans assume must be made explicit.
Key Insights
1. Knowledge Hierarchy: Four Tiers Reflecting PM Skill Acquisition
From: Piper Morgan (docs/omnibus-logs/2025-06-04-omnibus-log.md)
The knowledge base wasn't built as a flat document store. It was structured as a four-tier hierarchy reflecting how PM knowledge actually works: PM practices (general methodology) → business context (organizational specifics) → project context (current work) → issue context (immediate task). When a PM book was ingested (85 chunks into ChromaDB), the hierarchy determined how that knowledge was surfaced — general principles informed specific issue analysis, not the reverse.
The breakthrough was knowledge-aware intent classification: the classifier searched the knowledge base during analysis, producing a knowledge_used field showing which sources informed the AI's reasoning. This made the knowledge hierarchy operationally transparent — you could see which tier of knowledge was driving each response.
Why this matters now: This hierarchy is the ancestor of PM's current knowledge base structure (knowledge/gameplans/, briefing documents, role definitions). The principle — that knowledge has layers of specificity and the system should be aware of which layer it's drawing from — directly prefigures the five-layer prompt architecture that Klatch would later formalize.
2. CQRS-Lite: The Insight That LIST_PROJECTS Is Not a Workflow
From: Piper Morgan (docs/omnibus-logs/2025-06-19-omnibus-log.md)
On June 19, during PM-009 (multi-project support), xian and the development team hit a fundamental architectural insight: LIST_PROJECTS is a QUERY, not a WORKFLOW. Queries — read operations that return data — don't need orchestration overhead. Commands — write operations that change state — do.
This produced the CQRS-lite pattern: queries bypass orchestration through a QueryRouter and ProjectQueryService, while commands go through the full workflow pipeline. The pattern was clean, fast, and immediately validated by 7/7 passing tests.
Why this matters now: The QueryRouter would later become the centerpiece of the GREAT Refactor (September 2025), when it was discovered to be 75% complete with critical connections disabled. The CQRS-lite pattern itself remains PM's routing architecture. The June insight was correct; the September crisis was about incomplete execution, not flawed design.
3. Duplicate Architecture Discovery: Archaeological Horror
From: Piper Morgan (docs/omnibus-logs/2025-06-27-omnibus-log.md)
On June 27, during PM-011 file analysis integration, the team discovered something unsettling: two orchestration systems existed in the codebase. A WorkflowExecutor (legacy, from early GitHub work) and an OrchestrationEngine (canonical, from the design documents) were both present and partially functional. Neither was complete. Neither knew about the other.
This was the project's first encounter with what would later be named the 75% pattern — sophisticated implementations abandoned at roughly three-quarters completion, with critical connections disabled. The duplicate orchestration systems were each about 75% done. Together they created confusion about which system was authoritative.
The same session discovered an intentional (and correct) dual database pattern: SQLAlchemy for domain entities (Product, Feature, WorkItem) and AsyncPG for operational entities (File, Workflow). This was deliberate architectural separation, not accidental duplication. Learning to distinguish intentional from accidental duplication became a critical skill.
Why this matters now: The 75% pattern would recur in September 2025 with enough force to trigger the ALL STOP and GREAT Refactor. The June discovery was the first sighting of a systemic problem — implementations started with enthusiasm and abandoned before the wiring was complete. The Inchworm Protocol exists because of what started here.
4. Documentation as Governance for AI-Assisted Development
From: Piper Morgan (docs/omnibus-logs/2025-06-21-omnibus-log.md)
The PM-DOC documentation sprint produced a critical insight: AI assistants require more comprehensive documentation than human teams. Context that humans assume — organizational norms, implicit priorities, the meaning of domain jargon — must be explicit for AI collaborators. "Last Updated: [DATE]" became a standard because AI agents can't judge whether documentation is current without a timestamp.
This observation established documentation not just as reference material but as a governance mechanism for AI-assisted development. If you want an AI agent to make good decisions, you have to make the decision framework legible. The session log discipline — capturing architectural decisions in real-time — started here.
Why this matters now: This is the conceptual ancestor of the five-layer prompt architecture. The insight that AI needs explicit context is the same insight that produces CLAUDE.md files, entity prompts, and channel addenda. Every layer of the five-layer model is an answer to the question "what would a human assume that an AI can't?"
The Feature Arc
| Milestone | Date | What Shipped | What Was Learned |
|---|---|---|---|
| PM-005 | Jun 7 | Working web UI + feedback tracking | Functional prototype enables feedback loops |
| PM-007 | Jun 8 | Knowledge hierarchy enhancement | Four-tier knowledge structure |
| PM-008 | Jun 13-14 | GitHub issue analysis + chat integration | Domain model consolidation (three Task classes → one) |
| PM-009 | Jun 19 | Multi-project support | CQRS-lite: queries ≠ workflows |
| PM-010 | Jun 20 | Comprehensive error handling | 15-commit day; query API hardening |
| PM-011 | Jun 21-27 | File analysis integration | Duplicate architecture discovered |
| PM-DOC | Jun 21 | Documentation architecture | AI needs explicit governance context |
Emerging Patterns
Every feature reveals architecture. None of the PM-005 through PM-011 features were architecturally significant in themselves. But building each one exposed a deeper structural truth: knowledge has tiers, queries aren't workflows, duplicate systems hide in plain sight, AI needs explicit context. The features were the occasion; the architecture was the discovery.
The meta-learning pattern. The June 7 omnibus log notes that "manual PM workflow orchestration in chat revealed exactly what Piper should automate." The team was learning by doing PM work alongside the AI, then codifying the workflow they'd just demonstrated. This pattern — do the work manually, observe the structure, then automate the structure — would become PM's standard methodology.
Contract enforcement as discovery tool. The June 27 session found a DocumentAnalyzer contract violation (exceptions thrown instead of AnalysisResult with error metadata). Fixing the contract (64/64 tests passing) forced a deeper investigation that uncovered the duplicate orchestration systems. Strict contract enforcement became an archaeological tool — enforcing the contract reveals what's actually happening.
Background Changes (Noted, Low Priority)
- Two-laptop development environment established (synchronization mastered by June 4)
- PostgreSQL instance conflicts discovered (homebrew vs Docker port collision consuming 30% of one session)
- Demo-stable branch strategy introduced for separating experimental development from reliable demonstrations
- Session startup protocol established with comprehensive checklist
Sources Read
Piper Morgan:
docs/omnibus-logs/2025-06-04-omnibus-log.md— Knowledge base implementation, four-tier hierarchydocs/omnibus-logs/2025-06-07-omnibus-log.md— Documentation pipeline, PM-001/PM-002, meta-learning discoverydocs/omnibus-logs/2025-06-14-omnibus-log.md— PM-008 completion, domain model consolidationdocs/omnibus-logs/2025-06-19-omnibus-log.md— PM-009, CQRS-lite discoverydocs/omnibus-logs/2025-06-21-omnibus-log.md— PM-DOC, documentation-as-governance insightdocs/omnibus-logs/2025-06-27-omnibus-log.md— PM-011, duplicate architecture discoverygit log— 93 commits in June 2025- Blog metadata: 8 posts with
workDatein this period (clusters: genesis-architecture, foundation-building)