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 2
Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surface; the dashboard 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 person start an initiative from its project page by submitting a brief, then shape the resulting draft on the initiative page. The brief is an intake for the executor to clarify, not itself spec content. Make it clear when the initiative is waiting for an executor, when a draft is ready, and when the person can review it. Keep the existing division of work after the draft stage: later changes arrive as executor proposals for the person to decide.

Constraints:
- Keep the submitted brief distinct from the spec’s intent, constraints, discretion, and acceptance criteria. Do not present the brief as a drafted or confirmed spec item.
- Show a truthful lifecycle: waiting for an executor must be distinguishable from the Advisor drafting or classifying a spec, and from a draft ready for review. Surface this in the existing project and initiative views rather than creating a task board.
- Allow direct add and wording edits on the initiative page only while the initiative is in draft. Once it has moved beyond draft, spec changes continue through executor proposals and the person’s existing review path.
- Preserve shared authoring semantics and field requirements: changes must respect the spec version, item provenance and status; an acceptance item needs its verify kind and detail; and edits must not silently overwrite concurrent changes.
- Keep acceptance criteria meaningful as progress and verification, not merely as task entries. Preserve the distinction between a criterion’s wording, verification method, submitted evidence, and human verdict.
- Preserve the current MCP `create_spec` contract. If executors need a new way to find or complete app-submitted briefs, make that capability explicit rather than silently changing what `create_spec` does.

Discretion:
- Use the existing project initiative list, next-step and attention surfaces to show the new lifecycle state; choose concise labels that make clear whose turn it is.
- Reuse existing spec authoring services and version checks where they fit, adding the smallest necessary web/API path for direct draft edits.
- Keep the existing copyable new-initiative prompt as an alternate route unless the new app flow makes it redundant in practice.
- Use deterministic tests for lifecycle, authoring, concurrency, and MCP contract behavior; no live-model evaluation is required for this workflow change.

Acceptance criteria:
- A person can start an initiative from its project page by submitting a non-empty brief, and the resulting initiative is associated with that project and appears in its open initiative list.
- The submitted brief remains available to the executor as intake, but is not represented as the spec’s intent or as any of its structured items.
- Before a draft is returned, the initiative visibly says it is waiting for an executor; the project view and initiative view do not describe that state as the Advisor currently drafting.
- The executor has an explicit supported route to find the pending brief, clarify it through the agreed channel, and return a draft with intent, constraints, discretion, and acceptance criteria. The initiative page makes the resulting draft state visible.
- While the initiative is in draft, the person can add items and edit wording from its page. Acceptance items require a verification kind and detail, edits use the latest spec version, and stale writes do not silently replace newer changes.
- After the initiative leaves draft, direct spec authoring is no longer offered as the path for changes; executor proposals remain subject to the person’s review.
- Existing `create_spec` behavior and callers continue to work, and deterministic tests cover both the new app-started flow and that existing MCP contract.

Open questions:
- How should the executor receive and clarify an app-submitted brief? Should clarification happen in the executor’s own conversation with the person, or should Doen provide a conversation surface? The current code has no stated channel for this handoff.
- How should an executor discover and return these pending briefs over MCP? Should this be a dedicated capability, and should pending briefs appear in an existing listing? The current `create_spec` tool creates a draft directly from its prompt rather than processing an already-created initiative.
- Should the person choose the initiative type (engineering or research) when submitting the brief, or should the executor infer it as the current MCP flow does?
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 edit wording on the initiative page while the initiative is in draft, and keeps post-draft changes on the executor-proposal path.
- Should the title be optional in the new-initiative dialog, instead of required? → raised: False, leaned: neither. The draft addresses submitting a brief and the executor handoff, but never raises whether the initiative title is required or optional.
- 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 submitting a brief and keeping it separate from the spec, but does not address whether a title is required or optional, or how a missing title is handled.
- 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 addresses the brief-submission form and leaves its presentation to discretion, but specifies a non-empty brief—not whether the title is required or optional. Its acceptance criterion calls for a non-empty brief, while the later choice makes the title optional and requires the description and type.
- 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: neither. The draft specifies starting an initiative with a brief, but does not address whether a title is required or how a missing title should be derived. The later choice allows an omitted title and derives one from the description, a question the draft leaves open.
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 person authoring during draft: a constraint says 'Allow direct add and wording edits on the initiative page only while the initiative is in draft,' and an acceptance criterion requires that 'While the initiative is in draft, the person can add items and edit wording from its page,' matching 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 title is a required field in the new-initiative dialog; it only requires a non-empty brief and does not mention title field requirements or fallback behavior.
- 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 when starting an initiative; it only requires a non-empty brief and leaves title requirements unmentioned. The open question about choosing Build or Research is present, but the title-optional question is 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 never addresses which fields in the submission dialog are required versus optional, nor any dialog layout/copy latitude item. It only requires a non-empty brief and leaves the initiative-type question open, so this specific required/optional field question was not raised.
- 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 never addresses whether a title is required or how a missing title is derived; it only requires a non-empty brief and leaves initiative type as an open question, so this specific title-optionality question was not raised.
Every decision is recorded with what was ruled out and why. That record is the evidence.