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-78 · memory · seed 0
Memory of this project (the product context the code does not carry): Doen is an Advisor-led spec-and-agent collaboration system: acceptance criteria are its primary progress and verification surface, while the dashboard should focus human attention without becoming a task board. Its organizational memory and retrieval should make guidance project-specific and traceable, not generic or fabricated. Preserve explicit human-judgment and lifecycle-visibility boundaries, follow the chosen rule rather than a more elaborate analogue, and keep established MCP contracts stable unless a scoped change is explicitly chosen and verified. Heuristics: honor-explicit-stage-visibility: For lifecycle-gated UI, follow the explicit render and visibility semantics literally. A module specified as hidden before its stage stays unrendered; visible-but-disabled is not a substitute. Where the same gate applies across surfaces, use a shared predicate. Traps: Discoverability and implementation convenience do not override an explicit stage boundary. prefer-outcome-over-removed-ui-counts: Treat a correction removing a specific exact-count requirement narrowly: do not restore that removed count, but do not infer a general ban on independently specified action counts. Traps: The removed requirement was exactly two follow-up actions; it does not reject every separately specified interaction count. preserve-existing-mcp-contracts: Treat existing MCP tool input/output contracts as stable. For a distinct workflow, prefer an additive dedicated tool when that is the chosen design. If a contract change is explicitly required, scope it and verify unaffected behavior across supported transports. Traps: Do not change an established contract merely to reduce the number of tools; do not assume compatibility without verifying it. research-findings-are-executor-owned: For research_findings, use pure last-write-wins semantics: a later executor MCP write overwrites a human edit. Document this clearly; the field is the executor's working document, with human annotation expected after investigation concludes. Traps: Do not add locking or version tracking, or imply that human edits are protected from a later MCP write, without a newer explicit decision. follow-selected-rule-over-analogous: When the person explicitly chooses a simple eligibility or visibility rule over a more elaborate pattern used by an analogous feature, implement the chosen rule as stated. For the importance recommendation, suppress it only when the project has exactly one initiative. Traps: Consistency with another feature is not a reason to substitute its condition for the selected rule. Title: Shaping Edits as Heuristic Feedback Intent: Today, heuristic quality scores are dominated by extraction-time auto-confirmations (weight 3.0) while actual behavioral signals — human shaping decisions and usage citations — are underweighted. This means 74 of 98 active heuristics share the same score of 0.800, making the quality signal nearly useless for ranking. This initiative closes the heuristic feedback loop by treating what a human does to a heuristic-grounded spec item during shaping as the definitive verdict on that heuristic: keeping the item through start-building confirms it; deleting or substantially rewriting it rejects it. These verdicts are recorded as new citation_feedback_events rows, wired into the quality score accumulation, and surfaced in the heuristic detail modal. Simultaneously, score weights are rebalanced so that shaping-survival and usage citations dominate, and extraction-time auto-confirmation drops to a near-prior nominal weight — producing a meaningfully more dispersed quality distribution across the live corpus.
Claude
Intent: Make heuristic quality scores reflect what happens when people shape a spec, not mainly the weight assigned to extraction-time confirmations. A heuristic-backed item that survives into building should count as a positive human verdict; deleting or substantially rewriting it should count as a negative verdict. Record these outcomes, include them in quality scoring alongside usage citations, and make the shaping feedback visible in heuristic detail. Constraints: - Apply shaping feedback only to citations linked to spec items. Do not treat an auto-resolution citation, or an unlinked item, as a shaping verdict. - Keep feedback traceable to the existing citation, heuristic, initiative, and spec item. Add feedback rows rather than editing or deleting prior feedback; preserve the existing `dismissed` feedback behavior. - Keep the existing Laplace score formula and rebalance its inputs as requested. Recalculate stored quality scores from recorded evidence; do not invent historical shaping verdicts that cannot be established from existing records. - Do not make an LLM or executor-authored spec change stand in for a human verdict. Preserve the existing MCP tool contracts. - Keep the existing human decision and lifecycle boundaries: shaping feedback must not itself approve spec items, change their text, or advance an initiative. Discretion: - Choose distinct `feedback_type` values for shaping confirmation and rejection, without changing the meaning of existing values. - Choose how to aggregate and present shaping confirmations and rejections in the existing heuristic detail modal. Keep them distinguishable from the raw citation count and provide traceable context where the available records support it. - Choose the migration and score-recomputation implementation, and add tests for feedback recording, scoring, and the existing dismissal behavior. - Use the existing heuristic detail route if an additive response change is sufficient; avoid changing MCP contracts. Acceptance criteria: - A heuristic-linked item that is kept through the agreed building transition records a positive shaping outcome; a deleted or qualifying rewritten item records a negative outcome. Outcomes refer to the associated heuristic citation and remain traceable to the relevant initiative and item. - Repeated requests or retries do not accidentally inflate shaping feedback or create contradictory outcomes for the same item disposition. - New shaping outcomes affect the heuristic quality score, and stored scores are refreshed when the relevant feedback changes. Existing citation and dismissal signals continue to contribute as intended. - The detail modal shows shaping feedback separately from citation totals, alongside the heuristic’s quality score. - A score-distribution check on the live heuristic corpus reports how the rebalanced scoring changes the concentration of identical scores, using the stated 74-of-98-at-0.800 baseline for comparison. - Tests confirm existing MCP contracts and citation dismissal behavior remain intact. Open questions: - What exactly counts as a “substantial rewrite”? Should every saved text edit count, as the current spec-edit flow treats text edits as substantive, or should small wording changes be excluded? If only meaning-changing edits count, how should that be determined without delegating the human judgment to an automated comparison? - Should rejection feedback be recorded at the time of a human edit or removal, or should outcomes be finalized only when the initiative enters building? Should retiring an item count as rejection? - Should feedback settle on any transition from draft to building, including the existing first-evidence transition, or only when the explicit `start-building` action is used? - What numeric weights should apply to shaping confirmations, shaping rejections, usage citations, and extraction-time confirmations? The current score gives a cleanly completed heuristic confirmation a weight of 3.0 (otherwise 1.0) and usage citations a weight of 0.5; does “near-prior nominal weight” mean reducing the clean-completion weight to about 1.0? What change in score dispersion would count as sufficient?
Claude
- Acceptance criterion item_91be5a17ec5d requires the live-corpus recompute to yield 'meaningfully more than six distinct score values (e.g. >20)'. The live corpus currently contains exactly 6 distinct raw event-count combinations (78 of 98 heuristics have a single confirmation and zero citations; zero context='drafting' citations exist yet), so no weight rebalance can mathematically produce more than 6 distinct scores today — dispersion can only emerge as new shaping-verdict and citation events accumulate. How should this criterion be verified? → raised: True, leaned: neither. The draft explicitly requires a live-corpus score-distribution check against the 74-of-98-at-0.800 baseline, but leaves the required dispersion open as a question. It does not specify verifying a mechanism sweep that yields more than 20 scores while checking live recompute correctness.
Claude
- Acceptance criterion item_91be5a17ec5d requires the live-corpus recompute to yield 'meaningfully more than six distinct score values (e.g. >20)'. The live corpus currently contains exactly 6 distinct raw event-count combinations (78 of 98 heuristics have a single confirmation and zero citations; zero context='drafting' citations exist yet), so no weight rebalance can mathematically produce more than 6 distinct scores today — dispersion can only emerge as new shaping-verdict and citation events accumulate. How should this criterion be verified? → raised: True, leaned: chosen. The draft's acceptance criteria include a score-distribution check on the live heuristic corpus using the 74-of-98-at-0.800 baseline, and the open questions explicitly ask what change in score dispersion would count as sufficient. This puts the verification-of-dispersion question before the builder, and the draft's framing (live-corpus check, open question about sufficiency) aligns with the chosen option of verifying the mechanism while accepting that live dispersion arrives later.