fix: wiki-ingest and wiki-manage call xref add with --rel, not --rel-a/--rel-b (#174)
Files changed: - CHANGES.md - VERSION - instructions/wiki-ingest/SKILL.md - instructions/wiki-manage/SKILL.md
This commit is contained in:
1 parent
20a7624134
commit
662a844cf1
4 files changed
+20
-6
No files matched your search
+12
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
- 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
|
||||
- wiki-ingest and wiki-manage call xref add with --rel, not the --rel-a/--rel-b removed in 4.0.0
|
||||
<!-- /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
|
||||
|
||||
The stage contract pairs each page property with the `lint` finding that checks it, and its
|
||||
|
||||
@@ -343,11 +343,13 @@ validator complains - and the ticked list is the only record that they happened.
|
||||
9. **Cross-reference.**
|
||||
|
||||
```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
|
||||
```
|
||||
|
||||
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.**
|
||||
|
||||
|
||||
@@ -56,10 +56,11 @@ requirements come from `tools/wikitool types describe <type>`.
|
||||
6. **Cross-reference.**
|
||||
|
||||
```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`.
|
||||
|
||||
|
||||
Reference in new issue
Block a user