claude-skills/commands/wiki-log.md
Claude a088c8ba77
fix: phantom-path sweep — 888 unresolvable references to zero
A directory reorg added a skills/ path segment; hundreds of references never
followed. This sweep repoints every path-like reference in SKILL.md, agents,
commands, orchestration, and templates to verified on-disk targets:

- 30 root commands + 19 root agents: missing skills/ segment inserted
- 7 c-level persona agents: 17 hallucinated reference filenames substituted
  with the real files (e.g. okr_execution.md -> process_frameworks.md)
- 5 research skills: phantom scripts/office/validate.py step replaced with a
  runnable stdlib zip-integrity check
- email agents: skills frontmatter corrected to productivity/email
- orchestration/ORCHESTRATION.md + templates: stale paths fixed;
  agent-template now requires trigger phrasing in descriptions (root cause)
- 76 more files across engineering, c-level-advisor, compliance-os,
  research-ops, ra-qm, marketing, productivity; dual-publish pairs mirrored
- dead refs dropped/replaced where no target ever existed (REGISTRY.md,
  trend_analyzer.py, cursor-microinteractions.md)

New: scripts/check_paths.py linter (CI gate G1) + narrow allowlist for
teaching examples. Verified: 540 files scanned, 0 unresolvable.

https://claude.ai/code/session_019AJddAL1NADWMXsy1qNPQF
2026-06-10 14:33:00 +00:00

64 lines
1.8 KiB
Markdown

---
name: wiki-log
description: Show recent entries from the LLM Wiki log (wiki/log.md). Uses the standardized ## [YYYY-MM-DD] header format so grep + tail works. Usage /wiki-log [--last N] [--op ingest|query|lint|...]
---
# /wiki-log
Show recent entries from `wiki/log.md`. Every LLM operation on the wiki leaves a standardized entry:
```
## [YYYY-MM-DD] <op> | <title>
<optional detail>
```
## Usage
```
/wiki-log # last 10 entries
/wiki-log --last 20
/wiki-log --op ingest --last 10 # only ingest entries
/wiki-log --op lint # recent lint passes
/wiki-log --since 2026-04-01
```
## What it does
Parses `wiki/log.md` and prints matching entries. No LLM involvement needed — this is essentially:
```bash
grep "^## \[" wiki/log.md | tail -N
```
…plus optional filters for op type and date range.
## Valid ops
- `ingest` — a source was read and integrated
- `query` — a question was answered (when filed back)
- `lint` — a health check ran
- `create` — a new page was created outside an ingest
- `update` — a page was updated outside an ingest
- `delete` — a page was removed
- `note` — freeform note (contradictions flagged, thesis revisions, etc.)
## Example output
```
## [2026-04-11] lint | weekly health check
3 contradictions, 12 orphans, 2 broken links. Fixed broken links; left contradictions for next session.
## [2026-04-10] ingest | Anthropic Monosemanticity
Added sources/monosemanticity.md. Updated concepts/sparse-autoencoder, concepts/polysemanticity, entities/anthropic.
## [2026-04-09] query | SAE vs probing
Filed back to comparisons/sae-vs-probing.md.
```
## Scripts
- Uses `grep` + `tail` directly on `wiki/log.md`. No dedicated script needed; that's the point of the standardized header format.
## Skill Reference
`engineering/llm-wiki/skills/llm-wiki/SKILL.md`