modify pdftomd

This commit is contained in:
김경종
2026-05-14 10:16:59 +09:00
parent 2232b51fc9
commit dc11880140
69 changed files with 7784 additions and 1150 deletions
+3 -3
View File
@@ -16,12 +16,12 @@ The user invoked this command with: $ARGUMENTS
1. Read `PLAN.md` and `PROGRESS.md`.
2. Read `docs/WORKARCHIVE.md` when reviewing completed-work history, prior verification, or sample conversion evidence.
3. Read the requested document scope, defaulting to `AGENTS.md`, `PRD.md`, `ARCHITECTURE.md`, and `docs/KNOWLEDGEBASE.md`.
4. Check for contradictions against fixed decisions: MinerU 3.1.0 only, local-only, direct CLI execution, CLI-internal temporary local `mineru-api` allowed, no `--api-url` or remote API path, Python 3.12, uv, Obsidian Markdown, metadata JSON, and `.report.md`.
3. Read the requested document scope, defaulting to `AGENTS.md`, `PRD.md`, `ARCHITECTURE.md`, `docs/V1IMPLEMENTATIONPLAN.md`, `docs/WORKARCHIVE.md`, and `docs/KNOWLEDGEBASE.md`.
4. Check for contradictions against fixed decisions: MinerU 3.1.0 only, local-only, direct CLI execution, CLI-internal temporary local `mineru-api` allowed, no `--api-url` or remote API path, Python 3.12, uv, Obsidian Markdown, no public metadata JSON for new conversions, one `<stem>_report.md`, and any UI launcher invoking the existing `pdf2md` CLI rather than MinerU directly.
5. Report findings first with file and line references.
6. If edits are requested, make only surgical documentation changes and update `PROGRESS.md`.
## Guardrails
- Do not add speculative features, alternate engines, web UI, cloud OCR, or manual review queues.
- Do not add speculative features, alternate engines, hosted web apps, cloud OCR, or manual review queues. A thin local UI launcher is allowed only when it follows `docs/UI_RESEARCH.md`, `docs/Sprints/SPRINT12CONTRACT.md`, and the relevant `docs/superpowers/` UI design or plan.
- Do not rewrite unrelated prose while fixing one inconsistency.
+2 -1
View File
@@ -23,7 +23,7 @@ The user invoked this command with: $ARGUMENTS
7. Do not implement converter code unless the user explicitly requests implementation.
8. After meaningful changes, update `PROGRESS.md`; update `PLAN.md` only when sequencing, decisions, ownership, or blockers change.
9. Archive completed work in `docs/WORKARCHIVE.md` when it no longer needs to stay in `PROGRESS.md`.
10. Run the smallest useful verification, check git status, and commit project changes while excluding `samples/`.
10. Run the smallest useful verification, check git status, and commit project changes while excluding `samples/`, `outputs/`, `build/`, `dist/`, generated installers, wheels, models, and other local payload artifacts.
## Guardrails
@@ -31,4 +31,5 @@ The user invoked this command with: $ARGUMENTS
- Allow MinerU 3.1.0's CLI-internal temporary local `mineru-api`, but prohibit `--api-url`, remote APIs, router mode, HTTP client backends, and remote OpenAI-compatible backends.
- Keep runtime processing local-only.
- Keep `samples/` out of commits unless the user explicitly requests otherwise.
- Keep generated packaging, UI build, conversion output, wheelhouse, and model artifacts out of commits.
- Prefer official sources for changing facts about Codex, MinerU, Python, uv, CUDA, or licenses.