Commit 1cc4758
committed
docs: fold osv-sync ADRs into the living oss-packages ADR
Joana introduced docs/adr/0001-oss-packages-design-decisions.md
(PR #4151, merged 2026-05-27) as the single living record for the
oss-packages domain, with one section per decision and a Changelog
at the bottom. Our slice landed three standalone ADRs (0003 / 0005
/ 0006) before that consolidation merged. This rebases them into
her structure.
Folded into ADR-0001:
- CVSS scoring strategy (was ADR-0005) — inline v3.1, qualitative
fallback, v4 deferred, Scope-metric validation. Adjacent to
§OSV.
- has_critical_vulnerability semantics (was ADR-0003) — option (b)
+ MAL- override, comparator-driven derivation, idempotent
recompute. Resolves the prior open question on this flag.
- advisory_affected_ranges uniqueness scope (was ADR-0006) — full
tuple unique index restores the "no denormalization" invariant.
Other changes:
- Updated the Scope and current status table at the top of ADR-0001
to list the three new decisions and remove the "flag deferred"
qualifier on OSV.
- Removed the open question on has_critical_vulnerability — now
decided in §has_critical_vulnerability semantics.
- Added a 2026-05-28 Changelog entry documenting the fold and the
removal of standalone ADR-0004 (Temporal vs standalone-bin —
superseded by §Worker architecture before merge).
- Rewrote all in-tree ADR cross-references (6 source files, 3
migration SQL files) to point at the new section anchors instead
of the removed standalone ADR ids.
- Updated docs/adr/README.md to list only ADR-0001 (matches Joana's
intent in PR #4151).
All 68 unit tests still pass.
Signed-off-by: Joan Reyero <joan@reyero.io>1 parent 0898c23 commit 1cc4758
14 files changed
Lines changed: 182 additions & 337 deletions
File tree
- backend/src/osspckgs/migrations
- docs/adr
- services/apps/packages_worker/src/osv
- __tests__
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
0 commit comments