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-118 · stateless · seed 2
Title: Live executor memory, shown to the person

Intent: Every executor session starts knowing nothing about how the person on this project decides. In replays, a dreamt index-plus-notes memory beat no memory by about 20 points on "built or dropped", but it still lost to always answering "built", and the notes it wrote were vague: the server only ever sees the question, options and answer, never the conversation in which the person decided. This initiative runs memory live as an experiment. The executor writes a note at the moment a person answers. A server-side dream turns those notes and the decision record into a small set of heuristics, each carrying its evidence, its traps and its track record. Executors on half the initiatives receive a short block of them next to precedent, and the other half receive none. The person can see exactly what executors were told, how the memory changed and why, and whether it predicted each call. If, after a declared number of calls, the executors with memory do not match the person's choices more often than the executors without it, serving stops.
Claude
Intent: Turn the existing replay research into a live, project-scoped experiment about whether memory helps executors predict the person’s choices. When a person answers, the executor records a concise note about the decision context; a server-side dream uses those notes and the decision record to produce compact heuristics with their evidence, traps and prospective track record. Half of initiatives receive the current short heuristic block alongside ordinary precedent, and half receive no heuristic block. The person can inspect what was served, how it changed and how well it predicted choices; serving stops after a predeclared number of calls if memory does not outperform the no-memory group.

Constraints:
- Do not treat the conversation as server data. `resolve_decision` receives the question, options, chosen answer and supplied rationale, but raw conversation history is browser-local and is not stored on the server. A submitted memory note must be identified as an executor-written note, not a transcript or a verified quotation.
- Keep initiative assignment stable across executor sessions. Control initiatives must continue to receive ordinary precedent but no live memory block; memory must not leak into the control arm through another executor-facing response.
- Memory is guidance, not authority: it must not override confirmed spec requirements or silently resolve a decision that belongs to the person.
- Do not use a call’s answer to predict that same call, or include later records in an earlier memory snapshot. Score predictions against observed choices and outcomes, and show the sample counts and missing predictions.
- Keep live experiment records distinguishable from replay results. `memory_dreams` and `memory_predictions` currently hold replay data shown in the project UI; a person must be able to tell whether a result came from replay or live serving.
- Preserve the exact memory shown at each serving point and the history of changes, rather than reconstructing past instructions from the current memory.

Discretion:
- Choose the storage, API and MCP changes needed to capture notes, assign initiatives, run dreams and record serving and prediction outcomes. Reuse existing project and initiative surfaces where that fits.
- Choose a reproducible, balanced random assignment method and make assignments before an executor first receives memory for an initiative. Keep assignment sticky; when an exact half is impossible, make the groups as even as possible.
- Choose the dream schedule, prompt and internal heuristic format, while keeping each served block short and each heuristic tied to its supporting evidence, traps and prospective results.
- Choose how the project Memory view and initiative decision view present the live history, exact served blocks and outcomes, consistent with the existing replay-memory UI.

Acceptance criteria:
- When a person answers a decision, the executor can submit a separate, concise context note linked to the decision record. The server can use that note in later dreams without claiming to have captured the conversation.
- Eligible initiatives are assigned to memory or control before first use, in balanced groups, and retain that assignment across sessions. Executors in the memory group receive a short heuristic block next to precedent; control executors receive no such block.
- A server-side dream produces a versioned set of heuristics from notes and decision records. Each heuristic shows its evidence, traps and prospective track record. Earlier versions remain available, and future evidence does not appear in past versions.
- The system records the exact block served to each memory-group initiative, records that no block was served to controls, and links predictions to the relevant initiative or decision and its observed outcome.
- The project UI lets the person inspect the current memory and its history, the exact instructions served, what evidence explains changes, and whether each evaluated call was predicted correctly. Live results are clearly distinguished from replay results.
- After the configured call count is reached, the system compares memory and control accuracy using the agreed evaluation population. If memory is not more accurate, no subsequent executor session is served the live memory; the UI shows the result and why serving stopped.

Open questions:
- What is the declared call count for the stop rule, and which outcomes count toward it: only decisions answered by the person, initiative built-or-dropped outcomes, or both? Should those outcome types be pooled for the comparison or reported separately?
- Should the person be able to edit or approve an executor-written note before it contributes to a dream, or is it enough to make the note inspectable and clearly attributed after submission?
- Should the first live memory start only from notes captured after launch, or may existing decision records or replay memories seed it? Older decisions have no contemporaneous executor notes.
Claude
- The constitution says to build no memory machinery (extraction pipeline, dreaming pass, wiki) until the replay shows a gap it would fill, and no arm has yet beaten always answering "built". Should live executor memory (capture, server-side dreaming, serving to executors) be built anyway? → raised: True, leaned: chosen. The draft explicitly proposes a live executor-memory experiment with a random control group receiving no memory, outcome tracking, a predeclared stopping rule, and inspection of what was served. That directly addresses whether to build live memory despite the replay baseline.
Claude
- The constitution says to build no memory machinery (extraction pipeline, dreaming pass, wiki) until the replay shows a gap it would fill, and no arm has yet beaten always answering "built". Should live executor memory (capture, server-side dreaming, serving to executors) be built anyway? → raised: True, leaned: chosen. The draft is precisely a live, project-scoped memory experiment: it commits to a random holdout (memory vs control), a predeclared stop rule, outcome measures, and showing served blocks to the person — matching the chosen option. It also implicitly answers the constitution's gating question by proceeding to build live memory machinery as an experiment.
Every decision is recorded with what was ruled out and why. That record is the evidence.