1. eXtreme Documentation Driven Development (xDDD)
Context and Problem Statement
Absorb the useful, discard the useless and add what is unique. Reject the dogma and instead forge a middle path — one that respects the narrative density of Lore while demanding the rigorous purity of Code.
Requirements
-
Lore as a Mnemotechnic technique: The raising of the undead (GPUs/Metal) calls for a powerful narrative to guide the summoning. Mapping tech jargon to code, e.g:
- Phylactery -> Stateful Persistence.
- Vessel -> Litestar WebApp Container.
Creating mental connections that reduce cognitive load.
-
LLM Optimization: Lore is confined to the Documentation (Hexanomicon, docstrings, CLI messages). Code and logs remain pure (Engineering) to prevent hallucination and preserve context tokens.
- Pragmatism: Methodologies are treated as tools, not chains. Only necessary elements are imported into the workflow.
Considered Options & Selections
1. eXtreme Programming (XP)
Why eXtreme?
"Take valid practices and turn the knobs to 10." —Kent Beck
XP focuses on technical excellence and communication.
Simplicity
Open-Closed Principle. Simplicity is brilliance - Open for Grandeur, Closed for Stability.
- avoid over-engineering.
- prepare for inevitable extension.
Courage
The 'del'ete Spell. Reject The Sunk Cost Fallacy and do not be afraid to change course.
Respect
There is one obvious way to do it. Frameworks are followed, not fought.
Reworked: Pair Programming
- The Shift: The Navigator is now an LLM resulting in a massive development velocity boost.
Reworked: Documentation
- Abstract Spec is written first. The vision must be solidified in text to guide the summoning before a single line of code is manifested.
- Code is the Documentation regarding implementation details. Low-level mechanics are not documented in the prose.
Travel light, but prepared.
2. Domain-Driven Design (DDD)
- Aligns software structure with business concepts.
- Utilized to ensure code reflects the Vision, but Lore (Map) is strictly separated from Code (Territory) as defined in the Lexicon.
Domain Isolation:
Separation of concerns is mandatory. The Domain is isolated from the Infrastructure.
Ubiquitous Language:
Pro (High Level)
Lore is welcome in Docstrings, CLI messages and Documentation to provide flavor and context.
Con (Low Level)
Context Purity is required in logs and code. Naming a class SoulJar breaks LLM pattern recognition. Standard naming (e.g., PostgresConnection) is used because that is what the AI understands best. However there are cases where Lore naming fits better.
3. Test-Driven Development (TDD)
TDD ensures code reliability by writing tests first. This is viewed as a binding ritual to ensure the manifestation matches the intent, but blind adherence to the order of operations is rejected.
Correctness
Guarantees that the Manifestation matches the Prophecy.
Dogma
Strict Test First can stifle exploration. Prototyping is encouraged, provided tests are backfilled before the final commit.
4. Readme/Specification-Driven Development (RDD/SDD)
RDD forces the creation of the user manual before the code. This ensures the right thing is being built before the thing is built right.
Design
Clarifies requirements before implementation begins.
Duplication
Code is self-documenting. Documentation deals in abstract ideas and interfaces, avoiding redundant repetition of code logic.
5. Agile Methodology
Agile promotes iterative progress. The speed and adaptability are accepted, but administrative overhead is rejected.
Iterative Development
Rapid iteration and adaptation are prioritized. Change is not feared. TDD loops and prototyping ensure velocity.
The Ritual (Scrum/Sprints):
Artificial time-boxes are viewed as fractures in the vision. Flow is prioritized over sprinting.
6. Waterfall Model
The Art of War
"No plan survives the first contact with the enemy" — Field Marshal Helmuth von Moltke
Waterfall demands upfront planning. The need for foresight in architecture and documentation prior to implementation is respected.
Planning
Adopt Waterfall's demand for foresight. Writing the Prophecy (Documentation) before code prevents massive refactoring later.
Decision Outcome
The creation of xDDD—a distilled amalgamation of the best engineering practices, utilizing AI to dial the knobs to 11.
The AI-Assisted Workflow
flowchart TD
A[I. Write Docs] --> B[II. Define Domain]
B --> C{Is the vision clear?}
C -->|Absolutely| D[III. TDD: Write Tests]
C -->|Maybe| E[III. Prototype]
D --> F[IV. Implementation]
E --> F
F --> G[V. Refactor Code & Update Documentation]
G --> H[VI. CI/CD]
Consequences
The Final Truth
The rite is not the moon. It is the finger pointing into the dark.
The Path Remains Local.
XP, DDD, TDD, SDD/RDD—these are all fingers pointing to the moon. The method is not the magic. The best of the past has been distilled to create a system of Grandeur, but the ultimate goal is the fulfillment of the Prophecy, not religious adherence to this document.
Use the ritual to manifest the Vision. If the rules bind, break them.