Edited today636 words1 backlinksUpdated bimonthlyDue in 9 weeks
9.5ImportancePeripheralImportance: 9.5/100How central this topic is to AI safety. Higher scores mean greater relevance to understanding or mitigating AI risk.8.5ResearchMinimalResearch Value: 8.5/100How much value deeper investigation of this topic could yield. Higher scores indicate under-explored topics with high insight potential.
Content4/13
LLM summaryLLM summaryBasic text summary used in search results, entity link tooltips, info boxes, and related page cards.crux content improve <id>ScheduleScheduleHow often the page should be refreshed. Drives the overdue tracking system.EntityEntityYAML entity definition with type, description, and related entries.Add entity YAML in data/entities/Edit history3Edit historyTracked changes from improve pipeline runs and manual edits.OverviewOverviewA ## Overview heading section that orients readers. Helps with search and AI summaries.Add a ## Overview section at the top of the page
Tables4/ ~3TablesData tables for structured comparisons and reference material.Diagrams0DiagramsVisual content — Mermaid diagrams, charts, or Squiggle estimate models.Add Mermaid diagrams or Squiggle modelsInt. links14/ ~5Int. linksLinks to other wiki pages. More internal links = better graph connectivity.Ext. links0/ ~3Ext. linksLinks to external websites, papers, and resources outside the wiki.Add links to external sourcesFootnotes0/ ~2FootnotesFootnote citations [^N] with source references at the bottom of the page.Add [^N] footnote citationsReferences0/ ~2ReferencesCurated external resources linked via <R> components or cited_by in YAML.Add <R> resource linksQuotes0QuotesSupporting quotes extracted from cited sources to back up page claims.crux citations extract-quotes <id>Accuracy0AccuracyCitations verified against their sources for factual accuracy.crux citations verify <id>Backlinks1BacklinksNumber of other wiki pages that link to this page. Higher backlink count means better integration into the knowledge graph.
Change History3
Route internal pages through /wiki/E<id>#1823 weeks ago
Migrated internal pages from `/internal/` to `/wiki/E<id>` URLs so they render with full wiki infrastructure (breadcrumbs, metadata, quality indicators, sidebar). Internal MDX pages now redirect from `/internal/slug` to `/wiki/E<id>`, while React dashboard pages (suggested-pages, updates, page-changes, etc.) remain at `/internal/`. Follow-up review: cleaned up dead code, hid wiki-specific UI on internal pages, fixed breadcrumbs, updated all bare-text `/internal/` references.
Add PageStatus and info boxes to internal pages#1853 weeks ago
Enabled PageStatus rendering, Data links, and Feedback widgets on internal pages by removing the `isInternal` guards in the wiki page renderer. Added `evergreen`, `update_frequency`, and `lastEdited` frontmatter to all ~40 internal pages so update schedules and staleness indicators are visible.
Internal pages entity infrastructure#1424 weeks ago
Added full entity infrastructure to internal pages (style guides, architecture docs, research reports, schema docs). Internal pages now have the `internal` entity type, get auto-assigned E* numeric IDs (E698-E731), are included in the search index, and participate in backlinks/related graph computation. Includes review fixes: filtering internal pages from public explore/home, converting all 7 remaining .md files, adding `internal` to data/schema.ts, and updating all `shouldSkipValidation`/`pageType === 'documentation'` checks.
Documentation Maintenance
Internal documentation becomes stale quickly. This page outlines strategies for keeping internal pages (served at /wiki/E<id>) accurate.
The Staleness Problem
Technical documentation rots because:
Code changes faster than docs - Developers update scripts, forget to update docs
No automated enforcement - Stale docs don't break builds
Discovery friction - Contributors don't know docs exist to update them
Mitigation Strategies
1. Code Comments Pointing to Docs
When code implements behavior documented elsewhere, add a comment:
// Docs: /internal/content-database/#source-fetching
async function fetchSource(url) {
// ...
}
This creates a reminder when the code changes.
2. Freshness Indicators
Each internal doc includes lastEdited in frontmatter:
lastEdited: "2026-02-04"
Rule of thumb: If a doc hasn't been updated in 6+ months, verify before trusting.
3. Generated Content Where Possible
Some documentation can be auto-generated from code:
Content Type
Generation Method
CLI help text
npm run crux -- --help
Database schema
Extract from wiki-server API types
Validation rules
List from scripts/validate/
Cost estimates
Pull from actual API usage
Tip
Consider adding a npm run generate-docs script that updates generated sections.
4. PR Checklist
When making significant changes, the PR template should ask:
Did you update relevant internal documentation (content/docs/internal/)?
Did you update CLAUDE.md if CLI commands changed?
Did you add code comments pointing to docs?
5. Periodic Review
Schedule quarterly reviews of key docs:
Doc
Review Focus
ArchitectureE734Technical architecture of the Longterm Wiki — data pipeline, clever design patterns, and the ideas that make it work
Are diagrams still accurate?
Automation ToolsE757Comprehensive technical documentation for wiki maintenance automation, covering page improvement workflows (Q5 standards requiring 10+ citations, 800+ words), content grading via Claude API (~\$0.0...Quality: 41/100
Do all commands still work?
Content DatabaseE759Documentation for the wiki's multi-layer data storage architecture. The wiki-server PostgreSQL database stores citation content, audit results, claims, facts, and structured data accessed via Hono ...Quality: 44/100
Is schema current?
Documentation Categories
High-Churn (Update Frequently)
These change often and need careful attention:
Automation Tools - CLI commands, scripts
Content Database - Schema, APIs
Page Creator Pipeline - Phases, costs
Stable (Update Rarely)
These change infrequently:
Style Guides - Editorial standards
Rating System - Scoring dimensions
About This Wiki - High-level overview
Auto-Updatable (Consider Generating)
These could be generated from code:
Command reference (from --help output)
Validation rule list (from file system)
Cost estimates (from API logs)
When to Update Docs
Must Update
Adding new pipeline phases
Changing database schema
Adding/removing CLI commands
Changing environment variables
Should Update
Significant refactoring
Adding new validation rules
Changing default behaviors
Optional
Bug fixes (unless they change documented behavior)
Performance improvements
Internal refactoring
Documentation Structure
Recommended Sections
Each technical doc should include:
Purpose - What problem does this solve?
Quick Start - How to use it in 30 seconds
Architecture - How it works internally
API/Commands - Reference documentation
Limitations - Known issues and constraints
Related - Links to connected docs
Formatting Conventions
Element
Usage
Code blocks
All commands and code examples
Tables
Reference data, comparisons
Mermaid diagrams
Architecture, data flow
Asides
Tips, warnings, important notes
Ownership
Current Approach
No formal ownership - anyone who changes code should update related docs.
# Check for docs older than 6 months
npm run crux -- validate docs-freshness
# Check that documented commands still exist
npm run crux -- validate docs-commands
# Check that documented files still exist
npm run crux -- validate docs-paths
These don't exist yet but could be valuable additions.
Manual Verification
When reviewing a PR that touches /scripts/:
Check if any internal docs (content/docs/internal/) reference the changed files
Verify documented behavior still matches implementation
Update lastEdited if making doc changes
Quick Reference: What Docs to Update
Changed File
Update These Docs
scripts/content/page-creator.mjs
ArchitectureE734Technical architecture of the Longterm Wiki — data pipeline, clever design patterns, and the ideas that make it work, Automation ToolsE757Comprehensive technical documentation for wiki maintenance automation, covering page improvement workflows (Q5 standards requiring 10+ citations, 800+ words), content grading via Claude API (~\$0.0...Quality: 41/100
apps/wiki-server/src/routes/*
Content DatabaseE759Documentation for the wiki's multi-layer data storage architecture. The wiki-server PostgreSQL database stores citation content, audit results, claims, facts, and structured data accessed via Hono ...Quality: 44/100, ArchitectureE734Technical architecture of the Longterm Wiki — data pipeline, clever design patterns, and the ideas that make it work
scripts/crux.mjs or commands/*
Automation ToolsE757Comprehensive technical documentation for wiki maintenance automation, covering page improvement workflows (Q5 standards requiring 10+ citations, 800+ words), content grading via Claude API (~\$0.0...Quality: 41/100
src/content.config.ts
Page TypesE739Documents LongtermWiki's four-level page classification system (content, stub, documentation, overview) with explicit validation rules for each type, where content pages receive full quality gradin...Quality: 65/100
Any validation script
Automation ToolsE757Comprehensive technical documentation for wiki maintenance automation, covering page improvement workflows (Q5 standards requiring 10+ citations, 800+ words), content grading via Claude API (~\$0.0...Quality: 41/100
.env variables
ArchitectureE734Technical architecture of the Longterm Wiki — data pipeline, clever design patterns, and the ideas that make it work
Related
ArchitectureE734Technical architecture of the Longterm Wiki — data pipeline, clever design patterns, and the ideas that make it work - System overview
Automation ToolsE757Comprehensive technical documentation for wiki maintenance automation, covering page improvement workflows (Q5 standards requiring 10+ citations, 800+ words), content grading via Claude API (~\$0.0...Quality: 41/100 - CLI reference
About This WikiE755Technical documentation for the Longterm Wiki platform covering content architecture (~550 MDX pages, ~100 entities), quality scoring system (6 dimensions on 0-10 scale), data layer (YAML databases...Quality: 55/100 - Contributor overview