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-104 · 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, human-judgment, and MCP-contract boundaries explicit at the shared write or verdict boundary, and honor chosen field semantics. Bound automation to explicitly delegated judgments, with retirement remaining human-gated unless changed. Match verification to the decision: deterministic default-suite gates for repeatable checks, opt-in live-model evaluations when paid or nondeterministic, and current-state premises checked against production or another authoritative source.

Heuristics:

honor-explicit-stage-visibility: Implement the selected visibility or eligibility rule as stated, rather than substituting an analogous feature’s pattern. When a surface is gated to a lifecycle stage, omit it before that stage and use one shared predicate wherever the gate is shared.
Traps: Discoverability or consistency with another feature does not override the chosen boundary; duplicated stage checks can drift.

prefer-outcome-over-removed-ui-counts: If the person removes an exact interaction-count criterion, do not restore it without new direction or infer a blanket ban on separately specified affordances. If criteria specify incompatible counts, flag and reconcile the conflict rather than silently carrying both.
Traps: A removed count is not a global ban; contradictory criteria should be resolved during drafting, not left for implementation to guess.

preserve-existing-mcp-contracts: Treat established MCP input/output contracts as stable. For a distinct workflow, prefer an additive tool when appropriate; if a contract change is explicitly chosen, scope it and verify unaffected behavior across supported transports. Preserve chosen field semantics too: research_findings is executor-owned, with later executor writes overwriting human edits.
Traps: Do not change an established contract merely to reduce tool count, assume compatibility without testing, or add locking/version tracking to research_findings without a newer explicit decision.

protect-explicit-human-judgment: Enforce an explicit human-judgment requirement unconditionally at the shared verdict-application or write boundary; model confidence must not override it. Automate other judgments only where the spec grants discretion and the match clears the chosen threshold; otherwise escalate to the human.
Traps: A prompt instruction or UI affordance alone is not a hard gate. Put the guard where the verdict is applied so all call paths are covered.

delegate-bounded-corpus-judgment: When the person explicitly removes a mandatory human queue for heuristic-corpus admission, merging, or generalisation, implement the chosen Jev judgment above its confidence threshold and leave borderline cases queued. Keep retirement human-gated unless explicitly changed.
Traps: Delegation for admission, merge, or generalisation is not blanket permission to automate retirement.

make-acceptance-criteria-measurable: State critical acceptance conditions as observable checks. When live data cannot exhibit a desired outcome, test the mechanism with realistic fixtures and separately confirm correctness on the live recompute. For repeatable merge gates, use deterministic default-suite checks; keep paid or nondeterministic live-model evaluations opt-in, and amend criteria that assume nonexistent CI infrastructure.
Traps: Do not claim tuning can create distinctions unsupported by current inputs, or treat a nondeterministic live evaluation as a reliable merge gate.

preserve-indexed-retrieval-paths: When a production data migration changes embedding dimensions or storage types, account for retrieval indexes as part of the migration. Do not leave a production retrieval path unindexed merely because the corpus is currently small.
Traps: Successful data conversion does not establish acceptable retrieval performance or index coverage.

benchmark-classifier-replacements: Before replacing a behavior-changing classifier or provider, confirm its interface can represent the required output: fixed-choice judgment differs from open-ended, variable-length grounded content. Compare replacements with the incumbent on the same frozen, representative cases and candidate inputs. Scale evaluation to the decision; if comparison regresses against the acceptance bar, iterate and remeasure. Describe agreement with an incumbent as a proxy, not ground-truth accuracy.
Traps: Do not compare different cases or candidate sets, skip remeasurement after rubric changes, mistake incumbent agreement for accuracy, or require a heavier bench by analogy alone.

retain-accepted-drift-status-tradeoff: Keep the DriftReportStatus collapse without a separate trace for reports resolved by creating an initiative. The resulting narrow undercount in the recurring-drift signal was explicitly accepted to avoid schema complexity.
Traps: Do not reintroduce metadata solely to restore this signal unless a newer explicit decision changes the tradeoff.

Title: Surface Memory Audit Count on Grounding

Intent: Executors grounding themselves on an initiative consistently miss the memory verification backlog because no signal puts it in front of them — 86 of 89 entries have never been verified across four months of operation, despite standing instructions in agents.md. The desired outcome is that an executor calling the grounding tool on any project with overdue memory entries receives an audit-due count as part of the response it is already reading, without asking for it, and can drain that queue as part of normal work. A human should be able to observe whether the backlog is shrinking over time.
Claude
Intent: When an executor calls `get_context`, include a project-wide count of memory entries due for verification so the audit backlog is hard to miss during normal grounding. Also show the current count on the project dashboard so a human can see it change as the backlog is addressed, without turning the dashboard into an audit task board.

Constraints:
- Define “due” exactly as `list_memory_for_audit` does: use the configured `MEMORY_AUDIT_STALENESS_DAYS` window; include entries with a NULL `memory.last_verified_at` or one older than that window. The count must match the entries that `list_memory_for_audit` would return for the same project and window, including entries from archived initiatives.
- Add the count to the existing `get_context` response. Preserve its inputs and all existing response fields and meanings; do not replace the existing tool with a new workflow or return the audit entries in its place.
- Keep the dashboard signal to a concise project-level count, including when it is zero. Do not add an audit-entry list or task-board workflow.
- A count is a signal, not verification: do not mark entries verified or report drift automatically. Keep the existing codebase-check and `list_memory_for_audit` / `mark_memory_verified` / `report_memory_drift` workflow intact.
- Do not add persistent history or a schema change as part of the current-count implementation.

Discretion:
- Choose the field name and the simplest efficient way to compute the count, provided it uses the same due rule as `list_memory_for_audit`.
- Choose the placement and concise wording for the dashboard count, provided it is visible as a project-level signal, includes zero, and uses the dashboard’s existing refresh behavior.
- Update the `get_context` guidance to point executors with a positive count to `list_memory_for_audit`; exact wording is up to you.

Acceptance criteria:
- Backend tests seed memory entries that are never verified, older than the configured window, and recently verified. For the same project and window, the count in `get_context`, the dashboard data, and the length of `list_memory_for_audit` agree; the count excludes the recently verified entry.
- Tests verify that verifying a due entry with `mark_memory_verified` reduces the count on the next read, and that a project with no due entries returns zero. A different project’s entries do not affect the count.
- `get_context` exposes the count alongside its existing fields over both supported MCP transports. Existing inputs, fields, and behavior remain intact apart from this additive field.
- A manual dashboard walkthrough confirms the count is visible at nonzero and zero, and reflects a changed count through the existing dashboard refresh without adding an audit queue or list.

Open questions:
- Is a live current count on the dashboard sufficient for observing the backlog shrink, or do you want historical counts or a trend display? Historical tracking is not included in this draft.
Claude
- Acceptance criterion item_fca8489e16f8 cannot be verified as written, for three separate reasons — the drafter itself flagged it. (1) It requires both values to be "observable in the build-doen metric store" and "via the project dashboard or a direct query against the metric store". There is no metric store and no such dashboard surface; the only durable measurement channel this project has is SQL plus a RESEARCH_LOG.md entry, which is how BD-89, BD-97, BD-101 and BD-102 recorded their metrics. (2) It hardcodes "Baseline is 76 (active-project scope, measured 2026-09-29)". Re-measured against production 2026-09-30 it is 79 of 82 — the backlog grew while the spec sat in draft, so building to the stated number would record a false baseline. (3) The "after" value requires a real executor pass to occur after this ships, which is outside this initiative's scope in the same way BD-101's and BD-102's post-deploy criteria were. The before-value I can and have measured: 79 due, 76 never-verified, 3 beyond-window, oldest 122 days. How should this criterion be handled? → raised: False, leaned: neither. The draft asks whether historical counts or a trend display are wanted, but it does not raise the later decision’s specific question about recording a corrected before-measurement in SQL/RESEARCH_LOG.md, removing nonexistent metric-store and dashboard requirements, and leaving the criterion unresolved pending a real executor pass.
Claude
- Acceptance criterion item_fca8489e16f8 cannot be verified as written, for three separate reasons — the drafter itself flagged it. (1) It requires both values to be "observable in the build-doen metric store" and "via the project dashboard or a direct query against the metric store". There is no metric store and no such dashboard surface; the only durable measurement channel this project has is SQL plus a RESEARCH_LOG.md entry, which is how BD-89, BD-97, BD-101 and BD-102 recorded their metrics. (2) It hardcodes "Baseline is 76 (active-project scope, measured 2026-09-29)". Re-measured against production 2026-09-30 it is 79 of 82 — the backlog grew while the spec sat in draft, so building to the stated number would record a false baseline. (3) The "after" value requires a real executor pass to occur after this ships, which is outside this initiative's scope in the same way BD-101's and BD-102's post-deploy criteria were. The before-value I can and have measured: 79 due, 76 never-verified, 3 beyond-window, oldest 122 days. How should this criterion be handled? → raised: False, leaned: neither. The draft's open question asks about historical counts/trend display, not about how to handle an unverifiable acceptance criterion, metric-store infrastructure, or baseline correction. The later decision concerns a different criterion (item_fca8489e16f8) about build-doen metric store and baseline measurement, which the draft never addresses.
Every decision is recorded with what was ruled out and why. That record is the evidence.