paperops
paperops は、AI エージェントと論文を書くためのプロジェクトハーネスである。
人間が template/ を手でコピーして使う道具ではなく、pops CLI で論文プロジェクトを初期化・診断・更新する。
まず使う
新規論文プロジェクト:
uvx --from paper-harness-cli pops init paper-my-topic
cd paper-my-topic
uvx --from paper-harness-cli pops doctor
既存プロジェクトを pops 管理に寄せる:
uvx --from paper-harness-cli pops setup
uvx --from paper-harness-cli pops doctor
pops は常に uvx --from paper-harness-cli pops ... で実行する。.venv は CLI 用ではなく、論文プロジェクト側の Python 実行環境が必要な場合に make venv で作る。
何を提供するか
template/: 個別論文リポジトリに展開される scaffoldsrc/paperops/: scaffold を初期化・診断・更新するpopsCLI.github/workflows/: 下流論文リポジトリから呼び出せる reusable workflow.agents/skills/,.claude/skills/: paperops 自体を保守するための skilldocs/: CLI、配布、アーキテクチャ、変更ルール
論文プロジェクトの基本モデル
下流の論文リポジトリでは、原稿だけでなく中間層も明示的に持つ。
_paperops/evidence/: result / figure / source card の正本_paperops/claims/: claim / scientific gate / argument card の正本_paperops/review/: 人間レビュー、査読コメント、返答のカード_paperops/requests/: 追加解析や改稿依頼のカード_paperops/notes/views/: pure overview view と controlled authoring view_paperops/model/editorial/results-hierarchy.yml: project-owned の typed Results hierarchy 正本_paperops/defaults/schemas/: paperops-managed の schema default_paperops/defaults/contracts/: paperops-managed の標準 section / figure story 契約_paperops/contracts/: 論文固有の contract overlay_paperops/workflow/: 全体状態、section 状態、review loop、stale 伝播manuscript/writing-profile.yml: 論文種別・投稿先ごとの overlaymanuscript/ja,manuscript/en: block ID で対応する原稿_paperops/refs/: 文献サマリー、外部 source、外部 project link_paperops/refs/imports/: 外部 export bundle の source index / integrity / provenance state_handoff/: 人間から AI へ渡す未整理ファイルの一時置き場_archives/: 同じ repo で1から書き直すために封印した過去稿 archive
人間は主に原稿レベルのレビューや自然文の指示を出す。Agent はそれを _paperops/review/feedback/ の card にし、必要なら claim / gate / evidence / request / manuscript へ遡って反映する。本文生成の前には、必要に応じて pops workflow status、_paperops/defaults/contracts/、_paperops/contracts/、manuscript/writing-profile.yml を確認し、plan-figure-story で visual obligation と主図構成を決めてから、card と controlled view から paper_ir を作り、Results / Discussion / Methods の section compiler を通す。
新規 scaffold では typed Results hierarchy を使う。既存下流 project は M0-0003 採用まで legacy Markdown fallback を維持でき、移行時は managed schema default を更新したうえで project-owned typed state を opt-in で作成する。
PaperOps 2 P1-B は Research、Editorial、Results hierarchy、Manuscript、Issue、Publication の正確な六モデルを提供する。P2 は pops model の deterministic migrationとして、legacy inventory、shadow diff、strict validation、model単位のadopt、snapshot rollbackをAIなしで反復できるようにする。authorityはlegacy-authoritative、shadow-compare、v2-authoritativeをmodelごとに持ち、Editorial / Results hierarchyだけはcompanionとして同時に切り替える。
AI Agentはscientific / editorial judgment、候補の選択理由、未解決fieldを埋めるための人間との対話を担当し、定型的なfile discovery、hash、conservation、transaction、recoveryを直接操作しない。P2はlegacy writerを削除せず、human-edited TeXを生成するP3 compiler / Writer packetと、既存workflow writerを切り替えるP4は引き続きdeferする。
検証phaseは schema → references → semantics → canonical semantic-v1 hash の順で、mechanism-led、boundary-led、negative-result-led の三つの合成fixtureを回帰corpusとして維持する。
よく使うコマンド
uvx --from paper-harness-cli pops version
uvx --from paper-harness-cli pops doctor
uvx --from paper-harness-cli pops update-paperops --plan
uvx --from paper-harness-cli pops update-paperops --apply
uvx --from paper-harness-cli pops links check
uvx --from paper-harness-cli pops model status all
uvx --from paper-harness-cli pops model diff research
uvx --from paper-harness-cli pops model adopt research --yes
uvx --from paper-harness-cli pops model rollback research
uvx --from paper-harness-cli pops scratch archive --label before-rewrite
uvx --from paper-harness-cli pops scratch reset --yes
下流プロジェクトでの確認:
make ci
make audit
make schema-check
make pre-submit
make figure-reference-check
make figure-obligation-check
paperops 本体の確認:
make venv
make smoke
詳細
- PaperOps 2 設計 RFC: docs/rfcs/0001-paperops-2.md
- CLI: docs/cli.md
- 配布とリリース: docs/distribution.md
- アーキテクチャ: docs/architecture.md
- Skill 一覧: docs/skill-catalog.md
- 更新方針: docs/upgrade-policy.md
- 変更ルール: docs/change-policy.md, docs/triage-rules.md
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file paper_harness_cli-0.13.0.tar.gz.
File metadata
- Download URL: paper_harness_cli-0.13.0.tar.gz
- Upload date:
- Size: 600.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ee68b837ab935623740b28bdacdb35952d3dda96095bd425e004c040fb19d80
|
|
| MD5 |
63d48fd57fc00441e8c5b8caad8bf85f
|
|
| BLAKE2b-256 |
be709d9c79ebf60d9069f65a789c52bf5ca7028c0890ca8e2c8f3fcdba77f375
|
Provenance
The following attestation bundles were made for paper_harness_cli-0.13.0.tar.gz:
Publisher:
publish-pypi.yml on Nkzono99/paperops
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
paper_harness_cli-0.13.0.tar.gz -
Subject digest:
5ee68b837ab935623740b28bdacdb35952d3dda96095bd425e004c040fb19d80 - Sigstore transparency entry: 2145559285
- Sigstore integration time:
-
Permalink:
Nkzono99/paperops@83d18220b5e3908ff555fae7e8c4981944e622e7 -
Branch / Tag:
refs/tags/v0.13.0 - Owner: https://github.com/Nkzono99
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@83d18220b5e3908ff555fae7e8c4981944e622e7 -
Trigger Event:
release
-
Statement type:
File details
Details for the file paper_harness_cli-0.13.0-py3-none-any.whl.
File metadata
- Download URL: paper_harness_cli-0.13.0-py3-none-any.whl
- Upload date:
- Size: 558.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e209a0c69e7501adcb683c4673623f92d01fb7c4c31e86c987bd9506e430aa0b
|
|
| MD5 |
7b82f45264e545a085e1c7f05e57c10e
|
|
| BLAKE2b-256 |
23bb881078c48db20ff7aa7efe1fc1ddeb790948a67d77e9cc687aeca6aa4168
|
Provenance
The following attestation bundles were made for paper_harness_cli-0.13.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on Nkzono99/paperops
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
paper_harness_cli-0.13.0-py3-none-any.whl -
Subject digest:
e209a0c69e7501adcb683c4673623f92d01fb7c4c31e86c987bd9506e430aa0b - Sigstore transparency entry: 2145559298
- Sigstore integration time:
-
Permalink:
Nkzono99/paperops@83d18220b5e3908ff555fae7e8c4981944e622e7 -
Branch / Tag:
refs/tags/v0.13.0 - Owner: https://github.com/Nkzono99
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@83d18220b5e3908ff555fae7e8c4981944e622e7 -
Trigger Event:
release
-
Statement type: