v0.3.0
Added
-
croc crawl <src>— scaffold a plain-markdown doc tree from a source directory. One.mdstub per file, oneself.mdper directory. Output carries only amirrors:breadcrumb in frontmatter (noid/title/kind/links), making crawl output shape-compatible with the post-molt state — the adopt/molt cycle round-trips cleanly through crawl-produced files. Pass--adoptto fold ininit --adoptand get acroc check-clean tree in one step.Default discovery mirrors every file git tracks (dot-dirs and
__pycache__are always pruned). Narrow by extension with--file-types .py --file-types .ts(repeat the flag for multiples; passallfor no filter). Honors.gitignoreautomatically when run inside a git repo. Re-running without--forceskips existing files — idempotent.Subsumes the
docureexperiment; croc can now produce a starting tree in addition to managing one.
Fixed
.gitignoreanchoring. Thethoughts/anddocs/plans/rules were unanchored, which meant they matched any directory of those names anywhere in the tree — silently hiding bundled example fixtures likeexamples/thoughts/andexamples/thoughts-from-code/thoughts/from new commits. Both rules now carry leading slashes so they only apply at the repo root.
See CHANGELOG.md for the full history.