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-133 · memory · seed 0
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 show what needs attention without becoming a task board. New initiatives start from the owner’s brief with an empty spec, an optional title that defaults to the description’s first line, and human editing during Draft. Preserve explicit human judgment at shared verdict boundaries, stable MCP contracts, and setup-installed onboarding. Ground current-state claims in authoritative evidence, test behavior changes against representative frozen cases, and leave unobserved outcomes open. Memory should improve fuller, history-grounded specs rather than predict isolated choices; measure live outcomes without an automatic stop gate unless explicitly chosen. Dream on demand or nightly only after eligible completions, and sequence dependent work foundation-first, preferring maintained abstractions when bespoke plumbing is the problem.

Heuristics:

protect-explicit-human-judgment: When a criterion or write path explicitly requires human judgment, enforce that requirement at the shared verdict-application boundary. Confidence or trust alone does not authorize bypassing it; broader automation needs its own evidence first.
Traps: Do not infer that every judgment must be human-gated; apply this to explicit requirements and preserve other approved automation.

benchmark-behavior-changing-judgments: For behavior-changing classifier or reasoning work, test the narrow hypothesis against the incumbent on the same frozen representative cases, then remeasure after rubric changes. Choose the cheapest reasoning level with a measured gain. Make deterministic checks default-suite gates; keep live-model evaluations opt-in.
Traps: Do not compare different cases, treat incumbent agreement as ground-truth accuracy, or launch a broad model survey when a focused comparison answers the question.

ground-current-state-and-post-deploy: For verification claims, use authoritative current evidence and remeasure stale baselines. When literal criterion wording conflicts with a reversed contract or broken guard, preserve its purpose through a narrow, explicit exception or repair. Mechanism tests and local comparisons do not establish production outcomes; leave real post-deploy or post-use outcomes open until observed.
Traps: Do not use intent as a blanket waiver, weaken unrelated assertions, build to a stale baseline, or close a production outcome with a proxy.

capture-and-propagate-owner-decisions: Capture a person’s stated rule or constraint immediately, without waiting to be asked, and tell them it was recorded. Reconcile consequential decisions across all affected spec sections so no requirement still encodes the superseded choice.
Traps: Do not make the person request capture, or fix only the section that prompted a correction while leaving contradictions elsewhere.

mcp-contracts-and-installed-onboarding: Keep existing MCP contracts stable when a dedicated tool can express new semantics cleanly. Document consequential write behavior where callers act on it, verify changed tools over every supported transport, and update setup-installed onboarding in the same change when MCP surfaces or executor conventions change.
Traps: Do not hide overwrite semantics in internal documentation or assume repository documentation updates the installed copy; do not assume transports behave identically without checking.

consolidated-corpus-membership: Treat confirmed consolidation (merge or generalisation, not retirement) as the route into the citable heuristic tier. Autonomous confirmation may apply to eligible consolidation proposals above the confidence threshold, but retirement remains human-gated.
Traps: Do not let standalone admission reopen membership, or extend automated confirmation to retirement.

memory-learning-evidence: An unretired executor call on a completed initiative can count as quiet confirmation only where the person had a chance to see it. Such calls may found heuristics. Weight a person’s call or correction 2, a standing executor call 1, and a reversal −2.
Traps: Do not count calls merely because time passed, work the person did not review, or work recorded without being reviewed.

memory-evaluation-target: Evaluate memory by its contribution to more rounded, complete, history-grounded specs, including surfacing product decisions, ambiguity, and conflicts—not by predicting isolated choices. Do not ask the person to re-answer past calls. For live measurement, declare outcomes and show results; do not claim improvement before observing it. Do not automatically stop serving on a long-horizon rule unless explicitly requested.
Traps: Do not preserve single-choice prediction as the reward just because it is easy to score, or treat an unobserved live outcome as proof. Do not assume a pre-registered automatic stop is wanted.

memory-dream-operations: Dream on demand or nightly only when an initiative completed since the last dream; do not trigger on every completion or by call count. Use a durable nightly scheduler. Choose reasoning levels by replay evidence; ask for a short summary with a higher backstop rather than truncating at 100 words.
Traps: Do not restore the five-call trigger removed by the person, or mistake a timing artifact for measured improvement.

foundation-first-sequencing-and: When work depends on a foundation, finish that foundation before building on it rather

Title: Link projects

What the person wrote: Projects should by default be isolated from each other, so memory and context from one, should not spill over in another. But we can link other projects to a project, by adding UI in the project setup tab, which show a list of projects in a collapsible, with a switch component on the right to enable sharing context from that project. This is one way, so project A can take context from project B, but that does not imply the reverse asa well, unless project B also enabled it.

Constraints they named:
- Projects share context when enabled, and not when disabled (by default)
Claude
Intent: Let a person deliberately make context from one project available to another, without turning projects into a shared pool by default. The project Setup tab should make these one-way sharing choices visible and easy to change.

Constraints:
- Sharing is off by default. A project can use its own context whether or not it shares context with other projects.
- Sharing is directional: if A enables context from B, that does not enable context from A in B. Each direction must be enabled separately.
- The Setup tab should show other projects in a collapsible list, with a switch on the right for each sharing choice.
- Unauthorised projects must not contribute context. In particular, disabling a choice must stop that project’s context from appearing in the recipient’s results.
- The current `get_context` retrieval includes resolved decisions and completed-initiative memory. It searches the initiative’s own project first, then currently fills remaining results from anywhere else. This behavior is in `backend/app/store/retrieval.py` and must be changed so the default is isolated, not global fallback.
- Keep existing MCP tool contracts stable. Apply sharing consistently anywhere the existing context retrieval is used, not only when an executor calls `get_context` directly.
- Do not silently broaden the separately project-scoped live executor memory: `backend/app/services/live_memory.py` currently serves it from the initiative’s own project.

Discretion:
- Choose how to persist the directed sharing choices and how to expose them to the existing project page and context retrieval.
- Use direct links only: if A shares from B and B shares from C, A does not thereby inherit C’s context. The person can enable A-to-C separately.
- Exclude the current project from its own sharing list. Exclude archived projects unless the existing project-selection behavior gives a clear reason to include them.
- Preserve the existing local-first retrieval behavior unless the owner chooses otherwise: search the current project first, then use eligible linked projects to fill any remaining result slots.
- Use the project’s existing Setup tab and established UI components and interaction patterns.

Acceptance criteria:
- A new project has no enabled sharing choices, and a query from it returns no context from other projects.
- When A enables B, A can receive relevant context from B; B receives nothing from A unless B separately enables A.
- When A disables B after enabling it, subsequent context retrieval for A no longer returns B’s context.
- Choices remain correct after reloading the page or restarting the service.
- The Setup tab shows the other projects in a collapsible list, with a usable switch beside each project; changing a switch saves the correct direction.
- Automated tests cover the default-isolated case, both directions independently, turning a link off, multiple linked projects, and project-local results taking priority if local-first retrieval is retained.
- Tests cover both direct MCP context retrieval and representative existing flows that call the same retrieval for drafting or classification.
- Existing MCP calls remain compatible, and context results continue to identify their source initiatives.

Open questions:
- What should “share context” include? The existing `get_context` search covers completed-initiative memory and resolved decisions and is also used by drafting and classification. Separately, live executor memory and precedent retrieval currently have their own project-scoped behavior. Recommendation: limit this change to the existing `get_context` corpus unless you explicitly want those other sources shared too.
- When a project has enough local results to fill the requested limit, should linked projects still be eligible to compete for results, or should linked context only fill slots left open by local results? Recommendation: preserve the current local-first, fill-the-rest behavior.
Claude
- When a project links another, what does it receive from the linked project? → raised: True, leaned: other. The draft explicitly asks whether sharing should include only the get_context corpus or other sources, and recommends limiting it to that corpus. The person chose to additionally share linked-project decisions from past calls on a spec item, while keeping live executor memory project-scoped.
- How are a project's own retrieval hits ranked against hits from projects it links? → raised: True, leaned: chosen. The draft explicitly asks whether linked projects can compete with local results or only fill remaining slots, and recommends preserving local-first retrieval. Its discretion and acceptance criteria also specify local-first priority. The person chose that option.
- If project A links B and B links C, does A receive C's context? → raised: True, leaned: chosen. The draft explicitly says sharing is direct only, so A does not inherit C’s context through B. That matches the later choice.
- Are archived projects listed and linkable in a project's link list? → raised: True, leaned: other. The draft addresses archived projects in the sharing list and recommends excluding them unless existing behavior clearly supports inclusion. The later choice explicitly includes archived projects and lets their records continue to count as context.
- How is the project setup tab laid out, and should the draw-on-projects list start open? → raised: True, leaned: neither. The draft specifies that the project list is collapsible, but does not address whether all Setup sections should be collapsible, the section order or default open state, the Archive button style, or row dots. It raises the list’s presentation in general, but not these specific layout choices.
Claude
- When a project links another, what does it receive from the linked project? → raised: True, leaned: other. The draft's open question asks what 'share context' should include and recommends limiting the change to the existing get_context corpus, explicitly leaving live executor memory and precedent retrieval project-scoped. The person instead chose a broader scope that also includes the linked project's decisions in past calls on a spec item, so the draft leaned toward a narrower option than the one chosen.
- How are a project's own retrieval hits ranked against hits from projects it links? → raised: True, leaned: chosen. The draft's discretion item and open question both address local-first retrieval, recommending that the current project's results come first and linked projects fill remaining slots, which matches the person's later choice.
- If project A links B and B links C, does A receive C's context? → raised: True, leaned: chosen. The draft's Discretion section explicitly states 'Use direct links only: if A shares from B and B shares from C, A does not thereby inherit C's context,' which is exactly the question and matches the chosen option.
- Are archived projects listed and linkable in a project's link list? → raised: True, leaned: other. The draft's Discretion section explicitly addresses this question: 'Exclude archived projects unless the existing project-selection behavior gives a clear reason to include them.' This leans toward excluding archived projects, the opposite of the person's later choice to list and link them.
- How is the project setup tab laid out, and should the draw-on-projects list start open? → raised: False, leaned: neither. The draft specifies a collapsible list with switches in the Setup tab but does not address the specific layout question of section ordering, default open/closed state, button style, or row dots. It only touches the general area of the Setup tab UI.
Every decision is recorded with what was ruled out and why. That record is the evidence.