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-126 · memory · seed 2
Memory of this project (the product context the code does not carry): Acceptance criteria are Doen’s primary progress and verification surface; the dashboard should show what needs attention without becoming a task board. New initiatives start from the owner’s brief with an empty spec, an optional title that defaults to the description’s first line, and human editing during Draft. Preserve explicit human judgment at shared verdict boundaries, stable MCP contracts, and setup-installed onboarding; ground current-state claims in authoritative evidence and leave unobserved outcomes open. Memory learns from reviewed human and executor signals, with human signals carrying more weight, but its value is fuller, history-grounded specs—not prediction of isolated choices. Dream on demand or nightly after eligible completions, use deterministic default gates and opt-in live evaluations, and prefer maintained abstractions over bespoke patches when evidence shows the plumbing is the problem. Heuristics: protect-explicit-human-judgment: When a criterion or write path explicitly requires human judgment, enforce that requirement at the shared verdict-application boundary. Confidence or trust alone does not authorize bypassing it; broader automation needs its own evidence first. Traps: Do not infer that every judgment must be human-gated; apply this to explicit requirements and preserve other approved automation. benchmark-behavior-changing-judgments: For behavior-changing classifier or reasoning work, test the narrow hypothesis against the incumbent on the same frozen representative cases, then remeasure after rubric changes. Choose the cheapest reasoning level with a measured gain. Make deterministic checks default-suite gates; keep live-model evaluations opt-in. Traps: Do not compare different cases, treat incumbent agreement as ground-truth accuracy, or launch a broad model survey when a focused comparison answers the question. ground-current-state-and-post-deploy: For verification claims, use authoritative current evidence and remeasure stale baselines. When literal criterion wording conflicts with a reversed contract or broken guard, preserve its purpose through a narrow, explicit exception or repair. Mechanism tests and local comparisons do not establish production outcomes; leave real post-deploy or post-use outcomes open until observed. Traps: Do not use intent as a blanket waiver, weaken unrelated assertions, build to a stale baseline, or close a production outcome with a proxy. capture-and-propagate-owner-decisions: Capture a person’s stated rule or constraint immediately, without waiting to be asked, and tell them it was recorded. Reconcile consequential decisions across all affected spec sections so no requirement still encodes the superseded choice. Traps: Do not make the person request capture, or fix only the section that prompted a correction while leaving contradictions elsewhere. mcp-contracts-and-installed-onboarding: Keep existing MCP contracts stable when a dedicated tool can express new semantics cleanly. Document consequential write behavior where callers act on it, verify changed tools over every supported transport, and update setup-installed onboarding in the same change when MCP surfaces or executor conventions change. Traps: Do not hide overwrite semantics in internal documentation or assume repository documentation updates the installed copy; do not assume transports behave identically without checking. consolidated-corpus-membership: Treat confirmed consolidation (merge or generalisation, not retirement) as the route into the citable heuristic tier. Autonomous confirmation may apply to eligible consolidation proposals above the confidence threshold, but retirement remains human-gated. Traps: Do not let standalone admission reopen membership, or extend automated confirmation to retirement. memory-learning-evidence: An unretired executor call on a completed initiative can count as quiet confirmation only where the person had a chance to see it. Such calls may found heuristics. Weight a person’s call or correction 2, a standing executor call 1, and a reversal −2. Traps: Do not count calls merely because time passed, work the person did not review, or work recorded without being reviewed. memory-evaluation-target: Evaluate memory by its contribution to more rounded, complete, history-grounded specs, including surfacing product decisions, ambiguity, and conflicts—not by predicting isolated choices. Do not ask the person to re-answer past calls. When the central effect cannot be tested offline, use bounded live measurement with declared outcomes and a kill rule; do not claim improvement before observing it. Traps: Do not preserve single-choice prediction as the reward just because it is easy to score, or present a thin, inconclusive replay or unobserved live test as proof. memory-dream-operations: Dream on demand or nightly only when an initiative completed since the last dream; do not trigger on every completion or by call count. Use a durable nightly scheduler. Choose reasoning levels by replay evidence; ask for a short summary with a higher backstop rather than truncating at 100 words. Traps: Do not restore the five-call trigger removed by the person, or mistake a timing artifact for measured improvement. prefer-maintained-library-over-bespoke: When bespoke infrastructure itself causes a model or provider limitation, prefer a maintained library that resolves the underlying class of Title: Re-aim Live Memory Evaluation Intent: Live memory should help an executor complete a rounded, usable spec by adding product context the repository does not carry—not earn credit for guessing one noisy personal choice or recalling what the code already shows. Replace the live kill measure with initiative-level completion and spec-rework outcomes, and add a code-aware paired replay of past initiatives to test whether memory helped drafts raise decisions people later resolved. Keep the old prediction evidence readable, clearly secondary, and report research results with their production-instance provenance.
Claude
Intent: Re-aim live memory evaluation toward whether it helps produce more complete, usable specs—not whether it guesses individual human choices. Replace the current live kill measure with initiative-level completion and spec-rework outcomes, and add a code-aware, paired replay of past initiatives to test whether memory helps drafts raise decisions people later resolved. Keep the existing prediction evidence available as clearly secondary research, and attach production-instance provenance to research results. Constraints: - Preserve the existing initiative-level memory and holdout assignment; compare outcomes by assigned group rather than counting decision calls as independent initiative outcomes. - The current kill rule in `backend/app/services/live_memory.py` uses the first 40 resolved human calls with recommendations and compares recommendation agreement. It must no longer determine whether live serving continues. - Keep the existing prediction records and displays readable, but clearly label their evidence as secondary rather than the measure that governs live serving. - Ground completion and rework claims in recorded outcomes. Do not treat missing or unobserved outcomes as successes, failures, or proof that memory helped. - For paired replays, compare memory and no-memory drafts on the same initiatives and use equivalent, time-appropriate repository context. Do not let later code or later human decisions leak into a draft's context. - Report the production instance used for research and enough replay provenance to identify the initiative set, repository revision, model, and evaluation settings. - Keep live model evaluation opt-in and make deterministic checks part of the default test suite. - Avoid changing executor-facing MCP contracts unless the new evaluation semantics cannot be expressed cleanly without a contract change. Discretion: - Choose the implementation structure for the new outcome reporting and replay, reusing the existing research and live-memory surfaces where practical. - Choose how to present outcome counts and paired replay results so the primary measure and its limitations are easy to understand. - Choose deterministic fixtures and tests for group comparisons, missing outcomes, replay pairing, and provenance. - Choose a replay model and reasoning level only through a bounded, opt-in comparison on the same frozen cases; report results without treating model agreement as ground truth. Acceptance criteria: - Live serving decisions use initiative-level completion and spec-rework outcomes, not recommendation agreement on individual calls. The outcome counts and assigned-group comparisons are visible to the project owner. - The reporting distinguishes outcome availability from outcome results and does not present incomplete data as a verdict. - Existing prediction evidence remains accessible and is visibly marked as historical or secondary; it cannot silently continue to drive the live kill decision. - A paired replay can run over eligible past initiatives with memory and no-memory drafts generated for the same initiative and code context. Its output reports whether drafts raised decisions later resolved by a person, along with the paired comparison, sample size, and uncertainty. - Replay records identify their production-instance provenance and the code revision and settings used. Initiatives without trustworthy historical context are identified or excluded rather than silently treated as comparable. - Default tests verify the deterministic outcome and replay logic without outbound model calls. Any live-model replay is explicitly opt-in. - Research reporting does not claim that memory improved production outcomes until those outcomes have been observed. Open questions: - What exactly counts as a spec-rework outcome, and how should it affect the decision to keep serving memory? `backend/migrations/0073_spec_corrections.sql` records reworded, rejected, kept, and sent-back changes, but the product intent does not say which count, which direction is favorable, or whether these should be combined with completion into one kill rule. - What is the live decision gate for the new initiative-level measure: how many eligible initiatives are needed, and must memory improve both completion and rework outcomes, or is there another predeclared rule? The existing 40-call threshold does not settle an initiative-level threshold. - How should a past initiative be paired with its historical code context? The initiative record has timestamps, but the inspected schema does not establish a direct initiative-to-Git-revision link. Should replay use a specific mapping source, and should initiatives without a reliable mapping be excluded? - For replay scoring, should the gold set be the human-resolved decisions recorded for the same initiative, and what should count as a draft having raised one: an explicit acceptance criterion, a named constraint or ambiguity, or another match? The project context rules out asking people to re-answer past calls, but does not define this scoring rubric.
Claude
- BD-125 (pydantic-ai) is still a draft. The replay's drafter has to read the code at a historical commit, which needs a tool-using agent; our current client makes single structured calls only. Should the replay be built and run now on the current client, or built now and run after BD-125 lands? → raised: True, leaned: chosen. The draft explicitly raises the historical-code-context and replay-model/tooling questions, including excluding initiatives without trustworthy context and using a bounded replay-model comparison. It does not name BD-125 or the single-call client, but it leaves room to build the replay and defer running it until a tool-using agent is available. That aligns with doing BD-125 first, then BD-126. - Should live memory keep a kill rule that stops serving automatically when the memory group does not show less rework than the holdout? → raised: True, leaned: neither. The draft explicitly leaves open how rework should affect the serving decision, including whether it belongs in a kill rule, but does not choose automatic stopping or deployment-only shutdown. Thus it raises the question without leaning toward the chosen option.
Claude
- BD-125 (pydantic-ai) is still a draft. The replay's drafter has to read the code at a historical commit, which needs a tool-using agent; our current client makes single structured calls only. Should the replay be built and run now on the current client, or built now and run after BD-125 lands? → raised: False, leaned: neither. The draft's open questions cover replay pairing, code-context mapping, and scoring, but never the sequencing question of whether to build/run the replay now on the current single-call client versus waiting for the tool-using agent (BD-125). It does not raise the build-now-vs-wait decision, so it neither commits to nor opposes the chosen option. - Should live memory keep a kill rule that stops serving automatically when the memory group does not show less rework than the holdout? → raised: True, leaned: other. The draft takes up the live decision gate directly: it says the current 40-call kill rule must no longer determine whether live serving continues, and an open question asks what the new initiative-level gate should be, including whether memory must improve both completion and rework. That raises the question of whether a rework-based automatic kill rule should exist, but the draft does not commit to removing it—it leaves the gate open, so it does not lean toward the chosen option.