paper-artifact-runtime
GitHub为 meta-paper-write 提供跨平台确定性运行时,支持章节持久化、论文组装、引用审计及 PDF 编译。具备严格的安全校验与幂等修复能力,确保学术文档生成的可靠性。
Trigger Scenarios
Install
npx skills add TokenRhythm/opensquilla --skill paper-artifact-runtime -g -y
SKILL.md
Frontmatter
{
"name": "paper-artifact-runtime",
"entrypoint": {
"args": [
"{baseDir}\/scripts\/run.py"
],
"parse": "text",
"stdin": "{{ with.payload }}",
"command": "python",
"timeout": 120
},
"invocation": "meta_only",
"provenance": {
"origin": "opensquilla-original",
"license": "Apache-2.0"
},
"visibility": "internal",
"description": "Internal cross-platform artifact persistence, assembly, citation-audit, and PDF compilation runtime for meta-paper-write.",
"user-invocable": false,
"owner_meta_skills": [
"meta-paper-write"
],
"disable-model-invocation": true
}
Paper artifact runtime
Internal deterministic runtime for meta-paper-write. It accepts one JSON
object on standard input with an operation field and performs exactly one of
these operations inside the orchestrator-owned workspace:
persist_sectionsassemble_manuscript_texmaterialize_manuscriptapply_length_expansioncitation_mapcompile_pdf
The runtime validates the runtime-owned MetaSkill run identifier, rejects
symlinked artifact roots and files, and keeps every artifact under
paper/<meta_run_id>/. PDF compilation invokes the managed xelatex and
bibtex executables with a platform-neutral argument vector, disables TeX
shell escape, applies paranoid Kpathsea file access, and verifies the real PDF
page count and final LaTeX quality log before returning success markers. Length
repair accepts at most one bounded body-only fragment per stable repair id,
rejects commands that could alter document boundaries, citations, or external
inputs, and applies it idempotently inside the run-owned manuscript.
Version History
- 7e0b08e Current 2026-09-22 06:06
- 95673be 2026-08-07 00:58


