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 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 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 each project keep its own context by default, while allowing its owner to opt into context from particular other projects. Add those one-way sharing controls to the project’s Setup tab, so linking A to B lets A use B’s context without automatically letting B use A’s.

Constraints:
- Sharing is off by default for every project relationship. A project must explicitly enable each other project whose context it may use.
- Sharing is directional: enabling B from A lets A use B’s context; it does not let B use A’s unless B enables A separately.
- Persist each setting so it remains in effect after a reload and applies to context requests, not just the UI.
- The Setup tab should show other projects in a collapsible list, with a switch on the right of each project row.
- Enforce sharing at the backend context boundary as well as in the UI. Context is also fetched through MCP, so a disabled project must not leak through a retrieval path outside the project page.
- Preserve the existing MCP `get_context` request and response contract. Keep retrieved context source-attributed and update caller-facing guidance if its sharing behavior changes.
- The current `backend/app/store/retrieval.py` searches within a project and then falls back to other projects; this must no longer make unrelated project context available by default. Also account for the separate project-scoped executor memory served in `backend/app/services/live_memory.py` if it falls within the agreed meaning of shared context.

Discretion:
- Choose the persistence and API representation for directed project-sharing settings; the relationship must be independently configurable in each direction.
- Use the existing project Setup tab and UI conventions in `web/pages/[projectId]/view.js`; decide appropriate empty, loading, and error states for the project list and saved switches.
- Choose how linked-project hits are ranked alongside the current project’s hits, provided sharing rules are enforced, source attribution remains clear, and unrelated projects are excluded.

Acceptance criteria:
- A project with no enabled links receives no context from other projects, including when its own project context is insufficient to fill a retrieval result.
- If A enables B, A can receive eligible context from B and continues to receive its own project context; B does not receive A’s context unless B separately enables A.
- Turning a link off prevents later context retrievals for the receiving project from returning context from that source. The setting remains off after reload.
- The Setup tab lists other projects in a collapsible section and shows the saved state of each switch; changing a switch persists the corresponding one-way setting.
- Automated tests cover the default-isolated case, one-way sharing, separately enabled reverse sharing, multiple possible sources, and persistence across reads.
- If MCP-facing behavior or guidance changes, verify it over every supported MCP transport and update the setup-provided onboarding or executor guidance that callers actually receive.

Open questions:
- Which kinds of project context should a link cover? The current retrieval corpus includes resolved decisions and completed-initiative memory, while executor memory and heuristics are served separately. Should one switch govern all of these, or are any excluded?
- Are links strictly direct, or should A also receive context from C when A enables B and B enables C?
- Should archived projects appear as possible sources in the Setup list, or only active projects?
Claude
- When a project links another, what does it receive from the linked project? → raised: True, leaned: chosen. The draft explicitly asks whether links cover decisions and completed-initiative memory versus separately served executor memory, and flags the live-memory service. It does not explicitly mention decisions in past calls on a spec item, but its stated scope and retrieval requirements align with the chosen option, which keeps live executor memory per project.
- How are a project's own retrieval hits ranked against hits from projects it links? → raised: True, leaned: chosen. The draft explicitly leaves linked-project hit ranking as a discretion item and says ranking should be chosen. It does not prescribe a ranking, so it leans neither way.
- If project A links B and B links C, does A receive C's context? → raised: True, leaned: chosen. The draft explicitly asks whether links are direct or transitive. Its other constraints describe independently configured, one-way links, consistent with the chosen direct-only behavior.
- Are archived projects listed and linkable in a project's link list? → raised: True, leaned: neither. The draft explicitly asks whether archived projects should appear as possible sources in the Setup list, but leaves the question open. It does not say whether archived projects remain linkable or whether 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: False, leaned: neither. The draft specifies a collapsible project-sharing list, but it does not ask or decide whether the overall Setup sections are collapsibles, where the sharing section appears relative to the other sections, whether it starts open, or the Archive button and row-dot styling. The later decision concerns those layout and styling details.
Claude
- When a project links another, what does it receive from the linked project? → raised: True, leaned: neither. The draft explicitly raises this as an open question — which kinds of project context a link should cover, noting the retrieval corpus includes resolved decisions and completed-initiative memory while executor memory and heuristics are served separately, and asking whether one switch governs all or some are excluded. It does not commit to the chosen option (decisions + completed-initiative memory + past-call decisions, with live executor memory excluded); it leaves the scope open.
- How are a project's own retrieval hits ranked against hits from projects it links? → raised: True, leaned: neither. The draft explicitly raises ranking as a discretion item ('Choose how linked-project hits are ranked alongside the current project's hits'), but it leaves the choice open rather than committing to own-project-first or a single similarity-ranked list.
- If project A links B and B links C, does A receive C's context? → raised: True, leaned: neither. The draft explicitly lists this as an open question ('Are links strictly direct, or should A also receive context from C when A enables B and B enables C?'), so it was raised but left undecided, not committed either way.
- Are archived projects listed and linkable in a project's link list? → raised: True, leaned: neither. The draft's open question explicitly asks whether archived projects should appear as possible sources in the Setup list, which is precisely the question the person later decided, but the draft leaves it open rather than committing to either option.
- How is the project setup tab laid out, and should the draw-on-projects list start open? → raised: True, leaned: neither. The draft raises the Setup tab layout and the collapsible project list as a constraint and discretion item ('The Setup tab should show other projects in a collapsible list, with a switch on the right of each project row'; 'Use the existing project Setup tab and UI conventions... decide appropriate empty, loading, and error states'), so the question of layout and whether the list starts open was in scope. But the draft does not commit to the chosen option: it specifies a collapsible list without saying it comes first or is open by default, and says nothing about section ordering, Archive button style, or row dots, leaving the question open.
Every decision is recorded with what was ruled out and why. That record is the evidence.