Dashboard › cli › Distillation
0886119b-f560-4e5f-91a2-662656e88a20["lore_tm_v1_g-PsOj9YTzecPiz5GJ5omp5mhgd2tigXzyBJeNgi9Pw","lore_tm_v1_I-V5SgKYrevZN5QG7vf85X43PcGpKpUZnwPpZ1J3ddc","lore_tm_v1_2wY735DpunI_n1g7KNZjCxs-Bpeizxh8xDoSqjZP_bk","lore_tm_v1_o9nel72IJTnSV5t0SRi5L_O0cQp1DOQvDz2nP-MJTQs"]
π΄ (15:55) User stated the repository worktree is /home/byk/.local/share/opencode/worktree/0e8c2f3bbe145a3280d6fb6ed900a5121f382cf0/glowing-cactus.
π΄ (15:55) User provided the worktree rootβs 26 entries: .craft.yml, .git, .github/, .gitignore, .lore.md, .nojekyll, .npmrc, .opencode/, .plans/, .ruff_cache/, AGENTS.md, apps/, CHANGELOG.md, codemods/, coverage/, dist-bin/, dist/, docs/, LICENSE.md, node_modules/, package.json, packages/, pnpm-lock.yaml, pnpm-workspace.yaml, README.md, and test-results.junit.xml.
π΄ (15:55) User stated long-term project knowledge covering gotchas, patterns, decisions, and architecture is maintained in the root .lore.md, referenced from AGENTS.md.
π΄ (15:55) [enforced-script-verification] User requires always checking package.json for the latest scripts before choosing project commands.
π΄ (15:55) User stated the CLI supports automatic multi-region detection with fan-out to regional APIs including us.sentry.io and de.sentry.io.
π΄ (15:55) [enforced-dependency-policy] User requires all packages to be placed in devDependencies, never dependencies, because everything is bundled at build time via esbuild; CI enforces this using pnpm run check:deps.
π΄ (15:55) [enforced-package-command] User requires adding packages with pnpm add -D <package>, including the -D flag.
π΄ (15:55) [enforced-pagination-limit] User requires never passing a per_page value larger than API_MAX_PER_PAGE to the API.
π΄ (15:55) [enforced-error-code-policy] User requires numeric exit codes never be hardcoded outside errors.ts.
π΄ (15:55) User stated the error hierarchy includes CliError as the base with exitCode=1 and UpgradeError with exitCode=50 for upgrade failures.
π΄ (15:55) User identified relevant package manifests and guidance files: root package.json; packages/cli/package.json; packages/cli/AGENTS.md; packages/cli/CONTRIBUTING.md; codemods/sentry-v3-to-v4/package.json; apps/cli-docs/package.json; and template manifests under packages/cli/test/init-eval/templates/ for sveltekit-app, react-vite-app, nextjs-app, and express-app.