Dashboard › opencode-lore › Distillation
82a1bd3c-5795-46a2-bca3-dab2821c6def["lore_tm_v1_dbNnUdjwRnzOms_aQfhiPk6a2gweTSJEONIYLJNSF-I","lore_tm_v1_Vq7ShSnhJojakxx9iF_NYC8sV-8bRYzklr2WbISGMpg","lore_tm_v1_haSRh0Z7JPPSiR8ktc4s-ANIlKKNJA1NklVnGci92vM","lore_tm_v1_mkEz8gxmzKYJ_FRu61N-McLfXbg-NnTm9CSLFX8J2pE","lore_tm_v1_LHLm4O0N959iPPGyA12zDZR-J-7fJVHBENCitIkAn48","lore_tm_v1_InRZxhuH3mi1fdfh1yA2Uc-fNjnH37zWrJ2NawXHIeo"]
Date: Sep 16, 2026
/home/byk/Code/opencode-lore-responses-reference-v2; explicitly prohibited edits, formatting, installs, VCS mutations, server startup, network access, production DB access, and fixes.2cbf40060c67df229731cf1b9e34d5bf22ec2145; head stable change wywumkptssoy; head commit 8063355cb328.007a15b7fd1bcf9b346d89911b2353098b6fec408c12d3b6fcc24a498a37a356.fd9415c36517f241a744e310942915f87cf68a8ec8d6b2feeb57294e18c238a6.CI=1 NO_COLOR=1 SENTRY_AUTH_TOKEN= SENTRY_ENABLED=0 pnpm test -- --printConsoleTrace.repo-setup skill was unavailable and would instead apply repository instructions directly, use Jujutsu only for VCS inspection, and keep the candidate read-only.jj st; jj resolve is prohibited because it is interactive.jj, not git, when .jj/ exists; mutations in colocated .jj/ + .git/ repositories must go through jj, while Git is permitted only for read-only operations or capabilities unavailable in jj.-i/--interactive, require -m "msg" for describe/commit operations, require verification with jj st and jj log after mutations, prefer stable letter-based change IDs over hexadecimal commit IDs, and prohibit rebasing or describing immutable tracked commits..craft.yml, .git, .github/, .gitignore, .jj/, .lore.md, .oxfmtrc.json, .oxlintrc.json, AGENTS.md, CHANGELOG.md, codecov.yml, LICENSE, node_modules/, package.json, packages/, patches/, pnpm-lock.yaml, pnpm-workspace.yaml, quality/, README.md, scripts/, stryker.config.mjs, supabase/, tsconfig.base.json, tsconfig.json, vitest.config.ts, vitest.evals.config.ts, vitest.mutation.config.ts.AGENTS.md describes Lore as a TypeScript monorepo using pnpm workspaces, requiring Node.js >= 22.5, with SQLite in WAL mode and FTS5; the normal DB path is ~/.local/share/lore/lore.db.AGENTS.md defines four packages: @loreai/core at packages/core/ (shared memory engine), @loreai/gateway at packages/gateway/ (transparent LLM proxy and lore CLI), @loreai/opencode at packages/opencode/ (OpenCode plugin adapter), and @loreai/pi at packages/pi/ (Pi coding-agent extension adapter).quality/REVIEW.md; every non-trivial PR requires an adversarial correctness review before merge, with regression-test discipline, adversarial-order state setup, fan-out registry coverage, recurring bug-class batteries, and a two-reviewer rule.packages/core/src/temporal.ts; Tier 2 distillation in packages/core/src/distillation.ts, including segments capped at 16K tokens and meta-distillation when gen-0 count exceeds 20; Tier 3 gradient context management in packages/core/src/gradient.ts, with Layer 0 full passthrough, Layer 1 distilled prefix plus compressed raw content, Layer 2 aggressive tool-output stripping, and Layer 3 emergency compression.packages/core/src/ltm.ts use categories decision, pattern, preference, architecture, and gotcha; fields are id (UUIDv7), project_id, category, title, content (maximum 1200 characters), confidence (0.0β1.0), and cross_project.packages/core/src/curator.ts; 2. regex-based Pattern Extraction in packages/core/src/pattern-extract.ts; 3. File Import from .lore.md in packages/core/src/agents-file.ts; 4. curator.ts consolidate() when entries exceed maxEntries of 25.packages/core/test/setup.tsβnever the production DB.AGENTS.md are gh workflow run release.yml -f version=auto for conventional-commit-derived semver or gh workflow run release.yml -f version=0.23.0 for an explicit version.scripts/bump-version.sh updates all package.json versions; 2. changelog is generated from conventional commits; 3. a release/X.Y.Z branch is created and pushed; 4. CI runs tests and builds npm tarballs, standalone binaries, and delta patches; 5. Craft opens a publish issue and the accepted label triggers Publish; 6. Publish uses npm OIDC trusted publishing and creates a GitHub Release with binaries and patches.package.json identifies lore-monorepo, uses pnpm@10.28.0, and defines "test": "vitest run" and "build": "pnpm -r run build".