Dashboard › opencode-lore › Distillation
88aad268-f9c8-4976-b5c1-35ed2b733d4e["lore_tm_v1_1cmEqo2iBhZq4HKm4KH-qXE5YKdfgX8Zryx4OTzbG_c","lore_tm_v1_-h3wfbkk2DA_Rf-TeXtulB7Jgz-P567q7LwVEjXzUZM","lore_tm_v1_Gkw8xE9BosIYsF43rEqACPTq45fwen4b8STeNUo7c3k","lore_tm_v1_b0wKFF0XdjL8WinXSjfjjsfyqRowVGSw7SkBFFjREkk","lore_tm_v1_8a_HFISGk0XprvfqDrVLnRnxhzmkPulQzFd2pNAshQk","lore_tm_v1_fpqN4WOPxRPHASqtMf5mbc2X8qnD4yY648BvXGzOmt4","lore_tm_v1__JKkNaTckq6iph-Z_ckK_9_Q-jpm8PWdr62lqSD3snc","lore_tm_v1_D_j8FKPsqJZkpHq-ON4W4Oyfy9Jwf-hPepqlbtiHpFI","lore_tm_v1_DmfKHBiAtLVbIhwk4LtEFTJNj73HRK07we9dN54RlbA","lore_tm_v1_6nK-bbBGVCd2Z7uo63jt3zrgiTKb-tPnXFA2PgklC-k","lore_tm_v1_iIw-yLp_HOz3tXgN5RQKvFVzAS11OI2YnRNMaZqYT14"]
Date: Sep 16, 2026
/home/byk/Code/opencode-lore-recall-recovery, working in additive child change pqvltmkr over immutable parent spyyzvyy/3f3ae768.AGENTS.md, quality/REVIEW.md, and scripts/, and required edits via apply_patch.event: codex.rate_limits must never be generically forwarded in either principal or continuation flows; it must be suppressed or rejected before opaque forwarding, with no sentinel or quota-accounting escape.application/json must receive recovery-specific strict successful-completion validation for OpenAI, Anthropic, and Gemini; hostile text, role, failure, missing identity, missing model, or missing usage must produce a fixed 502, rollback, and no persistence.prompt_tokens and completion_tokens; usage:{} must be rejected.assertSuccessfulResponsesCompletion must use a terminal type/status registry rather than blanket completed; valid failed function_call and image_generation_call output items must remain accepted in ordinary non-stream parsing, while recovery usability must still reject failed tool handoffs.lore recall --project /home/byk/Code/opencode-lore --scope project --json or the local UI and continuing; never return only warning/empty.jj-guide establishes that the repository must use jj rather than git when .jj/ exists; interactive flags are forbidden, descriptions/commits require -m "msg", mutations must be verified with jj st and jj log, change IDs are preferred, and immutable commits must never be rebased or described.jj-guide states that jj never fails on conflict; rebase, new, and squash can record conflicts in the resulting commit, after which jj st must be checked and files resolved manually rather than with interactive jj resolve.jj-guide recovery commands documented: jj undo reverses the last operation, jj op log displays operation history, jj op restore <op-id> rewinds repository state, and jj workspace update-stale repairs stale working-copy errors.AGENTS.md identifies the project as Lore, a TypeScript pnpm monorepo using Node.js >=22.5 and SQLite with WAL mode plus FTS5; packages include packages/core/, packages/gateway/, packages/opencode/, and packages/pi/.AGENTS.md requires quality/REVIEW.md regression-test discipline, adversarial-order setup, fan-out registry coverage, recurring bug-class batteries, and a two-reviewer workflow; every non-trivial PR requires an adversarial correctness review before merge.packages/core/test/setup.ts, never the production DB.CHANGELOG.md; Sentry Craft handles both.package.json uses pnpm@10.28.0, Volta Node 24.16.0, and scripts including pnpm test, pnpm run typecheck, pnpm run lint, pnpm run format, pnpm run format:check, pnpm run build, and Stryker mutation testing via pnpm run mutation.packages/gateway/package.json identifies @loreai/gateway version 0.40.0; its scripts include typecheck: tsc --noEmit, build: tsx script/build.ts, bundle: tsx script/bundle.ts, and start: tsx src/index.ts.scripts/ contains exactly 12 entries: bump-version.sh, cch-scan.c, check-cc-version.ts, check-docs-links.mjs, check-patches.ts, check-preview-links.mjs, check-social-meta.mjs, extract-cch-seed.ts, generate-config-docs.ts, generate-env-docs.ts, generate-release-checksums.mjs, and smoke-install.mjs.@ is empty change pqvltmkr at commit f4c25568, described fix(recall): harden quota metadata; parent @- is spyyzvyy at commit 3f3ae768, bookmark fix/recall-failure-synthesis, described fix(recall): validate recovery metadata.jj reported a conflicted bookmark named fix/responses-private-references; the working-copy files themselves had no changes.packages/gateway/src/codex-rate-limits.ts: MAX_CODEX_RATE_LIMIT_EVENTS = 64, MAX_CODEX_RATE_LIMIT_BYTES = 16 * 1024, event validation around lines 68-85, event-count guard around line 102, and encoded-byte guard around line 107.assertSuccessfulResponsesCompletion in packages/gateway/src/stream/openai-responses.ts around line 255, codex.rate_limits handling around lines 618 and 2380, and terminal validation around line 2032.packages/gateway/src/recall.ts: isUsableRecallContinuation around line 1191 and runRecallRecovery around line 1769.packages/gateway/src/pipeline.ts, including continuation usability checks around lines 7634, 11239, 18517, 18637, and 18650; Codex rate-limit handling around lines 11083 and 11490; MAX_FOREGROUND_RESPONSE_BYTES = 4 * 1024 * 1024; MAX_FOREGROUND_ERROR_BYTES = 64 * 1024; JSON completion validation around line 12163; and runRecallRecovery usage around line 18481.