fix: wiki-ingest and wiki-manage call xref add with --rel, not --rel-a/--rel-b (#174)
CI / verify (push) Successful in 5m16s
CI / pwsh (push) Successful in 2m1s
Release / release (push) Successful in 36s

Files changed:
- CHANGES.md
- VERSION
- instructions/wiki-ingest/SKILL.md
- instructions/wiki-manage/SKILL.md
This commit is contained in:
torben committed 2026-10-04 19:11:35 +02:00
1 parent 20a7624134
commit 662a844cf1
4 files changed
+20 -6

No files matched your search

+12 -1
View File
@@ -59,7 +59,7 @@ concern - readable here, never shipped as something to parse.
--- ---
## 8.0.0-beta.38 - 2026-10-04 - kb/CONTRACT.md names unwritten scaffold sections and the Unfilled Template Sections finding ## 8.0.0-beta.39 - 2026-10-04 - wiki-ingest and wiki-manage call xref add with --rel, not the --rel-a/--rel-b removed in 4.0.0
**Author:** Torben Nehmer **Author:** Torben Nehmer
@@ -149,8 +149,19 @@ concern - readable here, never shipped as something to parse.
- Page-material passages in type-spec.md, type-guidance.md and language-boundaries.md name subtype templates - Page-material passages in type-spec.md, type-guidance.md and language-boundaries.md name subtype templates
- kb/CONTRACT.md names section anchors in wikilinks and the Broken Anchors finding - kb/CONTRACT.md names section anchors in wikilinks and the Broken Anchors finding
- kb/CONTRACT.md names unwritten scaffold sections and the Unfilled Template Sections finding - kb/CONTRACT.md names unwritten scaffold sections and the Unfilled Template Sections finding
- wiki-ingest and wiki-manage call xref add with --rel, not the --rel-a/--rel-b removed in 4.0.0
<!-- /wikitool:bumps --> <!-- /wikitool:bumps -->
### wiki-ingest and wiki-manage call xref add with --rel, not the --rel-a/--rel-b removed in 4.0.0
Since 4.0.0 `xref add` declares one directed edge and takes a single `--rel`, but the
cross-reference step of both skills still showed the mirrored form with `--rel-a`/`--rel-b`, so
every session that followed it failed with `No such option` and had to recover the syntax from
`-h`. Both now show `xref add --a --b --rel` with the reading `[A] <label> [B]` as a comment, and
point at `kb/CONTRACT.md` § Linking for direction and reverse edges instead of restating the rule.
A scan of every documented `wikitool` call against the command tree found no other stale flag.
Found during an ingest in an instance on 7.0.0 (Gitea #174).
### kb/CONTRACT.md names unwritten scaffold sections and the Unfilled Template Sections finding ### kb/CONTRACT.md names unwritten scaffold sections and the Unfilled Template Sections finding
The stage contract pairs each page property with the `lint` finding that checks it, and its The stage contract pairs each page property with the `lint` finding that checks it, and its
+1 -1
View File
@@ -1 +1 @@
8.0.0-beta.38 8.0.0-beta.39
+4 -2
View File
@@ -343,11 +343,13 @@ validator complains - and the ticked list is the only record that they happened.
9. **Cross-reference.** 9. **Cross-reference.**
```bash ```bash
tools/wikitool xref add --a "<A>" --b "<B>" --rel-a "<label>" --rel-b "<label>" tools/wikitool xref add --a "<A>" --b "<B>" --rel "<label>" # [A] <label> [B]
tools/wikitool xref link-source --source "Source - <Title>" --entities A,B,C tools/wikitool xref link-source --source "Source - <Title>" --entities A,B,C
``` ```
The second links the new source to everything it backs in one pass. The first declares one edge, on A only; which way it reads, and when the reverse edge earns a
call of its own, is `kb/CONTRACT.md` § Linking. The second links the new source to everything
it backs in one pass.
10. **Check coverage.** 10. **Check coverage.**
+3 -2
View File
@@ -56,10 +56,11 @@ requirements come from `tools/wikitool types describe <type>`.
6. **Cross-reference.** 6. **Cross-reference.**
```bash ```bash
tools/wikitool xref add --a "<A>" --b "<B>" --rel-a "<label>" --rel-b "<label>" tools/wikitool xref add --a "<A>" --b "<B>" --rel "<label>" # [A] <label> [B]
``` ```
One per relationship. Never hand-edit `related:`. One per relationship, on A only; which way it reads, and when the reverse edge earns a call of
its own, is `kb/CONTRACT.md` § Linking. Never hand-edit `related:`.
7. **Close out.** `instructions/publish-cycle.md`, `--op create`. 7. **Close out.** `instructions/publish-cycle.md`, `--op create`.