docs(wiki): initial wiki build — 2 articles#1
Open
prakashUXtech wants to merge 2 commits intomainfrom
Open
Conversation
First wiki pass for c4-gen — 2 articles (c4.go + c4_test.go) compiled via kb-go prepare + one Sonnet sub-agent. Adds guardrail README, auto-generated index.md + index.json, and .last-indexed-sha baseline. This repo has no git remote yet, so no PR — commit lives on local branch docs/wiki-full-rebuild-2026-04-24. If/when a remote is added, this branch can be pushed and a PR opened.
Top-level README: - Links every kb-go mention to https://github.com/qbtrix/kb-go - Documents the --format=mermaid flag on `views` - Documents agent-mode refine (--prepare / --accept) - Notes that kb-go is optional — scan/refine/views/show/stats work alone; only `c4 link` reads kb-go's wiki dir Wiki README (docs/wiki/README.md): - Rewrites for external readers — drops workspace-relative paths (../../docs/how-to/..., ../../kb-go/) that only resolved inside my local workspace - Shows plain kb-go commands anyone can run after installing it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
First wiki pass for c4-gen — two articles under
docs/wiki/coveringc4.goandc4_test.go. Adds guardrail README, auto-generatedindex.md+index.jsontable of contents, and a.last-indexed-shabaseline for future incremental rebuilds.How
Compiled via kb-go
prepare+ one Sonnet sub-agent (no API spend). Part of the workspace-wide wiki rebuild on 2026-04-24 — c4-gen is the smallest scope, just the single-file CLI plus its test suite.Going forward
Future rebuilds flow through
docs/scripts/wiki-sync.sh(workspace-level) — incremental from.last-indexed-sha, triggered by the Stop hook or the weekly cron. Full rebuilds stay a manualmake wiki-c4-genaway.What's in the PR
docs/wiki/*.md— 2 compiled articles (auto-generated, do not hand-edit)docs/wiki/README.md— guardrail + how to fix an article (kb recompile <id>)docs/wiki/index.md+index.json— auto-generated ToCdocs/wiki/.last-indexed-sha— baseline sha for incremental rebuilds