agentleFS
Chachamaru127Chachamaru127/claude-code-harness/.cursor/AGENTS.md

claude-code-harness

AGENTS.md3.1k starsChanged 4 months agoMITView on GitHub

Status: Cursor adapter supported. Harness-side containment applies — see docs/CURSOR_INTEGRATION.md#containment-disclosure. PM handoff remains documented in docs/CURSOR_INTEGRATION.md. Cursor is supported after live H4 (2026-07-17) and H7 release-preflight fail-closed gate. No traditional FS jail — containment is harness-side. not_observed != absent. Golden prompt fixtures (static contract, not auto-routing proof): Resolve model from Harness role tier via: Do not claim Claude/Codex hook or Agent Teams parity from Cursor subagents. Core contract (host-neutral): Cursor adapter mapping (smoke target only):

Trending

Steady talk.thin dataabout the whole repository

Dec 2025: 1 mentionJan 2026: 1 mentionFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 2 mentionsMay 2026: 1 mentionJun 2026: 2 mentionsJul 2026: 0 mentionsAug 2026: 2 mentionsSep 2026: 1 mentionOct 2026: 3 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the Chachamaru127/claude-code-harness repository that our weekly crawl found: only 13 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about Chachamaru127/claude-code-harness

The biggest 5 of 13 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 13

Talked about on GitHub and Bluesky (13 times).

On GitHub · 12

7 more on GitHub

The file

We split this AGENTS.md into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not claim Claude/Codex hook or Agent Teams parity from Cursor subagents.

    line 44

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md — Cursor Bootstrap Route (Supported)

Status: Cursor adapter supported. Harness-side containment applies — see docs/CURSOR_INTEGRATION.md#containment-disclosure. PM handoff remains documented in docs/CURSOR_INTEGRATION.md.

Support Tier

Cursor is supported after live H4 (2026-07-17) and H7 release-preflight fail-closed gate. No traditional FS jail — containment is harness-side. not_observed != absent.

First Commands

IntentSkill / workflowNotes
Plan a changeharness-planRead root spec.md + Plans.md before adding tasks
Implement next taskharness-workDefault solo; use breezing for multi-task team runs
Review diff / PRharness-reviewIndependent review; do not self-approve implementation
Sync driftharness-syncPlans vs git vs implementation
Setup / initharness-setupFirst-time or repair bootstrap

Golden prompt fixtures (static contract, not auto-routing proof):

  • plan this / 計画して → harness-plan
  • work on this / 実装して → harness-work
  • implement all Plans.md tasks / 全部やって → breezing or harness-work all
  • review this PR / レビューして → harness-review

Model Routing

Resolve model from Harness role tier via:

bash scripts/model-routing.sh --host cursor --role worker --format json

Priority:

  1. Explicit Task/subagent model override from the caller
  2. Routed default from scripts/model-routing.sh
  3. Session inherit (model: inherit in subagent frontmatter)

Do not claim Claude/Codex hook or Agent Teams parity from Cursor subagents.

Breezing (Team Execution)

Core contract (host-neutral):

  • Parallel: independent Workers when file groups do not overlap
  • Serial: Reviewer verdict, cherry-pick to main, Advisor escalation

Cursor adapter mapping (smoke target only):

  • Worker → Task tool / .cursor/agents/worker.md subagent (parallel when safe)
  • Reviewer → .cursor/agents/reviewer.md (readonly: true)
  • Advisor → .cursor/agents/advisor.md on advisor-request.v1 only
  • Multitask / background agents → optional parallel fan-out; not a support claim

Verification

bash tests/test-cursor-adapter-candidate.sh
bash tests/test-bootstrap-routing-contract.sh
bash tests/test-model-routing.sh

North Star (3 層の野望)

  • L1 判断専念: AI が plan / 実装 / 比較 / 検証 evidence を準備し、人間 (operator) は最終判断のみ行う。
  • L2 ツール非依存: 同一 Harness (R01-R16 guardrails + plan/work/review/release) が Claude / Codex / Cursor のどの host からでも効く。1 つの policy engine が 3 host を native hook 経由で adjudicate する (複製でなく routing)。向きは 2 つ対等 — #1 harness が駆動 (Lead が他ツールを engine として spawn) / #2 host から使う (Cursor「から」 harness を呼ぶ)。
  • L3 協調 (将来の本丸): 複数ツールが同一プロジェクトを、人間をコピペ係にせず協調する。Mode 1 = 完全自律オーケストレーション (v1 は Lead=Claude 固定)、Mode 2 = 人間在席の peer co-drive (live notice messaging)。フル peer-Lead 協調は段階導入。

Codex / Cursor hook の事実 (自分の hook 構成を誤解しないための固定知識)

  • FACT-1: Codex / Cursor は一級の hook ホストである。hook は config.toml に inline で書かれず、harness gen が生成する .cursor/hooks.json / .codex/hooks.json (gitignore された build artifact) に入る。いずれも bin/harness hook pre-tool --host <h> を呼ぶ。
  • FACT-2: 「config.toml に inline hook を ship しない」は「config.toml の中には書かない」の意味であり、「hook が無い」ではない。この 2 つを混同しない。
  • FACT-3: hook には 2 層あり、状態が層ごとに異なる。(a) enforcement (PreToolUse → bin/harness hook pre-tool → R01-R16 policy engine) は 3 host 対称に配線済み・harness gen で生成可能。(b) Mode 2 delivery (inbox-check / monitor で受信) は生成関数が実装 + unit test 済みだが本番 caller がゼロで、harness gen 未接続のため生成 hook に inbox-check は入らない。Codex/Cursor delivery は turn 境界 (Stop) 受信が設計で、live monitor は Claude 専用。
  • FACT-4: あるホストが capability を欠くと結論する前に、必ず harness gen 出力を実際に materialize して中身を確認する。config のコメントだけで「無い」と断定しない。not_observed != absent。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.