FrankenTerm

Maintainers: how counts stay honest

212 words1 min readFrom the README at ft 0.15.21

Every numeric claim in this README is wrapped in <!--count:* --> markers and refreshed by scripts/stamp-readme-counts.sh. The default worktree recipe each marker maps to:

Click for the full marker → command mapping
Marker Default worktree command
<!--count:workspace_members--> awk '/^members = \[/,/^]/' Cargo.toml | grep -c '^\s*"'
<!--count:core_subcrates--> ls -d crates/frankenterm-core-* | wc -l
<!--count:vendored_members--> awk '/^members = \[/,/^]/' Cargo.toml | grep -c '^\s*"frankenterm/'
<!--count:vendored_top_level--> find frankenterm -maxdepth 2 -name Cargo.toml | wc -l
<!--count:core_top_level_modules--> find crates/frankenterm-core/src -maxdepth 1 -name '*.rs' | wc -l
<!--count:core_rust_test_files--> find crates/frankenterm-core/tests -type f -name '*.rs' | wc -l
<!--count:criterion_bench_files--> find crates/frankenterm-core/benches -type f -name '*.rs' | wc -l
<!--count:fuzz_targets--> find fuzz -type f -path '*/fuzz_targets/*.rs' | wc -l
<!--count:doc_markdown_files--> find docs -type f -name '*.md' | wc -l
<!--count:e2e_scripts--> git ls-files tests/e2e | awk '/\\.sh$/ { count++ } END { print count + 0 }'
<!--count:core_loc--> LOC count across crates/frankenterm-core/src/**/*.rs
<!--count:test_count--> rough total of #[test] / #[asupersync_test] / etc. annotations

Stamp markers and their plain-text duplicates (in tables, the workspace tree, and the Testing section) should agree. If you see numeric drift during normal development, re-run the stamp script. For release or attestation work, run bash scripts/stamp-readme-counts.sh --source=head and regenerate docs/attestations/doctrine/agents-md-counts.json with --source=head --json so the artifact is based on the committed tree. Plain-text duplications without <!--count:* --> wrapping need manual updates; if you spot one, wrap it in markers so the script picks it up on the next pass.