Doenexecutor memory research

Seed 0

All calls · 54 questions · chance: 34%
ArmRightRight where no memory was wrong / reverse
stateless56%
memory65%
Final memories
build-doen · memory
## Doen: intent and priorities Doen is a product-development spec framework for designers, software engineers, and product owners: one durable intent artifact, a constraint/discretion split, escalation of genuine intent calls, and guidance from precedent. Do not optimize for abstract engineering-rule distillation: the heuristic flywheel is being retired (228 rules yielded 5 usable ones; see `docs/design-principles.md`). Current frontier: (1) Capture human product reasoning before retrieval; all 25 recorded decisions were agent-raised, 9 product initiatives yielded none, and the product-precedent corpus is empty. (2) Ground artifacts: specs cite nonexistent columns, tables, and surfaces; a learn record claimed an outcome that never happened. (3) Improve precedent retrieval once a corpus exists; harness baseline is 18% useful. Jev is not the verifier for this audience (auto-approves test criteria 71%, human_judgment 0% by design); its value is drafting, groundedness, conflict detection, and weighing precedent. ## Decision signals - Automate sound guidance admission, not every product judgment. Confident, well-scoped, condition-bearing rules may be auto-admitted as citable; uncertain ones stay raw. Human override, not gatekeeper. No blanket agent authority or reversal of flywheel retirement. - Automate stalled reversible-ish proposal stages selectively: Jev confirms high-confidence merge/generalization proposals; borderline cases queue for review; retirements remain human-gated. - Interpret constraints by purpose, not literalism. Preserve durable intent and contracts; allow structural changes such as changing which records an unchanged algorithmic stage evaluates. For dream/consolidation, step 4 evaluates all pending judgeable proposals, not only newly created ones, preserving clustering and sequence. - Evidence must fit the claim and mechanism. If sparse raw event counts cannot provide score variation through reweighting, use realistic input sweeps (>20 distinct scores) plus correctness evidence for live recompute; this is not a blanket replacement for live-data validation. - Do not conflate local/counterfactual measures with production outcomes. For criteria requiring post-deploy evidence, record a measured pre-deploy snapshot, mark needs_judgment/open, and append post-snapshot only after actual deployment. Local old-vs-new tests code logic, not deployed behavior; do not deploy unilaterally out of scope. - Ground measurement criteria in real channels and current data. If a metric store/dashboard does not exist, use the established evidence channel (SQL plus `RESEARCH_LOG.md`), rather than preserving fictional infrastructure requirements. Re-measure stale baselines instead of building to them. A correct drain/count test proves arithmetic, not that a signal changes executor behavior; keep the criterion open until real post-ship evidence answers that question. - Respect stage boundaries: hide Learn in Draft/Building; render only in Learn. -
resume-builder · memory
Product: User-driven, AI-supported resume workflows. Users own/edit career history; AI reviews, enhances, and localizes on demand, never blocks. Keep career library distinct from editable application docs. Localization adapts structure, length, formatting, and culture. Verify shipped behavior/intent if specs stale; amend retired/unsatisfiable requirements, don't resurrect. Follow explicit updated prototypes; Tailwind/shadcn. Data/API: Preserve public/imported names and exact behavior in shared-code consolidation; existing tests unchanged. 401 unauthenticated; 404 nonexistent and cross-user resources (scope by user_id); test separately. `resumes.content` is one free-form Markdown document (e.g. `{"markdown":"..."}`), one Tiptap editor; no schema/headings/boundaries/inferred structure. GenAI handles downstream understanding. Renderer supports explicitly defined Markdown and ATS-safe output (RB-10 authority). Existing structured rows need conversion; JSONB alone doesn't migrate. Keep `profile_id NOT NULL`, seed from first resume; write back only by explicit promotion. Overview: title, dates, actions, archived date; no score (RB-9 removed scoring). Compliance persists only through targeted generation; reads don't recompute/persist. Duplicate only implemented fields: title, content, presentation, compliance, profile_version, job_target_id. Guidance: Queue is derived. Anchors `{quote, occurrence}`; validate exact substring/occurrence against current Markdown on read/accept; drop stale, never apply ambiguously. Accept scoped find/replace and mark accepted atomically; 409 if moved. Exact match-or-fail; no offsets/heading/line anchors. Dismissal hash: category + normalized quote, stable across claim/proposed-change edits, distinct by target. No job target may mean empty queue. RB-10 formatting, RB-11 quantification; hard compliance separate. RB-18/20 shipped/verified. Findings reads aren't persisted; adoption enters existing queue. RB-21/C2 removed Findings column; no second apply path. Guided Assistant: durable per-resume thread (one resume = one role/context/thread); ranked agenda, never empty prompt, user steers. Proposal cards (diff, reason, Apply, Not now, Undo); no parallel panel/queue. Structured requirements/fact capture; retain document marks. `item_key` hashes category + requirement ID, not wording. On advert re-extraction preserve every decided requirement and answer, including “I don't have this,” if it returns. If generated questions don't match their template, drop that requirement's questions/template but keep requirement. Follow updated C2 prototype: two rail tabs, Assistant and Document; Assistant primary; document properties in Document. Start over detaches resume from job target; deletes its assistant thread and derived queue, including decisions/answers; keeps old job-target row. A cover letter for that role still needs its source advert; retaining answers is not a true restart. Confirm Start over with an inline two-step confirmation in the rail, explicitly saying the resume is not changed: it discards user answers, and one click on a small control is too easy to trigger accidentally. Reviews/AI: Models judge
Dream stages (recorded from runs after 2026-11-27)

Seed 1

All calls · 54 questions · chance: 34%
ArmRightRight where no memory was wrong / reverse
stateless56%
memory65%
Final memories
build-doen · memory
## Doen: intent and priorities Doen is a spec framework for product engineers (designers, software engineers, product owners): one durable intent artifact; constraint/discretion split; escalation of genuine intent calls; guidance from precedent. Not an abstract engineering-rule flywheel: 228 rules yielded 5 usable ones and a circular metric (`docs/design-principles.md`, “Retiring the heuristic flywheel”). Priorities: (1) capture human product reasoning—25 recorded decisions were agent-raised; 9 initiatives yielded none; capture precedes retrieval; (2) ground generated artifacts—specs cited nonexistent product elements and a learn record claimed an outcome that never happened; (3) improve precedent retrieval when a product corpus exists (baseline 18% useful). Jev is not the verifier for this audience (71% auto-approval of test criteria; no `human_judgment`); value is drafting, groundedness, conflict detection, and weighing precedent. ## Decision tendencies / evidence - Prefer stage-appropriate UI: keep Learn hidden in Draft/Building, potentially read-only in Complete, rather than showing disabled UI. - Research findings MCP writes: dedicated `submit_research_findings(initiative_id, findings)`, pure last-write-wins, clearly documented. Executor owns working document; humans annotate after investigation. Avoid locking/merge/version scope absent need. - Hide importance recommendations only for projects with exactly one initiative; avoid unsupported conditions. - If live data cannot attain a dispersion target, test mechanism capability over realistic synthetic/event-count sweeps and verify live recomputation separately; don’t wait for organic growth or weaken goal. - For vector migrations that leave production retrieval unindexed, extend migration to a supported indexed representation (e.g. `halfvec` + HNSW); context-specific, not universal. - Against a confirmed acceptance bar, don’t ship measurable regressions for secondary benefits. For plausible, fixable issues within discretion, iterate and rerun controlled benchmarks; no new decision needed for delegated changes. - Narrow signal-fidelity loss may be acceptable if affected cases are already acted upon, recurrence unlikely at low usage, and preserving signal adds schema complexity. Don’t generalize beyond those cases. - Corpus admission should not recreate a human promotion queue: Jev may auto-admit sound, well-scoped, condition-bearing standalone rules; otherwise leave raw. Human is override, not gatekeeper. For two-tier heuristic corpus, Jev confirms merge/generalization proposals above confidence threshold; borderline proposals await human judgment (only two merges confirmed in 15 months; three proposals stalled 13 days). - Acceptance criteria should measure the named risk. If outcome is observable only after production deployment, don’t substitute a local mechanism comparison or mark failed because deployment is out of scope. Preserve the criterion as open/needs_judgment until outcome evidence exists. - Record evidence through the project’s actual durable
resume-builder · memory
Durable product preferences: - User-driven, AI-supported workflow: users own/manage career history; AI is on-demand and never blocks. Users can always download their resume; warn clearly, never withhold user-owned work. Localization adapts structure, length, formatting, and cultural expectations by market. - Resume editing is pure free text: `resumes.content = {markdown: "..."}`; no recognized headings/schema. GenAI interprets. Don't restore structured contracts without asking; verify implementation/update stale specs and pipelines. RB-10 governs ATS-safe Markdown; omit PDF constraints if renderer has no meaningful structure to walk. - Candidate facts belong to the candidate: never invent claims or offer wording/templates for missing facts. Say a requirement is not covered and use one fixed action sentence, enforced in code (not prompt-only). - Models alone judge writing. Remove rules/regex/conditionals that produce review feedback, suggestions, or reviews, including fabrication checks on review rewrites, keyword routing of typed messages, and ATS keyword matcher in the queue. No rule-based exception; update stale specs and pipelines. - Start over detaches resume from job target and deletes thread and queue, including decisions, but retains old job-target row so cover letters keep their advert. Do not retain prior answers. Confirm with an inline two-step confirmation in the rail that explicitly says the resume itself is not changed: it discards user-provided answers, and a single click on a small control is too easy to trigger accidentally. Not a modal or unconfirmed one-click action. - RB-9 scoring is retired (UI, scorer, endpoints/API field, JSONB column). Resume lists show Title, Created, Last edited, Actions; archived also shows Archived. Compliance persists only on targeted-generation completion; reads recompute, never persist. No job target means quiet/empty queue. - Career profiles are a library; resumes are directly editable/primary. Keep `resumes.profile_id NOT NULL`, seed profile from first resume, promote edits via provenance pointers. Keep skills/profile_skills separate, aliases for canonical variants, and `resume_keywords.skill_id`. Integer `profiles.version` bumps on profile/entry/bullet writes; `resumes.profile_version` records source. - Guidance is the sole mechanism for resume-changing suggestions: one active card/decision at a time. Keyword cards have five fields including exact anchor `{quote, occurrence}`, claim, proposed_change, reason; proposed text integrates keyword into user's sentence. Accept atomically replaces anchored text; stale quotes are dropped, never misapplied. Resolve staleness at read/accept, not autosave. Dismissal key hashes category + normalized quote. Acceptance updates resume content. - Guided Assistant replaces RB-20 findings column and RB-18/19 suggestions panel. One guidance queue/surface: proposal card in thread (diff, reason, Apply, Not now, Undo), reachable from agenda,
Dream stages (recorded from runs after 2026-11-27)

Seed 2

All calls · 54 questions · chance: 34%
ArmRightRight where no memory was wrong / reverse
stateless65%
memory65%
Final memories
build-doen · memory
## Product intent Doen is a shared spec framework for product engineers (designers, software engineers, product owners): durable intent, explicit constraint/discretion split, escalation of genuine intent calls, and precedent showing choices, rejected options, and outcomes. Do not optimize for abstract engineering-rule distillation. The heuristic flywheel is retired: 228 rules yielded 5 usable ones and its success metric was circular (docs/design-principles.md, “Retiring the heuristic flywheel,” 2026-10-02). ## Current frontier (priority order) 1. **Capture human reasoning.** All 25 recorded decisions were agent-raised; 9 product initiatives produced none. Human product calls go unrecorded. Capture must precede retrieval. 2. **Groundedness.** Doen checks executors but not its own artifacts. Specs cited nonexistent columns, tables, and surfaces; a learn record claimed an outcome that never happened. Especially hard for designers to catch. 3. **Precedent retrieval**, after a product corpus exists. Prototype/measurement harness exists; baseline usefulness is 18%. Jev is not the verifier for this audience: auto-approves test criteria 71% of the time and excludes human_judgment by design, while product work is mostly behavior and human_judgment. Jev may help draft, ground, detect conflicts, and weigh precedent. ## Scoped decision signals - **Heuristic corpus automation:** Avoid hand-maintenance/context overload. Jev may auto-admit unclustered rules only when it judges them sound, well-scoped, and condition-bearing; uncertain/no cases remain raw. It may confirm merge/generalization proposals above confidence threshold; borderline proposals queue for human review, with override. Retirements remain human-gated: removing a rule feels irreversible, while a restorable rejected sentinel is safer with human judgment. Invariant: a rule has been judged sound, not necessarily by a human; do not automate every corpus action. Supersedes `item_b52be75cb614`’s “both human-gated” constraint. - **Lifecycle UI:** If a feature does not apply in a stage, prefer not rendering it over inactive controls. Learn module hidden in Draft/Building, shown only in Learn. - **Field ownership/write semantics:** For `research_findings`, executor owns working document; MCP writes are pure last-write-wins, even if overwriting a human edit. Explain in tool description. Humans annotate after investigation concludes; no locking absent clear need. Do not generalize to every human-edited field. - **MCP tool design:** For a distinct research-specific write path, prefer dedicated tool over optional parameter on general tool when preserving contract and improving discoverability (`submit_research_findings` vs extending `submit_evidence`). Scoped. - **Constraints and stale tests:** Interpret constraints by the behavior they protect, not mechanically. In BD-105, “test file not modified” meant do not weaken the false-approval guard; updating stale tuple unpacking was acceptable. - **Measurement
resume-builder · memory
## Product principles - Full-lifecycle application-materials platform; localization adapts structure, length, formatting, and cultural expectations by market. User owns professional history/materials; AI is on-demand reviewer, enhancer, and localizer, never a gate. Keep resume download prominent, including placeholders with warning. Supersedes C2 language-blocked PDF export. - Resume target is pure free text (`resumes.content = {markdown: "..."}`), with no required headings, fields, or boundaries; downstream AI interprets it. Supersedes shipped/verified RB-12 Tiptap schema. - Models alone produce review feedback, suggestions, and assessments. No regex/conditional content feedback, fabrication checks on rewrites, typed-message keyword routing, or ATS keyword matching in queue. Code enforces mechanics (validation, persistence, safe rendering, atomic application), not findings. - Guided Assistant is central: chat-like, not general chat; ranked agenda, user steers, turns resolve to concrete actions. No blank thread/free instruction. Composer disabled until role exists. Model-led understanding identifies target/goal, clarifies and grounds requests, defines fallback. State-aware chips; never invent claims. Candidate owns experience claims; use model-led wording to flag unsupported/missing content without proposing invented experience. ## Profile and data - `profiles` is career library/source of truth; resumes remain editable. `resumes.profile_id` NOT NULL; seed profile from first resume. Preserve provenance and offer promote/write-back; reuse provenance fields where possible. Free-text provenance needs explicit design, not per-bullet assumptions. - Bump `profiles.version` on profile/entry/bullet writes; copy to `resumes.profile_version` on generation. Drift is version inequality; timestamps miss child edits; versions cannot reconstruct history. - Keep `skills` and `profile_skills` separate, with canonical vocabulary and `skills.aliases`; `resume_keywords.skill_id` references canonical skills (RB-5). - Assistant account settings (language, tone, default market) in validated JSONB `users.preferences` (`app/schemas/jsonb.py`), no migration. User-wide defaults; per-resume values (e.g. `region_code`) override. `profiles.languages` is spoken-language fact, not product locale. ## Reviews and UX - General and job-specific reviews use Jev-decided per-bullet classification table, interpreted by models. Evidence: fixed 2 bullet-level defects in 12/12 and improved severity accuracy 51%→82%. - Renderer consumes Markdown, not structured JSONB; convert legacy rows without DDL. Preserve safe escaping; RB-10 governs ATS-safe Markdown. Revisit RB-4 provenance guards, RB-5 keyword evidence, compliance (`section_order`/`included_fields`), RB-14 outline UI. - Guidance queue remains surface for document-changing suggestions; findings/recommendations must be model-produced. Preserve atomic accept/apply, durable dismissal, one-at-a-time answer surface; no whole-document GenAI. Deterministic checks, keyword matching/routing, and compliance findings do not produce queue feedback. - Keyword suggestions require exact quote/occurrence anchor, claim, and proposed change. - Start over fully resets role-specific work, but requires an inline two-step confirmation in the rail that states the resume is
Dream stages (recorded from runs after 2026-11-27)
Every decision is recorded with what was ruled out and why. That record is the evidence.