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-95 · 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 focuses attention without becoming a task board. Keep decisions grounded in the current project’s traceable records, make human-judgment and lifecycle boundaries enforceable, and preserve established MCP contracts unless a scoped change is explicitly chosen and verified. Prefer measurable acceptance criteria, realistic mechanism tests when live data is insufficient, and benchmark evidence before replacing behavior. Heuristics: honor-explicit-stage-visibility: When a lifecycle rule gates a surface to a particular stage, omit it entirely before that stage; visible-but-disabled is not equivalent. Use one shared predicate when multiple surfaces share the gate. Traps: Discoverability and implementation convenience do not override an explicit stage boundary. prefer-outcome-over-removed-ui-counts: Treat removal of an exact interaction-count requirement narrowly: do not restore that specific count, but do not infer a general ban on separately specified actions or affordances. Traps: Removing the requirement for exactly two actions does not erase a separately specified action or establish a general rule about the number of actions. preserve-existing-mcp-contracts: Treat existing MCP input/output contracts as stable. For a distinct workflow, prefer an additive tool when appropriate; if a contract change is explicitly chosen, scope it and verify unaffected behavior across supported transports. Traps: Do not change an established contract merely to reduce the number of tools, or assume compatibility without testing 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 without a newer explicit decision. follow-selected-rule-over-analogous: When the person explicitly selects a simple eligibility or visibility rule over an analogous feature's more elaborate pattern, implement the selected 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. protect-explicit-human-judgment: Enforce explicit human-judgment requirements at the decision or write boundary: an Advisor verdict must not auto-approve a criterion designated for human judgment. Automate only where the spec grants discretion and the match is sufficiently confident; otherwise escalate to the human. Traps: A prompt instruction or UI affordance alone is not a hard gate; place the guard where the verdict is applied. make-acceptance-criteria-measurable: State critical acceptance conditions as observable checks, including required fields and expected values where relevant. When live data cannot yet exhibit a desired outcome, test the mechanism with realistic fixtures and separately confirm correctness on the live recompute; state what future data is needed. Traps: Do not leave important details implicit in broad criteria, claim tuning can create distinctions unsupported by current inputs, or leave the mechanism untested while waiting for organic data. preserve-indexed-retrieval-paths: When a production data migration changes embedding dimensions or storage types, account for retrieval indexes as part of the migration. Do not leave a production retrieval path unindexed merely because the corpus is currently small. Traps: A migration's data-conversion success does not establish that its retrieval performance and index coverage are acceptable. benchmark-classifier-replacements: Before replacing a behavior-changing classifier or provider, compare it with the incumbent on the same frozen, representative cases and candidate inputs. If it regresses against the acceptance bar, iterate and remeasure before shipping the replacement. Traps: Do not attribute a regression to a fixable prompt issue without measuring the revised prompt, or compare paths using different cases or candidate sets. Title: Tighten Five Flywheel Decision Gates Intent: A codebase decision-point audit identified five gates in the flywheel and review system that carry more complexity than their downstream behavior warrants. Three gates hold enum values whose extra options produce identical outcomes and should be collapsed to binary, preserving nuance in a free-text reason field rather than a separate state. Two plain StructuredLLM binary classifications should be migrated to Jev, the typed-judgment provider introduced in BD-90, so they benefit from the same calibration discipline already applied to other high-signal gates. The goal is a leaner, more auditable set of decision points — fewer states to reason about, consistent use of Jev where the judgment is pass/fail, and no change to any downstream behavior that humans depend on.
Claude
Intent: Reduce unnecessary states in five decision points across the flywheel and review system. Three multi-option decisions should become binary, with useful distinctions retained in the existing free-text reason. Two binary decisions currently made with StructuredLLM should move to Jev so their pass/fail judgments use typed choices and confidence. Preserve the behavior people rely on, especially where a decision controls auto-approval or escalation. Constraints: - Confirm the five target gates before changing them. The initiative names their number and general shape, but not the gates themselves; do not treat plausible code candidates as confirmed scope. - For each collapsed gate, retain its actionable explanation in free-text reason or notes. A binary result must not turn a specific concern or uncertainty into a vague label. - Keep explicit human-judgment boundaries enforceable where verdicts are applied. In particular, a reviewer verdict must not auto-approve a criterion with verify.kind='human_judgment'. - On Jev errors, missing or unrecognized choices, or confidence below the agreed threshold, use a safe human-review or non-approval outcome; never infer an approval from failure. - Keep existing MCP tool inputs, outputs, and error behavior unchanged unless a separately scoped contract change is explicitly approved. - Keep existing records readable after changing any stored classifications. Old values must not become errors or be interpreted as approvals merely because their labels are being simplified. - Before replacing either StructuredLLM judgment, compare it with the incumbent on the same frozen representative cases and candidate inputs. Record the results, and do not ship a replacement that fails the agreed acceptance bar. Discretion: - Choose internal helpers, prompt organization, and test layout consistent with the existing services and provider patterns. - Choose how to represent binary results internally, provided old stored values remain readable and downstream behavior is preserved. - Choose confidence thresholds and rubric details only within the agreed safety and benchmark bar; document the rationale and the resulting fallback behavior. Acceptance criteria: - A confirmed inventory identifies exactly three enum-based gates for collapse and exactly two StructuredLLM binary judgments for migration to Jev. - Each of the three confirmed enum gates has exactly two decision outcomes after the change. Tests cover each old option and show its intended binary mapping; the former distinction is retained in a non-empty reason or notes field where that nuance applies. - For each of the two confirmed provider migrations, tests show the service uses Jev typed choices and applies an explicit confidence threshold. Tests cover a confident positive choice, a negative choice, a below-threshold positive choice, and provider failure or an unrecognized response. - For migrated gates that can approve work, a realistic fixture demonstrates that ambiguous, weak-confidence, or failed judgments do not approve or suppress human review. Human-judgment criteria remain unapproved by the Advisor. - Existing records containing pre-change classification values can be loaded and handled without errors or accidental approval; add a regression test using representative old values. - A benchmark report compares both incumbent paths and proposed Jev paths on the same frozen cases and candidate inputs, includes a stated pass bar, and shows each replacement meeting that bar. If current production data cannot demonstrate an outcome, test the mechanism with realistic fixtures and separately report the live recompute result and what data is still needed. - Existing MCP contract tests pass without changes to their expected input/output contracts. Open questions: - Which exact five gates are in scope? Plausible three-option candidates in the code include AdvisorClassification in backend/app/models.py and backend/app/services/shaping.py, AdvisorVerdict in backend/app/models.py and backend/app/services/review.py, and the recommendation types in backend/app/services/importance_validation.py. Plausible remaining binary StructuredLLM candidates include evaluate_learnings in backend/app/services/learn.py and _verify_proposal in backend/app/services/advisor.py. Please confirm or replace this mapping. - For each enum gate, what are the two retained outcomes, and should the human-facing grouping or labels change, or only the stored/judgment state? - For each Jev migration, what confidence threshold and safe fallback should apply? In particular, should evaluate_learnings use one of the existing Jev thresholds or receive a separately calibrated threshold? - What benchmark pass bar should govern each replacement—for example, minimum agreement with the incumbent plus a maximum false-approval rate? The repository establishes the need to compare classifiers, but the initiative does not set a numeric acceptance bar.
Claude
- Collapsing DriftReportStatus removes 'initiative_created' as a status, folding it into 'dismissed' per the spec constraint. But app/store/signals.py's BD-51 drifted_memory loop signal currently treats these two statuses differently: 'dismissed' reports are excluded from the loop count (false alarm, no longer an active signal), while 'initiative_created' reports are included alongside 'pending'/'approved' (confirmed real drift, still counts toward the 2+-initiatives recurring-drift signal). If both collapse into the same 'dismissed' value with no other trace, BD-51 will silently undercount confirmed-drift instances that spawned an initiative. How should this be handled? → raised: True, leaned: neither. The draft raises collapsing enum gates and preserving behavior, but it does not identify DriftReportStatus or ask whether to retain a separate trace of initiative-created reports for BD-51. Its scope-mapping question leaves the gates open, so it neither commits to nor recommends the chosen fidelity loss.
Claude
- Collapsing DriftReportStatus removes 'initiative_created' as a status, folding it into 'dismissed' per the spec constraint. But app/store/signals.py's BD-51 drifted_memory loop signal currently treats these two statuses differently: 'dismissed' reports are excluded from the loop count (false alarm, no longer an active signal), while 'initiative_created' reports are included alongside 'pending'/'approved' (confirmed real drift, still counts toward the 2+-initiatives recurring-drift signal). If both collapse into the same 'dismissed' value with no other trace, BD-51 will silently undercount confirmed-drift instances that spawned an initiative. How should this be handled? → raised: False, leaned: neither. The draft's five gates are the enum collapses and StructuredLLM migrations it names (AdvisorClassification, AdvisorVerdict, recommendation types, evaluate_learnings, _verify_proposal); DriftReportStatus and the BD-51 signal are not among them. The draft's general constraints about preserving behavior and retaining distinctions in free-text reason are about the collapsed gates' explanations, not about a status whose removal would change a downstream counting signal, so this specific question never came before the person as a constraint, discretion item, criterion, or open question.