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.10.0.tar.gz (307.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.10.0-py3-none-any.whl (401.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: paper_harness_cli-0.10.0.tar.gz
  • Upload date:
  • Size: 307.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.10.0.tar.gz
Algorithm Hash digest
SHA256 560a76c12fc007c001894efd523800851897a37441f463f35fd83e2ece14227c
MD5 a8b8de8011a72ceca6e65e0a5ff604ec
BLAKE2b-256 522c5bca80bc279d4247c6a957788f08de0243396800645d0c5ab2679870ea65

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for paper_harness_cli-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a40e3c85856cf8867594b70beaa280714bcab7633cae1ff402b8d9c1fcc0be3c
MD5 0bc6fd7f3aa3a7ed6d2e8848cc7395f8
BLAKE2b-256 988ee0d24f8fd9fe3bfb4b97bd55695d9bf0f0cd89a6a0f5cf8422744e70700d

See more details on using hashes here.

Provenance

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