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.14.tar.gz (538.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.14-py3-none-any.whl (206.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: harnessops-0.1.14.tar.gz
  • Upload date:
  • Size: 538.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.14.tar.gz
Algorithm Hash digest
SHA256 ea6e71dc4be5e18aa9f240007e841e0c463ccf0b7fe7dbd466cabd574a55479a
MD5 d5c650dad5a2fde178fe4a8c0275e254
BLAKE2b-256 f83994a53c2fb6fc080b84b1a091ef840540a96bf325a27f1b20f022e01dc43f

See more details on using hashes here.

Provenance

The following attestation bundles were made for harnessops-0.1.14.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.14-py3-none-any.whl.

File metadata

  • Download URL: harnessops-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 206.5 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.14-py3-none-any.whl
Algorithm Hash digest
SHA256 31ee10964869c8c380809db24b56f16625a85d345569170383fad81bd0ba8a9b
MD5 a2e983b79bfcbc814aaa95580c0fcfe0
BLAKE2b-256 588ac7f973bd4f15520f43634df199201ffed3fa9b4e181e47341d54534e5bf2

See more details on using hashes here.

Provenance

The following attestation bundles were made for harnessops-0.1.14-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