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 · memory · seed 1
Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surface; the dashboard should answer what needs attention without becoming a task board. Keep lifecycle visibility, human judgment, field semantics, and MCP contracts explicit at shared boundaries. Automate judgments when explicitly delegated, but enforce declared human-judgment gates and keep retirement human-gated; distinguish raw heuristic admission from consolidated, citable membership. Use deterministic default-suite gates for repeatable checks, keep live-model evaluations opt-in, and require production or another authoritative source for current-state and deployment claims.

Heuristics:

protect-explicit-human-judgment: When a criterion or write path is explicitly marked for human judgment, enforce that requirement at the shared verdict-application boundary so no caller or model confidence can bypass it.
Traps: Do not rely on prompt wording or UI affordances as the gate. This applies to explicitly human-gated decisions, not every judgment in the system.

automate-only-delegated-judgments: Allow automation where the spec delegates the judgment: use the chosen confidence threshold, keep uncertain cases for human review, and retain human approval for retirement. Do not add a human queue merely by default when it recreates the maintenance burden the decision sought to remove.
Traps: Automation authority is specific, not general: delegated admission or confirmation does not imply permission to retire rules or bypass an explicit human-judgment gate.

benchmark-behavior-changing-judgments: Before replacing a behavior-changing classifier, verify the replacement interface can represent the required output, then compare both paths on the same frozen representative cases and candidate inputs. If it regresses, iterate and remeasure. Match evaluation weight to the decision: deterministic checks belong in the default suite; live-model evaluations remain opt-in. Describe incumbent agreement as a proxy, not ground-truth accuracy.
Traps: Do not compare different cases, skip measurement after rubric changes, treat proxy agreement as accuracy, or require a heavier bench by analogy alone.

evidence-must-match-the-claim: Match evidence to the claim’s scope and time. A local comparison can isolate a predicate change, but it cannot establish post-deployment production impact. Re-measure stale baselines and use the project’s established durable evidence channel; leave criteria open when the required authoritative observation has not happened.
Traps: Do not treat a before-snapshot, arithmetic test, or local simulation as proof of a later real-world effect. Do not invent a metric store or dashboard requirement when the project has no such infrastructure.

preserve-criterion-intent-with-explicit: Write criteria for outcomes observable within the initiative’s scope. When reality makes literal wording impossible or stale, amend it explicitly and preserve the criterion’s intent; when a contract is deliberately reversed, update tests that encode the old contract rather than weakening unrelated assertions.
Traps: Do not mark an unobserved outcome satisfied merely to close a criterion, or leave a known-broken guard untested because its repair technically modifies the test.

keep-mcp-contracts-explicit: Preserve existing MCP tool contracts when adding a distinct capability; prefer a dedicated tool when it makes the write path clearer and avoids changing an established contract. Document overwrite behavior where callers choose and make the write.
Traps: Do not leave last-write-wins data-loss behavior implicit, or assume a new parameter is harmless when stability and discoverability favor a separate tool.

prefer-product-semantics-over-pattern: Choose the rule that directly fits the product decision, rather than copying a neighboring feature for consistency or a presumed UX convention. Accept a fidelity loss or simpler visibility rule when its benefit is marginal and the added complexity is not justified.
Traps: Do not treat consistency with a precedent as sufficient reason to override the specified behavior or add schema for a low-value distinction.

separate-raw-admission-from-citability: Keep raw heuristic admission distinct from citable membership. A sound standalone rule may enter the raw corpus, but only confirmed consolidation qualifies for the citable tier; automated merge and generalization confirmation may follow delegated thresholds, while retirement remains human-gated.
Traps: Do not infer that an admitted or active rule is citable. Check the current membership predicate rather than carrying forward an earlier admission policy.

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 by entering a brief. Doen keeps that brief as the source for the executor, rather than treating it as finished spec content. The executor can clarify the brief and draft the spec for that same initiative. While it waits, the initiative clearly says it is waiting for an executor. Once it is in the draft stage, the person can add items and fix wording on the initiative page; after it leaves draft, spec changes continue through executor proposals.

Constraints:
- Keep the submitted brief distinct from the spec’s title, intent, constraints, discretion, and acceptance criteria. It may inform the executor’s draft, but must not appear as if it were already agreed spec content.
- Starting from the app creates a project-linked initiative that the executor can find and continue; it must not create a second initiative when the executor drafts the spec.
- Make the waiting-for-executor state explicit and distinct from the Advisor drafting or classifying a spec, and from work that needs the person’s attention. Keep lifecycle visibility useful without turning the project page into a task board.
- Items the executor drafts remain proposals for the person to review under the existing confirmation flow. Acceptance criteria retain their verification kind and detail and are not treated as verified merely because someone added or edited their wording.
- Allow direct content edits from the page while the initiative is in draft. Once it leaves draft, use the existing executor proposal path for spec changes; do not silently let a UI write bypass that boundary.
- Preserve the existing MCP contracts and their documented write behavior, including `create_spec`, `reshape_spec`, and `propose_spec_change`. Use a distinct capability for drafting an app-started initiative if the executor needs one.
- Keep explicit human-judgment gates enforced at the shared verdict boundary. Direct editing must not bypass them or mark evidence as approved.

Discretion:
- Choose the form layout, wording, and placement of the create action on the project page, reusing existing page patterns where useful.
- Choose how to represent the waiting-for-executor state internally and how to carry it through shared lifecycle and attention surfaces, provided it remains distinct and is not shown as a person’s turn.
- Choose the appropriate executor-facing retrieval and draft-write path, provided the executor can access the submitted brief and draft into the same initiative without changing existing MCP tool contracts.
- Use optimistic version checks or an equivalent safeguard so a page edit cannot silently overwrite a concurrent executor or human change.
- Use existing initiative-type inference where appropriate rather than adding type choices to the creation flow unless product requirements call for them.

Acceptance criteria:
- From a project page, a person can submit a non-empty brief and reach the newly created initiative without first copying a prompt to an external executor.
- Before the executor drafts a spec, the project page and initiative page clearly identify the initiative as waiting for an executor. It is not presented as awaiting human review or as if the Advisor were already drafting.
- The submitted brief remains available to the executor separately from the spec content. An executor can clarify it, draft the spec for that initiative, and leave the project with exactly one initiative for the request.
- When a draft exists, the person can add spec items and edit wording on the initiative page. The resulting content retains the proper field semantics and does not falsely mark criteria as verified or bypass human-judgment verdicts.
- After the initiative leaves draft, direct spec editing is unavailable and changes are handled through executor proposals and the existing human review flow.
- Failures or stale writes are visible and recoverable; they do not lose the original brief or leave the initiative misleadingly marked as successfully drafted.
- Automated tests cover creation, executor discovery and drafting into the same initiative, waiting-state visibility, draft-stage edits, post-draft write restrictions, and preservation of the existing MCP tool contracts. These checks do not require live-model evaluations.

Open questions:
- How does the executor pick up an app-started initiative: does it discover pending briefs through MCP when it next runs, does the app trigger an executor, or should the person still explicitly hand the initiative to an executor? The code has MCP tools and copyable prompts, but no established app-to-executor dispatch mechanism.
- While an initiative waits, may the person edit or cancel the brief? If they change it while an executor is already working, what should happen to that in-flight draft?
- When a person adds an item or edits wording in draft, is that content immediately confirmed because they authored it, or does it remain proposed for explicit confirmation? In particular, what should happen when they edit an already-confirmed item?
- Does direct draft editing include changing the title and intent as well as adding or rewording constraint, discretion, and acceptance items? Should people be able to remove items directly in draft, or use the existing keep/reject/retire actions?
- Should the creation form ask the person to choose engineering or research, or should it use the existing type inference from the brief?
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 direct content edits while the initiative is in draft, and its acceptance criteria specify that the person can add spec items and edit wording on the initiative page. It also preserves executor proposals for changes after draft.
- Should the title be optional in the new-initiative dialog, instead of required? → raised: False, leaned: neither. The draft discusses the brief and later spec title, but does not address whether a title is required in the new-initiative dialog or what to use 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 specifies how to start an initiative and keep the brief separate from the spec, but it does not address whether a title is required, optional, or derived from the description.
- 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 the required-versus-optional status of the dialog fields, but specifies a required title. The later choice makes the title optional, so the draft leans toward the other option.
- 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 addresses creating an initiative from a brief, but does not raise whether a title is required or how to derive one when omitted. It therefore takes no position on the later title-default decision.
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 direct content edits during draft: a constraint allows direct edits from the page while in draft and restricts changes to executor proposals after draft, and an acceptance criterion states the person can add spec items and edit wording on the initiative page while a draft exists. This commits to the option the person later chose.
- Should the title be optional in the new-initiative dialog, instead of required? → raised: False, leaned: neither. The draft never addresses whether the title is required or optional in the new-initiative dialog; it only mentions the draft-stage form and the title/intent as separate open questions, and the title of the spec is not the same as the dialog's title field.
- 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: True, leaned: neither. The draft's open questions explicitly ask whether the creation form should require a type choice or use inference, and whether the brief can be edited/cancelled while waiting, but it never addresses whether a title is required versus optional. The specific title-optional question is not raised, and the draft does not commit to either option.
- 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 item only covers form layout, wording, and placement of the create action, and the open questions ask whether the form should ask for engineering vs research type. It never addresses which fields (title vs description) are required versus optional in the dialog, so this specific question was not raised or settled by the draft.
- 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's creation flow only requires a non-empty brief and leaves form layout and type inference to discretion; it never addresses whether a title is required or how a missing title is derived from the description, so this specific question was not raised.
Every decision is recorded with what was ruled out and why. That record is the evidence.