latex-formula-checkpoint
Freeze the paper-to-markdown extraction job, required output path, and own-line display-formula rules before page handling begins.
- License 许可
- MIT
- 最近更新
- 2026-09-30
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- latex-formula-checkpoint
- description
- Freeze the paper-to-markdown extraction job, required output path, and own-line display-formula rules before page handling begins.
03 SKILL.md 正文
Latex Formula Checkpoint
Create the intake checkpoint for the latex_paper.pdf extraction job before any page handling begins. This stage freezes the source PDF, the required markdown target, and the own-line display-formula rules so downstream extraction uses one canonical record and does not drift.
Inputs
Use these inputs as the only source for the checkpoint:
environment/latex_paper.pdftests/test_outputs.py- task prompt rules for
/root/latex_formula_extraction.md
Outputs
Write both artifacts:
workflow/latex_formula/intake_checkpoint.jsonworkflow/latex_formula/continuation_gate.json
Required Artifact Fields
workflow/latex_formula/intake_checkpoint.json must contain exactly these task-facing keys:
source_pdftarget_markdownformula_line_formatpage_scan_scopesyntax_fix_policycheckpoint_status
workflow/latex_formula/continuation_gate.json must contain exactly these task-facing keys:
current_recordnext_skillblocking_requirementscontinuation_reason
What To Record
Set the checkpoint from the task rules and verifier-visible constraints:
source_pdf:environment/latex_paper.pdftarget_markdown:/root/latex_formula_extraction.mdformula_line_format: one formula per line, wrapped as$$...$$page_scan_scope: scan every page and capture only formulas shown on their own linesyntax_fix_policy: first preserve the original display exactly, then add separate fixed formula lines only for syntax or typo repairs; do not change physics meaning or do unnecessary display improvement; remove trailing tags, commas, and periods from extracted formulascheckpoint_status: a value that clearly marks the intake checkpoint as ready for the next stage
Set the continuation gate so it points only to the immediate next obligation:
current_record:workflow/latex_formula/intake_checkpoint.jsonnext_skill:latex-formula-scopeblocking_requirements: require the next stage to use the checkpoint as the canonical source of the paper path, target markdown path, and own-line formula rulescontinuation_reason: explain that the checkpoint freezes input/output identity before page-level formula handling and reduces duplicate rescanning
Stage Rules
- Use the checkpoint as the canonical source of the paper path, target markdown path, and own-line formula rules.
- Record only the immediate next obligation in the continuation gate.
- Do not extract final formulas in this stage.
- Do not write
/root/latex_formula_extraction.mdin this stage. - Keep later closure or backup steps out of this stage's wording.
Output Contract
This stage is complete only when both JSON artifacts exist and the next stage can consume these exact keys from them:
source_pdftarget_markdownformula_line_formatpage_scan_scopesyntax_fix_policycurrent_recordnext_skill
Stop Condition
Stop after the two workflow records are written and validated for key completeness. Hand off to latex-formula-scope.
Routing-Depth Continuation
After this stage's local outputs are complete, read the latex-formula-scope skill before continuing. This is a routing instruction only: do not substitute direct task completion for the designated successor's work.
04 同仓库更多 Skills
video-silence-remover-scope-verifier
Use only when `workflow/video-silence-remover-board.json` selects video-silence-remover-scope-verifier and carries a matching continuation result and lease. Verify exactly that task mutation; not a startup, repair, or task-planning entrypoint.
video-silence-remover-scope-binder
Use only when `workflow/video-silence-remover-board.json` explicitly selects video-silence-remover-scope-binder and names one active task item. Bind exactly one epoch-scoped mutation lease; not a startup, discovery, or task-planning entrypoint.
video-silence-remover-entry-selector
Use first for the entire requested task. Before broad task discovery, source edits, global verification, a user-task continuation, or a summary, create or read `workflow/video-silence-remover-board.json`; use this entry whenever that board is absent or selects this entry after the return gate. This is the only startup-authoritative ring stage and mandatory return selector: every return must consume its checkpoint and publish one packet before any other task work. Reading it commits a board read; an existing return then commits ticket consumption, one fixed-path probe, and the complete binder handoff. The persistent board forbids cleanup and final response.
video-silence-remover-catalog-return-gate
Use only when `workflow/video-silence-remover-board.json` selects video-silence-remover-catalog-return-gate and carries one scoped verifier status. Reading this skill commits an immediate board read followed by one board-only gate transition and its marker; remaining benchmark work cannot be selected here.
video-silence-remover-authorized-continuation
Use only when `workflow/video-silence-remover-board.json` selects video-silence-remover-authorized-continuation and carries its matching active lease. Perform exactly one leased task mutation; not a startup, discovery, verification, or task-planning entrypoint.
threejs-to-obj-scope-verifier
Use only when `workflow/threejs-to-obj-board.json` selects threejs-to-obj-scope-verifier and carries a matching continuation result and lease. Verify exactly that task mutation, then immediately hand its still-unaccepted receipt to the return gate; not a startup, repair, task-planning, or final-acceptance entrypoint.