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-117 · stateless · seed 2
Title: Start Initiatives and Shape Drafts from the App

Intent: Give product managers a direct way to start a new initiative from its project page and to shape a draft spec themselves. Starting one captures the person's brief without making it spec content: an executor clarifies it and drafts the spec, and while it waits the initiative is visibly marked as waiting for an executor. Once a draft exists, the person can add items and fix wording on the initiative page instead of asking the executor; after draft, changes keep going through executor proposals.
Claude
Intent: Let a product manager start an initiative from its project page with a plain-language brief, then have an executor clarify that brief and produce the first spec draft. The brief is input to the executor, not itself governing spec content. Once the executor's draft is ready, the person can add items and correct wording on the initiative page during the draft stage; later changes continue through executor proposals.

Constraints:
- Keep initiative creation scoped to an existing project. The app must not turn the brief directly into spec intent or items, or call the drafting model itself: the executor owns clarifying and drafting the first spec.
- Keep the brief distinct from the governing spec sections, while retaining it so the executor can use it. The existing `original_description` metadata may be suitable if it meets that need.
- Show a clear waiting-for-executor state in the project initiative list and on the initiative page. Do not make an empty scaffold look like a completed spec draft. Keep this separate from the initiative lifecycle `state`, which represents draft, building, learning, or complete.
- Keep executor-written draft items visibly attributable to the executor and subject to the existing review flow; starting an initiative must not silently confirm the executor's proposals.
- Allow direct item additions and wording fixes only in the pre-build draft phase. Once work has moved beyond that phase, spec changes must continue through executor proposals and the person's existing review actions.
- Use the existing version check for spec writes so a stale page cannot overwrite a newer change. Keep product logic in the backend; the web app remains a rendering shell over the API.
- Record the initiative's hypothesis, source, metric, baseline, and result in `RESEARCH_LOG.md`. Do not claim this improves memory replay unless that is measured.

Discretion:
- Choose the page layout and interaction details for starting an initiative, showing its waiting state, and editing draft items.
- Choose the API and persistence changes needed to keep the brief available to the executor without treating it as governing spec content.
- Reuse existing shaping and MCP capabilities where they fit, or extend the executor-facing workflow so it can draft an already-started initiative rather than create a duplicate.
- Use the existing item sections and validation patterns for the editing experience, and add focused tests for backend writes, stale versions, and the app flows.

Acceptance criteria:
- A person can start an initiative from a project page and submit a brief; the initiative belongs to that project and can be opened from the project list.
- Before an executor has produced a draft, the project list and initiative page clearly say the initiative is waiting for an executor, and the brief is available to the executor without being presented as spec intent or confirmed spec content.
- An executor can clarify the brief and produce the initial spec for that existing initiative, without creating a duplicate. The resulting draft is shown on the initiative page.
- During the draft phase, the person can add spec items and correct wording on the initiative page. The interface makes clear which content the person wrote and which content the executor proposed.
- After the initiative leaves the draft phase, direct spec editing is unavailable and changes continue through executor proposals and the existing review flow.
- Failed or incomplete drafting does not lose the person's brief or falsely signal that a complete draft is ready.

Open questions:
- This reopens creation and draft editing paths that `RESEARCH_LOG.md` says were deliberately removed so the executor would be the only spec author. Is this an intentional, bounded reversal of that decision, and should the resulting authorship trade-off be recorded?
- How does the executor receive the new initiative and clarify its brief: does the app launch or notify an executor, or does it create a durable waiting item for an executor to find through MCP? Where does the clarification conversation happen?
- Is direct editing allowed only while the initiative lifecycle is `draft` and before building starts? Does wording correction cover only item text, or also the title and intent?
- Can people add items in all three sections—constraints, discretion, and acceptance? Should a person-authored item be immediately confirmed, or still go through a review step?
- Should the person choose engineering or research when starting an initiative, or should the app use the existing type inference? The type is immutable after creation.
Claude
- Should people be able to add and edit spec items from the app while the spec is in draft, reversing this morning's call that only executors write spec content? → raised: True, leaned: chosen. The draft explicitly allows people to add items and correct wording during the pre-build draft phase, then routes later changes through executor proposals. It also directly asks whether this reverses the executor-only authorship decision.
- Should the title be optional in the new-initiative dialog, instead of required? → raised: False, leaned: neither. The draft discusses starting an initiative and submitting a brief, but does not address whether the title is required or what happens when it is omitted.
- Should the constraint "A new initiative requires a title, a description, and a choice of Build or Research (defaulting to Build); constraints, agent latitude, and acceptance criteria are optional lists of lines. Creating it saves the person's brief separately from the spec, leaves the spec empty, and does not let the person edit the brief afterward. The executor may rename the initiative while drafting." change? → raised: False, leaned: neither. The draft covers starting an initiative from a brief and keeping that brief separate from the spec, but it does not address whether a title is required or optional, or whether the first description line can stand in for one.
- Should the latitude item "Choose the dialog's layout and copy, provided it uses the existing shadcn-style Dialog, Textarea, and Field builders and clearly distinguishes the required title, description and type from the optional line-list fields." change? → raised: True, leaned: other. The draft raises whether the person chooses a title and how initiative-start fields are presented, but it does not specify whether the title is required or optional. The later choice makes the title optional, while the draft’s closest wording treats it as required.
- Should the criterion "Creating an initiative with a title, description, type and brief produces a pre-draft initiative of that type with that title and an empty spec; omitting the title or description, or using an unknown project, is rejected without writing data." change? → raised: False, leaned: neither. The draft discusses starting initiatives and choosing interaction details, but it does not address whether a title is required or can default to the first line of the description. That specific question was not raised, so the draft leans neither way.
Claude
- Should people be able to add and edit spec items from the app while the spec is in draft, reversing this morning's call that only executors write spec content? → raised: True, leaned: chosen. The draft explicitly addresses this question: it allows direct item additions and wording fixes only in the pre-build draft phase, with later changes through executor proposals, and includes acceptance criteria and an open question about this reversal. This matches the chosen option.
- Should the title be optional in the new-initiative dialog, instead of required? → raised: False, leaned: neither. The draft never addresses whether the initiative title is required or optional in the new-initiative dialog; it only mentions title in passing under an open question about whether wording correction covers the title, which is a different question.
- Should the constraint "A new initiative requires a title, a description, and a choice of Build or Research (defaulting to Build); constraints, agent latitude, and acceptance criteria are optional lists of lines. Creating it saves the person's brief separately from the spec, leaves the spec empty, and does not let the person edit the brief afterward. The executor may rename the initiative while drafting." change? → raised: False, leaned: neither. The draft never addresses whether a title is required or optional for a new initiative; it only mentions the brief, waiting state, and draft editing. The open question about choosing engineering vs research touches type selection, not title requirements, so the specific question was not raised.
- Should the latitude item "Choose the dialog's layout and copy, provided it uses the existing shadcn-style Dialog, Textarea, and Field builders and clearly distinguishes the required title, description and type from the optional line-list fields." change? → raised: False, leaned: neither. The draft's discretion items cover page layout, API/persistence, executor workflow, and editing patterns, but never address which dialog fields are required versus optional (title vs description). The later decision concerns that specific required/optional field distinction, which the draft does not raise.
- Should the criterion "Creating an initiative with a title, description, type and brief produces a pre-draft initiative of that type with that title and an empty spec; omitting the title or description, or using an unknown project, is rejected without writing data." change? → raised: True, leaned: other. The draft's acceptance criteria explicitly requires the person to submit a title and description when starting an initiative ('A person can start an initiative from a project page and submit a brief'), and the open questions treat title as a required input, so the title-required question is settled. The draft's stance is that the title is required, which is the opposite of the later choice to make the title optional.
Every decision is recorded with what was ruled out and why. That record is the evidence.