Skip to main content

AI支援ハーネスプロジェクト向けのフィードバックと改善実験OS

Project description

HarnessOps

HarnessOps は、AI Agent がハーネスプロジェクトの失敗、フィードバック、評価、改善判断を証拠付きで扱うための運用基盤です。

このプロジェクトは基本的にAI経由で利用します。人間がCLI手順を覚えることより、何をAI Agentに任せるか、どこに記録が残るか、どの安全条件が守られるかを把握することを重視します。

人間が把握すること

HarnessOps は3つのリポジトリ役割を分けます。

レイヤー オーバーレイ 目的
プロジェクトリポジトリ harness-feedback/ 失敗、ローカル回避策、上流へ送る候補を記録します。
ターゲットリポジトリ harness-lab/ 受け取ったフィードバックを評価ケース、仮説、判断に変換します。
HarnessOps リポジトリ harness-lab/ HarnessOps 自身のCLI、スキーマ、プラグイン、運用ループを改善します。

プロジェクト固有の研究方針、論文内容、実験転換は harness-feedback/ ではなく、各プロジェクトの research/ または notes/ に置きます。上流やメタ改善へ回す内容は、必ずルーティングとサニタイズを通します。

普通のリポジトリを汚さず開発時だけ使う場合は、global registry + local state を使えます。

uvx --from harnessops hops project link --storage local --profile generic-code
uvx --from harnessops hops project resolve --json
uvx --from harnessops hops doctor --check-overlay
uvx --from harnessops hops install-codex-plugin

この導線では対象repoに .harnessops/harness-feedback/harness-lab/ を作らず、~/.harnessops/projects/<project-id>/ に状態を置きます。共有が必要になった時だけ hops local pack/import/merge を使います。詳しくは docs/global-local-state.md を読んでください。

名前

  • GitHub repository: Nkzono99/harnessops
  • PyPI package: harnessops
  • Python import: harnessops
  • CLI: hops

読む順番

安全上の前提

  • hops が HarnessOps 状態変更の正本です。Agentやプラグインは、.harnessops/harness-feedback/harness-lab/ の構造を直接組み替えません。
  • Agent向けには repo-local skill と global Codex plugin の2系統があります。どちらも状態変更は uvx --from harnessops hops ... に委譲します。global plugin には failure記録、routing、GitHub Issue下書き/作成、local-state pack/import/merge の skill を同梱します。
  • 未サニタイズのフィードバックは既定で外部出力されません。
  • 採用済み判断には、証拠、回帰リスク、ガードパスが必要です。
  • 生成ビューは更新されますが、人が作成した records/ 配下の履歴はビュー更新で再生成されません。
  • hops は通常コマンド実行時に .harnessops/lock.json と PyPI の version を見て update notice を出します。抑止する場合は --disable-update-noticeHOPS_DISABLE_UPDATE_NOTICE=1、または PyPI 確認だけ HOPS_DISABLE_PYPI_UPDATE_CHECK=1 を使います。

開発時の確認

PYTHONPATH="$PWD/src" python3.11 -m pytest -q
uv run --with-editable . hops doctor --check-overlay --check-records
uv run --with-editable . hops migrate --check

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

harnessops-0.1.15.tar.gz (553.5 kB view details)

Uploaded Source

Built Distribution

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

harnessops-0.1.15-py3-none-any.whl (207.3 kB view details)

Uploaded Python 3

File details

Details for the file harnessops-0.1.15.tar.gz.

File metadata

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

File hashes

Hashes for harnessops-0.1.15.tar.gz
Algorithm Hash digest
SHA256 8943fb133bb603fc464317ef0f0257fe222814691c98cd3494baa2b9d47680ae
MD5 30f919212363027473bf902eedf58e69
BLAKE2b-256 23335bf17d4d73843758b72c0a172c75cb83f9789d58b7438aa2961ce4b997fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for harnessops-0.1.15.tar.gz:

Publisher: publish-pypi.yml on Nkzono99/harnessops

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

File details

Details for the file harnessops-0.1.15-py3-none-any.whl.

File metadata

  • Download URL: harnessops-0.1.15-py3-none-any.whl
  • Upload date:
  • Size: 207.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for harnessops-0.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 a4007f326366e40329023110b4d138df6cdd06cd7ca1d1d2898653c54b0a8c49
MD5 88be78d1e874484eb3714a5dfcbc5fc4
BLAKE2b-256 7e0fe9d0594a47eb26b7a5868ca7b12fb7b9153462cb0ba5c7f0ae4557a36933

See more details on using hashes here.

Provenance

The following attestation bundles were made for harnessops-0.1.15-py3-none-any.whl:

Publisher: publish-pypi.yml on Nkzono99/harnessops

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