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 0
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: Turn the heuristic corpus into two clear tiers: RAW rules remain available for extraction and review, while CONSOLIDATED rules are the only ones trusted as guidance. A rule enters CONSOLIDATED only through a human-approved LLM generalisation of a cluster or a verbatim singleton promotion. Repair the existing corpus first, then build the vetting workflow, switch consumers, and only then relax retrieval to improve recall over the smaller trusted set. Constraints: - Work in the stated order: repair, vetting tooling, consumption switch, retrieval relaxation. Do not ship a later stage before the earlier stage is complete. - RAW rules may remain available for extraction, deduplication, and human review, but must not be returned as guidance by `get_context` or receive new heuristic citations. - Promotion must be explicitly human-approved. The two specified promotion doors are an LLM-generalised cluster and a verbatim singleton; a singleton's rule text must not be rewritten by an LLM. - A quality score or citation count alone must not qualify a rule for CONSOLIDATED. The human review is the approval gate. - Keep rules project-scoped and preserve the existing retrieval response shape unless a change is agreed. - The generalisation eval must be a required CI gate before retrieval relaxation ships; it must not silently pass by being skipped. Discretion: - Choose how RAW and CONSOLIDATED status is represented, provided the distinction is durable and every retrieval and citation path enforces it. - Choose the layout and interaction details for reviewing cluster proposals and promoting singleton rules, while making the two promotion paths clear and auditable. - Choose how the embedding repair is run and how failures are reported or retried. - Choose the implementation of the final ranking change once the agreed recall target and limits are clear. - Update relevant tests and documentation to explain the tier rules and the staged rollout. Acceptance criteria: - The repair stage addresses the 16 rules with NULL embeddings, and any remaining failures are visible rather than silently carried into the next stage. - A reviewer can inspect an LLM-generalised cluster proposal and explicitly approve or dismiss it; an approved singleton is promoted with its rule text unchanged. - Newly extracted rules remain in RAW unless promoted. Tests show that RAW rules do not appear as heuristic guidance in `get_context` and cannot be newly cited. - Tests show that CONSOLIDATED rules remain eligible for retrieval and citation, subject to existing project-scoping and retirement rules. - The generalisation eval is required in CI and a failing or skipped eval blocks the retrieval-relaxation stage. - After the consumption switch, a retrieval evaluation over the CONSOLIDATED tier demonstrates the agreed recall target without retrieving RAW rules. Open questions: - Does “writing freely into RAW” mean extraction should automatically persist rules there, replacing the current human confirmation step for `heuristic_proposals`, or should that existing confirmation step remain? - How should existing rules be classified at rollout? For example, should current confirmed merged or generalised survivors start in CONSOLIDATED, with extracted rules in RAW, or should all existing rules be reviewed again? - Does the LLM-generalised cluster door replace the current `near_duplicate` proposal flow, or should near-duplicate merges remain as part of that door? - What is included in “repair”: re-embedding the NULL rows, recalculating existing quality scores, or something else? The code derives `quality_score` from existing proposal, citation, and feedback events, so please clarify what repair is expected for the scores described as uninformative. - What recall target, evaluation set, and maximum number of heuristic results should define “high recall”? - The generalisation eval currently uses a live LLM and skips without `LLM_API_KEY`; `backend/pyproject.toml` also excludes evals from default pytest runs. Should CI provide the required key and run the live eval, or should the gate use another reliable approach?
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 whether standalone rules can become guidance: it allows verbatim singleton promotion, but requires explicit human approval. It does not propose automatic Jev admission based on a soundness assessment, so it leans against the later choice. - Should Jev confirm the dream pass's own merge and generalisation proposals instead of the human? → raised: True, leaned: other. The draft explicitly makes human approval the gate for cluster generalisations and promotions, so it raises who approves proposals. It commits to human approval, while the later decision allows Jev to confirm above-threshold merge and generalisation proposals, with borderline cases queued for human review. - 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 requires a generalisation eval to gate retrieval relaxation and asks how to handle its live-LLM, opt-in setup. It does not choose the later approach of making a deterministic bench check the required gate while keeping the live eval opt-in and amending the criterion.
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 promotion question directly: it constrains promotion to two human-approved doors (LLM-generalised cluster or verbatim singleton) and makes human review the approval gate, explicitly rejecting quality score or citation count as sufficient. The later decision removes the human promotion queue and lets an LLM (Jev) auto-admit standalone rules, which is a different option than the draft's human-approved promotion, so it leaned 'other'. - Should Jev confirm the dream pass's own merge and generalisation proposals instead of the human? → raised: True, leaned: other. The draft directly addresses the human-approval gate: it requires promotion to be explicitly human-approved, makes human review the approval gate, and asks whether the LLM-generalised cluster door replaces the near_duplicate proposal flow. It commits to keeping the human gate, which is the opposite of the later decision to let Jev confirm above a confidence threshold. - 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: neither. The draft raises this exact question as an open question — whether CI should provide the LLM key and run the live eval, or whether the gate should use another reliable approach — and as a constraint that the eval must be a required CI gate that cannot silently pass by being skipped. It does not commit to any of the options (CI workflow, local gate, deterministic bench split, or amending the criterion), so it neither chose nor opposed the person's later C+D resolution.