Skip to main content

CLI kernel for bootstrapping and maintaining paper-harness projects

Project description

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/: 個別論文リポジトリに展開される scaffold
  • src/paperops/: scaffold を初期化・診断・更新する pops CLI
  • .github/workflows/: 下流論文リポジトリから呼び出せる reusable workflow
  • .agents/skills/, .claude/skills/: paperops 自体を保守するための skill
  • docs/: CLI、配布、アーキテクチャ、変更ルール

論文プロジェクトの基本モデル

下流の論文リポジトリでは、原稿だけでなく中間層も明示的に持つ。

  • evidence/: result / figure / source card の正本
  • claims/: claim / scientific gate / argument card の正本
  • review/: 人間レビュー、査読コメント、返答のカード
  • requests/: 追加解析や改稿依頼のカード
  • notes/views/: pure overview view と controlled authoring view
  • contracts/: section ごとの読者質問、入力、出力、禁止構造
  • workflow/: 全体状態、section 状態、review loop、stale 伝播
  • manuscript/writing-profile.yml: 論文種別・投稿先ごとの overlay
  • manuscript/ja, manuscript/en: block ID で対応する原稿
  • refs/: 文献サマリー、外部 source、外部 project link
  • refs/imports/: 外部 export bundle の source index / integrity / provenance state
  • _handoff/: 人間から AI へ渡す未整理ファイルの一時置き場
  • _archives/: 同じ repo で1から書き直すために封印した過去稿 archive

人間は主に原稿レベルのレビューや自然文の指示を出す。Agent はそれを review/feedback/ の card にし、必要なら claim / gate / evidence / request / manuscript へ遡って反映する。本文生成の前には、必要に応じて pops workflow statuscontracts/writing-profile.yml を確認し、card と controlled view から paper_ir を作り、Results / Discussion / Methods の section compiler を通す。

よく使うコマンド

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 scratch archive --label before-rewrite
uvx --from paper-harness-cli pops scratch reset --yes

下流プロジェクトでの確認:

make ci
make audit
make pre-submit
make figure-reference-check

paperops 本体の確認:

make venv
make smoke

詳細

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

paper_harness_cli-0.7.0.tar.gz (227.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

paper_harness_cli-0.7.0-py3-none-any.whl (318.3 kB view details)

Uploaded Python 3

File details

Details for the file paper_harness_cli-0.7.0.tar.gz.

File metadata

  • Download URL: paper_harness_cli-0.7.0.tar.gz
  • Upload date:
  • Size: 227.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for paper_harness_cli-0.7.0.tar.gz
Algorithm Hash digest
SHA256 65e64f5cd0ac68cc6af34c647ea3273d17e77a5fb4599e827f7b7cd0bf6b3c76
MD5 50c9071342c82a320559b0b9bf2a9565
BLAKE2b-256 c65b8674109a62168f55d341ed43e9be7c0f3338f1771732e64f194661e860e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for paper_harness_cli-0.7.0.tar.gz:

Publisher: publish-pypi.yml on Nkzono99/paperops

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file paper_harness_cli-0.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for paper_harness_cli-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 12a8be1103ce4635a61fb23421f8042c63b6824f952e4696a7e1945a2c77db81
MD5 31b627d7bbe0cb69a2672150b4adf71c
BLAKE2b-256 3c865cb66b78029c2621f1b2465d1eec514de5ac64312c28add93e620034e97c

See more details on using hashes here.

Provenance

The following attestation bundles were made for paper_harness_cli-0.7.0-py3-none-any.whl:

Publisher: publish-pypi.yml on Nkzono99/paperops

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page