Draft coverage replay, production (Railway, the instance the MCP server points at)
BD-126: each past initiative drafted from how it started, with and without the live memory, by a drafter that can read the code at that point; every draft judged against the decisions the person made later.
Prompts
1. Title: Add Research Findings Freetext Field
Intent: Research initiatives accumulate rich, free-form findings — multi-paragraph evidence tra2. Memory of this project (the product context the code does not carry):
Doen is a spec-and-conversation system: the Advisor should ground its 3. Title: Add Research Findings Freetext Field
Intent: Research initiatives accumulate rich, free-form findings — multi-paragraph evidence tra4. Memory of this project (the product context the code does not carry):
Doen is a spec-and-conversation system: the Advisor should ground its 5. Title: Add Research Findings Freetext Field
Intent: Research initiatives accumulate rich, free-form findings — multi-paragraph evidence tra6. Memory of this project (the product context the code does not carry):
Doen is a spec-and-conversation system: the Advisor should ground its 7. Title: Initiative Importance Validation on Assessment
Intent: When a user assesses or reassesses an initiative, the system currently evalua8. Memory of this project (the product context the code does not carry):
Doen is a spec-and-conversation system: the Advisor should ground guid9. Title: Initiative Importance Validation on Assessment
Intent: When a user assesses or reassesses an initiative, the system currently evalua10. Memory of this project (the product context the code does not carry):
Doen is a spec-and-conversation system: the Advisor should ground guid11. Title: Initiative Importance Validation on Assessment
Intent: When a user assesses or reassesses an initiative, the system currently evalua12. Memory of this project (the product context the code does not carry):
Doen is a spec-and-conversation system: the Advisor should ground guid13. Title: Shaping Edits as Heuristic Feedback
Intent: Today, heuristic quality scores are dominated by extraction-time auto-confirmations (wei14. Memory of this project (the product context the code does not carry):
Doen is an Advisor-led spec-and-agent collaboration system: acceptance15. Title: Shaping Edits as Heuristic Feedback
Intent: Today, heuristic quality scores are dominated by extraction-time auto-confirmations (wei16. Memory of this project (the product context the code does not carry):
Doen is an Advisor-led spec-and-agent collaboration system: acceptance17. Title: Shaping Edits as Heuristic Feedback
Intent: Today, heuristic quality scores are dominated by extraction-time auto-confirmations (wei18. Memory of this project (the product context the code does not carry):
Doen is an Advisor-led spec-and-agent collaboration system: acceptance19. Title: Dream-Phase Corpus Health Pass
Intent: The heuristic corpus has a measurable citation-skew problem — a handful of heuristics are ret20. Memory of this project (the product context the code does not carry):
Doen treats acceptance criteria as its primary progress and verificati21. Title: Dream-Phase Corpus Health Pass
Intent: The heuristic corpus has a measurable citation-skew problem — a handful of heuristics are ret22. Memory of this project (the product context the code does not carry):
Doen treats acceptance criteria as its primary progress and verificati23. Title: Dream-Phase Corpus Health Pass
Intent: The heuristic corpus has a measurable citation-skew problem — a handful of heuristics are ret24. Memory of this project (the product context the code does not carry):
Doen treats acceptance criteria as its primary progress and verificati25. Title: Migrate _classify_intent Dedup Call to Jev Provider
Intent: The `_classify_intent` function in `backend/app/services/learn.py` curre26. Memory of this project (the product context the code does not carry):
Doen treats acceptance criteria as its primary progress and verificati27. Title: Migrate _classify_intent Dedup Call to Jev Provider
Intent: The `_classify_intent` function in `backend/app/services/learn.py` curre28. Memory of this project (the product context the code does not carry):
Doen treats acceptance criteria as its primary progress and verificati29. Title: Migrate _classify_intent Dedup Call to Jev Provider
Intent: The `_classify_intent` function in `backend/app/services/learn.py` curre30. Memory of this project (the product context the code does not carry):
Doen treats acceptance criteria as its primary progress and verificati31. Title: Tighten Five Flywheel Decision Gates
Intent: A codebase decision-point audit identified five gates in the flywheel and review system32. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa33. Title: Tighten Five Flywheel Decision Gates
Intent: A codebase decision-point audit identified five gates in the flywheel and review system34. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa35. Title: Tighten Five Flywheel Decision Gates
Intent: A codebase decision-point audit identified five gates in the flywheel and review system36. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa37. Title: Two-Tier Heuristic Corpus: RAW / CONSOLIDATED Split
Intent: The heuristic corpus has grown to 169 rules, 94% of which have never bee38. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa39. Title: Two-Tier Heuristic Corpus: RAW / CONSOLIDATED Split
Intent: The heuristic corpus has grown to 169 rules, 94% of which have never bee40. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa41. Title: Two-Tier Heuristic Corpus: RAW / CONSOLIDATED Split
Intent: The heuristic corpus has grown to 169 rules, 94% of which have never bee42. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa43. Title: Close Standalone Admission as Citability Path
Intent: The two-tier heuristic corpus introduced in BD-97 was meant to ensure retrieva44. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa45. Title: Close Standalone Admission as Citability Path
Intent: The two-tier heuristic corpus introduced in BD-97 was meant to ensure retrieva46. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa47. Title: Close Standalone Admission as Citability Path
Intent: The two-tier heuristic corpus introduced in BD-97 was meant to ensure retrieva48. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa49. Title: Make the Dream Pass and Consolidation Verdict Run Durably
Intent: The heuristic supply chain introduced by BD-101 depends on a dream50. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa51. Title: Make the Dream Pass and Consolidation Verdict Run Durably
Intent: The heuristic supply chain introduced by BD-101 depends on a dream52. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa53. Title: Make the Dream Pass and Consolidation Verdict Run Durably
Intent: The heuristic supply chain introduced by BD-101 depends on a dream54. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa55. Title: Surface Memory Audit Count on Grounding
Intent: Executors grounding themselves on an initiative consistently miss the memory verific56. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa57. Title: Surface Memory Audit Count on Grounding
Intent: Executors grounding themselves on an initiative consistently miss the memory verific58. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa59. Title: Surface Memory Audit Count on Grounding
Intent: Executors grounding themselves on an initiative consistently miss the memory verific60. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa61. Title: Fix Criteria Authoring to Raise Structurally Auto-Approvable Share
Intent: Today, 49% of verified acceptance criteria are auto-appro62. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa63. Title: Fix Criteria Authoring to Raise Structurally Auto-Approvable Share
Intent: Today, 49% of verified acceptance criteria are auto-appro64. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa65. Title: Fix Criteria Authoring to Raise Structurally Auto-Approvable Share
Intent: Today, 49% of verified acceptance criteria are auto-appro66. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa67. Title: Start Initiatives and Shape Drafts from the App
Intent: Give product managers a direct way to start a new initiative from its projec68. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa69. Title: Start Initiatives and Shape Drafts from the App
Intent: Give product managers a direct way to start a new initiative from its projec70. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa71. Title: Start Initiatives and Shape Drafts from the App
Intent: Give product managers a direct way to start a new initiative from its projec72. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa73. Title: Live executor memory, shown to the person
Intent: Every executor session starts knowing nothing about how the person on this project74. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa75. Title: Live executor memory, shown to the person
Intent: Every executor session starts knowing nothing about how the person on this project76. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa77. Title: Live executor memory, shown to the person
Intent: Every executor session starts knowing nothing about how the person on this project78. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa79. Title: A new initiative starts with the executor's questionnaire
What the person wrote: The new initiative prompt should take the user thro80. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa81. Title: A new initiative starts with the executor's questionnaire
What the person wrote: The new initiative prompt should take the user thro82. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa83. Title: A new initiative starts with the executor's questionnaire
What the person wrote: The new initiative prompt should take the user thro84. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa85. Title: Live memory learns from the first initiative
Intent: The executor's memory waits for five calls by a person before it dreams, and it86. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa87. Title: Live memory learns from the first initiative
Intent: The executor's memory waits for five calls by a person before it dreams, and it88. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa89. Title: Live memory learns from the first initiative
Intent: The executor's memory waits for five calls by a person before it dreams, and it90. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa91. Title: Move Structured Calls to pydantic-ai
Intent: Structured model calls still rely on a custom OpenAI-compatible client whose forced-fun92. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa93. Title: Move Structured Calls to pydantic-ai
Intent: Structured model calls still rely on a custom OpenAI-compatible client whose forced-fun94. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa95. Title: Move Structured Calls to pydantic-ai
Intent: Structured model calls still rely on a custom OpenAI-compatible client whose forced-fun96. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa97. Title: Re-aim Live Memory Evaluation
Intent: Live memory should help an executor complete a rounded, usable spec by adding product context 98. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa99. Title: Re-aim Live Memory Evaluation
Intent: Live memory should help an executor complete a rounded, usable spec by adding product context 100. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa101. Title: Re-aim Live Memory Evaluation
Intent: Live memory should help an executor complete a rounded, usable spec by adding product context 102. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa103. Title: Link projects
What the person wrote: Projects should by default be isolated from each other, so memory and context from one, should 104. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa105. Title: Link projects
What the person wrote: Projects should by default be isolated from each other, so memory and context from one, should 106. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa107. Title: Link projects
What the person wrote: Projects should by default be isolated from each other, so memory and context from one, should 108. Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surfa
BD-97 · stateless · seed 2
Title: Two-Tier Heuristic Corpus: RAW / CONSOLIDATED Split Intent: The heuristic corpus has grown to 169 rules, 94% of which have never been cited, 78% of which carry an uninformative quality score, and 16 of which are invisible to retrieval because their embeddings are NULL. The retrieval path compounds the problem: a tight ranked cut over a large noisy corpus means the 10 rules that actually matter compete on equal footing with 159 that do not. The goal is to invert where precision lives: keep the extraction pipeline writing freely into a RAW tier (write-side only), promote a small human-vetted CONSOLIDATED tier through two explicit doors (LLM-generalised cluster or verbatim singleton promotion), make CONSOLIDATED the only tier that can be retrieved as guidance or cited, and then relax retrieval over that small tier for high recall. The change must land in strict order — repair first, then vetting tooling, then consumption switch, then retrieval relaxation — with the generalisation eval promoted to a CI gate before the retrieval step ships.
Claude
Intent: Separate heuristic capture from the rules the project is prepared to rely on. Extraction should be able to keep producing RAW material, while only human-vetted CONSOLIDATED rules can appear as guidance or receive new citations. Consolidation has two intended routes: an LLM-generalised cluster and a verbatim singleton promotion. Ship the work in the stated order, with the generalisation evaluation enforced in CI before retrieval is relaxed. Constraints: - Keep the work in this order: repair, vetting tooling, consumption switch, then retrieval relaxation. Do not ship the retrieval relaxation before the generalisation evaluation is a blocking CI gate. - RAW rules are write-side material only: they must not be returned as guidance by `get_context` or receive new entries in `heuristic_citations`. Enforce this in backend paths, not only by hiding rules in the UI. - A rule may enter CONSOLIDATED only through one of the two stated, explicit promotion routes. Promotion must require a human decision; the LLM may propose a generalisation but must not approve it. - Keep heuristic retrieval project-scoped, as it is today. Preserve existing citation and consolidation history rather than deleting it as part of the split. - Keep the current distinction between a rule being superseded as wrong and being merged as redundant. Do not treat those as interchangeable when implementing promotion. - Do not create artificial evidence to make `quality_score` more informative. Its current value is derived from proposal, citation and feedback history; recomputing it cannot manufacture usage evidence. Discretion: - Once the desired tier and migration behavior are agreed, choose whether tier membership is stored directly or derived from existing consolidation records; `heuristics` currently has no tier column, and `origin` is derived rather than stored. - Choose the layout and interaction details for the project vetting tools, reusing the existing project heuristic and merge-proposal surfaces where appropriate. - Choose the internal query and test structure, and reuse existing embedding backfill, retrieval-evaluation and generalisation-evaluation code where it fits the agreed behavior. Acceptance criteria: - The agreed repair work is completed and independently checked before vetting tools are delivered. At minimum, the reported missing embeddings are addressed and the resulting eligible-corpus NULL-embedding count is verified. Any score repair is checked against its underlying event data. - A human can review RAW rules and make both supported promotion decisions: accept a generalised cluster proposal, or promote a single rule without changing its wording. Dismissal leaves the source rules intact. - After the consumption switch, `get_context` and other guidance consumers return CONSOLIDATED rules only, and citation-writing paths reject RAW IDs. Existing historical rows in `heuristic_citations` remain intact. - Before retrieval is relaxed, the generalisation evaluation is an enforced CI gate rather than an opt-in evaluation. A failing evaluation blocks the retrieval step from shipping. - After retrieval is relaxed, tests and the existing retrieval evaluation demonstrate the agreed higher-recall behavior on the CONSOLIDATED corpus, without violating project scope or returning RAW rules. - Regression tests cover the new tier boundaries and promotion routes, and the existing relevant heuristic, citation, generalisation and retrieval tests continue to pass. Open questions: - What does “repair first” include beyond fixing the reported NULL embeddings? Should it include recomputing `quality_score` from its source records, and what result would count as a successful repair when most rules have little or no usage evidence? - Does the existing extraction flow stay as it is—using `heuristic_proposals` before a rule reaches `heuristics`—with accepted extractions entering RAW, or should extraction write to RAW without the current proposal confirmation behavior? - How should the existing corpus map to the tiers? A natural mapping is extracted rules to RAW and human-confirmed merge/generalisation survivors to CONSOLIDATED; should that apply to all existing rows, and should historical citations to rules that become RAW remain only as history? - For a singleton promotion, should the existing heuristic row itself become CONSOLIDATED, or should promotion create a new row linked to the RAW source? How should citations and accumulated evidence be attributed after promotion? - Does “LLM-generalised cluster” mean the existing `generalization` proposal path only, or should the existing `near_duplicate` merge route remain a third way for rules to enter CONSOLIDATED? The title describes two doors, but the current gardener supports both proposal kinds. - What exact retrieval relaxation and success bar do you want—such as a larger heuristic result limit or returning a larger share of the consolidated set—and what recall or nDCG target should the evaluation enforce? - The existing generalisation evaluation is live-LLM, skipped when `LLM_API_KEY` is absent, and `backend/pyproject.toml` excludes `tests/evals` from the default pytest run. Which CI runner should enforce it, and will CI have the required secret? Should the gate run the live model evaluation or a different reproducible check? - Does “land in strict order” require separate pull requests or releases for each phase, or is it enough that implementation and rollout gates are sequenced within one delivery?
Claude
- The human promotion queue is too much maintenance and mental overhead. With it removed, how does a rule that no cluster reaches ever become citable guidance? → raised: True, leaned: other. The draft explicitly asks whether singleton rules can be promoted, but requires a human decision for either promotion route. It does not raise automatic admission of standalone rules by Jev; that later choice conflicts with the human-approval constraint. - Should Jev confirm the dream pass's own merge and generalisation proposals instead of the human? → raised: True, leaned: other. The draft explicitly requires a human decision for promotion and says the LLM must not approve generalisations, so it raises who approves proposals. The later choice allows Jev to confirm above-threshold merge and generalisation proposals, which conflicts with that human-only gate. - Acceptance criterion item_1608847eb98d requires test_generalization_eval.py to be "a required CI check" whose failure "blocks the merge", but this repo has no CI pipeline at all (no .github/workflows, no CI service config; evals are opt-in via pyproject's addopts = "--ignore=tests/evals"). The eval also needs a live LLM, so it costs money and is non-deterministic. How should the phase-4 shipping gate be satisfied? → raised: True, leaned: other. The draft explicitly asks how the generalisation evaluation should be enforced, including whether to use a different reproducible check. But it leans toward making the live evaluation a blocking CI gate; the later choice instead makes a deterministic bench check the default-suite gate and keeps the live evaluation opt-in.
Claude
- The human promotion queue is too much maintenance and mental overhead. With it removed, how does a rule that no cluster reaches ever become citable guidance? → raised: True, leaned: other. The draft raises the question of how rules enter CONSOLIDATED, but it explicitly constrains promotion to two human-vetted routes and states 'Promotion must require a human decision; the LLM may propose a generalisation but must not approve it.' The chosen option has an LLM (Jev) auto-admit standalone rules without human approval, which the draft commits against. - Should Jev confirm the dream pass's own merge and generalisation proposals instead of the human? → raised: True, leaned: other. The draft explicitly requires that promotion need a human decision and that the LLM may propose but not approve, and it keeps the human gate on merges; the later choice to let Jev (an agent) confirm proposals above a threshold contradicts this, so the draft raised the question and leaned the other way. - Acceptance criterion item_1608847eb98d requires test_generalization_eval.py to be "a required CI check" whose failure "blocks the merge", but this repo has no CI pipeline at all (no .github/workflows, no CI service config; evals are opt-in via pyproject's addopts = "--ignore=tests/evals"). The eval also needs a live LLM, so it costs money and is non-deterministic. How should the phase-4 shipping gate be satisfied? → raised: True, leaned: other. The draft raises the CI-gate question directly: it requires the generalisation evaluation to be a blocking CI gate before retrieval relaxation, and an open question asks which CI runner should enforce it and whether CI will have the LLM secret. But the draft commits to a live-LLM CI gate, whereas the person chose to move a deterministic cassette-replayed check into the default suite and keep the live eval opt-in — a different option.