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-118 · memory · seed 1
Memory of this project (the product context the code does not carry):
Acceptance criteria are Doen’s primary progress and verification surface; the dashboard should answer what needs attention without becoming a task board. Keep lifecycle visibility, human judgment, field semantics, and MCP contracts explicit at shared boundaries. Draft initiatives start from a person’s brief and an empty spec: the person may add or edit spec items during Draft, while later changes go through executor proposals; the title is optional and defaults to the description’s first line. In the heuristic corpus, raw admission is not citable membership: only confirmed consolidation qualifies, and retirement remains human-gated. 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 explicitly requires 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: Automate judgments where the spec delegates authority: use the chosen confidence threshold and leave borderline cases for review when specified. Keep retirement human-gated. Do not add a human queue by default when it recreates the maintenance burden the decision sought to remove.
Traps: Authority is specific: delegated admission or merge/generalisation 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 can represent the required output, then compare paths on the same frozen representative cases and candidate inputs. If it regresses, iterate and remeasure. Use deterministic checks as default-suite gates; keep live-model evaluations opt-in, and scale the bench to the decision.
Traps: Do not compare different cases, skip measurement after rubric changes, treat incumbent agreement as ground-truth accuracy, or require a heavier bench by analogy alone.

evidence-must-match-the-claim: Match evidence to the claim’s scope and time. Local comparisons can isolate a predicate change but cannot establish post-deployment impact. Re-measure stale baselines, use the project’s established durable evidence channel, and 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-explicitly: Write criteria for outcomes observable within the initiative’s scope. If literal wording is impossible, stale, or encodes a contract being reversed, amend or interpret it explicitly while preserving intent. Repair tests that encode the old contract; do not weaken unrelated assertions.
Traps: Do not mark an unobserved outcome satisfied merely to close a criterion, or leave a known-broken guard untested because repairing its test changes the file.

keep-mcp-contracts-explicit: When adding a distinct MCP capability, preserve established tool contracts where practical; prefer a dedicated tool when it clarifies the write path and avoids changing an existing 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 added complexity is not justified.
Traps: Do not treat consistency with precedent as sufficient reason to override 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 generalisation confirmation may follow delegated thresholds; 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.

propagate-decisions-across-spec-surfaces: When a decision changes a requirement, reconcile every linked spec statement—constraints, latitude, and acceptance criteria—not just the headline description.
Traps: Do not leave an older statement making the superseded behavior mandatory after the decision and primary requirement have changed.

Title: Live executor memory, shown to the person

Intent: Every executor session starts knowing nothing about how the person on this project decides. In replays, a dreamt index-plus-notes memory beat no memory by about 20 points on "built or dropped", but it still lost to always answering "built", and the notes it wrote were vague: the server only ever sees the question, options and answer, never the conversation in which the person decided. This initiative runs memory live as an experiment. The executor writes a note at the moment a person answers. A server-side dream turns those notes and the decision record into a small set of heuristics, each carrying its evidence, its traps and its track record. Executors on half the initiatives receive a short block of them next to precedent, and the other half receive none. The person can see exactly what executors were told, how the memory changed and why, and whether it predicted each call. If, after a declared number of calls, the executors with memory do not match the person's choices more often than the executors without it, serving stops.
Claude
Intent: Turn the replay-based memory research into a live, auditable experiment. When a person answers an executor’s question, the executor should capture useful context alongside the durable decision record. A server-side dream should turn that record into a small set of heuristics, and a controlled group of initiatives should receive them alongside existing precedent. The person should be able to inspect what was served, how it changed, and how well it predicted their choices; serving must stop if it fails the agreed comparison.

Constraints:
- Keep live experiment data clearly distinguishable from replay imports. The existing `memory_dreams` and `memory_predictions` records support replay research; do not present replay results as live outcomes.
- The server must not imply that it can read the executor’s conversation. It may use only the durable decision record and context the executor explicitly sends.
- Record predictions before the person’s answer is known, then compare them with the recorded choice. Preserve enough attribution to show which memory state and experiment arm were involved.
- Keep raw heuristic admission distinct from citable membership: only confirmed consolidation makes a heuristic citable. Retirement remains a human-gated decision.
- Keep the existing MCP write contracts explicit and stable where practical. If capturing the added context needs a new write capability, make its behavior clear and avoid implicit overwrites.
- Keep lifecycle and judgment visible without turning the dashboard into a task board. Acceptance criteria remain the primary progress and verification surface.
- Preserve initiative authoring semantics: a person’s brief is separate from the initially empty spec; the title is optional and defaults to the description’s first line; people can edit spec items during Draft, with later changes handled through executor proposals.
- Use deterministic checks in the default suite. Live-model evaluations are opt-in, and local tests or replay results must not be presented as proof of live or post-deployment impact.

Discretion:
- Choose the storage shape, dream-processing mechanism, and interface details, provided history and the exact memory served remain inspectable and attributable.
- Choose a practical size limit and presentation for the short injected block, keeping it small enough to sit beside precedent without obscuring it.
- Choose an idempotent processing and history strategy so retries do not silently replace what an executor was previously told.
- Choose deterministic test fixtures for assignment, prediction capture, dream changes, human-gated retirement, and the stop-serving behavior.
- Choose labels and placement for the project-level memory history and per-call prediction details, using existing project and initiative surfaces where appropriate.

Acceptance criteria:
- A person’s answer can be recorded with the executor-provided context required for later dreaming, without claiming that Doen has the original conversation.
- The server can produce a compact heuristic set from the recorded inputs. Each heuristic shown as guidance includes its supporting evidence, traps, and track record.
- Raw admission alone never makes a heuristic citable. Only confirmed consolidation does, and retirement cannot happen without human judgment.
- Eligible initiatives are assigned to memory and no-memory arms at the agreed balance. Assignment remains stable for an initiative, and the no-memory arm does not receive the experimental block.
- For each measured call, the person can see whether the executor predicted the recorded choice. The record identifies whether memory was served and which memory state was used.
- The person can inspect the exact block served to executors, prior memory states, and why the memory changed, rather than seeing only a current summary.
- After the agreed number of eligible calls, the serving gate applies the agreed comparison. If memory does not outperform the no-memory arm under that rule, experimental serving stops and the history remains available.
- The default suite verifies the behavior deterministically without requiring live-model calls. Any claim that the live experiment met its outcome threshold remains open until the required live observations exist.

Open questions:
- Which person calls count in the experiment: only choices made through executor escalations, or other kinds of decisions as well? Which projects and initiatives are eligible?
- What exactly should the executor capture when a person answers—such as their stated reason, surrounding context, or a concise paraphrase—and should that be part of the existing decision-resolution write or a distinct MCP write capability?
- How should the 50/50 assignment be made and balanced, including what to do with an odd number of eligible initiatives?
- What is the declared call count for the stop check, and does “match more often” mean any higher observed accuracy or require a stronger confidence rule? What should happen to serving when the data is insufficient or tied?
- How often should the server dream and publish a new memory state? What authority, if any, is delegated to automated confirmation of consolidated heuristics, and at what confidence threshold?
Claude
- The constitution says to build no memory machinery (extraction pipeline, dreaming pass, wiki) until the replay shows a gap it would fill, and no arm has yet beaten always answering "built". Should live executor memory (capture, server-side dreaming, serving to executors) be built anyway? → raised: True, leaned: chosen. The draft explicitly specifies a live executor-memory experiment, including capped guidance, a no-memory comparison arm, outcome measurement, a stop-serving rule, and inspection of what was served. Although it does not repeat the replay-gap prerequisite, it commits to the option the person chose.
Claude
- The constitution says to build no memory machinery (extraction pipeline, dreaming pass, wiki) until the replay shows a gap it would fill, and no arm has yet beaten always answering "built". Should live executor memory (capture, server-side dreaming, serving to executors) be built anyway? → raised: True, leaned: chosen. The draft is explicitly a live experiment with a random holdout (memory vs no-memory arms), declared outcome measures, and a stop-serving gate — matching the chosen option. It commits to building live executor memory as an experiment rather than keeping it offline, so it leans toward the chosen option.
Every decision is recorded with what was ruled out and why. That record is the evidence.