citation-intake-checkpoint
Freeze `/root/test.bib` into a stable bibliography entry inventory and continuation gate before any fake-citation judgment so later review can work from one normalized checkpoint without rescanning.
- License 许可
- MIT
- 最近更新
- 2026-09-30
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- citation-intake-checkpoint
- license
- MIT
- metadata
- { "stage": 1, "primary-input": "/root/test.bib", "primary-outputs": "workflow/intake_checkpoint.json, workflow/continuation_gate.json" }
- description
- Freeze `/root/test.bib` into a stable bibliography entry inventory and continuation gate before any fake-citation judgment so later review can work from one normalized checkpoint without rescanning.
- allowed-tools
- Bash Read Write
02 资源文件 1
- 脚本scripts/build_checkpoint.py8.4 KB
03 SKILL.md 正文
Bibliography Intake Checkpoint
Freeze the bibliography into a stable entry inventory before any judgment about fake or hallucinated citations. This reduces scope drift, preserves later traceability, and gives downstream review one authoritative checkpoint for re-review or backup continuity.
Bibliography Input
/root/test.bib
Checkpoint Outputs
Write only:
workflow/intake_checkpoint.jsonworkflow/continuation_gate.json
Intake Rules
- Do not decide which citations are fake or hallucinated in this stage.
- Preserve every BibTeX entry in normalized form inside
entry_inventory. - Clean titles for
normalized_titlesby removing BibTeX braces and backslashes, then collapsing whitespace. - Keep
normalized_titlesin bibliography order. Do not sort them yet. - Record only neutral
suspect_signalsthat are directly observable during intake, such as missing title, missing author, missing year, missing venue, or missing DOI/URL. - Do not write
/root/answer.jsonin this stage.
Entry Inventory Contract
workflow/intake_checkpoint.json must contain:
source_bib: absolute path to the source BibTeX fileentry_inventory: array of objects, one per BibTeX entry, preserving the full entry set in normalized formnormalized_titles: array of cleaned titles in the same order asentry_inventorysuspect_signals: array of neutral intake flags for later reviewcheckpoint_status: set tointake_frozen
Each entry_inventory object should keep enough normalized detail to avoid rescanning the source file:
entry_indexcitation_keyentry_typetitle_rawtitle_cleannormalized_fields
normalized_fields should retain every parsed field value from the entry with normalized whitespace. Do not drop entries because metadata looks incomplete or suspicious.
Continuation Gate
workflow/continuation_gate.json must contain:
current_record:workflow/intake_checkpoint.jsonnext_stage_consumes_exact_keys:['source_bib', 'entry_inventory', 'normalized_titles', 'suspect_signals', 'checkpoint_status']checkpoint_status:intake_frozencontinuation_note: a short reminder to continue from the frozen checkpoint rather than rescanning/root/test.bib
Checkpoint Command
python skills/citation-intake-checkpoint/scripts/build_checkpoint.py --source /root/test.bib --checkpoint workflow/intake_checkpoint.json --gate workflow/continuation_gate.json
Stop Condition
Stop when both workflow records exist, checkpoint_status is intake_frozen, every BibTeX entry appears in entry_inventory, normalized_titles matches that entry count, and no final fake-citation decision has been written yet.
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.