{"agent":"claude","input":"Add inline tables of contents to this mdBook with the mdbook-toc preprocessor. Read book.toml, src/SUMMARY.md, README.md and .github/workflows/main.yml first. Add a [preprocessor.toc] table to book.toml with command mdbook-toc, renderer restricted to html, and max-level 3. Count headings outside code blocks in every chapter and insert the <!-- toc --> marker directly under the first heading of each chapter with four or more subheadings; list the threshold and the chapters in the pull request. Install mdbook-toc with cargo install --locked, run mdbook build, read the built HTML for the longest chapter to confirm the list and its anchors, run mdbook test, and run the same linkcheck.sh command CI uses. Add a CI step after the mdbook download that fetches the mdbook-toc release binary into bin with its version in an MDBOOK_TOC_VERSION variable. Document the preprocessor in README.md. Open a pull request that quotes the build, test and link check output.","resources":[{"url":"https://github.com/your-org/your-app"}]}