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.16.tar.gz (574.1 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.16-py3-none-any.whl (208.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: harnessops-0.1.16.tar.gz
  • Upload date:
  • Size: 574.1 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.16.tar.gz
Algorithm Hash digest
SHA256 49019dda500da6c898a5edaf6f90034775482e049f304619a23ef83e3e0b6dc9
MD5 748591bce71f60937d47208de58d1df7
BLAKE2b-256 c6b1a656e81a121f5ae8dea08a58da7ade179932b7e92bc4dc907d6456ac3205

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: harnessops-0.1.16-py3-none-any.whl
  • Upload date:
  • Size: 208.7 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.16-py3-none-any.whl
Algorithm Hash digest
SHA256 c3c92765666158fd0cddb4f68c8a9a2a10f63668c696af215e92fad1e13bf14c
MD5 6d706b5abb2df382649f67a737467dee
BLAKE2b-256 77e801b4cc24e363f1cee6af160f7628f0a3d4f89ea408951916c022f65429fc

See more details on using hashes here.

Provenance

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