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-78 · stateless · seed 2
Title: Shaping Edits as Heuristic Feedback

Intent: Today, heuristic quality scores are dominated by extraction-time auto-confirmations (weight 3.0) while actual behavioral signals — human shaping decisions and usage citations — are underweighted. This means 74 of 98 active heuristics share the same score of 0.800, making the quality signal nearly useless for ranking. This initiative closes the heuristic feedback loop by treating what a human does to a heuristic-grounded spec item during shaping as the definitive verdict on that heuristic: keeping the item through start-building confirms it; deleting or substantially rewriting it rejects it. These verdicts are recorded as new citation_feedback_events rows, wired into the quality score accumulation, and surfaced in the heuristic detail modal. Simultaneously, score weights are rebalanced so that shaping-survival and usage citations dominate, and extraction-time auto-confirmation drops to a near-prior nominal weight — producing a meaningfully more dispersed quality distribution across the live corpus.
Claude
Intent: Make a heuristic’s quality score reflect whether people find it useful while shaping real specs, rather than relying mainly on extraction-time confirmations. When a heuristic-backed spec item survives unchanged through start-building, record a positive verdict; when the item is removed or substantially rewritten, record a negative one. Feed these verdicts into the existing quality score and make the feedback visible in the heuristic detail modal.

Constraints:
- Use the existing append-only `citation_feedback_events` table for shaping verdicts; retain its links to `citation_id`, `heuristic_id`, `initiative_id`, and `spec_item_id`. Do not change or delete existing feedback events.
- Keep the existing Laplace score formula, `S = (c + 1) / (c + s + 2)`, unless the owner approves a change. Rebalance the evidence weights used to calculate `c` and `s`.
- Recompute and persist `quality_score`, `confirmation_count`, `rejection_count`, and `score_updated_at` consistently when shaping verdicts affect the score. Ensure existing heuristics are recalculated for any changed weights.
- Do not treat a citation alone as proof that a heuristic was useful: the shaping decision about its linked spec item is the new signal.
- Preserve the current behavior where a telemetry write failure does not block shaping or starting work.
- Keep existing heuristic detail information, including its current quality score and citation count, available in the modal.

Discretion:
- Choose the migration and service boundaries that fit the existing `SpecStore` and feedback-writing patterns.
- Choose how to summarize shaping verdicts in the detail modal, such as showing positive and negative counts alongside the existing score and citation count.
- Add or update tests for score calculation, event recording, migration/backfill behavior, and modal/API data.

Acceptance criteria:
- At start-building, eligible heuristic-backed items that meet the agreed keep criteria produce positive feedback events; items that meet the agreed removal or rewrite criteria produce negative events.
- Shaping verdicts affect each linked heuristic’s stored quality score using the agreed weights, and the score and count columns are updated consistently.
- The detail endpoint and heuristic detail modal surface the shaping feedback in the agreed form.
- A migration or equivalent backfill recalculates the live corpus using the new weights, and tests verify that extraction-time confirmations no longer outweigh the agreed shaping-survival and usage-citation signals.
- Feedback recording remains append-only and best-effort, and failures do not prevent the user from starting building.

Open questions:
- What exact weights should apply to shaping survival, shaping rejection, usage citations, and extraction-time confirmations? The initiative says extraction-time confirmation should become near-prior and that shaping and usage should dominate, but does not specify values.
- What counts as a “substantial” rewrite? Should that be a defined text-change threshold, a human action such as replacing an item, or another rule?
- Should a rejection be recorded immediately when an item is removed or rewritten, or should all shaping verdicts be recorded when the initiative enters building based on the final spec? How should returning to draft and starting again avoid duplicate verdicts?
- Which citation contexts should receive shaping verdicts? `heuristic_citations` includes classification, drafting, and auto-resolution citations; only some are linked to a spec item.
- What should the detail modal show: aggregate positive/negative counts, a breakdown by feedback type, or examples of the shaped items?
Claude
- Acceptance criterion item_91be5a17ec5d requires the live-corpus recompute to yield 'meaningfully more than six distinct score values (e.g. >20)'. The live corpus currently contains exactly 6 distinct raw event-count combinations (78 of 98 heuristics have a single confirmation and zero citations; zero context='drafting' citations exist yet), so no weight rebalance can mathematically produce more than 6 distinct scores today — dispersion can only emerge as new shaping-verdict and citation events accumulate. How should this criterion be verified? → raised: True, leaned: neither. The draft raises scoring weights and live-corpus recalculation, but it does not address how to verify a requirement for more than 20 distinct scores when current data cannot produce that dispersion. It leaves the test and verification approach open, so it neither commits to nor recommends the later choice to test the dispersion mechanism and accept that live dispersion will emerge with future events.
Claude
- Acceptance criterion item_91be5a17ec5d requires the live-corpus recompute to yield 'meaningfully more than six distinct score values (e.g. >20)'. The live corpus currently contains exactly 6 distinct raw event-count combinations (78 of 98 heuristics have a single confirmation and zero citations; zero context='drafting' citations exist yet), so no weight rebalance can mathematically produce more than 6 distinct scores today — dispersion can only emerge as new shaping-verdict and citation events accumulate. How should this criterion be verified? → raised: True, leaned: neither. The draft raises the verification question directly: an acceptance criterion requires the live-corpus recompute to yield meaningfully more than six distinct score values, and the open questions ask what exact weights should apply. But the draft does not commit to how that criterion should be verified — it leaves the weights unspecified and does not address whether dispersion is verified on the live corpus now or via a mechanism test, so it neither chose nor rejected the later option.
Every decision is recorded with what was ruled out and why. That record is the evidence.