Skip to content

feat(import): the sorting recognises a record of risk zones, sets it aside and raises an alert - #1206

Merged
PCRinus merged 3 commits into
mainfrom
feat/import-detects-risk-zones-record
Nov 23, 2026
Merged

PCRinus merged 3 commits into
mainfrom
feat/import-detects-risk-zones-record

Conversation

@PCRinus

@PCRinus PCRinus commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Before testers start importing their own packs, we want to know whether any pack holds a record of high and specific risk zones (the 9.2 of ADR 045). The import doesn't read one yet.

  • Sorting: a new kind, risk_zones_record. Only a file that is that record on its own gets it; a risk assessment, plan or decision that mentions zones keeps its own kind. The file is set aside and not read, and a member can still send it back to be read.
  • Alert: a new Discord rule, "Risk zones record found", sends the import and organization ids and "file N of M, risk zones record", with no names or values (ADR 037). The daily summary counts the imports with one.
  • ADR 037: a dated amendment records this.

No migration: document_kind is plain text.

Evidence

No visible change except the set-aside reason in the import review. Unit tests pass for import, api, app and admin; lint, typecheck and check:generated are clean.

@PCRinus
PCRinus merged commit d392fca into main Nov 23, 2026
4 checks passed
@PCRinus
PCRinus deleted the feat/import-detects-risk-zones-record branch November 23, 2026 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant