tools, instructions: Abhängigkeiten - Tests biegen config-Pfade über set_config_path um (pytest 9.2), Teardown-Wache; Befehlsreferenz mit typer 0.29 neu erzeugt, typer>=0.29.1, kein click mehr in Tests (#243); 10.2.0-beta.2
CI / verify (push) Successful in 8m31s
CI / pwsh (push) Successful in 2m51s
Converters / converters (push) Successful in 9m42s
Release / converters (push) Successful in 26s
Release / release (push) Successful in 41s
Release / wiki-mirror (push) Skipped

Files changed:
- CHANGES.md
- VERSION
- docs/reference/commands/configuration.md
- docs/reference/commands/content-migrations.md
- docs/reference/commands/distribution-and-versioning.md
- docs/reference/commands/exports.md
- docs/reference/commands/finding-and-checking.md
- docs/reference/commands/git.md
- docs/reference/commands/pages.md
- docs/reference/commands/raw-material-and-uploads.md
- docs/reference/commands/types-instructions-and-docs.md
- instructions/dev/testing-conventions.md
- tools/chemenu/config.py
- tools/chemenu/tests/conftest.py
- tools/chemenu/tests/test_api.py
- tools/chemenu/tests/test_backup.py
- tools/chemenu/tests/test_cite_cmd.py
- tools/chemenu/tests/test_collect.py
- tools/chemenu/tests/test_config_shapes.py
- tools/chemenu/tests/test_conventions.py
- tools/chemenu/tests/test_corpus_cache.py
- tools/chemenu/tests/test_dist_cmd.py
- tools/chemenu/tests/test_dist_upgrade.py
- tools/chemenu/tests/test_docs_verify.py
- tools/chemenu/tests/test_doctor.py
- tools/chemenu/tests/test_export_guidelines.py
- tools/chemenu/tests/test_export_run.py
- tools/chemenu/tests/test_git_publish.py
- tools/chemenu/tests/test_hermetic_env.py
- tools/chemenu/tests/test_install_doc.py
- tools/chemenu/tests/test_instructions_cmd.py
- tools/chemenu/tests/test_kb_collections.py
- tools/chemenu/tests/test_legacy_settings.py
- tools/chemenu/tests/test_lint.py
- tools/chemenu/tests/test_log_append.py
- tools/chemenu/tests/test_migrate_cmd.py
- tools/chemenu/tests/test_new_page.py
- tools/chemenu/tests/test_page_ops.py
- tools/chemenu/tests/test_pipeline_l0.py
- tools/chemenu/tests/test_preflight.py
- tools/chemenu/tests/test_provenance.py
- tools/chemenu/tests/test_reference_doc.py
- tools/chemenu/tests/test_review.py
- tools/chemenu/tests/test_settings.py
- tools/chemenu/tests/test_task_cmd.py
- tools/chemenu/tests/test_telemetry_policy.py
- tools/chemenu/tests/test_toc.py
- tools/chemenu/tests/test_touch.py
- tools/chemenu/tests/test_upload_cmd.py
- tools/chemenu/tests/test_version_cmd.py
- tools/chemenu/tests/test_work_cmd.py
- tools/requirements.txt

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015uxGFdBAmyA23g1isCtGEY
This commit is contained in:
torbenandClaude Opus 5.5 committed 2026-11-18 15:52:24 +01:00
1 parent 832056a0b0
commit 0fce67e6b9
52 files changed
+546 -337

No files matched your search

+2 -2
View File
@@ -23,8 +23,8 @@ Set one value of the tiered settings, in the file its tier names.
```text
Arguments:
key <section>.<field> [required]
value The plain value; a string as given, anything else as JSON.
key <str> <section>.<field> [required]
value <str> The plain value; a string as given, anything else as JSON.
Options:
--ref <str> A reference instead of a value: <name> or
@@ -118,7 +118,7 @@ Compare `kb/` against a git revision on the invariants a content migration must
```text
--from <str> Git revision to compare against, e.g. HEAD [required]
--path <str> Limit to a subtree, repeatable (e.g. kb/concepts)
--path <list[str]> Limit to a subtree, repeatable (e.g. kb/concepts)
--expect-body-change Also report pages whose body did not change at all
--json Print the diff as JSON
--fail-on-error Exit 1 if any invariant changed
@@ -173,7 +173,7 @@ Record one migration as applied, advancing `kb_version` in `.wikitool-kb.json`.
```text
Arguments:
version The migration's target version, e.g. 1.4.0 [required]
version <str> The migration's target version, e.g. 1.4.0 [required]
Options:
--pages <int> How many pages it touched
@@ -227,7 +227,7 @@ Declare `kb_version` once, for an instance predating `.wikitool-kb.json`.
```text
Arguments:
version The shape this instance's content is already in [required]
version <str> The shape this instance's content is already in [required]
Options:
--force Overwrite an existing declaration (not a substitute for `done`)
@@ -29,8 +29,8 @@ Write a contentless, distributable copy of this repo's machinery.
```text
Arguments:
target Directory to write the distribution into. Must not exist, or must be
empty. [required]
target <path> Directory to write the distribution into. Must not exist, or
must be empty. [required]
Options:
--dry-run List what would be written, without writing anything.
@@ -98,8 +98,8 @@ Take shipped templates as this instance's own: copy each to its unsuffixed name.
```text
Arguments:
templates... Templates to adopt. Default: every collection contract and page
type-spec template.
templates... <list[Path]> Templates to adopt. Default: every collection
contract and page type-spec template.
Options:
--dry-run List what would be copied, without writing anything.
@@ -154,29 +154,30 @@ Apply a stack update `dist export` produced - the write half of `version check`.
```text
Arguments:
source An extracted distribution directory, or a release .tar.gz archive - or
use --latest
source <path> An extracted distribution directory, or a release .tar.gz
archive - or use --latest
Options:
--latest Download the release the feed announces as latest
instead of naming a <source>
--expect <str> With --latest: refuse, before downloading anything,
unless the feed's latest release is this version (the
one `version notes` was read for)
--dry-run Classify and report, without writing anything
--keep-local Proceed even with locally changed files - leave each one
untouched rather than aborting
--take-release <str> Overwrite this locally changed path with the release's
version, discarding the local change. Repeatable, and
each path must be one this run reports as locally
changed. The counterpart to --keep-local, which keeps
the change and reports it again on every future upgrade
--prune Accepted and ignored: files the new release no longer
ships are now deleted by default when unchanged since
install
--pre Allow a pre-release (-beta.N) source tree - release.yml
never publishes one
-h, --help Show this message and exit.
--latest Download the release the feed announces as latest
instead of naming a <source>
--expect <str> With --latest: refuse, before downloading
anything, unless the feed's latest release is this
version (the one `version notes` was read for)
--dry-run Classify and report, without writing anything
--keep-local Proceed even with locally changed files - leave
each one untouched rather than aborting
--take-release <list[str]> Overwrite this locally changed path with the
release's version, discarding the local change.
Repeatable, and each path must be one this run
reports as locally changed. The counterpart to
--keep-local, which keeps the change and reports
it again on every future upgrade
--prune Accepted and ignored: files the new release no
longer ships are now deleted by default when
unchanged since install
--pre Allow a pre-release (-beta.N) source tree -
release.yml never publishes one
-h, --help Show this message and exit.
```
**Examples**
@@ -503,8 +504,8 @@ List the running candidate's bump titles with their impact grade, or change one
```text
Arguments:
indices... 1-based positions in the rendered bump list to regrade (see the
bare listing). Omit to just list.
indices... <list[int]> 1-based positions in the rendered bump list to regrade
(see the bare listing). Omit to just list.
Options:
--impact <str> high|medium|low - required together with indices
+14 -14
View File
@@ -22,19 +22,19 @@ Render the guideline pages into one generated `GUIDELINES.md`, or push it into t
**Options**
```text
-f, --field <str> Frontmatter predicate, repeatable (AND) - the same forms
as `search --field`.
--kind <str> Shorthand for --field kind=<value>.
--subtype <str> Shorthand for --field subtype=<value>.
--collection <str> Shorthand for --field collection=<value>.
--tag <str> Shorthand for --field tags=<value>.
--push Write the file into the captured repositories (Guideline
Push Gate).
--bundle <path> Only the repository of this captured bundle under raw/;
repeatable.
--confirm <str> The token from a prior exit 42, once a human has approved
it.
-h, --help Show this message and exit.
-f, --field <list[str]> Frontmatter predicate, repeatable (AND) - the same
forms as `search --field`.
--kind <str> Shorthand for --field kind=<value>.
--subtype <str> Shorthand for --field subtype=<value>.
--collection <str> Shorthand for --field collection=<value>.
--tag <str> Shorthand for --field tags=<value>.
--push Write the file into the captured repositories
(Guideline Push Gate).
--bundle <list[Path]> Only the repository of this captured bundle under
raw/; repeatable.
--confirm <str> The token from a prior exit 42, once a human has
approved it.
-h, --help Show this message and exit.
```
**Examples**
@@ -94,7 +94,7 @@ Write the derived, read-only reading copy of `kb/` into the folders the `export`
```text
Arguments:
[TARGET]... Targets to run; default: every configured target.
[TARGET]... <list[str]> Targets to run; default: every configured target.
Options:
-h, --help Show this message and exit.
+19 -19
View File
@@ -88,27 +88,27 @@ Find pages in `kb/` by text and/or frontmatter.
```text
Arguments:
text Text to search for. Omit it to run a pure frontmatter query.
text <str> Text to search for. Omit it to run a pure frontmatter query.
Options:
-f, --field <str> Frontmatter predicate, repeatable (AND). Forms:
field=value, field~substring, 'field>=value', 'field:*'
(present), '!field' (absent).
--kind <str> Shorthand for --field kind=<value>.
--subtype <str> Shorthand for --field subtype=<value>.
--collection <str> Shorthand for --field collection=<value>.
--tag <str> Shorthand for --field tags=<value>.
--regex Treat the query as a regex. Off by default: terms are
literal.
--limit <int> Maximum number of results. 0 for no limit. A capped result
says so. [default: 50]
--sort <str> Sort by a result field; prefix with '-' to reverse, e.g.
-modified.
--backend <str> Search backend(s), comma-separated. Default 'rg' (or
$WIKITOOL_SEARCH_BACKEND).
--matches Print the matching lines under each result.
--json Print the results as JSON.
-h, --help Show this message and exit.
-f, --field <list[str]> Frontmatter predicate, repeatable (AND). Forms:
field=value, field~substring, 'field>=value',
'field:*' (present), '!field' (absent).
--kind <str> Shorthand for --field kind=<value>.
--subtype <str> Shorthand for --field subtype=<value>.
--collection <str> Shorthand for --field collection=<value>.
--tag <str> Shorthand for --field tags=<value>.
--regex Treat the query as a regex. Off by default: terms are
literal.
--limit <int> Maximum number of results. 0 for no limit. A capped
result says so. [default: 50]
--sort <str> Sort by a result field; prefix with '-' to reverse,
e.g. -modified.
--backend <str> Search backend(s), comma-separated. Default 'rg' (or
$WIKITOOL_SEARCH_BACKEND).
--matches Print the matching lines under each result.
--json Print the results as JSON.
-h, --help Show this message and exit.
```
**Examples**
+1 -1
View File
@@ -101,7 +101,7 @@ Reconcile with `<remote>/<branch>`, then stage all changes, commit, and push.
at/above which clearance is required. [default: 10]
--remote <str> Git remote to push to [default: origin]
--branch <str> Branch to push [default: main]
--path <str> Limit this publish to a path (repeatable). Lets a
--path <list[str]> Limit this publish to a path (repeatable). Lets a
large change be committed in reviewable batches
instead of one opaque commit - the Mass-Update Gate
then counts only the files in scope.
+37 -35
View File
@@ -33,23 +33,24 @@ Scaffold a new wiki page of any type.
```text
Arguments:
type_name Type name, e.g. entity|concept|source|comparison (see `wikitool
types list`) [required]
type_name <str> Type name, e.g. entity|concept|source|comparison (see
`wikitool types list`) [required]
Options:
--name <str> Page title (a type's title_prefix is added automatically)
[required]
--type <str> Override the type-spec path (defaults to the one named by
TYPE_NAME)
--set <str> Frontmatter field, repeatable: --set entity_type=tool --set
tags=a,b. Array values split on commas (escape a literal one as
\,); repeating --set for an array field appends instead of
replacing
--resume `project` only: confirm a human has completed the manual tracker
step an earlier HumanInterventionRequired refusal asked for, so
this run continues to page creation instead of refusing the now-
existing tracker project as a collision.
-h, --help Show this message and exit.
--name <str> Page title (a type's title_prefix is added automatically)
[required]
--type <str> Override the type-spec path (defaults to the one named by
TYPE_NAME)
--set <list[str]> Frontmatter field, repeatable: --set entity_type=tool --set
tags=a,b. Array values split on commas (escape a literal
one as \,); repeating --set for an array field appends
instead of replacing
--resume `project` only: confirm a human has completed the manual
tracker step an earlier HumanInterventionRequired refusal
asked for, so this run continues to page creation instead
of refusing the now-existing tracker project as a
collision.
-h, --help Show this message and exit.
```
**Examples**
@@ -302,26 +303,27 @@ Bump a page's `modified:` date and optionally rewrite its other frontmatter fiel
**Options**
```text
--page <str> Exact page title, e.g. 'Docker Cheatsheet' [required]
--summary <str> Replace the page's 1-line summary
--provenance <str> Replace the page's provenance marker
(sourced|general|mixed)
--date <str> Date to record (YYYY-MM-DD). `modified:` defaults to
today; a source's `date:` is its publication date and
changes only when given here.
--set <str> Replace a frontmatter field, repeatable: --set tags=a,b.
Array values split on commas (escape a literal one as \,);
repeating --set for one array field appends within this
call. Page-reference fields belong to `xref`, not here
--add <str> Append elements to an array field without naming the whole
list: --add tags=x. Elements already present are left
alone
--remove <str> Drop elements from an array field: --remove tags=x.
Removing an absent element succeeds and says so
--no-date Only change the given fields; leave the modified/date
field alone
--dry-run Preview the new frontmatter instead of writing
-h, --help Show this message and exit.
--page <str> Exact page title, e.g. 'Docker Cheatsheet' [required]
--summary <str> Replace the page's 1-line summary
--provenance <str> Replace the page's provenance marker
(sourced|general|mixed)
--date <str> Date to record (YYYY-MM-DD). `modified:` defaults to
today; a source's `date:` is its publication date and
changes only when given here.
--set <list[str]> Replace a frontmatter field, repeatable: --set tags=a,b.
Array values split on commas (escape a literal one as
\,); repeating --set for one array field appends within
this call. Page-reference fields belong to `xref`, not
here
--add <list[str]> Append elements to an array field without naming the
whole list: --add tags=x. Elements already present are
left alone
--remove <list[str]> Drop elements from an array field: --remove tags=x.
Removing an absent element succeeds and says so
--no-date Only change the given fields; leave the modified/date
field alone
--dry-run Preview the new frontmatter instead of writing
-h, --help Show this message and exit.
```
**Examples**
@@ -35,7 +35,7 @@ Capture a web page the user names into `incoming/`: the HTML as received plus a
```text
Arguments:
url The http(s) URL to fetch
url <str> The http(s) URL to fetch
Options:
--html <path> Derive the text from this HTML file under incoming/ (saved from
@@ -117,7 +117,7 @@ Let the user sign in to a website once, in a visible browser window, and store t
```text
Arguments:
host The website's host, such as www.example.org [required]
host <str> The website's host, such as www.example.org [required]
Options:
-h, --help Show this message and exit.
@@ -172,7 +172,7 @@ Derive reading text from a PDF, e-mail, Office file or web page in `incoming/`,
```text
Arguments:
path A file or a folder directly in incoming/ [required]
path <path> A file or a folder directly in incoming/ [required]
Options:
--name <str> Folder stem for a single file instead of the file's own stem
@@ -237,13 +237,13 @@ Write the operator's answers to an ingest's questions about a source as a compan
```text
Arguments:
entry A file or folder directly in incoming/ (omit with --page)
entry <path> A file or folder directly in incoming/ (omit with --page)
Options:
--item <str> One answer, one line; repeat for more
--page <str> Clarify the source of this existing page instead of an entry of
incoming/
-h, --help Show this message and exit.
--item <list[str]> One answer, one line; repeat for more
--page <str> Clarify the source of this existing page instead of an
entry of incoming/
-h, --help Show this message and exit.
```
**Examples**
@@ -295,19 +295,19 @@ Capture documentation from a git repository into `incoming/<bundle>/`, with a ma
```text
Arguments:
repo_url The repository URL (ssh://, https:// or user@host:path)
repo_url <str> The repository URL (ssh://, https:// or user@host:path)
Options:
--ref <str> A branch name (main) or a tag pattern (v*)
--path <str> A glob over the repository's paths; repeatable
--name <str> The bundle name - the folder in incoming/ and under raw/
--fidelity <str> How faithful the capture is (see `wikitool types describe
source`)
--authority <str> What the material may claim about its subject (see
`wikitool types describe source`)
--update <path> Capture the current state of this captured bundle under
raw/, from its own manifest
-h, --help Show this message and exit.
--ref <str> A branch name (main) or a tag pattern (v*)
--path <list[str]> A glob over the repository's paths; repeatable
--name <str> The bundle name - the folder in incoming/ and under raw/
--fidelity <str> How faithful the capture is (see `wikitool types describe
source`)
--authority <str> What the material may claim about its subject (see
`wikitool types describe source`)
--update <path> Capture the current state of this captured bundle under
raw/, from its own manifest
-h, --help Show this message and exit.
```
**Examples**
@@ -470,9 +470,9 @@ Promote one or more files, or one folder, from `incoming/` into `raw/`.
```text
Arguments:
files... One or more files directly in incoming/, all belonging to the same
source - or one folder in incoming/, accepted whole as one source
[required]
files... <list[Path]> One or more files directly in incoming/, all belonging
to the same source - or one folder in incoming/,
accepted whole as one source [required]
Options:
--fidelity <str> How faithful the capture is (see `wikitool types
@@ -571,7 +571,8 @@ Pull material from the configured `folder` and `command` intake channels into th
```text
Arguments:
names... Channels to collect from; all pulled channels when none is named
names... <list[str]> Channels to collect from; all pulled channels when none
is named
Options:
-h, --help Show this message and exit.
@@ -674,7 +675,7 @@ Print one submission's manifest in full.
```text
Arguments:
submission_id A submission id from `upload list` [required]
submission_id <str> A submission id from `upload list` [required]
Options:
--json
@@ -724,7 +725,7 @@ tools/wikitool upload show <id>
```text
Arguments:
submission_id A submission id from `upload list` [required]
submission_id <str> A submission id from `upload list` [required]
Options:
--confirm <str> The token from a prior refusal, once a human has reviewed it
@@ -779,7 +780,7 @@ Delete a submission's material, keeping only its ledger trail.
```text
Arguments:
submission_id A submission id from `upload list` [required]
submission_id <str> A submission id from `upload list` [required]
Options:
--reason <str> Why this submission was declined [required]
@@ -73,7 +73,7 @@ Print one type's full contract.
```text
Arguments:
name Type name, e.g. 'entity' (see `types list`) [required]
name <str> Type name, e.g. 'entity' (see `types list`) [required]
Options:
--json Print raw findings as JSON