AI concept wiki build pipeline

Generates a three-language concept wiki from one source note per concept.

#Claude Code#i18n#static site#quality gate#parallel agents
Three-language wiki pipeline

WorkflowThree-language wiki pipeline

Sites & i18n ifcab.com

A wiki that sorts AI-agent terms into five layers, from your intent down to machine action. It is published in Japanese, English and Traditional Chinese; editing a source note sets translation, checks and publishing in motion.

Challenge

  • With three languages, every edit to a source note leaves some translations behind, and nobody can tell which ones are stale
  • Checking format by eye (bilingual layout, stray kana or Simplified characters) stops scaling as the term count grows

Approach

  • Each concept folder holds the source note and three translations; each translation is stamped with a fingerprint of the source, so stale ones are found mechanically
  • Translation runs as parallel Claude agents, and any translation that fails the format checks is sent back automatically

Outcome

  • Edit a note, run one command, and pages, site search and navigation are ready in all three languages
  • If any language fails, the term is held back in all three, so the languages never disagree

The AI Concept Wiki on this site explains the terms you meet when running AI agents, sorted into five layers that follow your intent down to machine action: methodology, the human–machine interface, engineering practice, platforms and theory.

It is designed to grow to 500 terms, so concept map → review → translation → checks → page build → publishing is one workflow. The author chooses the topics and decides when to publish; an agent drafts each concept map, another model reviews it, and scripts and translator agents do the rest.

The full workflow

TaskWhoInputsOutputs
1. Draft mapMap agent + Ledger scriptlearning-map + scaffold.py—Concept map
2. ReviewReviewerCodexConcept mapReview report
3. TranslateTranslator agents + Dispatcherclaude -p + translate.shConcept map, Review report, Refers to Format rulesTranslations
4. Check & stampWiki builderbuild_wiki.pyTranslationsChecks + stamp
5. ImportImport scriptsources.pyChecks + stampSources
6. Build pagesWiki builderbuild_wiki.pySourcesPages ×3
7. PublishAuthor + Deploy scriptauthor + deploy.shPages ×3Live site
Three-language wiki pipeline

7 steps · 4 roles · 5 scripts · 1 loop · 2026-11-11 – 11-15 · 75 concepts

An agent drafts each concept map, another model reviews it, translator agents write three languages, scripts check, import and build the pages, and the author decides when to publish.

  • Steps 1–2 run in the knowledge-graph folder; steps 3–7 run in this site's repository
  • A person appears only at publishing: the author names the topic, agents draft and translate, scripts check and build
  • One loop: a concept with serious review findings is fixed and reviewed again
  • If any of the three languages fails, the concept is held back in all three

Project folders involved (4)

This workflow does not live in one folder: it runs across projects.

(private) knowledge-graph folder
A private knowledge-graph folder: concept-map sources, the overview map, review reports and the three translations
~/.claude/skills/learning-map
The concept-map skill (the knowledge-graph folder holds the original; this is the installed copy)
src/wiki + content/concepts
This site: translation dispatch, checks, import, page build, and the imported concept sources
.claude/skills/ifcab-wiki
The skill that holds this site's wiki procedure
Draft map

Step 1 · Map agent + Ledger script

Draft maplearning-map

An isolated agent drafts one concept map per topic.

  • It explains what the thing is, why it exists and when to think of it, in ten fixed sections and three or four diagrams, not how to operate it
  • It places the concept in the five-layer map (methodology down to theory) and registers it on the overview
  • A ledger script assigns section IDs and status; the step is done only when the full check reports zero errors

Claude CodeThe skill runs forked: it has no conversation history and cannot ask questions, so all input is given at once

Common misconceptionPassing another model's review is not human review; published concepts are recorded as reviewed by AI only

OutputsConcept map
Review

Step 2 · Reviewer

Reviewbatch review

Another model reviews the drafts in batches.

  • Review runs in five batches, and each finding is kept in a report with its severity (high / medium)
  • The 17 concepts that failed were revised and reviewed again; 16 passed
  • The one concept still carrying a high-severity finding was held back

Common misconceptionA model reviewing its own draft misses its own habits

InputsConcept map
OutputsReview report
Translate

Step 3 · Translator agents + Dispatcher

Translatetranslate.sh

One headless Claude per concept and job translates in parallel.

  • Two jobs per concept: Traditional Chinese plus English (Sonnet), and Japanese-English parallel text (Opus)
  • Each job costs 100,000–150,000 tokens, so the job count is shown first and the author approves it
  • Each process may only read, write, grep and wc, and can write only its own concept folder

Claude CodeA script starts headless claude -p processes in parallel, with an allow-list of tools

InputsConcept map, Review report
OutputsTranslations
Refers toFormat rules
Check & stamp

Step 4 · Wiki builder

Check & stampstamp

Only translations that pass the format checks get the source fingerprint.

  • It checks that the heading, the coordinate block, section numbers and diagram count match the source
  • English has no CJK characters, Traditional Chinese has no kana or Simplified characters, Japanese stays within its character set
  • Status is one of five (complete, missing, failed, expired, unstamped), one line per concept

Common misconceptionAfter the source changes, the page stays up but shows as expired in the re-translation list

InputsTranslations
OutputsChecks + stamp
Import

Step 5 · Import script

Importsources.py

Concepts that pass in all three languages are copied into the site repository.

  • Each concept lands as one file per language: metadata plus body
  • Concepts whose body has not changed are left alone
  • Each file records its generations (model, time, tokens); older ones had no record and are not filled in by guesswork
InputsChecks + stamp
OutputsSources
Build pages

Step 6 · Wiki builder

Build pagesbuild

Pages, index, search and the header link are built in three languages.

  • Header, footer and styles are taken from the live site rather than rebuilt for the wiki
  • The same URL is served per visitor country, so the set of pages must be identical in all three languages
  • The URL name is made once from the English title, then locked; it never changes after publishing
InputsSources
OutputsPages ×3
Publish

Step 7 · Author + Deploy script

Publishdeploy.sh

The author checks the three languages and publishing happens only on the author's word.

  • The three language versions are opened on a local server first
  • On the live server, a private preview path shows all three languages without changing IP
  • One command rolls back to the previous release

Common misconceptionThe language is chosen by the visitor's country; pages have no language switcher

InputsPages ×3
OutputsLive site

Loops and rework

  • Serious review findings → step 1: 17 concepts were revised and reviewed again; 16 passed and 1 was held back

Key points

Finding stale translations by fingerprint. Each translation carries the fingerprint of the source it was made from. When the source changes the fingerprints stop matching and the term shows up as expired, so it is obvious what to re-translate.

Shipping only what passes the checks. Characters that Japanese cannot use, Simplified characters in Traditional Chinese, Japanese left in English: all are checked by machine, and only passing translations get stamped.

Agents translate in parallel; people decide. One Claude task per term runs in parallel from the task list, each allowed to write only its own folder. People focus on choosing topics and on terms that keep bouncing back.