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.11.0.tar.gz (324.1 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.11.0-py3-none-any.whl (419.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: paper_harness_cli-0.11.0.tar.gz
  • Upload date:
  • Size: 324.1 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.11.0.tar.gz
Algorithm Hash digest
SHA256 b0c702fec8ad97ff41f4f6677d0b3f61e68063ce08997f937783893f6a07864c
MD5 2422cd26e90cd7c97a39ae557366546a
BLAKE2b-256 1f3973efd28d6356f2ff1461e89e1abec46f88015785943529edaa8425354cd0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for paper_harness_cli-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0c3f354c8ff169e244b0017740a719d9c0a0d777af1926f115759e7837e9561
MD5 b3f378c7d4813014231ca63738602a1a
BLAKE2b-256 e739ce16c79764aa9d8d8e0cc88eff0fbdae8b578799109d085e42862e3740d0

See more details on using hashes here.

Provenance

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