fix
Applies mechanical repairs to Open Knowledge Format bundles: strips index frontmatter, rebuilds index lists, normalizes tag spelling, and reorders log entries after merges; preview or write changes.
Instructions
Mechanical repairs, nothing that needs judgment: strip frontmatter from index.md files (§8; the root
keeps okf_version), rebuild generated index lists, give each tag its most common spelling, and put log.md
sections and entries back in order after a merge (§9).
apply=False shows the diff (CLI exit 1 if there is work); apply=True writes, re-lints and returns remaining (CLI exit 1 if errors remain). Like lint, it
defaults to where the user is and every bundle there; all=false keeps to one bundle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | ||
| apply | No | ||
| bundle | No |