Dashboard › cli › Distillation
c0f0e168-546e-43bc-8c1e-1cbd97039804["lore_tm_v1_Lct41iMK42h_NODP_ZpFL4aD9kQBYhVuxyKppJv02wY","lore_tm_v1_hwncyhT0szB7zKE6EGhWPBwWAoZsIjhErm8wDgfrohY","lore_tm_v1_bQvv0abcM7XH6VULVDCKKFxiLgkWJXi1lPZnq0JReYA"]
Date: Sep 10, 2026
ec83887a16f780f32fba4b7d710bad262dba3a22 and head 878459c490576dbb7abb76d3a3dc1b5d9fc62c1f in repo /home/byk/.local/share/opencode/worktree/0e8c2f3bbe145a3280d6fb6ed900a5121f382cf0/toolkit-bridge-upgrade.git diff base..head and git show head:path, never through the worktree, and prohibited all modifications.PASS, CONCERN, MUST-FIX, or BLOCKED; defects must include exact head file:line references and deterministic regressions, and the report must include residual gaps.MERGE or DO-NOT-MERGE.UpgradeTransportError cache fallback; HTTP/metadata failure remaining fail-closed despite cache; stable npm/pnpm/bun/yarn malformed-version and prerelease rejection; arbitrary abort identity across all paths; branded source provenance; target-driven channel/routing; semantic prerelease exclusion; exact metadata; 404-only fallback; source affinity; trusted pagination; redirect authentication; SHA, delta, cache, offline, and API compatibility.packages/cli/src/commands/cli/upgrade.ts (180 lines changed), packages/cli/src/lib/binary.ts (167), packages/cli/src/lib/delta-upgrade.ts (170), packages/cli/src/lib/errors.ts (8), packages/cli/src/lib/ghcr.ts (111), packages/cli/src/lib/release-notes.ts (134), packages/cli/src/lib/upgrade.ts (467), packages/cli/src/lib/version-check.ts (21), packages/cli/test/commands/cli.test.ts (40), packages/cli/test/commands/cli/upgrade.test.ts (342), packages/cli/test/lib/binary.test.ts (145), packages/cli/test/lib/delta-upgrade.mocked.test.ts (14), packages/cli/test/lib/delta-upgrade.test.ts (220), packages/cli/test/lib/ghcr.test.ts (139), packages/cli/test/lib/release-notes.test.ts (221), packages/cli/test/lib/upgrade.test.ts (614), and packages/cli/test/lib/version-check.test.ts (125)./home/byk/.local/share/opencode/tool-output/tool_0898dc051001SVnXgb3oAaSOl5..lore.md, open a PR, review, and merge; inspect package.json and lockfile diffs, verify peer dependency ranges, avoid unrelated churn, verify the branch tracks the correct remote, push to the correct PR branch, close redundant or duplicate PRs such as Dependabot replacements, ensure all CI checks are green, rerun flaky jobs when needed, and merge only once everything is clean.typeof api === 'function', particularly for newer APIs such as zlib.zstdCompress, to prevent import-time crashes on older Node.js versions.src/cli.ts, SENSITIVE_ARGV_FLAGS = new Set(['token', 'auth-token']); redactArgv() must replace their values with [REDACTED] before any telemetry call, and raw process.argv must never be sent to telemetry without first passing through redactArgv().src/commands/cli/setup.ts must never crash setup. bestEffort(stepName, fn) wraps each step independently in try/catch; failures call warn(stepName, error) and captureException(error, { level: 'warning', tags: { 'setup.step': stepName } }). runConfigurationSteps() applies bestEffort() independently to all 4 steps.$SENTRY_INSTALL_DIR; 2. ~/.local/bin if it exists and is in PATH; 3. ~/bin if it exists and is in PATH; 4. ~/.sentry/bin as fallback. The welcome message is shown only for a fresh install, not upgrades.malformed_chain, cache hit versus miss, and in-memory versus disk..download directly—rather than starting with broad refactors.fix/* branch, the branch should be pushed and a PR opened immediately, often with the gh CLI, without manually merging or waiting locally; subsequent work should monitor CI, identify dependent-repository follow-ups, and flag unintended changes such as generated .lore.md.