Files
sisi/done/dependency-upgrade.md
T
swaitsandClaude Fable 5.2 2fc1fe9c2d
ci / tests (macos-latest, python 3.11) (push) Canceled after 0s
ci / tests (macos-latest, python 3.13) (push) Canceled after 0s
ci / tests (macos-latest, python 3.9) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.11) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.13) (push) Canceled after 0s
ci / tests (ubuntu-latest, python 3.9) (push) Canceled after 0s
sisi 0.1.0: a shared rulebook and verification tool for AI coding agents
Contracts with a ladder of checks, an end-of-turn gate, retrospectives and
shared lessons, time-to-delivery measurement, a library of 140 verification
techniques and 20 recipes, personal data kept outside the clone, and
releases with rollback. Standard library only.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-22 22:29:02 -07:00

33 lines
2.1 KiB
Markdown

---
id: dependency-upgrade
title: Upgrading a dependency or toolchain
applies_to: Raising the version of a library, framework, runtime or compiler the project depends on.
---
## Done means
- The project builds from a clean checkout with the new version pinned in the lockfile, on every supported platform.
- The whole test suite passes without any test being weakened, skipped or edited just to pass.
- Behaviour changes the upgrade introduced are read from its changelog, decided on, and either handled or ruled out.
- The new version has no known vulnerability, an allowed licence and a trusted source, and the transitive changes were looked at.
- Public output (formats, error text, API) that users rely on did not change unnoticed.
- Notices and size are current.
## Checks
- Builds and tests: `clean-clone-build`, `cross-platform-matrix` (real-world), `single-gate-command` (completeness), rung 3.
- Behaviour is unchanged: `differential-old-vs-new` (many-inputs), rung 2; `characterization-tests`, `golden-files-hand-verified`, `baseline-before-change` (regression).
- Public interface: `api-semver-rust`, `api-surface-typescript`, `api-breaking-schema` (regression).
- Security and legal: `dependency-audit-rust` or `dependency-audit-general`, `licence-notices` (safety).
- Compiler and lints: `rust-lints-strict`, `zero-warnings` (regression).
- Speed and size: `perf-regression`, `size-budget`.
- Tests can fail: `mutation-on-diff` for any test you changed.
## Common false finishes
- The lockfile was not committed, or `cargo update` / `npm update` moved many packages, and only the target was reviewed.
- Tests pass because deprecated-behaviour tests were skipped or snapshots were regenerated; read those diffs.
- Compile warnings about deprecated use were left, which become errors next release.
- It was only built on the author's platform.
- A transitive dependency changed licence, pulled in a yanked version, or added unsafe code.
- The changelog was not read; a changed default (timeouts, parsing strictness, rounding) does not break tests.
- A pin was loosened to make the resolver pass.
- Release notes were summarised from memory rather than read.