Repository navigation
Closed
Description
目的
texrun の最初のマイルストーンを追跡するための umbrella Issue。
MVP のゴールは、ローカル環境で以下のような操作を可能にすること。
texrun compile main.tex
texrun compile --json main.texTeX Live / latexmk を backend として利用し、compile の成否だけでなく、構造化 diagnostics・PDF・ページ preview を得られる状態を目指す。
MVP Issues
- Define contribution and repository conventions #1 Define contribution and repository conventions
- Bootstrap the Rust workspace and development toolchain #2 Bootstrap the Rust workspace and development toolchain
- Define the compile domain model and engine interface #3 Define the compile domain model and engine interface
- Implement isolated compile workspaces #4 Implement isolated compile workspaces
- Implement the TeX Live engine with latexmk #5 Implement the TeX Live engine with latexmk
- Add the
texrun compileCLI command #6 Add thetexrun compileCLI command - Normalize LaTeX diagnostics into structured errors and warnings #7 Normalize LaTeX diagnostics into structured errors and warnings
- Generate page previews and inspect PDF metadata #8 Generate page previews and inspect PDF metadata
- Add execution limits and define the sandbox boundary #9 Add execution limits and define the sandbox boundary
- Add integration fixtures for common LaTeX scenarios #10 Add integration fixtures for common LaTeX scenarios
- Set up CI quality gates and dependency checks #11 Set up CI quality gates and dependency checks
- Document the MVP architecture and CLI workflow #12 Document the MVP architecture and CLI workflow
- Provide a Docker-based TeX Live development environment #14 Provide a Docker-based TeX Live development environment
推奨する進行順序
#1 conventions ─┐
#12 README(目的/scope) ─┤
#2 workspace bootstrap ─┼─> #11 CI (fast job)
v
#3 domain model ──> #7 diagnostics parser (TeX Live 不要)
|
#9 方針決定 ─> #4 workspaces
v
#5 TeX Live engine ──> #8 previews
v
#6 CLI ──> #10 integration fixtures ──> #11 CI (integration job)
└─> #12 README 仕上げ
- Define contribution and repository conventions #1 / Bootstrap the Rust workspace and development toolchain #2 / Document the MVP architecture and CLI workflow #12(目的・scope 部分)は並行して最初に着手できる
- Normalize LaTeX diagnostics into structured errors and warnings #7 の parser は log 文字列を入力とする純粋関数として Implement the TeX Live engine with latexmk #5 と並行開発できる
- Add execution limits and define the sandbox boundary #9 はポリシー決定を Implement isolated compile workspaces #4 / Implement the TeX Live engine with latexmk #5 の実装前に行い、文書化と検証は最後にまとめる
MVP 完了条件
- CLI から LaTeX 文書を compile できる
- compile failure を構造化 diagnostics として取得できる
- 成功時に PDF artifact を取得できる
- PDF のページ preview を生成できる
- compile timeout がある
- workspace 外への意図しない path 利用を防ぐ
- fmt / Clippy / test / dependency checks が CI で動く
- 開発ルールと architecture が文書化されている
--json出力と exit code の仕様が文書化されている
Post-MVP
以下は MVP 完了後に別途検討する。
- HTTP / daemon API
- Tectonic / Typst 等の追加 engine
- container / gVisor / microVM worker
- MCP / agent tool adapter
- Python / TypeScript SDK
- SyncTeX を利用した PDF → source mapping
Activity
docs: add initial README (#18)
nishide-dev commentedon Sep 30, 2026
MVP の全 Issue(#1〜#12, #14, #28)が完了したため close します。
texrun compile/--json(Add thetexrun compileCLI command #6, PR feat(cli): add compile command #34)Post-MVP: #24, #25, #26(sandbox 強化)、#27, #35(diagnostics 改善)、#32(subprocess 共通化)、#36(出力先の除外)