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 1
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 live executor memory so a completed initiative can prompt a dream without waiting for five person-resolved calls. Use the initiative’s recorded corrections, confirmations, evidence feedback, and choices to revise or support heuristics, then check those heuristics against later observed outcomes. The claim that this predicts a person better than the current memory remains a hypothesis to measure, not an assumed result.

Constraints:
- Keep the existing memory research honest: the live dream currently waits for five person calls, and although it sees resolved initiative summaries, every heuristic it builds must cite at least one person call. Update that behavior and its guidance consistently rather than repeating stale wording.
- Base learning on durable records, not browser-local conversation. `specs.doc` holds the current spec, and a rejected proposed item is removed; the backend does not retain that rejection in a durable event record today. Capture outcomes at a point where they can still be observed.
- Keep explicit edits, rejections, evidence returned for changes, and confirmations distinguishable from one another and from a lack of action. Preserve an uncertainty path rather than presenting ambiguous evidence as certain.
- Keep a person in control of irreversible heuristic retirement. New evidence may support or correct a heuristic, but memory must not silently retire one on the person’s behalf.
- Any change to live serving must retain a randomized no-memory holdout, show people what is served, and use a kill rule and exposure controls declared before the changed serving begins.
- Preserve existing contracts when a dedicated path can add the new capability. In particular, do not change the meaning of `resolve_decision` just to record initiative outcomes.
- Retain operational safeguards for dream work, including protection against concurrent dreams and bounded model-call and spend costs.
- Do not claim production improvement from local tests or replay alone. Report the measured baseline and result, and leave real-world impact open until it is observed.

Discretion:
- Choose the smallest durable way to capture the required outcome signals at the point they occur, and make completion-triggered dreaming safe to retry without losing or duplicating an outcome.
- Decide how to organize the dream prompt and heuristic evidence so each rule explains what it predicts, what record supports it, and how later applications went.
- Keep deterministic outcome-capture, retry, and scoring checks in the default test suite; keep live-model comparisons opt-in.
- Update the relevant guidance, memory UI language, and tests together so they describe the new trigger and do not imply that uncertain or unobserved behavior is confirmed.

Acceptance criteria:
- A qualifying completed initiative can trigger a dream even when fewer than five person calls have occurred; the first such initiative is not held back by the old call threshold.
- Completion-triggered dreaming is safe under retries and concurrent triggers. A failed or interrupted dream does not silently lose the recorded outcomes it was meant to learn from.
- The memory can use initiative outcomes even when there is no person call to cite. Each heuristic still has traceable supporting evidence, and its later applications are checked against the observed record.
- Tests show that rewordings, removals or rejections, evidence sent back for changes, differing recommendations, and unchanged executor proposals are captured with the right distinction and attribution.
- A person can inspect what the executor was served, what evidence a heuristic relies on, and how it has performed; a person can still retire a heuristic.
- A measured comparison against the current memory uses the same comparison cases where possible, reports uncertainty as well as averages, and does not describe a proxy or local result as proof of live user benefit.

Open questions:
- What counts as the completion trigger: only `initiatives.state = complete`, or should archived/dropped initiatives and initiatives with `recorded_ref` also be treated as outcomes?
- When an executor proposal is left unchanged through completion, should that count as confirmation, weaker supporting evidence, or uncertain evidence unless a person explicitly confirmed it? How should the system distinguish those cases from items confirmed by `ai_confirmed_by_jev`?
- Should this learn only from outcomes observed after deployment, or also use existing completed initiatives where the surviving record is sufficient? Rejected items and prior wording changes may not be recoverable from the current spec.
- Should the evaluation remain the existing decision-and-initiative replay in `backend/app/measure_memory_replay.py`, or expand to score the new correction and evidence-feedback outcomes too? What minimum measured improvement would count as meaningful? `RESEARCH_LOG.md` says that threshold has not yet been set.
- Should the current randomized serving and kill-rule measurements remain based on recommendation agreement, or should they also include the newly captured initiative outcomes before any change to serving exposure?
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: chosen. The draft explicitly asks whether an unchanged executor proposal at completion counts as confirmation or weaker evidence, and distinguishes that from explicit confirmation. Its completion-trigger language aligns with counting calls on initiatives that reach complete; it does not specify the no-retirement condition, but it does not commit to a conflicting option.
- 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 learning from initiative outcomes, evaluating heuristics, and keeping a person in control of irreversible heuristic retirement. It does not raise whether a confident heuristic may settle calls without asking the person, or whether escalation should remain unchanged.
- 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 requires durable outcome capture and explicitly notes that rejected proposals are not retained in a durable event record, raising where these outcomes should be stored. It favors a dedicated path that preserves existing contracts, consistent with an 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: chosen. The draft says heuristics may use initiative outcomes even when there is no person call to cite, and explicitly allows unchanged executor proposals to be captured and considered as evidence. That raises the question and supports the chosen option that standing executor calls alone may found a heuristic.
- 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 capturing unchanged executor proposals and asks whether they count as confirmation or uncertain evidence, but it does not raise the specific question of separately scoring standing executor calls or keeping that score distinct from the person-call score and kill rule.
- 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 requires randomized holdout, a predeclared kill rule, and exposure controls for changed live serving, and asks whether existing serving measurements should incorporate the new outcomes. That covers the decision to keep the changes live as an experiment under the existing kill rule and per-heuristic tracking.
- 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 covers learning from initiative outcomes and evaluating memory, but it does not raise whether executor calls left standing should receive a separate score alongside the person-only memory score. The later decision adds that distinct metric.
- When should live memory dream: at each completion, nightly, or on demand? → raised: True, leaned: other. The draft explicitly makes completion-triggered dreaming a requirement, including triggering before five person calls, and asks whether completion is the trigger. The later choice replaces dreaming at each completion with a button, a conditional nightly dream, and the existing five-call dream.
- How is the nightly dream scheduled, given the backend has no scheduler? → raised: False, leaned: neither. The draft discusses when a dream is triggered and how completion-triggered dreaming should be retried, but it does not address how nightly dreams are scheduled or choose between a Railway cron service and a backend background loop.
- How much more should the person's own interactions weigh than the executor's in memory? → raised: False, leaned: neither. The draft distinguishes kinds of outcome evidence and asks how unchanged executor proposals should be treated, but it never asks how much the person’s interactions should weigh relative to the executor’s or specifies relative evidence weights. It therefore does not raise the chosen 2/1/-2 weighting decision.
- 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 qualifying completed initiative to trigger a dream before five person calls, and asks how completion should trigger dreaming. It does not propose nightly or user-requested dreaming instead; the person chose that alternative and to stop dreaming immediately 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 explicitly raises this question in its open questions: 'When an executor proposal is left unchanged through completion, should that count as confirmation, weaker supporting evidence, or uncertain evidence unless a person explicitly confirmed it?' It also constrains that explicit edits, rejections, evidence feedback, and confirmations must stay distinguishable and that ambiguous evidence must not be presented as certain. But it does not commit to the chosen option (completion + no person retirement = quiet confirmation); it leaves the question open, so it neither leans chosen nor other.
- 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 dreaming, outcome capture, and heuristic evidence, but never addresses whether high-confidence heuristics may let the executor settle calls without asking the person; escalation autonomy is not raised as a constraint, discretion, criterion, or open question.
- 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 raises the question of where corrections/rejections/evidence feedback are kept: it requires basing learning on durable records, notes that a rejected proposed item is removed and the backend does not retain that rejection in a durable event record today, and asks for the smallest durable way to capture outcome signals. But it does not commit to either option (append-only table vs. in-spec history), leaving the choice open.
- 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's constraint requires every heuristic to cite at least one person call and bases learning on person actions, which commits to the 'must rest on a person's call or correction' option, opposite the person's later choice that standing executor calls alone may found a heuristic.
- Should the executor calls a person left standing be scored too, given the person has confidence in the executor? → raised: True, leaned: neither. The draft raises the underlying question of how to treat executor proposals left unchanged through completion (open question: whether that counts as confirmation, weaker supporting evidence, or uncertain evidence), and asks whether evaluation should expand to score new correction and evidence-feedback outcomes. But it does not take up the specific choice of adding a separate score on standing executor calls kept distinct from the person's-call score and the kill rule; it leaves the treatment open rather than committing to either option.
- 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's open questions and constraints raise the question of how to handle the new outcome signals and whether serving/evaluation should change, but it leans toward caution (measure first, keep holdout, don't claim improvement) rather than committing to keeping everything live as an experiment; the chosen option is a distinct decision the draft did not commit to.
- 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 addresses scoring scope in its open questions (whether to expand scoring to correction/evidence-feedback outcomes and whether serving measurements should include newly captured initiative outcomes), but it commits to keeping the existing person-only scoring and comparison approach rather than adding a separate executor-call score reported beside it. So the question is raised but the draft leans toward the keep option, not the chosen change.
- When should live memory dream: at each completion, nightly, or on demand? → raised: True, leaned: other. The draft explicitly commits to completion-triggered dreaming ('A qualifying completed initiative can trigger a dream even when fewer than five person calls have occurred; the first such initiative is not held back by the old call threshold'), which is the option the person later replaced. The question of when live memory should dream is squarely raised as an acceptance criterion, and the draft leans toward the completion-trigger option rather than the chosen button/nightly/five-call combination.
- How is the nightly dream scheduled, given the backend has no scheduler? → raised: False, leaned: neither. The draft concerns changing the dream trigger to completion of an initiative and the associated learning, evidence, and safety constraints. It never addresses how the nightly dream is scheduled or whether a Railway cron service versus a background loop should be used; scheduling infrastructure is not among its constraints, discretion items, acceptance criteria, or open questions.
- How much more should the person's own interactions weigh than the executor's in memory? → raised: False, leaned: neither. The draft discusses weighting and distinguishing person signals from executor signals (e.g., explicit edits, confirmations, executor proposals left unchanged), but it never poses or commits to a specific weighting scheme for how much more a person's interactions count versus the executor's. It leaves the question open and does not address the 2/1/-2 versus 3/1/-3 choice.
- 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's acceptance criterion explicitly commits to completion-triggered dreaming (a completed initiative can trigger a dream even with fewer than five person calls), which is the opposite of the later choice to remove on-the-spot completion dreaming in favor of nightly plus manual plus five-call triggers.
Every decision is recorded with what was ruled out and why. That record is the evidence.