From b17106afab4e6c7c7a520213f269c7fa2fe90dbf Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sat, 5 Sep 2026 12:12:58 +0200 Subject: [PATCH] Record the release checklist and the later data de-duplication --- .gitignore | 3 +-- todo.md | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 todo.md diff --git a/.gitignore b/.gitignore index 28f4f54..5995de4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ .claude *.out -__pycache__/ -todo.md \ No newline at end of file +__pycache__/ \ No newline at end of file diff --git a/todo.md b/todo.md new file mode 100644 index 0000000..e38f182 --- /dev/null +++ b/todo.md @@ -0,0 +1,28 @@ +# Release checklist + +What to settle before the first tag, then the work that follows in a later, +data-heavy release. + +## Before the first release — settle the record flag and API contract + +- `--format` vocabulary — confirm `text`, `json`, `ndjson`, `csv`, `sql`; the + `json`-as-array vs `ndjson`-as-lines split; `--table` (the SQL INSERT target); + the `--separator` rejection on record formats; and the exit codes (misuse 2, + runtime 1). +- Library surface — confirm `Record`, `FakeRecord`, `NewRecordTemplate`, + `RecordTemplate`, `Column`/`Columns()`, and the `JSON()`, `CSVHeader()`, + `CSVLine()`, `SQLInsert()` serializers. +- Typed scalars — columns are strings today (`"42"`, quoted SQL). Confirm that + stays out of scope, or add a per-column `kind` before the tag. +- Struct-filling — `fake:"..."` tags (reflection over an arbitrary struct) stay + out of scope; `Columns()` hands the caller the values to map themselves. + Confirm. +- Independent reference draw — within one record every tailed reference to a + category is one draw, with no spelling for "these columns should disagree". + Confirm the per-record contract, or add the spelling. + +## Later, in a data-heavy release + +- Shipped-data de-duplication — `email.json`'s `local` is a drifted copy of + `username.json`; fold it in when the shipped set grows and we add lots more + data. -- 2.52.0