From cbbc75d7e4bb72745d6aec0e55c4161d99b4bd20 Mon Sep 17 00:00:00 2001 From: Denis Shiryaev Date: Fri, 8 May 2026 20:40:45 +0200 Subject: [PATCH] Document public path hygiene --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index 65501f0..6b5bca7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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.