Files
PDFToMD/.codex/commands/plan-mineru-integration.md
2026-05-08 17:03:40 +09:00

1.2 KiB

description, argument-hint, allowed-tools
description argument-hint allowed-tools
Plan the direct local MinerU CLI adapter and failure/reporting behavior
integration-scope
Read
Glob
Grep
Bash
WebFetch
Edit

/plan-mineru-integration

Plan the future implementation shape for the MinerU adapter without writing converter code.

Arguments

The user invoked this command with: $ARGUMENTS

Workflow

  1. Read PLAN.md, PROGRESS.md, PRD.md, and ARCHITECTURE.md.
  2. Read docs/WORKARCHIVE.md when prior MinerU setup, verification, or sample conversion evidence is needed.
  3. Verify any MinerU CLI facts that may have changed before changing docs.
  4. Define the smallest adapter contract for command construction, working directories, outputs, stdout/stderr capture, exit handling, warnings, and provenance.
  5. Ensure failure behavior is explicit: no silent fallback and no alternate engine route.
  6. Identify mocked-output tests and optional MinerU-dependent checks.
  7. Update PLAN.md only if implementation sequencing changes; update PROGRESS.md after the planning work.

Guardrails

  • Do not implement program code during planning.
  • Do not introduce runtime engine selection or cloud-compatible endpoints.
  • Keep GPU limitations and CPU messaging explicit for GTX 1070 Ti 8GB.