Doenexecutor memory research
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 · stateless · seed 1
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 at the job it is meant to do: help an executor draft a rounded, usable spec by adding product context the repository does not already provide. Replace the current call-level kill measure with initiative-level completion and spec-rework outcomes, and add a paired replay of past initiatives to test whether memory helps drafts surface decisions people later resolved. Keep the old prediction evidence available as secondary evidence, and make each research result traceable to the production instance it came from.

Constraints:
- Keep the existing one-time random assignment in `memory_arms` to `memory` or `holdout`. Compare outcomes per initiative; do not treat a project's individual decisions or correction events as independent initiative samples.
- Do not use whether an executor's recommendation matched a person's choice as the live stop/continue measure. Keep existing prediction and recommendation-match records readable, clearly labeled as secondary evidence, and do not delete or relabel them as the new outcome.
- Base spec-rework reporting on recorded evidence, including `spec_corrections` and its `kind` values. Do not treat missing historical correction records as proof that no rework occurred.
- In the paired replay, give both versions of a draft the same brief and the same code context; memory is the only condition that differs. Do not show later-resolved decisions to the drafter. Use those decisions only as held-out evaluation evidence, and do not credit memory for context that the code already provides.
- Report outcome counts and uncertainty alongside comparisons. Do not present sparse or incomplete observations as proof that memory helped or harmed.
- Include production-instance provenance in saved and displayed research results without exposing database credentials or other secrets.

Discretion:
- Choose how to present the primary initiative-level comparison on the project page, provided completion and spec rework are distinct and the legacy prediction evidence is visibly secondary.
- Choose a practical replay format and scoring implementation that fit the existing research tools, while preserving paired cases, preventing information leakage, and making case-level results inspectable.
- Choose a safe, stable way to identify the production instance in a report, and record relevant run details such as project, time, model, and prompt version.
- Update `agents.md`, `README.md`, and `RESEARCH_LOG.md` so they describe the new primary measure and how to run and interpret the paired replay.

Acceptance criteria:
- The live evaluation and its stop/continue behavior no longer use the existing fixed decision-call count and recommendation-match comparison as the kill measure.
- The project memory view reports initiative-level completion and spec-rework outcomes for the memory and holdout groups, with denominators and any missing-data limitations visible.
- The existing per-call memory-versus-no-memory prediction evidence remains readable and is explicitly described as secondary, not as proof of usable drafts or as the live kill measure.
- A paired replay can compare drafts for the same past initiative with and without memory, show whether each version raised decisions later resolved by a person, and distinguish product context not found in code from information the code already shows.
- Tests cover the new outcome calculations, the paired replay's shared inputs and no-lookahead behavior, and the continued availability and secondary labeling of the old evidence.
- A reported research run identifies its production source without disclosing secrets; the report and research documentation do not claim a positive result unless the measured evidence supports it.

Open questions:
- How should initiative completion be classified for this measure—for example, how should an initiative that was completed and later archived count? Which initiative records should be excluded?
- Which events count as spec rework, and how should they be summarized: per initiative or per change, and should rewording, rejection, keeping a proposed removal, and evidence sent back count equally? What observation period should apply?
- What exact decision should these outcomes drive? Should memory serving automatically stop or continue based on them, and if so, what minimum sample and comparison rule should trigger that decision?
- Which code snapshot should the replay treat as available when each historical draft was written: code at that time or the current repository? The records I inspected contain initiative briefs and specs, but I did not find a stored code snapshot reference.
- How should a replay judge whether a draft truly raised a decision later resolved by a person, and which project or projects should it cover? Should decisions answerable from code be excluded from the memory-benefit score or reported as a separate category?
- What production-instance identifier should appear in research reports—for example, a deployment name or a redacted database-host identifier—so the source is clear without revealing credentials?
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: other. The draft explicitly leaves open which code snapshot the replay should use, but it does not ask whether to build the replay now and defer running it until a tool-using client is available. It also leaves replay format and scoring implementation to discretion. It does not commit to doing BD-125 first; the chosen sequence is not the draft’s stated direction.
- 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: chosen. The draft explicitly asks whether outcomes should automatically stop or continue memory serving and whether a minimum sample and comparison rule should trigger that decision. Its stated direction is to replace the existing kill measure, consistent with removing the automatic rework kill rule.
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: neither. The draft raises the replay's code-snapshot question as an open question ('Which code snapshot should the replay treat as available... I did not find a stored code snapshot reference'), but it does not commit to or recommend any of the later options (build now vs. wait for BD-125); it leaves the question open.
- 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: chosen. The draft's open questions explicitly ask whether memory serving should automatically stop or continue based on the new outcomes and what minimum sample/comparison rule should trigger that decision, and its acceptance criteria require that the live evaluation no longer use the old kill measure—leaving the question of a rework-based kill rule open but framed toward measuring rather than auto-stopping, consistent with the chosen option.
Every decision is recorded with what was ruled out and why. That record is the evidence.