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 を確認し、plan-figure-story で visual obligation と主図構成を決めてから、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
make figure-obligation-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.9.0.tar.gz (266.5 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.9.0-py3-none-any.whl (362.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: paper_harness_cli-0.9.0.tar.gz
  • Upload date:
  • Size: 266.5 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.9.0.tar.gz
Algorithm Hash digest
SHA256 414d2dc2003707dec7874853cb48936dcbc547696415bb55c12164852cbeb92e
MD5 b86a5d27db672ff25e9fe74d9d2b543e
BLAKE2b-256 16b700ad5c98fd58bcbcc811b57b634aa965b2b29efa1b62438615b4282ecba5

See more details on using hashes here.

Provenance

The following attestation bundles were made for paper_harness_cli-0.9.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.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for paper_harness_cli-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21daba1d5dc8d8f5ec82a97e13e17a42f6614b0dc7ca1f3b32cdfcee9f320c74
MD5 f5698c0ffb1b57f7b3e2aef5f965dc3a
BLAKE2b-256 4c12eef4267e1c93d1e7c3ed867597336639bfe8e6cbcb2f4f99dfd13431fd00

See more details on using hashes here.

Provenance

The following attestation bundles were made for paper_harness_cli-0.9.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