Doenexecutor memory research
Prompts
1. Title: A new initiative starts with the executor's questionnaire What the person wrote: The new initiative prompt should take the user thro2. Memory of this project (the product context the code does not carry): Honor explicit product intent over stale wording, but preserve the pur3. Title: A new initiative starts with the executor's questionnaire What the person wrote: The new initiative prompt should take the user thro4. Memory of this project (the product context the code does not carry): Honor explicit product intent over stale wording, but preserve the pur5. Title: A new initiative starts with the executor's questionnaire What the person wrote: The new initiative prompt should take the user thro6. Memory of this project (the product context the code does not carry): Honor explicit product intent over stale wording, but preserve the pur7. Title: Live memory learns from the first initiative Intent: The executor's memory waits for five calls by a person before it dreams, and it8. Memory of this project (the product context the code does not carry): Honor explicit product intent over stale wording, but preserve the pur9. Title: Live memory learns from the first initiative Intent: The executor's memory waits for five calls by a person before it dreams, and it10. Memory of this project (the product context the code does not carry): Honor explicit product intent over stale wording, but preserve the pur11. Title: Live memory learns from the first initiative Intent: The executor's memory waits for five calls by a person before it dreams, and it12. Memory of this project (the product context the code does not carry): Honor explicit product intent over stale wording, but preserve the pur13. Title: Move Structured Calls to pydantic-ai Intent: Structured model calls still rely on a custom OpenAI-compatible client whose forced-fun14. Memory of this project (the product context the code does not carry): Honor explicit product intent over stale wording and propagate changes15. Title: Move Structured Calls to pydantic-ai Intent: Structured model calls still rely on a custom OpenAI-compatible client whose forced-fun16. Memory of this project (the product context the code does not carry): Honor explicit product intent over stale wording and propagate changes17. Title: Move Structured Calls to pydantic-ai Intent: Structured model calls still rely on a custom OpenAI-compatible client whose forced-fun18. Memory of this project (the product context the code does not carry): Honor explicit product intent over stale wording and propagate changes
BD-122 · memory · seed 2
Memory of this project (the product context the code does not carry):
Honor explicit product intent over stale wording, but preserve the purpose of safeguards and keep real-world claims open until observed. Prefer simple, low-ceremony solutions unless they sacrifice a material operational guarantee; keep existing contracts stable when a dedicated path works. Use deterministic default gates and measured comparisons for model changes. Automate routine judgment with confidence and an uncertainty path, while keeping irreversible retirement human-controlled. When a product decision changes a requirement, propagate it consistently through specs, guidance, UI language, and tests.

Heuristics you can open with open_heuristic: intent-over-literal-wording, keep-real-world-measurements-open, prefer-simple-rules-and-low-ceremony, protect-contracts-with-explicit-addition, measure-before-judging-and-iterate, deterministic-gates-for-deterministic, automate-routine-judgment-but-protect, scope-tradeoffs-by-material-impact, live-experiments-need-controls-and

Title: Live memory learns from the first initiative

Intent: The executor's memory waits for five calls by a person before it dreams, and it only learns from those calls. People make few calls, so two of the three projects have never had a live dream. Following "The components of agent memory" (Anthropic, 2026-11-06), memory should learn from every outcome as it happens: predict, see the answer, keep or correct a rule. Each completed initiative already tells the executor a lot: where a person reworded, deleted or rejected what it drafted, where they sent evidence back, where they chose differently from its recommendation, and which of its own calls they left standing. We want the memory to dream when each initiative completes, to learn from those corrections and confirmations, and to grow more confident in the executor's calls that people keep leaving untouched. Each heuristic says how it is known and is checked against the record whenever it applies. Hypothesis: memory built this way predicts a person's calls better than the current memory, which learns only from person calls and dreams every five of them.
Claude
Intent: Change the project-scoped live memory so it learns from initiative outcomes as they happen, rather than waiting for five person-resolved calls. At each completion, use the outcome and the available record of corrections, evidence, and choices to rebuild and check heuristics. Test the hypothesis that this produces better predictions than the current approach; do not treat the hypothesis as a proven result before it is measured.

Constraints:
- Keep the existing `resolve_decision` contract and optional note behavior stable. Run completion-triggered learning through the completion path rather than making a note or extra person call a prerequisite.
- Keep dreams in the background so a dream failure does not turn a successful completion into a failed request.
- Keep learning project-scoped. Preserve the existing dream lock, cost and call limits, randomized serving holdout, and declared stop rule; do not weaken experiment safeguards as part of changing the learning cadence.
- Ground each heuristic in evidence present in the record, show how it is known and its track record, and check it against later applicable outcomes. Do not treat an unrecorded choice or silence as confirmation without an agreed basis.
- Keep person-controlled heuristic retirement. Retain the existing caps on the served memory and heuristic set, and do not put internal record IDs in user-facing heuristic text.
- Keep real-world prediction improvement open until measured. A mechanism test or replay result is not, by itself, evidence of live impact.

Discretion:
- Choose the narrowest completion hook and implementation in the existing live-memory service and store that safely handles completion and background failure.
- Choose a minimal, auditable way to make completion-triggered dreams idempotent and to represent any newly captured learning evidence, adding storage only where the current record cannot support the agreed signals.
- Revise the dream prompt and heuristic track-record handling to use initiative outcomes alongside person-resolved calls, while preserving evidence checks and resource limits.
- Add focused tests for completion triggers, concurrent or repeated triggers, record grounding, and prediction scoring.

Acceptance criteria:
- A qualifying initiative outcome starts a background dream without waiting for five person-resolved calls; repeated or concurrent handling of the same outcome does not create duplicate learning.
- The dream can use the completed initiative's available record, including its outcome summary and learnings, alongside the existing record of person calls. Tests demonstrate that recorded corrections and confirmations affect learning only when supported by available evidence.
- Heuristics retain evidence and track records, stay within existing caps, and are checked against actual later outcomes when applicable. Tests reject fabricated evidence and ensure an absent signal is not scored as a confirmation.
- Prediction evaluation compares the new approach with the current approach on the same held-out calls, with predictions made before the chosen answer is revealed. Report the comparison and its uncertainty; do not claim improvement if the evidence does not establish it.
- Existing serving controls and safety behavior remain covered by tests, including the holdout, stop rule, budget limits, and completion success when background dreaming fails.

Open questions:
- Which outcomes count as a completion trigger: initiatives completed after `submit_learn`, those completed without learnings, archived or dropped initiatives, and recorded work? If an initiative is reopened and completed again, should that count as a new outcome?
- The current `specs` record is a current document, not a full history of every edit; verdict and evidence fields also reflect the stored state rather than a complete event trail. Should this initiative add minimal durable capture for rewordings, deletions, rejections, and returned evidence, or should the first version learn only from signals already preserved? Also, does a person leaving a draft untouched count as confirmation, or is it neutral?
- The existing live stop rule compares served memory with a no-memory holdout, not the new learning method with the incumbent method. What measured result should be required before serving the new method as an improvement, and should it remain capture-and-evaluation-only until that bar is met?
Claude
- Which of the executor's own calls count as "left standing", and so as quiet confirmation the memory can learn from? → raised: True, leaned: other. The draft explicitly asks whether leaving a draft untouched counts as confirmation and says not to treat silence as confirmation without an agreed basis. But it does not settle the chosen rule: that an executor's call on a completed initiative counts as quiet confirmation if no person retired it.
- Should a heuristic the memory is confident in ever let the executor settle a call on its own instead of asking the person? → raised: False, leaned: neither. The draft addresses heuristic evidence, confidence, and person-controlled retirement, but it does not raise whether confidence may let the executor settle calls without asking. It neither commits to nor recommends either escalation option.
- Where are corrections kept: a person's rewording of an executor's draft item, a rejected proposal, feedback on evidence sent back? → raised: True, leaned: chosen. The draft explicitly asks whether to add minimal durable capture for rewordings, rejections, and returned evidence. Its discretion also allows adding storage where the current record cannot support the agreed signals, consistent with the chosen append-only table outside the spec document.
- Can a heuristic rest only on the executor's own calls that people left standing, or must it also rest on something a person did: one of their calls or one of their corrections? → raised: True, leaned: other. The draft asks whether an untouched draft counts as confirmation and requires evidence grounding, but it does not directly specify whether standing executor calls alone may found a heuristic. Its requirement not to treat silence as confirmation without an agreed basis leans against that option.
- Should the executor calls a person left standing be scored too, given the person has confidence in the executor? → raised: False, leaned: neither. The draft discusses which recorded signals count as evidence and how predictions are scored, but it does not raise the specific question of separately scoring executor calls the person left standing.
- The replay found that feeding the dream standing executor calls, removed draft items and briefs made memory slightly worse at predicting the person (−0.034 against the current memory, 95% interval −0.079 to +0.017, not distinguishable). Corrections and dreaming on completion could not be tested offline. What happens to BD-122? → raised: True, leaned: chosen. The draft explicitly leaves open what measured result is needed before serving the new method and whether it should remain capture-and-evaluation-only, and it preserves the existing stop rule and track records. The chosen option keeps the method live as an experiment under those safeguards.
- Should the constraint "Only a person's calls are ever scored, in the replay and in the live outcome. The executor's own calls and the corrections are evidence for learning, never answers to predict, so the metric never measures the executor predicting itself." change? → raised: True, leaned: other. The draft raises what should count as a prediction target: it specifies held-out calls, says not to treat unrecorded choices or silence as confirmation, and requires scoring against later outcomes. But it does not address separately scoring executor calls the person left standing; its evidence language points toward treating executor choices as learning evidence, not answers to predict, so it leans against the chosen change.
- When should live memory dream: at each completion, nightly, or on demand? → raised: True, leaned: other. The draft explicitly makes completion-triggered learning the cadence and asks which outcomes qualify as completion triggers, so it raises when live memory should dream. It does not propose replacing that trigger with a button, nightly dreams, and the existing five-call cadence; it commits to completion-triggered learning instead.
- How is the nightly dream scheduled, given the backend has no scheduler? → raised: False, leaned: neither. The draft discusses completion-triggered background dreams and failure handling, but it does not address how nightly dreams are scheduled or choose between a Railway cron service and a backend loop.
- How much more should the person's own interactions weigh than the executor's in memory? → raised: True, leaned: neither. The draft raises how to ground and weigh learning evidence, including whether an untouched draft counts as confirmation, but it does not specify the relative weight of the person’s signals versus the executor’s. It therefore leaves the specific weighting choice open.
- Should the criterion "Completing an initiative starts a dream for its project, even when fewer than five new person calls exist since the last dream; the dream every five person calls still happens." change? → raised: True, leaned: other. The draft explicitly requires a completion-triggered background dream without waiting for five person-resolved calls, so it raises this timing question and favors the option to keep completion-triggered dreaming. The person instead chose nightly and manual triggers plus every-five-call dreams, with no immediate dream on completion.
Claude
- Which of the executor's own calls count as "left standing", and so as quiet confirmation the memory can learn from? → raised: True, leaned: neither. The draft raises the underlying question of whether silence or an unrecorded choice counts as confirmation: a constraint says not to treat an unrecorded choice or silence as confirmation without an agreed basis, and an open question asks whether a person leaving a draft untouched counts as confirmation or is neutral. But it does not take up the specific question of which executor calls count as 'left standing' (e.g., calls on completed initiatives vs. time-based vs. record_work-kept), so it neither commits to the chosen option nor to a different one.
- Should a heuristic the memory is confident in ever let the executor settle a call on its own instead of asking the person? → raised: False, leaned: neither. The draft concerns completion-triggered learning, evidence grounding, and prediction evaluation; it never takes up whether a confident heuristic may let the executor settle a call without asking the person. Escalation authority is not raised as a constraint, discretion item, acceptance criterion, or open question, so the later decision was not put before the builder.
- Where are corrections kept: a person's rewording of an executor's draft item, a rejected proposal, feedback on evidence sent back? → raised: True, leaned: neither. The draft's open question explicitly asks whether to add minimal durable capture for rewordings, deletions, rejections, and returned evidence, or learn only from signals already preserved. This puts the storage-location question before the builder, but the draft does not commit to either an append-only table or in-document history, so it neither chose nor opposed the later decision.
- Can a heuristic rest only on the executor's own calls that people left standing, or must it also rest on something a person did: one of their calls or one of their corrections? → raised: True, leaned: other. The draft takes up this question in the constraint 'Do not treat an unrecorded choice or silence as confirmation without an agreed basis' and the acceptance criterion that 'an absent signal is not scored as a confirmation,' which requires person-grounded evidence (a call or correction) rather than resting on standing executor calls alone. That leans against the chosen option, so it is raised but leaned 'other'.
- Should the executor calls a person left standing be scored too, given the person has confidence in the executor? → raised: False, leaned: neither. The draft concerns completion-triggered learning, evidence grounding, and prediction evaluation, but never takes up whether standing executor calls should receive a separate score. It only mentions person-resolved calls and held-out calls, so this specific question was not raised or settled.
- The replay found that feeding the dream standing executor calls, removed draft items and briefs made memory slightly worse at predicting the person (−0.034 against the current memory, 95% interval −0.079 to +0.017, not distinguishable). Corrections and dreaming on completion could not be tested offline. What happens to BD-122? → raised: True, leaned: other. The draft raises the question of what measured result is required before serving the new method as an improvement, and its constraints and acceptance criteria commit to keeping real-world prediction improvement open until measured and not claiming improvement without evidence. The person instead chose to keep it all live as an experiment under the existing kill rule, which the draft's stance (capture-and-evaluation-only until a bar is met) leans against.
- Should the constraint "Only a person's calls are ever scored, in the replay and in the live outcome. The executor's own calls and the corrections are evidence for learning, never answers to predict, so the metric never measures the executor predicting itself." change? → raised: False, leaned: neither. The draft discusses prediction evaluation and scoring against held-out calls and mentions the stop rule, but it never addresses the specific question of whether executor calls the person left standing should get a separate second score reported beside the person-only score. It only touches the general area of scoring/evaluation without raising this particular constraint.
- When should live memory dream: at each completion, nightly, or on demand? → raised: True, leaned: chosen. The draft's intent and acceptance criteria commit to dreaming at each completion ("At each completion... rebuild and check heuristics"; "A qualifying initiative outcome starts a background dream without waiting for five person-resolved calls"), which is the option the person later replaced. The draft takes up the timing question and leans toward the completion-triggered approach, so it raised the question and leaned to the chosen option.
- How is the nightly dream scheduled, given the backend has no scheduler? → raised: False, leaned: neither. The draft concerns changing learning cadence to completion-triggered dreams and related safeguards, but never addresses how the nightly dream is scheduled (Railway cron vs. background loop). That scheduling question is not raised as a constraint, discretion item, acceptance criterion, or open question.
- How much more should the person's own interactions weigh than the executor's in memory? → raised: False, leaned: neither. The draft discusses evidence grounding, corrections, confirmations, and how the dream should use initiative outcomes, but it never addresses the relative weighting of the person's own interactions versus the executor's signals. It neither raises nor leans on the 2/1/-2 weighting question.
- Should the criterion "Completing an initiative starts a dream for its project, even when fewer than five new person calls exist since the last dream; the dream every five person calls still happens." change? → raised: True, leaned: other. The draft directly addresses the completion-trigger question: its intent, constraints, discretion, and acceptance criteria all commit to completion-triggered learning ('At each completion...', 'A qualifying initiative outcome starts a background dream without waiting for five person-resolved calls'). This is the opposite of the later choice, which removes on-the-spot completion dreaming in favor of nightly/person-triggered dreams.
Every decision is recorded with what was ruled out and why. That record is the evidence.