Commit Graph

4 Commits

Author SHA1 Message Date
Octoturge c421a63107 Convert wikilinks to standard Markdown links vault-wide (#3)
* refactor(vault): convert wikilinks to standard Markdown links

Switches the vault's internal linking convention from Obsidian
wikilinks ([[Target]]) to standard Markdown links ([Text](path)),
so the vault renders correctly in Obsidian, plain Markdown readers,
and AI tools that don't understand wikilink syntax.

- Flipped Obsidian's core "Use [[Wikilinks]]" setting off
  (.obsidian/app.json: useMarkdownLinks + newLinkFormat: relative)
  so new links created in-app follow the same convention.
- Converted ~1690 wikilink/embed occurrences across 143 files via a
  vault-aware script: relative path resolution per source file,
  GitHub-compatible heading-anchor slugs (with correct duplicate
  suffixing) for same-file and cross-file heading links, alias-aware
  and case-insensitive target resolution, and disambiguation for the
  handful of basenames that exist in more than one place (e.g. Nil,
  Federacja Sol-3) in favor of their canonical page.
- Image embeds with a size modifier become <img width> tags; sized-less
  images become standard ![]() embeds; non-image embeds (video) become
  plain links, since transclusion has no Markdown equivalent.
- Updated the styleguide to document the new link convention.
- Fixed one pre-existing typo (swapped target/alias on a Tempus link).

Verified: 1648/1656 non-asset links resolve to real files after
conversion; the remaining 8 are either a documentation example or
already-known pre-existing red links (missing conflicts.md index,
a couple of not-yet-written character/org stubs) predating this change.

* fix(vault): add missing conflicts.md index, restore two dangling TOC entries

- Add conflicts.md as a top-level index (mirroring npcs.md/organizations.md/etc),
  the only top-level folder that lacked one.
- lore/05: restore the missing "Przywództwo i legendy" heading its TOC
  already pointed at (content existed, just wasn't header-ized).
- organizations/Federacja Sol-3.md: fix two TOC entries whose text had
  drifted from the real heading ("Wojsko Federacji" -> "Wojsko i Waluty
  Federacji", "a Podbój Kosmosu" -> "w Podbój Kosmosu" typo), and restore
  the missing "Ziemia (Sol-3-1725) jako Kluczowy Członek" heading.
- Ziemia (Sol-3-1725).md: drop an orphaned TOC sub-entry pointing at a
  bolded callout label ("Centrum Wsparcia Planetarnego") that was never
  a real heading, rather than inventing one that would break the callout.

* feat(vault): restructure Elf race page, add Brogir Vane and Siły Specjalne X

- races/Elf.md: consolidate the scattered Wysokie/Leśne differentiators
  (previously one sentence per theme in each general section) into two
  dedicated ## Elfy Wysokie / ## Elfy Leśne sections, so the existing
  cross-file links to these subraces resolve to something real instead
  of just falling back to the whole page.
- Add npcs/Bank Krasnoludzki/Brogir Vane.md - Dyrektor Generalny of the
  Dwarven Bank on Earth, distinct from Thingrim Magnarson's "Twarz Banku"
  public-facing role. Fixed the two links in races/Krasnolud.md that
  pointed at the wrong (races/) folder.
- Add organizations/Federacja Sol-3/Siły Specjalne X.md, built from the
  existing canonical book content in lore/10 (previously only ever
  quoted inline on Nicodemus Florens's and Karolina Fey's pages, never
  given its own page). Fixed the pre-existing red links across
  npcs.md/Nicodemus Florens.md/Karolina Fey.md to point at it, and
  added it to organizations.md.

Verified: 0 broken internal links vault-wide (excluding the two files
already out of scope: the styleguide's illustrative link example, and
the pre-existing lore/90 session-log import with its own Pandoc-style
anchor convention).

* feat(organizations): add X-COM-flavored mission doctrine to Siły Specjalne X

* fix(organizations): specify Siły Specjalne X squad composition (10-12, 3-4 human)

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-08-17 17:26:28 +02:00
Claude 3c8c97df9e fix(rules,spells): reconcile Księga Magii and spell requirements against source doc
Księga Magii also grew since the last sync (2970-line doc now). Checked
structural coverage against the vault: Rozdział I (disciplines) and
Rozdział IV (artifacts) are correctly split into disciplines/*.md and
already match the doc. Rozdział VII (spell-creation formulas/tables)
verified byte-for-byte accurate.

Found one real structural gap: Rozdział VIII "Dzika Magia Dzikich Wiedźm"
had zero presence in rules/01 - not even a summary+link - even though the
actual content already exists, complete and accurate, in
disciplines/Dzika Wiedźmia Magia.md. Added the missing chapter stub.

Spot-checked spells across schools (general/air/sacred/superspells) for
stat-block accuracy against the doc - found and fixed a real, recurring
bug: several spells have a "Wymagania" (requirements) line in the book
that never made it into the vault's structured `requirements` field:

- Ostrze Dawida: requires Race (Anioł) - was empty
- Fanatyczne Poświęcenie: requires Race (Człowiek) - was empty
- All 8 superspells require Mistrzostwo (mastery) of a discipline - none
  of them encode this anywhere. Added the requirement text into each
  spell's body since the schema has no dedicated "mastery" field and
  guessing at unknown discipline enum keys seemed worse than not
  guessing. Left as follow-up if the app schema should grow a field for
  this.
- Zagłada (Doom) specifically requires a 4-mage ritual (main caster + 3
  others who already know the spell, none can be Źródło Mocy) - this one
  *does* have dedicated frontmatter fields (requiresGroupCast, minCasters)
  that were sitting at false/1. Fixed to true/4.

Did not attempt a full line-by-line read of all ~104 spells or the
~900 lines of Rozdział I-VI narrative/spell prose given the book's size;
spot-checked a representative sample per chapter/school instead. A
systematic requirements-field audit across all spell files is a
reasonable follow-up given what turned up here.
2026-08-16 16:05:01 +00:00
Octoturge 85d10f8cbb vault backup: 2026-06-28 17:36:15 2026-06-28 17:36:15 +02:00
Octoturge 3694716652 Initial commit 2026-06-09 21:47:57 +02:00