diff --git a/tests/extract/remote/test_hub_repository_not_found.py b/tests/extract/remote/test_hub_repository_not_found.py
index 1333ef528..b35573d15 100644
--- a/tests/extract/remote/test_hub_repository_not_found.py
+++ b/tests/extract/remote/test_hub_repository_not_found.py
@@ -14,7 +14,7 @@
The answers are ``huggingface_hub``'s own exceptions, raised by its
``hf_raise_for_status`` from the responses the Hub was measured to send
-(working-docs/implementation/pre-release-review-0.25.0.md, "CLI-7").
+(working-docs/implementation/remote-fetch-policy.md, "Measured"; #561).
See also: tests/extract/remote/test_hub_api.py (the other failures),
tests/extract/remote/test_hub_repository_not_found_live.py (the real Hub)
diff --git a/working-docs/design/known-bugs.md b/working-docs/design/known-bugs.md
index 2de527c10..bacfc5e8b 100644
--- a/working-docs/design/known-bugs.md
+++ b/working-docs/design/known-bugs.md
@@ -1,6 +1,6 @@
---
Created: 2026-10-03
-Last-Modified: 2026-12-03
+Last-Modified: 2026-12-04
SPDX-FileCopyrightText: 2026-present Arthit Suriyawongkul
SPDX-FileType: DOCUMENTATION
SPDX-License-Identifier: CC0-1.0
@@ -61,13 +61,13 @@ lists its open entries first, ranked as described under
| [AI model readers and metadata](known-bugs/ai-models-readers-and-metadata.md) | - | - | - | 32 | 9 | - | 41 | - |
| [AI model readers and metadata, fixed](known-bugs/ai-models-readers-and-metadata-fixed.md) | - | - | - | - | - | - | - | 28 |
| [Licences and LicenseID](known-bugs/licences-and-licenseid.md) | - | - | 3 | 2 | 10 | - | 15 | 21 |
-| [ID registry and identity](known-bugs/id-registry-and-identity.md) | - | 1 | - | - | 13 | 1 | 15 | 15 |
-| [Messages, catalogue and provenance](known-bugs/messages-and-provenance.md) | - | - | - | 2 | 21 | - | 23 | 20 |
-| [Remote sources, Git LFS and datasets](known-bugs/remote-sources-lfs-and-datasets.md) | - | - | - | - | 24 | - | 24 | 12 |
-| [Extraction, fragments and merge](known-bugs/extraction-and-fragments.md) | - | - | 4 | 8 | 21 | - | 33 | 14 |
-| [CLI, Action, hook and wheel](known-bugs/surfaces-hook-and-wheel.md) | - | - | - | 6 | 9 | 2 | 17 | 6 |
-| [Process, tooling and release checks](known-bugs/process-tooling-and-release-checks.md) | - | - | - | 2 | 9 | - | 11 | 11 |
-| **Total** | **-** | **1** | **7** | **52** | **116** | **3** | **179** | **127** |
+| [ID registry and identity](known-bugs/id-registry-and-identity.md) | - | 1 | - | - | 18 | 1 | 20 | 15 |
+| [Messages, catalogue and provenance](known-bugs/messages-and-provenance.md) | - | - | - | 2 | 29 | - | 31 | 20 |
+| [Remote sources, Git LFS and datasets](known-bugs/remote-sources-lfs-and-datasets.md) | - | - | - | - | 25 | - | 25 | 12 |
+| [Extraction, fragments and merge](known-bugs/extraction-and-fragments.md) | - | - | 4 | 8 | 22 | - | 34 | 14 |
+| [CLI, Action, hook and wheel](known-bugs/surfaces-hook-and-wheel.md) | - | - | - | 6 | 21 | 2 | 29 | 6 |
+| [Process, tooling and release checks](known-bugs/process-tooling-and-release-checks.md) | - | - | - | 2 | 11 | - | 13 | 11 |
+| **Total** | **-** | **1** | **7** | **52** | **145** | **3** | **208** | **127** |
Open = the `- [ ]` entries plus the Leads, which are plain bullets with no box;
Fixed = the `- [x]` entries. The P and Found columns count `- [ ]` entries only.
diff --git a/working-docs/design/known-bugs/extraction-and-fragments.md b/working-docs/design/known-bugs/extraction-and-fragments.md
index 687c51cc0..335fd30f9 100644
--- a/working-docs/design/known-bugs/extraction-and-fragments.md
+++ b/working-docs/design/known-bugs/extraction-and-fragments.md
@@ -1,6 +1,6 @@
---
Created: 2026-11-02
-Last-Modified: 2026-12-03
+Last-Modified: 2026-12-04
SPDX-FileCopyrightText: 2026-present Arthit Suriyawongkul
SPDX-FileType: DOCUMENTATION
SPDX-License-Identifier: CC0-1.0
@@ -88,8 +88,9 @@ the one list.
space stays (as
0.19.0). Stripping a writer's whole fold width needs telling it from the
text's own indent.
-- [ ] **`loom fragment validate A B` fails on two `loom.run` fragments (S).**
- Both fragments name their creation info `_:CreationInfo0`, so the
+- [ ] **`loom fragment validate A B` fails on two Pitloom documents whose
+ `created` differ (S).** Two `loom.run` fragments, or two `loom model` SBOMs,
+ each name their creation info `_:CreationInfo0`, so the
merged-graph check sees one `CreationInfo` with several `created` values
(14 `ERROR:` lines); each fragment alone, and `--no-merge`, is valid.
`loom merge` of the same three fragments succeeds. The validator is at
@@ -101,7 +102,11 @@ the one list.
nodes (a fresh `BNode()` per label) before the union, then bump the pin.
rdflib 7.6 offers no shortcut: `skolemize=True` gives both documents one
IRI, and a `Dataset` with a named graph per document still yields one
- `BNode('CreationInfo0')`.
+ `BNode('CreationInfo0')`. Upstream: `src/spdx3_validate/core.py:719-722`
+ at the pinned `0e2e3562`; add a test with two such documents, check that
+ a blank node referenced twice within one document stays one node, and
+ leave single-document validation unchanged. Ruled 2026-11-27: the merged
+ check stays, with the caveat in `docs/fragments.md` (`--no-merge`).
- [ ] **Non-directory targets ignore configured fragments.** `loom model`
(and `generate` on a model file), Hugging Face, `wheel`, `env` and sdist
runs never call `merge_fragments()`, so fragments in `--config` or
@@ -295,6 +300,12 @@ the one list.
applies PEP 263 only to a name ending `.py`, so a `.pyw` (also `.pyi`,
`.pyx`) with a latin-1 cookie loses its SPDX tags to a false
`file-unreadable/not-utf8` warning. Follow-up of #645.
+- [ ] **`Homepage` becomes the download location (S).** Found in the
+ 0.25.0 pre-release review (TRY-8; ruled 2026-11-27: next release). With
+ no `Source` in `[project.urls]`, `Homepage` is written as `software_downloadLocation` too
+ (`assemble/spdx3/_document_main_package.py:83`). A home page is no
+ download location: leave it unset (or `NOASSERTION`) without `Source`
+ or a `Download` URL.
## Fixed
diff --git a/working-docs/design/known-bugs/id-registry-and-identity.md b/working-docs/design/known-bugs/id-registry-and-identity.md
index 0018bd3bd..b15d87f97 100644
--- a/working-docs/design/known-bugs/id-registry-and-identity.md
+++ b/working-docs/design/known-bugs/id-registry-and-identity.md
@@ -1,6 +1,6 @@
---
Created: 2026-11-02
-Last-Modified: 2026-12-03
+Last-Modified: 2026-12-04
SPDX-FileCopyrightText: 2026-present Arthit Suriyawongkul
SPDX-FileType: DOCUMENTATION
SPDX-License-Identifier: CC0-1.0
@@ -132,6 +132,36 @@ entries stay in the last section for history.
reservation-exempt keys from the raw name, while `id import` stores the
escaped spelling, so the element's own id is reserved against it and the
rebuild renumbers it and later ids. Build both from one key helper.
+- [ ] **`id generate` refuses a path in another letter case on macOS (S).**
+ Found in the 0.25.0 pre-release review (REG-4). `loom id generate
+
/PTH/src --project-dir /pth` is `outside --project-dir
+ [option-invalid]`: `_resolve_id_generate_path` (`cli/id.py:105-136`) uses
+ `relative_to` then `realpath`, neither folds case. Fall back to an
+ `(st_dev, st_ino)` ancestor match, as `path_key` does.
+- [ ] **An over-cap dataset pin is an `INFO:` with an absolute path (S).**
+ Found in the 0.25.0 pre-release review (REG-5). `loom id generate .
+ --max-dataset-hash-bytes 3 -e data/train.csv:dataset_DatasetPackage` says
+ `INFO: ... FILE=: larger than the 3-byte max-dataset-hash-bytes
+ cap ... [registry-hash-missing]` (`cli/_id_entity.py:138-158`): the
+ run's `over-cap` `WARNING:` is lost, and it names the key, not the flag.
+- [ ] **`registry-wrong-format` shows a Python repr and no action (S).**
+ Found in the 0.25.0 pre-release review (REG-6, TRY-9a). A registry with
+ `"version": null` or `true` gives `version None` / `version True, expected
+ 4 (no migration support)` (`id_registry/_format.py:183`,
+ `messages/_registry_file.py:191`). Show the JSON value; add the remedy the
+ docs give (delete, then `loom id import` the last SBOM).
+- [ ] **A UTF-16 BOM registry is "not valid JSON" (S).** Found in the
+ 0.25.0 pre-release review (CLI-11). A registry starting `FF FE` gives
+ `json-malformed` (`'utf-16-le' codec can't decode ...`):
+ `json.loads(bytes)` (`id_registry/_format.py:144`) detects UTF-16;
+ `--config` says `file-unreadable/not-utf8`. Check UTF-8 first, as the
+ config reader does.
+- [ ] **`IdRegistry` takes a wrong-type argument with a bare error (S).**
+ Found in the 0.25.0 pre-release review (deferred).
+ `IdRegistry.new(1)` and `IdRegistry(1)` raise an uncoded `TypeError`;
+ `lookup`, `get`, `has_name`, `reserve_id`, `promote_alias` and
+ `require_project_root` check no type. Check each public entry with the
+ shared argument helper.
### Leads to verify
diff --git a/working-docs/design/known-bugs/messages-and-provenance.md b/working-docs/design/known-bugs/messages-and-provenance.md
index 3a7c679b8..ec118aa17 100644
--- a/working-docs/design/known-bugs/messages-and-provenance.md
+++ b/working-docs/design/known-bugs/messages-and-provenance.md
@@ -1,6 +1,6 @@
---
Created: 2026-11-02
-Last-Modified: 2026-12-03
+Last-Modified: 2026-12-04
SPDX-FileCopyrightText: 2026-present Arthit Suriyawongkul
SPDX-FileType: DOCUMENTATION
SPDX-License-Identifier: CC0-1.0
@@ -176,6 +176,46 @@ entries stay in the last section for history.
0.25.2 docs sweep: its `model-wrong-format` error quotes the resolved
working directory, while `loom model a/..` quotes `'a/..'` as typed. Quote
the typed path through the shared helper.
+- [ ] **Paths in messages are absolute on some commands, as typed on
+ others (M).** Found in the 0.25.0 pre-release review (CLI-10, MSG-5,
+ TRY-9b, TRY-10, SKL-5). `loom project emptyd` names it resolved
+ (`cli/commands/project.py:141`), `generate` as `'emptyd'`, with no `DIR=`;
+ `PITLOOM_SBOM_OUTPUT_PATH` and `WARNING: Build:` are absolute for
+ `model`/`env` (`model.py:97`). One "as typed" helper; fold `enrich a/..`.
+- [ ] **`-v` misreports option sources and omits options (S).** Found in
+ the 0.25.0 pre-release review (CLI-5). With `SOURCE_DATE_EPOCH` set it
+ prints `OPTION=creation_datetime SOURCE=default VALUE=None`; a found
+ `pyproject.toml` is `config_file SOURCE=command-line`
+ (`cli/verbose.py:67-69,107-108`); no rows for credentials, `offline`,
+ `use_lockfile` or the caps. List every effective option with its source.
+- [ ] **Config and basename messages leak internals or blur causes (S).**
+ Found in the 0.25.0 pre-release review (HOOK-5, TRY-12). The hook says
+ `unknown keys colour` for one key (`messages/_config.py:136`), names a
+ `hatch.toml` table `[tool.hatch.build.hooks.pitloom]` (`_hatch_config.py`)
+ and raises the private `ConfigError`; `sbom-name-invalid` names both
+ causes. Pluralise by count, name the file's table, say the one cause.
+- [ ] **loom SDK refusals are inconsistent (S).** Found in the 0.25.0
+ pre-release review (LIB-13, LIB-14). `loom.run(pitloom_config=5)` and
+ `max_dataset_hash_bytes=True` lack the `loom SDK:` prefix that
+ `output_file` has; `set_model()` outside a run is an uncoded
+ `RuntimeError` (`loom.py:201`); `CredentialPolicy(accepted="sha256:...")`
+ splits the string and does not name `accepted`.
+- [ ] **An argument the subcommand does not take is framed `loom:` (S).**
+ Found in the 0.25.0 pre-release review (CLI-12, DOC-3). `loom model x
+ --debug` prints `ERROR: loom: unrecognized arguments: --debug`: the
+ top-level `parse_args()` (`__main__.py:103`) reports a subcommand's
+ leftovers. Parse known args per subcommand and frame as `loom model:`.
+- [ ] **Action users are advised in CLI flag names (S).** Found in the
+ 0.25.0 pre-release review (MSG-7). `messages/_surface.py:10-13` treats
+ the Action as the CLI, so advice names `--trust-model-files`, not the
+ `trust-model-files` input. By design today; decide whether an Action
+ surface earns its own wording.
+- [ ] **`fetch_pypi_file` does not configure logging (S).** Found in the
+ 0.25.0 pre-release review (deferred): the public entry point never
+ calls `configure_logging()`, which every library entry point must.
+- [ ] **The `credentials-unsafe/git-userinfo` summary says "an empty host"
+ (S).** Found in the 0.25.0 pre-release review (deferred):
+ `messages/_url_credentials_git.py:95` no longer matches the condition.
## Fixed
diff --git a/working-docs/design/known-bugs/process-tooling-and-release-checks.md b/working-docs/design/known-bugs/process-tooling-and-release-checks.md
index 6b779ccc2..ac81b7aa0 100644
--- a/working-docs/design/known-bugs/process-tooling-and-release-checks.md
+++ b/working-docs/design/known-bugs/process-tooling-and-release-checks.md
@@ -1,6 +1,6 @@
---
Created: 2026-11-02
-Last-Modified: 2026-11-30
+Last-Modified: 2026-12-04
SPDX-FileCopyrightText: 2026-present Arthit Suriyawongkul
SPDX-FileType: DOCUMENTATION
SPDX-License-Identifier: CC0-1.0
@@ -78,6 +78,16 @@ the last section for history.
`-n 3` run there (the worker gets the interrupt) and pass serially and in
CI.
*Found 2026-11-05, review of #446.*
+- [ ] **`docs/api.md` omits names the narrative pages point to (S).** Found
+ in the 0.25.0 pre-release review (LIB-12). `CredentialPolicy`,
+ `PitloomConfig`, `RemoteFetchPolicy`, `InternalError` and
+ `CodedValueError` are named in `docs/python-api*.md` but have no `:::`
+ entry, so the test walking `api.md` misses them. Add them, and a test
+ that every library name a page cites is in `api.md`.
+- [ ] **A test holds a literal combining accent (S).** Found in the 0.25.0
+ pre-release review (REG-7). `tests/id_registry/test_registry_nfc.py:30-31`
+ write U+0301 and U+00E9 as raw characters. Use the `\u0301` and
+ `\u00e9` escapes, as CLAUDE.md asks.
## Fixed
diff --git a/working-docs/design/known-bugs/remote-sources-lfs-and-datasets.md b/working-docs/design/known-bugs/remote-sources-lfs-and-datasets.md
index 11074fdc2..88e561b29 100644
--- a/working-docs/design/known-bugs/remote-sources-lfs-and-datasets.md
+++ b/working-docs/design/known-bugs/remote-sources-lfs-and-datasets.md
@@ -1,6 +1,6 @@
---
Created: 2026-11-02
-Last-Modified: 2026-12-03
+Last-Modified: 2026-12-04
SPDX-FileCopyrightText: 2026-present Arthit Suriyawongkul
SPDX-FileType: DOCUMENTATION
SPDX-License-Identifier: CC0-1.0
@@ -169,6 +169,13 @@ entries stay in the last section for history.
checks `looks_like_wheel_path` before `is_huggingface_source`, so
`generate` says the wheel file is not found, `model` reads it as a Hub
model and `project` gives a wrong-format error. Check the Hub first.
+- [ ] **A Hub URL without its scheme is read as a model id (S).** Found in
+ the 0.25.0 pre-release review (Hub follow-up). `loom model
+ huggingface.co/gpt2` is named `https://huggingface.co/huggingface.co/gpt2`
+ with no hint. Refuse a host-shaped owner with a hint to add `https://`.
+ Related, left as ruled with #561: `https://huggingface.co/gpt2/discussions`
+ reads as the model `gpt2/discussions` (`hub-response-invalid`, an SBOM,
+ exit 0), since a page kind with nothing after it is a valid model name.
## Fixed
diff --git a/working-docs/design/known-bugs/surfaces-hook-and-wheel.md b/working-docs/design/known-bugs/surfaces-hook-and-wheel.md
index 65a924efe..0f2e453e2 100644
--- a/working-docs/design/known-bugs/surfaces-hook-and-wheel.md
+++ b/working-docs/design/known-bugs/surfaces-hook-and-wheel.md
@@ -1,6 +1,6 @@
---
Created: 2026-11-02
-Last-Modified: 2026-11-30
+Last-Modified: 2026-12-04
SPDX-FileCopyrightText: 2026-present Arthit Suriyawongkul
SPDX-FileType: DOCUMENTATION
SPDX-License-Identifier: CC0-1.0
@@ -81,6 +81,73 @@ entries come first; fixed entries stay in the last section for history.
- [ ] **The GitHub Action is covered for registry keys only through the CLI
(S).** The Action's own step is not tested for them.
*Found 2026-10-30, from #407 (registry package key).*
+- [ ] **A stdout record puts a path that may hold a space first (S).** Found
+ in the 0.25.0 pre-release review (CLI-4). `verify-wheel` prints
+ `WHEEL=my demo-0.1-py3-none-any.whl STATUS=failed`; same shape at
+ `cli/commands/validate_wheel.py:116`, `_embed_wheel_batch.py:71` and
+ `fragment.py:80,195-196` (`FILE=`, `PATH=`). Move the path pair last, as
+ the CLI output rule asks, and update the skills that parse these lines.
+- [ ] **A configured option a surface cannot act on is dropped silently
+ (M).** Found in the 0.25.0 pre-release review (CLI-6, HOOK-1, TRY-5).
+ `pretty = true` (`embed-wheel`, hook) and `use-lockfile = true` (hook)
+ say nothing: `configured_options()` (`core/inert_options.py:348-362`)
+ lists two keys; `--content-type-method` without `--content-type` is
+ silent too. Cover every key and dependent flag in the inert table.
+- [ ] **`loom generate env` ignores a project directory named `env` (S).**
+ Found in the 0.25.0 pre-release review (CLI-8). With `./env` a project,
+ `loom generate env -o x.json` reads Pitloom's own environment, no
+ warning (`assemble/__init__.py:152`); `./env` reads the directory. Warn
+ when the keyword shadows an existing path, naming the `./env` spelling.
+- [ ] **`--creator-email` takes any string as an email (S).** Found in the
+ 0.25.0 pre-release review (CLI-9). `--creator-email notanemail` is
+ written as an `email` `ExternalIdentifier` with no word
+ (`cli/parser.py:91`). Check the shape at parse (an `@` with text on both
+ sides) and refuse with `option-invalid`, exit 2.
+- [ ] **Some CLI values are checked after parsing: exit 1, not 2 (S).**
+ Found in the 0.25.0 pre-release review (CLI-12). `embed-wheel
+ --sbom-basename a/b` (or `a\nb`, called "not a path") is refused by
+ `checked_embed_basename` (`cli/commands/embed_wheel.py:197`), exit 1,
+ while `''` exits 2; `--max-download-bytes 1_000` and non-ASCII digits
+ pass `int()` (`cli/options.py:236-241`). Check both as argparse `type=`.
+- [ ] **Library generators fail on a wrong-type object argument with a bare
+ error (M).** Found in the 0.25.0 pre-release review (LIB-9).
+ `generate_wheel_sbom(w, creation_metadata=5)` is `AttributeError`,
+ `pitloom_config=5` or `"x"` `TypeError: replace() ...` (`generate()`:
+ `AttributeError`); `generate_model_sbom(pitloom_config={})` is accepted
+ silently. Check them as `loom.run` does (`check_sdk_arguments`).
+- [ ] **`creation_metadata=` replaces the whole creation block (S).** Found
+ in the 0.25.0 pre-release review (LIB-11). A library call passing only a
+ date loses the project's `[[tool.pitloom.creator]]`
+ (`assemble/_generators.py:395`, `creation_metadata or ...`); the CLI's
+ `--creation-datetime` keeps them (`cli/options_resolve.py:141-197`).
+ Merge field by field, as the CLI does.
+- [ ] **An ID registry inside the package is left out of the hook's SBOM
+ (S).** Found in the 0.25.0 pre-release review (HOOK-2). With
+ `src/demo/ids.json`, the wheel ships the file but the SBOM omits it
+ (`plugins/_hatch_document.py:121` `exclude_path`), with a
+ `registry-conflict/file-set` warning. The reason (rewritten after the
+ SBOM, `core/_models_wheel.py:305-309`) does not hold for the hook: keep it.
+- [ ] **A staging-directory failure in the hook is an uncoded error (S).**
+ Found in the 0.25.0 pre-release review (HOOK-3). `mkdtemp`
+ (`plugins/hatch.py:138`) runs outside `coded_write` (`:142`), so an
+ unwritable temp dir gives `ERROR: Pitloom build hook: [Errno 13] ...`
+ with no code; same at `core/temp_dirs.py:65,88`. Wrap the creation in
+ the coded write path (`file-unwritable`).
+- [ ] **The Action counts `embed-wheel` matches unlike loom (S).** Found in
+ the 0.25.0 pre-release review (ACT-1). `action.yml:369,613` use
+ `glob.glob`; loom reads a pattern matching nothing as a literal path, so
+ a wheel at `dist[1]/x.whl` is embedded while the Action warns `matches 0
+ wheels` and sets no `sbom-path`. Read the count from loom's stdout.
+- [ ] **The Action's annotation escape is quadratic on bash 3.2 (S).** Found
+ in the 0.25.0 pre-release review (ACT-2). `line=${line//'%'/%25}`
+ (`action.yml:571`) took 18.5 s on one URL of 10,000 `%`; credential lines
+ print whole URLs. Escape with one `sed` or Python pass per stream.
+- [ ] **Empty library arguments, the leftovers (S).** Found in the 0.25.0
+ pre-release review (deferred). `read_wheel("")` gives
+ `target-wrong-format FILE=.` where the other readers give
+ `input-not-found`; `set_model(path="")` warns at exit instead of refusing;
+ `generate_pypi_sbom(project_dir="")` only warns; a blank creator `email`
+ (config or `Creator(email="")`) is dropped silently. One non-empty rule.
### Leads to verify
diff --git a/working-docs/design/roadmap.md b/working-docs/design/roadmap.md
index d10d5e5ea..a44e138e0 100644
--- a/working-docs/design/roadmap.md
+++ b/working-docs/design/roadmap.md
@@ -1,6 +1,6 @@
---
Created: 2026-04-14
-Last-Modified: 2026-12-03
+Last-Modified: 2026-12-04
SPDX-FileCopyrightText: 2026-present Arthit Suriyawongkul
SPDX-FileType: DOCUMENTATION
SPDX-License-Identifier: CC0-1.0
@@ -87,10 +87,12 @@ review before each release tag. See
default is to be decided then, with the rulings it meets (2026-11-19,
option G); see
[handover-0-25-2.md](provenance-taxonomy/handover-0-25-2.md) (#652).
-- [ ] **Pre-existing bugs from the 0.25.2 review**: a held id renumbered
- for a name with a control, a Hub `.whl` URL taken for a wheel, a `.pyw`
- coding cookie, `loom enrich a/..` quoting an absolute path; in
- [known-bugs.md](known-bugs.md) ("Found in review rounds").
+- [ ] **Open findings of the 0.25.0 and 0.25.2 pre-release reviews**: 0.25.2's
+ four pre-existing bugs (a held id renumbered for a name with a control, a
+ Hub `.whl` URL, a `.pyw` coding cookie, `enrich a/..`) and 0.25.0's 29
+ deferred findings (paths as typed, `-v` sources, inert options, Action
+ glob count, ...); in [known-bugs.md](known-bugs.md) ("Found in review
+ rounds").
- [ ] **Mutation backfill, second PR**: `export/_spdx3_credentials` (32
survivors untriaged), then the `id_registry` modules and the rest changed
since `v0.24.0` with no pass; tests only. Starts after the provenance
@@ -164,11 +166,6 @@ merged (now in roadmap-completed.md). Each item is its own PR; the order
and counts are in
[message-catalogue-migration-plan.md](message-catalogue-migration-plan.md).
-- [ ] **Pre-release review 0.25.0**: its fixes for 0.25.0 are merged
- (#559 to #562, and the bump); the
- next-release items (CLI paths as typed, `-v` sources, hook inert keys,
- Action glob count, spdx3-validate blank nodes, ...) are listed there. See
- [pre-release-review-0.25.0.md](../implementation/pre-release-review-0.25.0.md#next-release).
- [ ] **LLMSC 2027 paper camera-ready** (user, 2026-11-23): the submitted
paper reports Pitloom 0.24.0; keep its structure, update only the data.
Re-run its observations on the current release (0.25.2, LicenseID
@@ -195,8 +192,7 @@ and counts are in
a revision (`/tree/`, `/blob//`, `/commit/`) is read
at the default branch and warned of (`hub-revision-unpinned/url`, 0.25.1);
read it at that revision instead (`model_info(revision=)` and the file
- downloads), then drop the warning. See
- [pre-release-review-0.25.0.md](../implementation/pre-release-review-0.25.0.md#next-release).
+ downloads), then drop the warning.
- [ ] **The hook accepts an `sbom-basename` that cannot be a file on Windows**
(found in PR 14c round 1): a `"` in `sbom-basename` passes
`sbom_base_name`, then `write_text_lf` fails late with a bare `OSError` on
diff --git a/working-docs/implementation/pre-release-review-0.25.0.md b/working-docs/implementation/pre-release-review-0.25.0.md
index 82bd4a2f6..5189fd4e9 100644
--- a/working-docs/implementation/pre-release-review-0.25.0.md
+++ b/working-docs/implementation/pre-release-review-0.25.0.md
@@ -1,6 +1,6 @@
---
Created: 2026-11-27
-Last-Modified: 2026-11-30
+Last-Modified: 2026-12-04
SPDX-FileCopyrightText: 2026-present Arthit Suriyawongkul
SPDX-FileType: DOCUMENTATION
SPDX-License-Identifier: CC0-1.0
@@ -10,13 +10,8 @@ SPDX-License-Identifier: CC0-1.0
See also: [testing-and-review-policy.md](testing-and-review-policy.md#pre-release-review)
(the procedure), [release-checklist.md](release-checklist.md),
-[findings, code surfaces](pre-release-review-0.25.0/findings-code.md),
-[findings, docs, skills, Action](pre-release-review-0.25.0/findings-docs.md),
-[docs batch done](pre-release-review-0.25.0/docs-batch-done.md).
-
-Split for size: the fix status (the catalogue batch #559), the rulings of
-2026-11-27, the PR A, E, C and D records and the spdx3-validate handoff
-prompt are in [fix-status.md](pre-release-review-0.25.0/fix-status.md).
+[pre-release-review-0.25.2.md](pre-release-review-0.25.2.md) (the next
+review), [known-bugs.md](../design/known-bugs.md) (the findings still open).
The first pre-release review, over `v0.24.0..ff3960a1` (76 merged PRs,
numbered #481 to #557; 449 files under `src/`). Release candidate: `ff3960a1` (main
@@ -31,15 +26,11 @@ item.
- Every stderr, exit-code and SBOM change against v0.24.0 on 75 fixture
commands traces to a CHANGELOG entry.
- Nine read-only reviews (CLI, library, hook, catalogue, Action, registry,
- skills, docs, a downstream trial) reported 76 findings, 71 after merging
- duplicates. None was dropped: each reproduced in a re-run or was confirmed
- at the cited line (CLI-7 by reading only, to stay offline). Triage: 5
- release blockers (6 ids), 39 fixes for 0.25.0, 30 for the next release
- (four ids are split between buckets), after an Opus second opinion
- whose amendments were all taken (LIB-2 and the TRY-1 caveat up to
- blockers, SKL-1 down to cheap, LIB-10 and the empty `--creator-email` up
- to cheap, the batch fences below) and the user's rulings of 2026-11-27
- (TRY-2 and CLI-7 become 0.25.0 code fixes).
+ skills, docs, a downstream trial) reported 71 findings after merging
+ duplicates. The release blockers and the cheap fixes shipped in 0.25.0
+ (#559 to #562 and the bump). The findings deferred to a later release
+ are in the known-bugs files, each marked "Found in the 0.25.0
+ pre-release review ()"; TRY-1 and TRY-7 were already recorded there.
## Gate results (ff3960a1)
@@ -91,148 +82,98 @@ every difference traces to the CHANGELOG:
trees: a local model file is trusted and h5py is native, as designed
(model-sbom-from-git.md D1); not a finding.
-## Findings and triage
-
-Full entries, with reproducers: [findings-code.md](pre-release-review-0.25.0/findings-code.md)
-(CLI, LIB, REG, HOOK) and [findings-docs.md](pre-release-review-0.25.0/findings-docs.md)
-(SKL, MSG, DOC, ACT, TRY). Duplicates: DOC-1 = LIB-3; DOC-6 = TRY-4 = SKL-2;
-TRY-3 = CLI-5; TRY-10 and MSG-5 are parts of CLI-10; CLI-6 and HOOK-1 share
-one cause.
-
-### Release blockers
-
-| Id | What | Why it blocks | PR |
-| --- | --- | --- | --- |
-| LIB-1 | Library `project_dir=""` reads the cwd; the embedded SBOM carries another project's creators | wrong SBOM content; this release's CHANGELOG says `""` never reads the cwd | A |
-| LIB-2 | `loom.add_dataset("")` hashes the cwd as a dataset named `''`, silently | same class and same CHANGELOG claim, on the SDK's main call | A |
-| CLI-1 | `--creator-name ''` ends in a traceback on every generating command | a traceback on a user input (in v0.24.0 too) | A |
-| TRY-1 (+ TRY-6) | `loom fragment validate A B`, as documented, fails every pair of valid Pitloom SBOMs whose `created` differ (spdx3-validate shares blank nodes) | a documented command fails on the normal case: a caveat (or `--no-merge` by default) before tagging; the fix is upstream | C |
-| SKL-2 | 37 skill and doc lines require `pitloom >= 0.24.1`, a version that does not exist | a documented install command cannot resolve | D |
-
-### Cheap fixes for 0.25.0
-
-| PR | Ids |
-| --- | --- |
-| A, argument checks | LIB-4, LIB-5, LIB-8, LIB-10, REG-3, CLI-2, CLI-9 (`''` only), LIB-9 (CHANGELOG wording only), TRY-2 (code, ruled) |
-| B, catalogue | LIB-6, MSG-1, MSG-2, MSG-6, LIB-7, CLI-3, HOOK-4 (catalogue text) |
-| E, Hub "repository not found" | CLI-7 (ruled) |
-| C, docs and skills | DOC-1, REG-1, MSG-3, MSG-4, TRY-2, DOC-2, DOC-3, TRY-9a, DOC-4, DOC-5, DOC-7, TRY-11, REG-2, SKL-3, SKL-4, SKL-5, SKL-6, ACT-3, ACT-4, ACT-5, HOOK-4 (page quote), CLI-6 (soften the `docs/cli.md` line) |
-| D, the bump | SKL-1, HOOK-6, the bump cautions (findings-docs.md, "Version text") |
-
-### Next release
-
-CLI-4, CLI-5, CLI-6 and HOOK-1 (code), CLI-8, CLI-9 (format check),
-CLI-10 with MSG-5, CLI-11, CLI-12, LIB-9 (code), LIB-11, LIB-12, LIB-13,
-LIB-14, REG-4, REG-5, REG-6, REG-7, HOOK-2, HOOK-3, HOOK-5, MSG-7, ACT-1,
-ACT-2, TRY-1 (the spdx3-validate fix, by the handoff below), TRY-5, TRY-7
-and TRY-8 (ruled: next release), TRY-12. The roadmap points here ([roadmap.md](../design/roadmap.md),
-"Pre-release review 0.25.0").
-
-Also for the next release (user, 2026-11-27; moved from the roadmap):
-
-- [x] **A malformed Hub repo id gets "not found" advice.** `_HF_ID_RE` accepts
- `a/b--c`, `a/b..c`, `a/b.git`, `a/b-`, `a/b.` and names over 96
- characters, which `huggingface_hub.validate_repo_id` rejects before any
- request. Before #561 this was said as `hub-response-invalid`; since #561
- it is `input-not-found/hub` (exit 1), whose advice ("if it is private,
- set HF_TOKEN ...") does not fit an id no repository can have. Refuse
- these ids in `parse_hf_model_id` with `hf-url-invalid`, reusing the
- dataset rule (`core/dataset_names.is_hub_dataset_id`), and test it.
- Done for 0.25.1: one rule, `core/dataset_names.is_hub_repo_id`, for both
- (tested against `validate_repo_id`); a bare id breaking it is read as a
- local path.
-- [x] **A revision URL is read at the default branch with no message.**
- `https://huggingface.co/o/m/tree/` parses to `o/m` and the revision
- is dropped (checked on #562's tree): a silent deviation from the URL as
- given. Say it (`INFO:`) or honour the revision.
- Done for 0.25.1 (user: warn now, honour later): `WARNING:`
- `hub-revision-unpinned/url`, `main` excepted; honouring it is on the
- roadmap.
-
-Shared root causes to fix as one change each:
-
-- CLI values checked by library dataclasses after parsing (exit 1 or a
- traceback instead of exit 2): CLI-1, CLI-2, CLI-9, CLI-12's
- `--sbom-basename a/b`; validate at parse time in one place (A covers the
- first three).
-- Empty or wrong-type path arguments: LIB-1, LIB-2, LIB-4, LIB-5, REG-3;
- one non-empty path helper (`require_path_argument`, `_loom_args._is_named`
- exist; no third copy).
-- Inert-option coverage: CLI-6, HOOK-1, TRY-5 (`--content-type-method`
- without `--content-type`).
-- Paths as typed versus absolute: CLI-10, MSG-5, TRY-9b, TRY-10, SKL-5's
- `Build:` line, REG-5's `FILE=`; one helper.
-
-## Proposed fix plan
-
-In the policy's order: output-changing fixes first, docs and skills last,
-so one docs pass describes the final output. One owner per file.
-`CHANGELOG.md` is the one file every code PR touches (CI's "Changelog entry
-required" needs it): each PR adds its own lines and the later one rebases.
-
-0. **This review** (`working-docs/` only: the review doc, its two findings
- files, `roadmap.md`): its own small PR, first. Docs-only, so the
- CHANGELOG check and the code CI skip it; the fix PRs can then link it,
- and their diffs stay code-only.
-1. **PR A, argument checks and the SDK relationship** (exit codes, error
- lines, fragment bytes). Fence: `src/pitloom/embed.py`,
- `assemble/_generators_shared.py` and the wheel generators' `project_dir`
- check, `src/pitloom/_loom_args.py`, `src/pitloom/_loom_active_run.py`,
- `src/pitloom/id_registry/` (`_registry.py`, `_format.py`),
- `src/pitloom/_sbom_io.py`, `extract/remote/git.py`, the
- `fetch_git_project`/`find_embedded_sbom` modules (LIB-8),
- `cli/parser.py`, `cli/options_resolve.py`, their tests. LIB-1, LIB-2,
- LIB-4 (one non-empty path helper), LIB-5 and REG-3, LIB-8, LIB-10, CLI-1,
- CLI-2 and CLI-9 `''` (an `argparse` error at parse), TRY-2 (in
- `_emit_model_dataset_relationships()`, `_loom_active_run.py:364-373`:
- `self.datasets` relate as `testedOn` when `self._model_generated` is
- false, i.e. a `use_model()` run). Existing codes only: no
- `src/pitloom/messages/`, no generated page. CHANGELOG: fold into the
- #545/#557 bullet and narrow it (LIB-9); TRY-2 a "Changed" line. Gate A
- area: registry, config, options and `loom.run` rows of
- [manual-cli-checks.md](manual-cli-checks.md#when-to-run) (`O1/*/fresh-loom`,
- `O3/*` for TRY-2).
-2. **PR B, catalogue** (stderr wording), at the same time as A. Fence:
- `src/pitloom/messages/`, the generated `docs/message-codes*.md` and
- `skills/*/references/messages-*.md`, `assemble/_generators_git.py`,
- `assemble/_generators_pypi.py`. LIB-6 (with its `one-of-*` entries in
- `messages/_config_place.py`), MSG-1 (ruled: library-specific wording on
- the embed route naming the `ConfigOverrides` fields; no API change),
- MSG-6, LIB-7, MSG-2 (the `did` text: `TypeError` for a wrong type),
- HOOK-4 (the generated "exit 1" text), CLI-3 (escape the line break, as
- for ESC). Regenerate the reference; `since` stays 0.25.0.
-3. **PR E, Hub "repository not found"** (CLI-7, ruled), after B: it needs
- a catalogue line and a regenerated reference, B's fence. Fence:
- `src/pitloom/extract/remote/huggingface*.py`, `_hub_api.py`,
- `assemble/__init__.py` (the `hf` route), `src/pitloom/messages/` and the
- generated pages, their tests. A target that is neither a local path nor
- a repository the Hub knows is an error naming the local path as not found
- too (`input-not-found`, or a variant of it): no SBOM, exit 1, on
- `generate` and `model`, CLI and library. Other Hub failures (timeouts,
- gated repositories, 5xx) keep today's `download-network-failed`
- behaviour; decide 401 (anonymous "not found or private") with the user's
- gated-repository cases in mind. Gate A: `M/model/*`, `M/*/target/*`
- with `--network`, and `pytest -m network` for the Hub tests.
-4. **PR C, docs and skills**, after A, B and E (it quotes their final
- text), merged with the planned docs/working-docs/skills sweep. Fence:
- `docs/` (not the generated pages), `skills/` (not
- `references/messages-*.md`), `action.yml` comments, MSG-4's docstring.
- TRY-1 and TRY-6 first (ruled: the caveat in `docs/fragments.md` and
- `skills/sbom-validate/SKILL.md`, suggesting `--no-merge` for several
- files, saying an enrichment fragment fails on its own, and that no
- `FILE=... STATUS=valid` line is printed when only the merged check
- fails, `docs/cli.md:364`), TRY-2's example
- (`add_validation_dataset()`, and the new `use_model()` rule), CLI-7's
- page text, then the docs batch above. DOC-5 (splitting
- `docs/python-api.md`) last, since DOC-1, REG-1, TRY-2, TRY-11 and DOC-7
- edit that page; the split breaks `docs/id-registry-keys.md:13`
- (`python-api.md#tracking-decorator`). Budgets: `sbom-enrich` body 12
- bytes spare, `sbom-generate` body 16,188 of 16,384 bytes and description
- 3 characters.
-5. **PR D, the 0.25.0 bump** (the user tags): SKL-2, SKL-1, HOOK-6, the
- bump cautions; extend `tests/test_licenseid_floor_docs.py` to the prose
- form "LicenseID 0.x.y".
-
-Order: the review PR; A and B in parallel; E after B; C after A, B and E;
-D last. Then Gate A and Gate B on the release commit and the release
-checklist (policy step 7).
+## Rulings (user, 2026-11-27)
+
+Not decisions: LIB-1, LIB-2, CLI-1 and the TRY-1 caveat block the release
+by the review's definition; SKL-2 is the tracked cut sweep.
+
+1. **TRY-1**: caveat plus handoff. Keep the merged check; the caveat goes
+ in PR C; spdx3-validate gets a hand-off (now in the known-bugs
+ entry); it is not edited here.
+2. **MSG-1**: library-specific wording naming the `ConfigOverrides`
+ fields; no API change (PR B).
+3. **TRY-2**: `loom.add_dataset()` inside a `use_model()` run records the
+ dataset as `testedOn`, not `trainedOn`: a 0.25.0 code fix (PR A), the
+ example in PR C.
+4. **CLI-7**: a target that is neither a local path nor a Hub repository
+ the Hub knows is an error, no SBOM, exit 1, naming the local path as
+ not found too: a 0.25.0 fix (PR E).
+5. **TRY-7, TRY-8**: next release.
+6. **CLI-7, 401**: always refuse. A target that is no local path and that
+ the Hub answers "not found" (an anonymous 401 included, which a private
+ model asked for without a token also gets) is an error; the line names
+ the local path as not found, says the Hub knows no such model, and adds
+ that a private one needs `HF_TOKEN` or `hf auth login`. A bare id and a
+ URL alike (the URL line names no local path: a URL is none).
+7. **CLI-7, legacy page URL**: fixed in the same PR:
+ `https://huggingface.co/gpt2/tree/main` reads as the model `gpt2`, so the
+ new error cannot fire on a real model with a one-part id.
+
+## Hub "repository not found" (CLI-7, #561)
+
+As built in 0.25.0; later Hub id rules (#598, #632, #641) refine the
+page-URL reading below.
+
+
+Branch `hub-repository-not-found`. The Hub's answers, measured on
+2026-11-27 with `huggingface_hub` 2.2.0, anonymous (no token was at hand;
+the private rows are huggingface_hub's own comment in `hf_raise_for_status`
+and the Hub's documentation; an Opus second opinion measured the case and
+rename rows):
+
+| Repository | `model_info()` | Files (`resolve`) |
+|---|---|---|
+| missing (`h/nope`, an owner with no account) | `RepositoryNotFoundError`, 401 "Invalid username or password." | 401 |
+| public (`gpt2`, `mistralai/Mistral-7B-v0.1`) | 200 | 200 |
+| gated (`meta-llama/Llama-2-7b-hf`, `google/gemma-2b`) | 200, `gated=manual` | card 200; `config.json` 401 `X-Error-Code: GatedRepo` |
+| missing, an invalid token sent | as anonymous (the Hub ignores the token) | - |
+| public or gated, an invalid token sent | 200 | - |
+| another case or a moved name (`GPT2`, `gpt2`) | 200 after a 307 to the current id | - |
+| private, no token (or an expired one) | believed: as missing (401) | - |
+| private, a token without / with access | believed: 404 `RepoNotFound` / 200 | - |
+
+`GatedRepoError` is a subclass of `RepositoryNotFoundError` (1.x and 2.x)
+and is sent for files only; `DisabledRepoError` is not one.
+
+The rule (ruling 6): only `model_info()` decides, the first request. A
+`RepositoryNotFoundError` that is no `GatedRepoError`
+(`_hub_api.is_repository_not_found`) raises `RemoteSourceError`
+`huggingface.repository-not-found`, catalogue `input-not-found/hub`, before
+any file is fetched: no SBOM, exit 1, on `loom generate`, `loom model`,
+`generate()` and `generate_model_sbom()`. Two lines: an id (`target not
+found: 'h/nope' is no local path, and the Hugging Face Hub knows no model
+; if it is private, set HF_TOKEN ...`) and a URL (`URL=: the
+Hugging Face Hub knows no such model; ...`); the page is the Hub asked
+(`HF_ENDPOINT`). Every other failure keeps its `WARNING:`. A dataset a card
+lists is not the target: `dataset_info()` not found still warns. An id
+`huggingface_hub` refuses before any request (`HFValidationError`:
+`a/b--c`, `h/no pe`) is refused the same way: no model can have it. A
+mirror (`HF_ENDPOINT`) that answers a bare 404 without the Hub's
+`X-Error-Code: RepoNotFound` is no "not found" answer: it still warns
+(an http mirror is refused before any request).
+
+Also: `loom model ` now gives the library the URL as typed, as
+`loom generate` does (it gave the id, so a URL's refusal would have named
+a local path, and `gpt2/tree/main` was read as a local file `gpt2`); the
+URL-rewrite `INFO:` is said by `read_huggingface` alone, before the offline
+check. A page URL `//` with a page kind (`tree`, `blob`,
+`resolve`, `commit`, `commits`, `discussions`, `edit`, `raw`, `blame`) and
+a part that is none names the one-part id (ruling 7); `org/tree/tree/main`
+stays the model `org/tree` (`settings` is a page kind too, measured). A
+page kind with nothing after it is read as the two parts
+(`https://huggingface.co/gpt2/settings` is refused naming
+`gpt2/settings`): nothing tells it from a model of that name. Measured on
+the Hub: bare `gpt2/tree` and `gpt2/commits` are 401 there too (no page),
+`gpt2/settings` is a page that needs a login, `gpt2/discussions` is read
+as before (no refusal). A retry as the one-part id was tried and dropped:
+it named the output file and the rewrite `INFO:` after an id the run then
+did not read. An id-shaped target that is a dangling symbolic
+link is a local path (`os.path.lexists`), so "is no local path" stays true.
+
+## The full record
+
+The findings with reproducers, the fix records of PRs A to E and the
+docs batch were removed once the open findings moved to known-bugs; they
+are in Git: `git show 814b534c:working-docs/implementation/pre-release-review-0.25.0/`
+(then `findings-code.md`, `findings-docs.md`, `fix-status.md`,
+`docs-batch-done.md`).
diff --git a/working-docs/implementation/pre-release-review-0.25.0/docs-batch-done.md b/working-docs/implementation/pre-release-review-0.25.0/docs-batch-done.md
deleted file mode 100644
index f5b13bf91..000000000
--- a/working-docs/implementation/pre-release-review-0.25.0/docs-batch-done.md
+++ /dev/null
@@ -1,149 +0,0 @@
----
-Created: 2026-11-27
-Last-Modified: 2026-12-03
-SPDX-FileCopyrightText: 2026-present Arthit Suriyawongkul
-SPDX-FileType: DOCUMENTATION
-SPDX-License-Identifier: CC0-1.0
----
-
-# Pre-release review 0.25.0: the docs and skills batch, and the sweep
-
-See also: [../pre-release-review-0.25.0.md](../pre-release-review-0.25.0.md)
-(gates, triage, fix plan, the code batches #559-#561),
-[findings-docs.md](findings-docs.md), [findings-code.md](findings-code.md).
-
-Branch `release-docs-sweep`, on main after #561. PR C of the fix plan,
-merged with the standing sweep ("no stale, no unused"). Every claim written
-was checked by running it (offline) or reading the code.
-
-## Review items
-
-- **TRY-1, TRY-6** (ruled: caveat): `docs/fragments.md` says the merged
- check can fail two valid SBOMs whose `created` differ (spdx3-validate joins
- the files' blank nodes by label, `_:CreationInfo0`), suggests `--no-merge`
- for separate SBOMs and `loom merge` output for a base with its fragments,
- that an enrichment fragment fails on its own and paired with its base, and
- that no `FILE=... STATUS=valid` line is printed unless every check passed
- (also `docs/cli.md`, Output). `skills/sbom-validate/SKILL.md` and its
- examples say the same. Reproduced: two `loom project` SBOMs a minute apart
- fail merged, pass `--no-merge`.
-- **TRY-2**: the evaluation example uses `add_validation_dataset()`; the
- bullets say `add_dataset()` is `trainedOn` in a `set_model()` run and
- `testedOn` in a `use_model()` run; a blank name is `option-invalid`
- (checked for every loom call taking a name). `sbom-enrich`'s
- `minimum-elements-g7.md` too.
-- **CLI-7** (#561): `docs/ai-model-formats-hugging-face.md` (the two
- `input-not-found/hub` lines, private models, page URLs of a one-part id
- with the page kinds `_PAGE_SEGMENTS` holds, a login-only page refused as a
- two-part id, a dangling link is a local path), `docs/cli.md`,
- `docs/python-api-remote.md` (`huggingface.repository-not-found`), the
- `sbom-generate` examples and known limitations.
-- **Library argument checks** (#557, #559-#561), each run: `docs/api.md`
- (empty `project_dir=`; the URL argument of the Git and PyPI functions and
- `fetch_git_project()` is now checked: `TypeError`/`ValueError`,
- `option-invalid`), DOC-1 in `docs/python-api.md`, the new tracking page and
- `docs/python-api-remote.md` (a wrong type is `TypeError`, an integer below
- 1 `ValueError`; `sbom_kind=`/`kind=` choices; an empty PyPI URL is
- `option-invalid`), REG-1 (a missing `loom.run` registry is
- `FileNotFoundError`, `input-not-found`), the `IdRegistry` refusals of #560
- in `docs/id-registry.md`, `docs/wheel-sbom.md` (`embed_wheel_sbom()`), the
- blank `--creator-name/--creator-email/--creation-tool` refusal in
- `docs/cli-flags.md`, and a Git URL with no host (`git-url-invalid`, "the
- URL names no host") in `docs/git-urls.md` and `docs/python-api-remote.md`.
-- **MSG-1**: `docs/ai-model-scan-limits.md`, `docs/python-api.md` and the
- by-surface table of `docs/url-credentials.md` give the `ConfigOverrides`
- form for `embed_wheel_sbom()`. **MSG-3**: the PyPI comment names the
- library line. **HOOK-4**: the page quote carries `Pitloom build hook:` and
- says the build fails.
-- **DOC-2** (an unknown provenance `schema` is `config-invalid` at read,
- run), **DOC-3** (the `loom:` frame also covers an argument the command does
- not take; wording fixed, the frame itself is next release), **DOC-4**
- (`docs/url-credentials.md` header), **DOC-7** (See-also near the top of
- `configuration.md` and `python-api.md`).
-- **DOC-5**: `docs/python-api.md` (31,858 bytes) split: the tracking
- decorator moved to `docs/python-api-tracking.md` (16.9 KB); the old
- heading stays as a stub so `python-api.md#tracking-decorator` resolves;
- the six inbound links point at the new page; `mkdocs.yml` nav.
- `docs/ai-model-formats.md` (16 KB) and `docs/git-urls.md` (18.6 KB) are
- under the cap: not split.
-- **TRY-9a**: `docs/cli.md` and `docs/id-registry-create.md` give the
- catalogue's remedy (delete, then `loom id import` the last SBOM to keep
- the ids). The line itself still has no action: next release (output).
-- **TRY-11**: `labels` defined; the history clause dropped; the source path
- in `docs/id-registry.md` is now the Python name; `id generate ... -e
- models/classifier.onnx` (pins the file, run) instead of `--entity model`
- (`registry-path-key-unusable`); the skill example uses `my-pkg@1.0`.
-- **CLI-6**: `docs/cli.md` says only `describe-relationship` and
- `update-id-registry` are noted; `pretty` (and `use-lockfile` in the hook)
- are not yet.
-- **ACT-3**: the YAML comment says a `pitloom-version` must be 0.25.0 too.
- **ACT-4**: the `action.yml` comment names argparse's untagged usage block.
- **ACT-5**: `Last-Modified`. **MSG-4**: the `refuse_hub_model_target`
- docstring names both surfaces' wording.
-- **REG-2, SKL-3, SKL-4, SKL-5, SKL-6**: done in the skills (SKL-5 keys on
- `[option-no-effect]`, which the `Build:` form ends in too).
-- The #412 `%2F` line (`docs/git-urls.md`): current; both refusals reproduce
- offline. Nothing to change.
-
-## The sweep
-
-- **Docs**: a fresh read of every non-generated page against the code and
- `--help`; three more pages fixed (`cli-flags.md`: `-v`'s `PROJECT_DIR`,
- `--update-id-registry`, the `--scan-model-usage` hint, the creator flag
- refusals; `metadata-provenance.md`: a wrong conflict example;
- `wheel-sbom.md`: empty paths).
-- **Skills**: every `SKILL.md` and non-generated reference read in full
- against the code; `add_parser(` subcommands against the descriptions (no
- new gap; `loom merge` and `fragment list` stay the known one). Budgets:
- `sbom-enrich` body 16,371, `sbom-generate` 16,275, `sbom-validate` 13,159
- of 16,384 bytes; descriptions 1,005, 1,021, 999 of 1,024 characters.
-- **Working-docs**: 28 design files describing merged work moved to
- `implementation/` (the catalogue PR plans and builds, the sweep C plans,
- `credential-detect-and-refuse.md`, `message-frames-forward.md`), links
- rewritten; two files over 30 KB split
- (`design/provenance-taxonomy/findings-to-fix-first.md`,
- `implementation/message-catalogue-sweep-c2-plan.md`); `roadmap.md` ticked
- and condensed; stale 0.24.0 targets and "PR pending" lines updated; three
- dead links fixed. Removed: the empty headings 6-10 of
- `message-catalogue-pr16-build.md`.
-- **Code** (no behaviour change): stale docstrings (`_config.py` named a
- constant that never existed, `hatchling.py` the CLI's reader, a test the
- removed `build_document_model()`); every dotted Sphinx role resolves.
- Removed as unused (the definition the only hit of `git grep -nw`): the
- `fixtures_dir` fixture (`tests/conftest.py`), `_GEN`/`_DERIVED`
- (`test_fragments_generated.py`), `_CONTROL_IDS`
- (`test_url_masking_boundary.py`), `Reader` and its `Callable` import
- (`test_provenance_hostile_labels.py`), `_SBOM_ARC`
- (`test_extract_wheel_sbom.py`). `tests/messages/test_drift_quotes.py`
- gains the marker `the URL names no host`, so a quote of that line is
- checked.
-
-## Left
-
-For the bump PR: SKL-1, SKL-2, HOOK-6, `docs/agent-skills.md:53-56`, the
-LicenseID version text in `docs/metadata-provenance.md:60` and
-`metadata-provenance-licences.md:58,116`, the citation in `docs/index.md`.
-
-Next release:
-
-- `credentials-unsafe/git-userinfo`'s summary names "an empty host", which
- the CLI now refuses earlier as `git-url-invalid`; `_git_credentials.py:192`
- keeps the branch. Check whether any route still reaches it, then drop the
- clause or the branch.
-- `docs/g7-sbom-for-ai.md:87,248` cite coverage figures "as of 0.23.0":
- re-run `scripts/g7_coverage_report.py` with the `conformance` group.
-- `skills/sbom-generate/references/known-limitations.md` is 29.3 KB.
-- About 35 `message-catalogue-*` files sit flat in `implementation/` (the
- 3+-files subfolder rule); grouping the three credential docs needs the
- path in `tests/core/url_masking/test_url_masking_nested_values.py:9`
- changed with it.
-- TRY-9a's catalogue line (`registry-wrong-format`) has no action.
-- A `str` given as `pitloom_config=` to `generate()` or
- `generate_wheel_sbom()` raises an uncoded `TypeError` (`replace() should be
- called on dataclass instances`); `IdRegistry.new(1)` and `IdRegistry(1)`
- (a namespace that is no string) raise uncoded `TypeError`s. Found by the
- review of this batch; LIB-9's family.
-- `read_wheel("")` raises `target-wrong-format` naming `FILE=.` (`not a
- .whl file`), where every generate and embed function says
- `input-not-found` for an empty wheel path. Found by the review of this
- batch.
diff --git a/working-docs/implementation/pre-release-review-0.25.0/findings-code.md b/working-docs/implementation/pre-release-review-0.25.0/findings-code.md
deleted file mode 100644
index 64958b644..000000000
--- a/working-docs/implementation/pre-release-review-0.25.0/findings-code.md
+++ /dev/null
@@ -1,212 +0,0 @@
----
-Created: 2026-11-27
-Last-Modified: 2026-11-27
-SPDX-FileCopyrightText: 2026-present Arthit Suriyawongkul
-SPDX-FileType: DOCUMENTATION
-SPDX-License-Identifier: CC0-1.0
----
-
-# Pre-release review 0.25.0: findings in the CLI, library, hook, ID registry
-
-See also: [../pre-release-review-0.25.0.md](../pre-release-review-0.25.0.md)
-(gates, triage, fix plan), [findings-docs.md](findings-docs.md) (docs,
-skills, catalogue, Action, trial; the legend is there).
-
-## Library API
-
-- **LIB-1** maj, **B**, R. `project_dir=""` reads the current directory:
- `embed_wheel_sbom(whl, project_dir="",
- overrides=ConfigOverrides(offline=True))` run inside another project embeds
- that project's `[[tool.pitloom.creator]]` ("Pitloom CI", "Sample Project
- Org") and its "CI Wrapper" tool in the wheel's SBOM;
- `generate_wheel_sbom(..., project_dir="")` and `generate(...,
- project_dir="")` use the cwd as the registry project. The CLI refuses
- `--project-dir ''` (`option-invalid`, exit 2), and this release's CHANGELOG
- says `""` "never reads the cwd" (#545, #550, #557).
- `src/pitloom/embed.py:286-288` (type only),
- `src/pitloom/assemble/_generators_shared.py:61-65` (`Path("").resolve()`).
- `enrich_model(project_target="")` is `input-not-found`, not
- `option-invalid`.
-- **LIB-2** maj, **B** (raised by the second opinion), R.
- `loom.add_dataset("")` (and `" "`) hashes the whole cwd as a dataset named
- `''`: `SHA-256 Merkle root over 2 files ... in dataset directory` (bounded
- by `max_dataset_hash_bytes`, 4 GiB by default).
- `src/pitloom/_loom_args.py:111` has no non-empty rule for `name`.
-- **LIB-4** min, **C**, R. `project_dir` of a wrong type: plain `TypeError`
- from `pathlib` on `generate_wheel_sbom()`/`_with_metadata()`; accepted with
- only a no-effect `WARNING:` on `generate_project_sbom()`; refused (coded) on
- `generate()` and `embed_wheel_sbom()`. Same helper as LIB-1.
-- **LIB-5** min, **C**, R. `IdRegistry.new(ns, "x.json").save()` (a `str`
- path, which `require_path_argument` accepts) dies with `AttributeError:
- 'str' object has no attribute 'parent'` (`id_registry/_format.py:384`);
- `new(path="")` is accepted and fails only at save.
-- **LIB-6** min, **C** (PR B: a coded refusal needs `one-of-*` entries in
- `messages/_config_place.py:235-280`), R.
- `generate_git_sbom(sbom_kind="nope")` and `generate_pypi_sbom(kind="egg")`
- raise `InternalError` (`_generators_git.py:146`, `_generators_pypi.py:255`);
- `docs/api.md` says choice arguments are checked. `generate_pypi_sbom("")` is
- `InternalError: url='' is not a url` (`python-api-remote.md:113-114`
- promises `CodedValueError pypi-url-invalid`); `generate_pypi_sbom(None)` is
- `AttributeError` (`_generators_pypi.py:264`).
-- **LIB-7** min, **C**, K. The signed-wheel refusal names
- `--allow-signed-wheel` on the library surface
- (`messages/_wheels.py:125`, `_wheels_say.py:135`); #515, missed by #556.
-- **LIB-8** min, **C**, R. `IdRegistry` methods, `resolve_registry`,
- `fetch_git_project` and `find_embedded_sbom` never call
- `configure_logging()`: in a fresh process `IdRegistry.load()` of a registry
- with a credential key prints its line through logging's last-resort
- handler, with no `WARNING:` tag and no `[code]` (masked, though).
-- **LIB-9** min, **N** (code) and **C** (CHANGELOG), K. Object parameters
- (`pitloom_config`, `creation_metadata`, `credentials`, `provenance`,
- `build_options`, `overrides`, `shown`, `on_merged`) die with a bare
- `AttributeError`/`TypeError` on the generators; `loom.run` checks them;
- `pitloom_config={}` is silently ignored on the wheel, model and enrich
- functions. The #545/#557 CHANGELOG bullet ("loom SDK and library calls
- refuse an argument of the wrong type") overstates this: narrow it to the
- functions `docs/api.md` lists (cheap, PR A).
-- **LIB-10** min, **C** (raised by the second opinion), K. A Git URL with no
- host (`https://`) is not refused before `git clone` runs
- (`extract/remote/git.py:298-299` leaves it to later checks; none catches
- it); git then resolved a host `info`. CHANGELOG #491 says such a host is
- "refused before git runs"; the fix is `bool(parts.hostname) and
- host_is_plain(parts)` at `:298`.
-- **LIB-11** min, **N** (pre), K. `creation_metadata=` replaces the whole
- creation block (`_generators.py:386`); the CLI's `--creation-datetime`
- keeps the project's creators (`cli/options_resolve.py:174-197`).
-- **LIB-12** min, **N**, K. `docs/api.md` omits `generate_pypi_sbom`,
- `PypiSbom`, `find_embedded_sbom`, `CredentialPolicy`, `PitloomConfig`,
- `RemoteFetchPolicy` and others the narrative pages send readers to it for,
- so the #557 test that walks `api.md` does not cover them.
-- **LIB-13**, **LIB-14** nits, **N**, K. `loom.run`'s `pitloom_config` and
- `max_dataset_hash_bytes` refusals lack the `loom SDK:` prefix;
- `set_model()` outside a run is an uncoded `RuntimeError` (`loom.py:204`);
- `output_path` annotated `Path | None` though a `str` is accepted;
- `CredentialPolicy(accepted="sha256:...")` (a `str`) does not name the
- parameter.
-
-## ID registry
-
-- **REG-3** min, **C** (with LIB-5), R. `IdRegistry` methods outside
- `load`/`new`/`save(path)` raise uncoded errors: `register(3, "x")`
- `AttributeError`; `register("", "x")` a bare `ValueError` with no code
- (`id_registry/_registry.py:433`, against the catalogue rule);
- `generate(["str"], ...)` `AttributeError`; `IdRegistry(path=3)` accepted;
- `save(Path("."))` a raw `IsADirectoryError` naming the temporary file,
- against `docs/id-registry.md:203-205`. `_registry.py:128-150,433,451,502,
- 537,610`. Gap left by #545/#557.
-- **REG-4** min, **N** (pre), R. On macOS, `loom id generate /PTH/src
- --project-dir /pth` is `PATH ... is outside --project-dir
- [option-invalid]`: `cli/id.py:106-137` uses `Path.relative_to`, then
- `os.path.realpath`, which does not fold case; the registry's `path_key`
- already matches by identity.
-- **REG-5** min, **N**, R. `loom id generate . --max-dataset-hash-bytes 3 -e
- data/train.csv:dataset_DatasetPackage` says `INFO: ID registry: dataset
- data/train.csv pinned without SHA-256: FILE=: larger than
- the 3-byte max-dataset-hash-bytes cap; dataset hash omitted
- [registry-hash-missing]`: the run's `[over-cap]` `WARNING:` becomes an
- `INFO:`, the code is lost, the path is absolute and the config key is
- named though the flag was used (`cli/_id_entity.py:80-101,131-145`).
-- **REG-6** nit, **N**, R. `version None, expected 4` and `version True`:
- a Python repr in `registry-wrong-format` (`id_registry/_format.py:184-185`).
-- **REG-7** nit, **N** (pre), K. `tests/id_registry/test_registry_nfc.py:30`
- holds a literal U+0301, against CLAUDE.md "no invisible or uncommon
- characters".
-
-## Hatchling hook
-
-- **HOOK-1** min, **N** (pre, a7438e92; a lock file ignored by the hook is
- by design, `docs/hatchling-build-hook.md:77-82`, only the silence is a
- defect), K. `[tool.pitloom] pretty = true`
- and `use-lockfile = true` are ignored by the hook without a word:
- `configured_options()` (`core/inert_options.py:348-362`) lists only
- `describe_relationship` and `update_id_registry`. With a `pylock.toml`
- pinning `packaging` 24.0, `loom project` records 24.0 and the hook the
- environment's 26.3 (reviewer repro).
-- **HOOK-2** min, **N**, K. An ID registry inside the package
- (`src/demo/ids.json`) is left out of the hook's SBOM though the wheel ships
- it (`plugins/_hatch_document.py:121` `exclude_path`; the reason at
- `core/_models_wheel.py:305-308`, "rewritten after the SBOM", does not hold
- for the hook, which never writes it). Warned (`registry-conflict/file-set`).
-- **HOOK-3** min, **N**, K. `plugins/hatch.py:138` creates the staging
- directory outside `coded_write` (`:142`): a failure is an uncoded `ERROR:
- Pitloom build hook: [Errno 13] ...`. Same gap in
- `core/temp_dirs.py:65,88`. #536.
-- **HOOK-4** nit, **C** (catalogue text in PR B, the page quote in PR C), K.
- `docs/hatchling-build-hook.md:131-134` quotes `sbom-name-conflict` without
- the `Pitloom build hook:` prefix; the generated
- `message-codes-wheel-sboms.md:51-52` says "exit 1", but only the hook raises
- it and it fails the build (fix in `messages/_wheel_sboms.py:300`). #515.
-- **HOOK-5** nit, **N**, K. `unknown keys colour` for one key
- (`messages/_config.py:136`); a `hatch.toml` `[build.hooks.pitloom]` table
- is named `[tool.hatch.build.hooks.pitloom]` (`plugins/_hatch_config.py:22`).
- #497.
-
-## CLI
-
-- **CLI-1** blocker (reported), **B**, R on both trees. `--creator-name ''`
- (or blank) on any generating command ends in a traceback, exit 1:
- `pitloom.messages._emit.CodedValueError: Creator.name: must be a non-empty
- string, got a string ''` (v0.24.0: a bare `ValueError` traceback).
- `cli/parser.py:65` builds `Creator(name=values)` inside an argparse
- `Action`; argparse does not turn the Action's exception into a usage error
- and `parse_args()` (`__main__.py:103`) runs outside `cli_error_handler`.
- Expected `ERROR: loom model: argument --creator-name: ... [option-invalid]`,
- exit 2, as `--creator-email` without a name does.
-- **CLI-2** min, **C**, R. `--creation-tool ''`: `ERROR: loom model:
- Tool.name: must be a non-empty string, got a string '' [option-invalid]`,
- exit 1; names the library field, not the flag (#556), and exits 1, not 2
- (`cli/options_resolve.py:166`).
-- **CLI-3** min, **C**, R. `fragment validate` on a file named
- `badERROR: forged.json` relays spdx3-validate's text split at the line
- break: `ERROR: loom fragment validate: spdx3-validate: ERROR: forged.json:
- ...`, a second level tag on one line (the frame stays, so no bare line is
- forged). `messages/_sbom_validation_say.py:59-63` `splitlines()`; an ESC in
- the name is quoted instead. #515.
-- **CLI-4** min, **N** (pre), R. stdout records put a path that may hold a
- space first: `WHEEL=my demo-0.1-py2.py3-none-any.whl STATUS=failed`
- (`verify_wheel.py:158`, `validate_wheel.py:116`,
- `_embed_wheel_batch.py:71`); `FILE=` and `PATH=` in `fragment.py:80,195`.
- CLAUDE.md: "a value that may hold a space goes last". `WHEEL=` is the
- base name only.
-- **CLI-5 = TRY-3** min, **N**, R. `-v`: `OPTION=creation_datetime
- SOURCE=default VALUE=None` when `SOURCE_DATE_EPOCH` set `created`;
- `config_file SOURCE=command-line` for a found `pyproject.toml`; no row for
- `url-credentials`/`accept-url-credentials` (new in #489, #490), `offline`,
- `use_lockfile` or the caps (`cli/verbose.py:67-73,105-116`);
- `docs/cli-flags.md` says it logs "each effective option".
-- **CLI-6** min, **N** (code) and **C** (soften the `docs/cli.md` line), K
- (same cause as HOOK-1). `[tool.pitloom] pretty =
- true` is dropped silently by `embed-wheel --project-dir`;
- `core/inert_options.py:351-363` notes only two keys, while `docs/cli.md`
- "Options with no effect" says such a key is noted "the same".
-- **CLI-7** min, **C** (ruled 2026-11-27): an error, PR E; pre, K. A missing
- local path shaped `a/b` is read as a Hugging Face id
- (`assemble/__init__.py:156`, before any local check): `loom generate h/nope
- -o o.json` and `loom model h/nope` reach huggingface.co, warn `401 ...
- Repository Not Found` and `download-network-failed` four times, write an
- SBOM and exit 0 (reviewer run; not re-run, to stay offline). Documented
- under `download-network-failed`, but against "a read/access failure is an
- error". Ruling: a target that is neither a local path nor a repository the
- Hub knows ("repository not found") is an error naming the local path as not
- found too: no SBOM, exit 1.
-- **CLI-8** min, **N** (pre), K. `loom generate env` reads Pitloom's own
- environment even when `./env` is a project directory, with no warning
- (`assemble/__init__.py:150`); `./env` reads the directory.
-- **CLI-9** nit, **C** for `''` (silent drop; same Actions as CLI-1), **N**
- for the format check (pre), R. `--creator-email notanemail` is written as an
- `email` identifier with no warning; `--creator-email ''` is dropped
- silently.
-- **CLI-10** nit, **N**, R (with MSG-5, SKL-5, TRY-10). Subject and output
- paths absolute on some commands, as typed on others: `loom project `
- error and `Options:`/`Build:` warnings absolute, `enrich --project-dir`
- and `generate` as typed; `PITLOOM_SBOM_OUTPUT_PATH` relative for
- `project`'s default, absolute for `wheel`, `model`, `env`, `merge`,
- `enrich`. One rule ("as typed") belongs in one helper.
-- **CLI-11** nit, **N**, R. An ID registry starting `FF FE` is `not valid
- JSON ... [json-malformed]` (`json.loads(bytes)` reads it as UTF-16);
- `--config`, `--sbom` and `id import` say `file-unreadable/not-utf8`.
-- **CLI-12** nits, **N**, R in part. `--accept-url-credential` with 24 hex
- digits echoes `sha256:<16 hex>`; `loom model x --debug` frames as `loom:`
- (DOC-3); `sbom-basename = "a\nb"` is "not a path"; `--sbom-basename a/b`
- exits 1, `''` exits 2; `--max-download-bytes 1_000` and non-ASCII digits
- are accepted (`int()`).
diff --git a/working-docs/implementation/pre-release-review-0.25.0/findings-docs.md b/working-docs/implementation/pre-release-review-0.25.0/findings-docs.md
deleted file mode 100644
index 62ef91cfd..000000000
--- a/working-docs/implementation/pre-release-review-0.25.0/findings-docs.md
+++ /dev/null
@@ -1,237 +0,0 @@
----
-Created: 2026-11-27
-Last-Modified: 2026-11-27
-SPDX-FileCopyrightText: 2026-present Arthit Suriyawongkul
-SPDX-FileType: DOCUMENTATION
-SPDX-License-Identifier: CC0-1.0
----
-
-# Pre-release review 0.25.0: findings in docs, skills, catalogue, Action, trial
-
-See also: [../pre-release-review-0.25.0.md](../pre-release-review-0.25.0.md)
-(gates, triage, fix plan), [findings-code.md](findings-code.md) (CLI,
-library, hook, ID registry).
-
-Each finding: id, severity as reported (`maj`/`min`/`nit`), bucket after
-triage (**B** release blocker, **C** cheap fix for 0.25.0, **N** next
-release), how it was confirmed (**R** re-run during triage, **K** read at the
-cited line), the PR that introduced it where known ("pre" = before v0.24.0).
-Paths are at `ff3960a1`. Commands ran as
-`PYTHONPATH=/src .venv/bin/python -m pitloom` with
-`SOURCE_DATE_EPOCH=1767225600` and `--offline`.
-
-## Version text (one batch, at the version bump)
-
-- **SKL-1** maj, **C** (PR D; the second opinion: prose, not an install
- command, pip resolves `>=0.9.3` anyway), R. Three skills say "LicenseID 0.8.4"
- (`skills/sbom-generate/SKILL.md:71`, `skills/sbom-enrich/SKILL.md:61`,
- `skills/sbom-validate/SKILL.md:85`); `pyproject.toml:68` requires
- `licenseid>=0.9.3,<0.10`, and `sbom-generate/SKILL.md:84` installs that.
- Repro: `grep -rn "LicenseID 0.8" skills/`. Not on the roadmap's cut sweep
- (`roadmap.md` "0.25.0 cut sweep" names only the Pitloom floor), and
- `tests/test_licenseid_floor_docs.py` matches only `licenseid>=` spellings.
- From 56f21fd2 (pre); #502 and #551 raised the floor without it. Re-check
- the behaviour clause ("reads `Apache Software License 2.0` ... does not
- warn about a missing licence database", `sbom-validate/SKILL.md:85-87`)
- against 0.9.3, length-neutral in `sbom-enrich`.
-- **SKL-2** maj, **B** (tracked: roadmap "0.25.0 cut sweep"), R. `pitloom >=
- 0.24.1` names no release; generated tables inside the skills already say
- `since 0.25.0`. 37 lines: `sbom-generate/SKILL.md:30,71-74,101,102,108`;
- `sbom-enrich/SKILL.md:27,61,64-67,217`;
- `sbom-validate/SKILL.md:26,85,88,90,99,103`;
- `sbom-generate/references/examples.md:31,33,66,68,70,89,149,155,218`;
- `sbom-enrich/references/examples.md:296,347`, `minimum-elements.md:208`,
- `pre-merge-check.md:35,36`; `docs/agent-skills.md:53,56` (same as DOC-6,
- TRY-4). Keep the "0.24.0 or later" PyPI-URL lines
- (`sbom-generate/SKILL.md:146,152`, `references/pypi-url.md:13,30-32`,
- `examples.md:61`). Budget: the `sbom-enrich` body is 16,372 of 16,384
- bytes, `sbom-generate`'s description 1,021 of 1,024 characters: only
- same-length swaps fit. From #482.
-- **HOOK-6** nit, **C** (bump), K. `docs/hatchling-build-hook.md:28` says
- `pitloom>=0.23.4`, `README.md:135` `>=0.24.0`; the page quotes 0.25.0 lines.
-- **ACT-3** nit, **C**, R by the reviewer against a v0.24.0 tree. The
- `url-credentials` inputs pass flags 0.24.0 lacks (exit 2 with an older
- `pitloom-version`); `docs/github-action.md:81-82,149-150` say only the tag
- needs 0.25.0.
-- Bump cautions (from DOC-6, TRY-11, ACT-5): keep
- `docs/id-registry-keys.md:339` ("0.24.0 or earlier", history) and the
- deliberate `0.22.0` pins of `docs/id-registry.md:306-311,342,353` out of a
- blanket replace; `docs/github-action.md:147-150` reads right once the tag
- is `@v0.25.0`; `docs/index.md:113,124` (citation) moves to 0.25.0;
- `release-checklist.md:44-45,61-62` cite text no longer in
- `github-action.md`.
-
-## Exception types after #557 (one batch)
-
-- **DOC-1 = LIB-3** maj (library reviewer) / min (docs reviewer), **C**, R.
- The docs say a wrong-type cap raises `ValueError`; #557 raises
- `CodedTypeError` (a `TypeError`): `docs/python-api.md:140-142,149-151,
- 330-333,383-384`, `docs/python-api-remote.md:110-112`. Repro:
- `generate(P, max_model_extract_bytes=True)`, `max_download_bytes="5"`,
- `loom.run("g.json", max_dataset_hash_bytes=True)`,
- `loom.run("g.json", pitloom_config=5)`: each `CodedTypeError
- option-invalid`, `isinstance(e, ValueError)` False. `docs/api.md:16-24`
- already states the split.
-- **MSG-2** min, **C**, K. The `option-invalid` summary and `did` text
- (`src/pitloom/messages/_options.py:182-210`, generated into
- `docs/message-codes-options.md:24,69,83-90` and both skills'
- `references/messages-options.md`) say the library raises `ValueError` for a
- wrong type. Fix the catalogue text, then regenerate. #557.
-- **REG-1** min, **C**, R. `docs/python-api.md:531-534`: a missing
- `loom.run` registry "raises `ValueError`"; it raises
- `CodedFileNotFoundError` (`input-not-found`), as `docs/id-registry.md:41-43`
- says. Repro: `with loom.Run("f.json", id_registry="nope.json")`. #482.
-
-## Message advice per surface (#556 follow-ups)
-
-- **MSG-1** min, **C** (ruled 2026-11-27): library-specific wording naming the
- `ConfigOverrides` fields; no API change; K. `embed_wheel_sbom()` prints `set
- trust_model_files=True` (`messages/_model_stub.py:31`) and `set
- scan_model_usage=True (or set it in pitloom_config)`
- (`messages/_usage_unusable.py:72,100`) but takes neither keyword (the real
- form is `overrides=ConfigOverrides(...)`); passing it is a `TypeError`.
- `generate_wheel_sbom()` takes both. #556.
-- **MSG-6** nit, **C**, K. `messages/_file_discovery.py:123` says `pass
- BuildOptions(allow=True)`; every other line says `BuildOptions.allow`
- (`_build.py:91`). #556.
-- **MSG-7** nit, **N**, K (by design). Action users read CLI flags, not
- Action inputs (`messages/_surface.py:12-14`).
-
-## Catalogue and message wording
-
-- **MSG-3** min, **C**, K. `docs/python-api-remote.md:102-103`: a fenced
- comment says `generate()` on a PyPI URL logs an `INFO:` naming `loom project
- `; the library line names `generate_pypi_sbom(..., kind='sdist')`. The
- drift tests strip fenced blocks.
-- **MSG-4** nit, **C**, K. Stale docstring "naming ``loom model``"
- (`src/pitloom/extract/remote/huggingface.py:233`).
-- **MSG-5** nit, **N**, R. `project-not-found` puts a bare quoted path as
- subject, no `DIR=` (`messages/_sbom_target.py:156-158`; #553); and `loom
- project ` names it absolute while `loom generate` names it as typed
- (TRY-9b).
-
-## User docs
-
-- **TRY-2** maj, **C** (ruled 2026-11-27): code fix, `testedOn`; PR A, the
- example in PR C; R. `docs/python-api.md:314-322`: the "evaluation" example
- (`use_model` + `add_dataset`) records the dataset as `trainedOn` (repro: the
- block as a script; the fragment holds only `trainedOn`).
- `loom.add_validation_dataset()` (in `docs/api.md:99`) gives `testedOn` but
- the page never names it. Pre (the example is in v0.24.0). Ruling:
- `add_dataset()` in a `use_model()` run records `testedOn`
- (`_loom_active_run.py:364-373`: datasets go to `trainedOn` whatever
- `self._model_generated`, set at `:435`, says).
-- **DOC-2** min, **C**, K. `docs/configuration-subtables.md:183-186` says an
- unknown provenance `schema` is caught only at generation; since #524 it is
- `config-invalid` at read.
-- **DOC-3** min, **C**, R. `docs/messages.md:45-49`: the `loom:` frame is
- said to be only for errors before the command is known; `loom project .
- --bogus` prints `ERROR: loom: unrecognized arguments: --bogus
- [option-invalid]` (the top-level parser reports a subcommand's leftovers,
- `__main__.py:103`). Fix the wording (cheap) or the frame (next release).
-- **TRY-6** min, **B** with TRY-1 (same paragraph, (ruled 2026-11-27)), K.
- `docs/fragments.md:169-192` lacks the skill's caveat that an enrichment
- fragment fails `fragment validate` on its own
- (`skills/sbom-validate/SKILL.md:132-137`); the pair then gets no merged
- verdict.
-- **DOC-4** nit, **C**, R. `docs/url-credentials.md` has no SPDX header (the
- only page).
-- **DOC-5** nit, **C** (docs sweep), R. `docs/python-api.md` is 31,206 bytes,
- over the 30 KB hard limit (27,257 at v0.24.0; grew in #545, #553, #557).
-- **DOC-7** nit, **C** (docs sweep), K. After the #549 split,
- `docs/configuration.md` and `docs/python-api.md` have no See-also near the
- top (first pointers at lines 160 and 82).
-- **TRY-11** nit, **C** (docs sweep), K. `docs/python-api.md:474` uses an
- undefined `labels`; `:257` "(it raised `FileNotFoundError` before)" is
- history; `docs/id-registry.md:131` names `src/pitloom/core/walk_rules.py`;
- `cli.md:284`/`id-registry-create.md:21` show `id generate data src
- --entity model`, which only says `registry-path-key-unusable`;
- `skills/sbom-generate/references/examples.md:118` `-e
- my-pkg:software_Package` gets `registry-identity-missing`.
-- **TRY-9a** min, **C**, R. A version-3 registry gives `ERROR: ... version
- 3, expected 4 (no migration support) [registry-wrong-format]` with no
- action; `docs/message-codes-id-registry.md:199-202`, `docs/cli.md:298-299`
- and `docs/id-registry-create.md:93` give three different remedies.
-
-## Skills
-
-- **REG-2** min, **C**, K. `skills/sbom-generate/references/id-registry.md:
- 326-331` says loom reads only `id-registry`, `update-id-registry`,
- `max-dataset-hash-bytes` from `pitloom_config`; it also honours
- `url-credentials`/`accept-url-credentials` (`docs/python-api.md:536-539`).
- #494.
-- **SKL-3** min, **C**, R. `skills/sbom-generate/references/
- known-limitations.md:310-331` and `sbom-validate/SKILL.md:178-179` say
- `wheel`/`generate` refuse, or "warn first", on a wheel with no single own
- `.dist-info`; they warn (`[dist-info-missing]`) and write the SBOM, exit 0.
- #515.
-- **SKL-4** nit, **C**, K. `sbom-generate/SKILL.md:216-217` "an `ERROR:`
- ending `wheel refused`" and `sbom-validate/SKILL.md:117-118` "ends `could
- not be validated`": both lines end in a `[code]`. #515.
-- **SKL-5** nit, **C**, R. `references/cli-flags.md:17-19` and
- `SKILL.md:272-274` key "drop the flag next time" on `WARNING: Options:`;
- the build flags print `WARNING: Build: : --no-build-isolation
- has no effect without --allow-build [option-no-effect]` (also the only
- no-effect line with a bare absolute path).
-- **SKL-6** nit, **C** (docs sweep), K. Stale `Last-Modified`:
- `sbom-generate/references/examples.md:3`, `build-timeout.md:3`,
- `cli-flags.md:3`.
-
-## GitHub Action
-
-- **ACT-1** min, **N**, K. `action.yml:366-377,610-613` count `embed-wheel`
- matches with `glob.glob`; loom (#491, `cli/commands/utils.py:146-153,
- 192-207`) takes a pattern matching nothing as a literal path
- (`dist[1]/x.whl`) and counts regular files once. Repro (reviewer): wheel at
- `dist[1]/demo-1.0-py3-none-any.whl`: `::warning::embed-wheel matches 0
- wheels; ignoring output`, no `sbom-path`, while loom embedded one.
-- **ACT-2** min, **N**, K (timing by the reviewer). `action.yml:571`
- `line=${line//'%'/%25}` is quadratic on bash 3.2; credential lines (#489,
- #490) print whole URLs: 10,000 `%` in one URL took 18.5 s user time.
-- **ACT-4** nit, **C**, R. `action.yml:585-589` comment "loom emits no
- untagged line": argparse's usage block is untagged (harmless: it comes
- before any tagged line).
-- **ACT-5** nit, **C** (docs sweep), K. `docs/github-action.md:3`
- `Last-Modified: 2026-11-23` (changed 2026-11-25, -26).
-
-## Downstream trial, behaviour
-
-- **TRY-1** maj, (ruled 2026-11-27): caveat plus handoff; **B** for a caveat
- (a documented command fails on the normal case), **N** for the fix (pre,
- upstream), R on both trees. `loom fragment validate A B` fails two valid
- Pitloom SBOMs whose `created` differ: `More than 1 values on ...
- _:CreationInfo0` (sh:MaxCount). The fixture fragments
- (`tests/fixtures/fragments/*.json`) fail it too; `--no-merge` passes; `loom
- merge` output validates. The merged graph is built by spdx3-validate
- (`spdx3_validate.validate(paths, check_merged=True)`,
- `src/pitloom/cli/commands/utils.py:418`), which shares document-scoped blank
- node labels across files. Same in v0.24.0. Upstream (the user's own
- spdx3-validate fork): a handoff, not an edit. For 0.25.0 a caveat at
- `docs/fragments.md:173-182` and `skills/sbom-validate/SKILL.md:121-127` (or
- `--no-merge` by default: a user decision). When only the merged check fails,
- no `FILE=... STATUS=valid` line is printed for the documents that passed
- (`docs/cli.md:364`).
-- **TRY-3 = CLI-5** min, **N**, R. `-v` prints `OPTION=creation_datetime
- SOURCE=default VALUE=None` when `SOURCE_DATE_EPOCH` set `created`
- (repro: `SOURCE_DATE_EPOCH=1700000000 loom project p --offline -v`), and
- `OPTION=config_file SOURCE=command-line` with no `--config`.
-- **TRY-5** min, **N**, R. `--content-type-method extension` without
- `--content-type` is silently ignored (no `contentType`, no warning);
- `docs/cli-flags.md:86-90` does not say it needs `--content-type`.
-- **TRY-7** min, **N** (ruled 2026-11-27), K. `loom.run` fragments get a
- fresh `uuid4` document namespace every run (`_loom_active_run.py:122`),
- so two runs with a pinned `SOURCE_DATE_EPOCH` differ. Documented
- (`docs/cli.md:280`, `docs/id-registry.md:20`: independent runs get
- different ids; pin them with a registry); the question is CLAUDE.md's "no
- random UUIDs". Builds stay deterministic: they read the saved fragment.
-- **TRY-8** min, **N** (ruled 2026-11-27); pre, arguably wrong SBOM content, K.
- `[project.urls] Homepage` is also `software_downloadLocation` when there is
- no `Source` (`assemble/spdx3/_document_main_package.py:51`).
-- **TRY-10** (part of CLI-10) nit, **N**, R. `PITLOOM_SBOM_OUTPUT_PATH` is
- relative for `project`'s default name, absolute for
- `wheel`/`model`/`enrich`/`env` defaults (`docs/cli.md:360`).
-- **TRY-12** nit, **N**, R. `WARNING: --sbom-basename: a string
- 'foo.spdx3.json' is not a bare file name (white space or a trailing
- .spdx3.json); using foo [sbom-name-invalid]` names both causes; a
- hook-table unknown key's traceback ends in the private
- `pitloom.messages._config_say.ConfigError`.
diff --git a/working-docs/implementation/pre-release-review-0.25.0/fix-status.md b/working-docs/implementation/pre-release-review-0.25.0/fix-status.md
deleted file mode 100644
index e2a4b6f85..000000000
--- a/working-docs/implementation/pre-release-review-0.25.0/fix-status.md
+++ /dev/null
@@ -1,283 +0,0 @@
----
-Created: 2026-11-30
-Last-Modified: 2026-11-30
-SPDX-FileCopyrightText: 2026-present Arthit Suriyawongkul
-SPDX-FileType: DOCUMENTATION
-SPDX-License-Identifier: CC0-1.0
----
-
-# Pre-release review 0.25.0: fix status, rulings and PR records
-
-See also: [../pre-release-review-0.25.0.md](../pre-release-review-0.25.0.md)
-(gates, triage, fix plan), [findings-code.md](findings-code.md),
-[findings-docs.md](findings-docs.md), [docs-batch-done.md](docs-batch-done.md).
-
-## Fix status: catalogue batch (#559)
-
-All seven items fixed; each has a regression test that fails on the
-review's base tree. Files outside the written fence, both needed by the
-fix: `scripts/message_reference/sections.py` (HOOK-4: the generated
-"exit 1" comes from its `ERROR_RULE_OVERRIDES`, not from the entry) and
-`cli/commands/utils.py` (CLI-3: passes the validated paths to the relay;
-three lines).
-
-- **LIB-6**: `generate_git_sbom(sbom_kind=)` and `generate_pypi_sbom(kind=)`
- refuse through `require_choice_argument` (`one-of-sbom-kind`,
- `one-of-pypi-kind`): `CodedTypeError` for a non-string,
- `CodedValueError` for an unknown string. The URL of both, and of
- `generate_git_project_sbom()`, goes through `require_text_argument`:
- `None` is `CodedTypeError`, `""` and blank `CodedValueError`, all
- `option-invalid` (an Opus second opinion preferred this to letting the
- `url` field write an empty value: the precedent of every other empty
- argument, and the field is free text). A PyPI URL is parsed before any
- option warns against it. PR C: `docs/python-api-remote.md:113-114` (an
- empty URL is `option-invalid`, not `pypi-url-invalid`) and
- `docs/api.md:25-28` (a Git URL of the wrong type is now checked by the
- generators; `fetch_git_project()` still is not).
-- **MSG-1**: as ruled; the mechanism is in
- [message-consistency-rescan.md](../../design/message-consistency-rescan.md)
- section 6.1: the reader-unsafe line, both usage hints and (found by the
- first review round) the two `credentials-unsafe` library lines, which
- said `credentials=CredentialPolicy(...)` on the embed route.
- `option-no-effect`'s bare names stay (section 8 there).
- PR C: `docs/ai-model-scan-limits.md:167`, `docs/python-api.md:160-163`
- and the by-surface table of `docs/url-credentials.md:254` give only the
- keyword form (`set trust_model_files=True`,
- `credentials=CredentialPolicy(...)`); add the `embed_wheel_sbom()` form
- (`ConfigOverrides.trust_model_files`, `ConfigOverrides.credentials`).
-- **MSG-6**: `set BuildOptions.allow=True`.
-- **LIB-7**: the line's `option` value is picked per surface
- (`ALLOW_SIGNED_NAMES`, as `ALLOW_BUILD_NAMES`): `allow_signed_wheel=True`
- in the library. Not a `Twins` with the flag in the template: the
- 20-character `--allow-signed-wheel` would then read as catalogue text in
- the CLI's own option declarations (`test_drift_sources`).
-- **MSG-2**: summary and `did` say `TypeError (CodedTypeError)` for a
- wrong type, `ValueError (CodedValueError)` for a refused value.
-- **HOOK-4**: the reference says the build fails (hook only). The page
- quote (`docs/hatchling-build-hook.md:131-134`) is PR C's.
-- **CLI-3**: each validated path, and each `names` entry, is written into
- the validator's text escaped (`escape_controls`, one longest-first
- pass) before the text is split: `bad\nERROR: forged.json` stays on its
- line, as the coded `FILE=` line shows it.
-
-Gates of this batch: the full suite, every CI linter, the message checks,
-branch coverage of the changed files, two fresh-context Opus review rounds
-(round 1: the credential lines and three stale tests; round 2: catalogue
-prose only), 26 mutants of the selection logic (all killed after two added
-tests and one redundant check removed), a Windows dry run (no new test
-creates a file name with a line break; disk tests are `platform`) and the
-manual CLI checks (`-j 8`). One manual check, `O1/src/fresh-loom` (the
-loom SDK's dataset key sets), failed once under `-j 8` and passed alone
-on this tree and on the base: load-dependent, in code this batch does not
-touch; a rerun does not prove it gone.
-
-## Rulings (user, 2026-11-27)
-
-Not decisions: LIB-1, LIB-2, CLI-1 and the TRY-1 caveat block the release
-by the review's definition; SKL-2 is the tracked cut sweep.
-
-1. **TRY-1**: caveat plus handoff. Keep the merged check; the caveat goes
- in PR C; spdx3-validate gets the prompt below; it is not edited here.
-2. **MSG-1**: library-specific wording naming the `ConfigOverrides`
- fields; no API change (PR B).
-3. **TRY-2**: `loom.add_dataset()` inside a `use_model()` run records the
- dataset as `testedOn`, not `trainedOn`: a 0.25.0 code fix (PR A), the
- example in PR C.
-4. **CLI-7**: a target that is neither a local path nor a Hub repository
- the Hub knows is an error, no SBOM, exit 1, naming the local path as
- not found too: a 0.25.0 fix (PR E).
-5. **TRY-7, TRY-8**: next release.
-6. **CLI-7, 401**: always refuse. A target that is no local path and that
- the Hub answers "not found" (an anonymous 401 included, which a private
- model asked for without a token also gets) is an error; the line names
- the local path as not found, says the Hub knows no such model, and adds
- that a private one needs `HF_TOKEN` or `hf auth login`. A bare id and a
- URL alike (the URL line names no local path: a URL is none).
-7. **CLI-7, legacy page URL**: fixed in the same PR:
- `https://huggingface.co/gpt2/tree/main` reads as the model `gpt2`, so the
- new error cannot fire on a real model with a one-part id.
-
-## PR A, argument checks: what was done
-
-Branch `review-argument-fixes`, #560. Every PR A item is fixed; the rulings
-below had an Opus second opinion, whose amendments were taken unless noted.
-
-- LIB-1, LIB-4: one helper, `pitloom._sbom_io.refuse_empty_path()` (type,
- then `""`), at the start of `generate()`, `generate_project_sbom()`,
- `generate_wheel_sbom()` (before a PyPI download),
- `generate_wheel_sbom_with_metadata()`, `embed_wheel_sbom()`,
- `resolve_registry()`, `refuse_empty_output()` and `IdRegistry`;
- `_loom_args` shares its predicate (`is_named_path`). It lives in
- `_sbom_io` (the fence); `pitloom.core` would fit better (follow-up).
-- LIB-2: the loom `name` rule refuses empty or blank on every call taking it
- (`set_model`/`use_model` too: no model is named blank).
-- LIB-5, REG-3: `IdRegistry(path=, project_root=)`, `new()`, `save()`,
- `generate()` (paths, root, exclude), `import_sbom()` and `register()`
- (types; empty or blank type name; empty name) refuse with
- `option-invalid` (an empty path in `generate()`'s *paths* is
- `input-not-found`, as `loom id generate ''`); a `str` path is held as a
- `TypedPath`, so `load("./r.json")` names `./r.json` as typed; `save()` over a
- directory is `file-unwritable` naming the path given (`coded_write` in
- `write_registry_file`); `_mint_id`'s empty prefix is an `InternalError`.
-- LIB-8: `configure_logging()` in `IdRegistry.__init__`/`load()` (every
- method runs on such an object), `resolve_registry()`,
- `find_embedded_sbom()` (which now refuses an empty `wheel_path`,
- `input-not-found`) and `fetch_git_project()`.
-- LIB-10: a Git URL with no host is refused before git runs, with the
- existing `url-unsafe/host-spelling` line (its text does not name a
- missing host: a catalogue follow-up for PR B).
-- CLI-1, CLI-2, CLI-9 (`''`): `type=` in `cli/parser.py` refuses an empty
- or blank `--creator-name`, `--creator-email`, `--creation-tool` at parse:
- `argument --x: must be a non-empty string`, `option-invalid`, exit 2.
-- TRY-2 (ruled): `_emit_model_dataset_relationships()` relates every
- `add_dataset()` dataset `testedOn` when the run's model was declared with
- `generated=False` (`use_model()`), once even when also a validation
- dataset; `None` (not given) stays training, as `generates` reads it.
-- LIB-9: the CHANGELOG bullet now names what is checked.
-
-Gates: Gate A full suite 31,493 passed, 0 failed (main merged in); ruff,
-flake8, mypy (1,668 files), pyright, pyrefly 0 errors, pylint 10.00 (exit 0),
-bandit; message inventory and reference `--check`; changed lines 100%
-branch-covered; every new regression test fails on 1ebf0201. Mutation: 42
-mutants of the new checks, all killed. Two fresh-context Opus review rounds
-(round 2 found no bug), each with a Windows dry run. Gate B:
-`manual_cli_checks -j 8 --network` 671 pass, 0 fail, 29 known (the tracked
-order-matrix item). Changed `SKILL.md`s: none.
-
-Left for later (next-release list): `IdRegistry` methods not on the
-findings list (`lookup`, `get`, `has_name`, `reserve_id`,
-`promote_alias`, `require_project_root`) still raise uncoded errors for a
-wrong type; `set_model(path="")` warns `model-file-missing` at exit rather
-than refusing; `generate_pypi_sbom(project_dir="")` only warns
-(`_generators_pypi.py`, PR B's fence); a `list-of-paths` EXPECTED id;
-`id_registry/_registry.py` is 690 lines (over the soft limit); a blank
-`email` in `[[tool.pitloom.creator]]` or `Creator(email="")` is still dropped
-silently (the CLI flag now refuses it); `extract.remote.pypi.fetch_pypi_file`
-(public) never calls `configure_logging()`. For PR C: `docs/api.md:16` says
-"choice arguments" are checked (true once LIB-6 lands); the no-host Git URL
-refusal and the blank creator/tool refusal are not on the Git URL and CLI
-flag pages.
-
-## PR E, Hub "repository not found" (CLI-7): what was done
-
-Branch `hub-repository-not-found`. The Hub's answers, measured on
-2026-11-27 with `huggingface_hub` 2.2.0, anonymous (no token was at hand;
-the private rows are huggingface_hub's own comment in `hf_raise_for_status`
-and the Hub's documentation; an Opus second opinion measured the case and
-rename rows):
-
-| Repository | `model_info()` | Files (`resolve`) |
-|---|---|---|
-| missing (`h/nope`, an owner with no account) | `RepositoryNotFoundError`, 401 "Invalid username or password." | 401 |
-| public (`gpt2`, `mistralai/Mistral-7B-v0.1`) | 200 | 200 |
-| gated (`meta-llama/Llama-2-7b-hf`, `google/gemma-2b`) | 200, `gated=manual` | card 200; `config.json` 401 `X-Error-Code: GatedRepo` |
-| missing, an invalid token sent | as anonymous (the Hub ignores the token) | - |
-| public or gated, an invalid token sent | 200 | - |
-| another case or a moved name (`GPT2`, `gpt2`) | 200 after a 307 to the current id | - |
-| private, no token (or an expired one) | believed: as missing (401) | - |
-| private, a token without / with access | believed: 404 `RepoNotFound` / 200 | - |
-
-`GatedRepoError` is a subclass of `RepositoryNotFoundError` (1.x and 2.x)
-and is sent for files only; `DisabledRepoError` is not one.
-
-The rule (ruling 6): only `model_info()` decides, the first request. A
-`RepositoryNotFoundError` that is no `GatedRepoError`
-(`_hub_api.is_repository_not_found`) raises `RemoteSourceError`
-`huggingface.repository-not-found`, catalogue `input-not-found/hub`, before
-any file is fetched: no SBOM, exit 1, on `loom generate`, `loom model`,
-`generate()` and `generate_model_sbom()`. Two lines: an id (`target not
-found: 'h/nope' is no local path, and the Hugging Face Hub knows no model
-; if it is private, set HF_TOKEN ...`) and a URL (`URL=: the
-Hugging Face Hub knows no such model; ...`); the page is the Hub asked
-(`HF_ENDPOINT`). Every other failure keeps its `WARNING:`. A dataset a card
-lists is not the target: `dataset_info()` not found still warns. An id
-`huggingface_hub` refuses before any request (`HFValidationError`:
-`a/b--c`, `h/no pe`) is refused the same way: no model can have it. A
-mirror (`HF_ENDPOINT`) that answers a bare 404 without the Hub's
-`X-Error-Code: RepoNotFound` is no "not found" answer: it still warns
-(an http mirror is refused before any request).
-
-Also: `loom model ` now gives the library the URL as typed, as
-`loom generate` does (it gave the id, so a URL's refusal would have named
-a local path, and `gpt2/tree/main` was read as a local file `gpt2`); the
-URL-rewrite `INFO:` is said by `read_huggingface` alone, before the offline
-check. A page URL `//` with a page kind (`tree`, `blob`,
-`resolve`, `commit`, `commits`, `discussions`, `edit`, `raw`, `blame`) and
-a part that is none names the one-part id (ruling 7); `org/tree/tree/main`
-stays the model `org/tree` (`settings` is a page kind too, measured). A
-page kind with nothing after it is read as the two parts
-(`https://huggingface.co/gpt2/settings` is refused naming
-`gpt2/settings`): nothing tells it from a model of that name. Measured on
-the Hub: bare `gpt2/tree` and `gpt2/commits` are 401 there too (no page),
-`gpt2/settings` is a page that needs a login, `gpt2/discussions` is read
-as before (no refusal). A retry as the one-part id was tried and dropped:
-it named the output file and the rewrite `INFO:` after an id the run then
-did not read. An id-shaped target that is a dangling symbolic
-link is a local path (`os.path.lexists`), so "is no local path" stays true.
-
-The other items: `fetch_git_project()` checks its URL argument
-(`require_text_argument`) when the block is entered, before the temporary
-directory; a Git URL with no host has its own `git-url-invalid` line ("the
-URL names no host"; a line of an existing code rather than a new
-`url-unsafe/host-missing`, as the catalogue rules ask); `IdRegistry.generate()`
-says "a list or tuple of paths" (`list-of-paths`).
-
-For PR C: `docs/ai-model-formats-hugging-face.md` and `docs/cli.md:168-178`
-(a model the Hub does not know, or private without a token, is
-`input-not-found/hub`; a page of a one-part id; a dangling link is a local
-path), `docs/python-api-remote.md` (the `huggingface.repository-not-found`
-code; the no-host `git-url-invalid` line beside `url-unsafe/host-spelling`
-at line 49), `docs/git-urls.md:114-125` (the no-host refusal),
-`docs/api.md:25-28` (`fetch_git_project()` now checks its URL).
-
-Follow-ups (next release): `docs/message-codes-targets.md` is 163 bytes
-under its 30,000-byte cap: the next `targets` entry needs a topic split; a
-one-part URL with no page (`https://huggingface.co/gpt2`) is still
-`hf-url-invalid`; the model id kept is the one typed, not the Hub's current
-one (`info.id`: `gpt2`, not `openai-community/gpt2`); a page URL's revision
-(`tree/v1.0`) is not read, the revision `model_info()` states is;
-`https://huggingface.co/gpt2/discussions` is read as the model
-`gpt2/discussions`, whose `model_info()` answer is no model's
-(`hub-response-invalid`, an SBOM, exit 0, as before); a URL without its
-scheme (`huggingface.co/gpt2`) is read as an id and refused naming
-`https://huggingface.co/huggingface.co/gpt2`, with no hint to add
-`https://`.
-
-## PR C, docs and skills, and the sweep: what was done
-
-Branch `release-docs-sweep`: every item fixed or ruled out with its reason,
-and the sweep's removals, in [docs-batch-done.md](../pre-release-review-0.25.0/docs-batch-done.md).
-
-## PR D, the bump: what was done
-
-Branch `release-0-25-0`: SKL-1, SKL-2 (37 floor lines to 0.25.0; the
-"0.24.0 or later" PyPI-URL lines and the history pins kept), HOOK-6, the
-bump cautions, the docs and examples quoting `licenseid>=0.9.4,<0.10`
-(#563 raised it) after a licence-answer sweep
-([floor-0-9-4-sweep.md](../licenseid/floor-0-9-4-sweep.md): under 0.9.4 a
-file of several texts was no longer seen as one; fixed by #563),
-and `tests/test_licenseid_floor_docs.py` reads "LicenseID 0.x.y",
-`licenseid==0.x.y` and a cut changelog.
-
-## Handoff prompt for spdx3-validate (TRY-1)
-
-For a session in the spdx3-validate repository (`bact/spdx3-validate`); the
-pin Pitloom tests is `0e2e3562` (`pyproject.toml`, `conformance` group):
-
-> `spdx3_validate.validate(paths, check_merged=True)` builds the merged
-> graph as `merged = rdflib.Graph()` then `merged += doc.graph` per
-> document (`src/spdx3_validate/core.py:719-722` at the pinned
-> commit). A blank node label is scoped to its own JSON-LD document, but the
-> union keeps the labels, so two documents that both use `_:CreationInfo0`
-> (every Pitloom SBOM does) share one `CreationInfo` node in the merged
-> graph. With different `created` values it then fails
-> `sh:MaxCountConstraintComponent` on `Core/created` ("More than 1 values
-> on ... _:CreationInfo0"), though each document is valid on its own.
-> Repro: two SPDX 3 JSON-LD files, each with `{"@id": "_:CreationInfo0",
-> "type": "CreationInfo", "created": ...}` and different `created`; the
-> merged check fails, `--no-merge` passes. Fix: rename each document's
-> blank nodes apart before the union (for example map every `BNode` of
-> document *i* to a fresh `BNode()`, or skolemise per document), keeping
-> IRIs shared. Add a regression test with two such documents; check that a
-> blank node a document references twice still resolves to one node within
-> that document. Do not change how a single document is validated.