tools, instructions: Begleitdatei - raw clarify legt Präzisierungen des Operators als <stem>.clarifications.md beim Original ab, pending/accept bündeln sie (#241); 10.2.0-beta.1
CI / verify (push) Failing after 12m29s
CI / pwsh (push) Failing after 3m9s
Release / converters (push) Successful in 29s
Release / release (push) Successful in 39s
Release / wiki-mirror (push) Skipped

Files changed:
- CHANGES.md
- VERSION
- docs/how-to/ingest-a-source.md
- docs/reference/commands/README.md
- docs/reference/commands/raw-material-and-uploads.md
- instructions/wiki-ingest/SKILL.md
- raw/CONTRACT.md
- tools/CONTRACT.md
- tools/chemenu/cli_contract.py
- tools/chemenu/commands/raw/__init__.py
- tools/chemenu/commands/raw/_common.py
- tools/chemenu/commands/raw/clarify.py
- tools/chemenu/commands/raw/pending.py
- tools/chemenu/tests/test_raw_clarify.py
- types/source.guidance.md

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015uxGFdBAmyA23g1isCtGEY
This commit is contained in:
torbenandClaude Sonnet 5.5 committed 2026-11-18 06:45:00 +01:00
1 parent 55ddf652cb
commit 832056a0b0
15 files changed
+650 -11

No files matched your search

+24
View File
@@ -95,6 +95,25 @@ That is what keeps the clean-up safe: only directories the moves emptied are rem
can go with them. A file *inside* a subdirectory is never accepted on its own; the refusal names
both ways out - the whole folder, or the file moved up into `incoming/`.
**What the operator answers about a source goes beside it, not into a second source.** An ingest
often has one question only the operator can answer - the date of a recorded meeting, who took
part, an abbreviation. `tools/wikitool raw clarify incoming/<entry> --item "..."` writes the
answers as a companion file in `incoming/`: `<stem>.clarifications.md` beside a file or stem
bundle, `clarifications.md` inside a folder (`-2`, `-3` before the extension when the name is
taken). Name and place are computed; the file starts with a fixed header and holds one bullet per
`--item`, word for word. `raw pending` counts `<stem>.clarifications.md` with its original as one
`bundle`, and `raw accept` promotes both together under `raw/<YYYY>/<MM>/<stem>/`, named after the
original whatever order the files are passed in. A companion file with no original - neither in
the call nor, with `--page`, among the page's `raw_files:` - is refused: a clarification of
nothing is not a source. For a source already in `raw/`, `raw clarify --page "<Title>"` writes the
file to `incoming/` and prints the `raw accept --page` line that folds it into the bundle. Only
what the ingest session asked about *this* source and the operator answered in a few points
belongs in it - context of the recording, an abbreviation, a transcription error; what the
operator adds unprompted, or says about a subject of its own, is a source of its own. The file
sits in `raw/`, is listed in the page's `raw_files:` and is cited like any raw file, so it is
within [`kb/CONTRACT.md`](../kb/CONTRACT.md)'s source and provenance rules rather than an
exception to them.
**An export never comes back in.** A file that carries the stack's export marker is this stack's
own output and `raw accept` refuses it, given on its own, inside a folder, or as
`--replaces`/`--replaces-bundle` material, naming each one. The marker is either a first line
@@ -624,6 +643,11 @@ OK Promoted 1 file(s) to raw/2026/09/handbuch.pdf.
--set source_type=<category>
```
**A clarification inherits the pair of its bundle.** A bundle has exactly one
`fidelity`/`authority` pair, so a `<stem>.clarifications.md` promoted with a `published` +
`normative` source formally carries `normative` too. That is accepted: its fixed header marks it
as the operator's own statement, and what may go in it is limited to context of the recording.
**Fixed once, correctable only as a new edition.** `wikitool touch --set fidelity=<value>` writes
a capture field only while it is absent; once set, it refuses and points at the one sanctioned way
to correct it - `raw accept --replaces`, which alone may pass `--fidelity`/`--authority` to