Document public path hygiene

This commit is contained in:
Denis Shiryaev
2026-05-08 20:40:45 +02:00
parent feada9401d
commit cbbc75d7e4
+1
View File
@@ -7,6 +7,7 @@
- For live smoke tests, use a small page set with `--pages`, `--max-docs`, or `--max-pages-per-doc`.
- Treat generated Markdown as AI-assisted OCR. The source PDF/image remains authoritative.
- Keep dataset cleanup deterministic. Use explicit, reviewable rules for archive-wide edits such as scrubbing local absolute paths, removing API-key leaks, normalizing manifest paths, or collapsing obvious repeated-token artifacts. Verify counts before and after cleanup.
- Do not expose local usernames, home-directory paths, Dropbox paths, machine-specific absolute paths, or other private workstation details in README text, Markdown front matter, manifests, logs, or committed examples. Public paths should be repo-relative.
- Do not commit helper cleanup scripts unless the user explicitly asks for them. Temporary one-off cleanup/report scripts can be run from the shell or local ignored paths, then removed.
- If a page cannot be converted by Gemini, do not leave a permanent `.error.txt` placeholder when the user wants a complete archive. Render the source page locally, inspect it, and use deterministic local OCR/text extraction first.
- For difficult pages, use manual image-to-text with Codex from the rendered page image. It is acceptable to write a concise manual page description when a page is image-only, extremely faint, or not reliably transcribable.