CLAUDE.md@src/cli/hookA

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

CLAUDE.md@src/cli/hook from ancienttwo/repo-harness is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.

Install it, pinned
mdr add ancienttwo/repo-harness/src/cli/hook/CLAUDE.md@git:20261016.26f1806

Pins git:20261016.26f1806 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
CLAUDE.md file
Repository
ancienttwo/repo-harness
Path
src/cli/hook/CLAUDE.md
Versions recorded
2
Latest version
git:20261016.26f1806, committed Oct 16, 2026
First version recorded
Oct 13, 2026
Size
1,217 bytes
Repository stars
435
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Functional Block Agent Context

Keep this file focused on the local contract for this primary functional block.

## Local Context Contract

- `src/cli/hook/` owns host-event runtime authority: the typed route registry, the runtime and the handlers. Operator helpers run from the package through `repo-harness run <helper>`.

<!-- BEGIN CAPABILITY CONTEXT -->
## Capability Context

- Capability ID: `runtime-harness-hook-adapters`
- Domain: `runtime-harness`
- Name: `hook-adapters`
- Primary prefix: `src/cli/hook`
- Architecture module: `docs/architecture/modules/runtime-harness/hook-adapters.md`
- Workstream: `tasks/workstreams/runtime-harness/hook-adapters`

## Positioning

Owns the runtime-harness-hook-adapters capability boundary declared in .archcontext/model/nodes.

## Source Map

- Primary prefix: `src/cli/hook` (entrypoint)
- Architecture module: `docs/architecture/modules/runtime-harness/hook-adapters.md` (design-source)
- Workstream: `tasks/workstreams/runtime-harness/hook-adapters` (durable-progress)

## Refresh Hints

- `bun test tests/hook-runtime.test.ts tests/hook-contracts.test.ts tests/workflow-contract.test.ts`
- `bash scripts/check-task-workflow.sh`
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ancienttwo/repo-harness/src/cli/hook/CLAUDE.md@sha256:a0bb47b7ae2bfaf6

The line at the top of this page pins the label git:20261016.26f1806, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_xezao5p5ojya2xvm.svg)](https://markdownregistry.com/a/art_xezao5p5ojya2xvm)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Oct 13, 2026 and Oct 16, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
git:20261016.26f1806 latest2026-10-16 26f1806 1,217 BA view · diff
git:20261013.5b82fa72026-10-13 5b82fa7 1,989 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (1217 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

ancienttwo/repo-harness · 435 stars · license MIT · pushed 2026-10-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_xezao5p5ojya2xvm
GET https://markdownregistry.com/api/v1/resolve?ref=ancienttwo/repo-harness/src/cli/hook/CLAUDE.md
GET https://markdownregistry.com/api/v1/blob/a0bb47b7ae2bfaf67037678c898798f4724a3a4fbcd337c803b8e7ff0fbb20cc

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: what a CLAUDE.md file is · keeping AGENTS.md and CLAUDE.md in sync · which agent file does what.

More from ancienttwo/repo-harness

AGENTS.md AGENTS.md file
ancienttwo/repo-harness · AGENTS.md
git:20261022.1983225 · audit A · 435 stars
CLAUDE.md CLAUDE.md file
ancienttwo/repo-harness · CLAUDE.md
git:20261022.1983225 · audit A · 435 stars
repo-harness SKILL.md skill
ancienttwo/repo-harness · SKILL.md · Route explicit repo-harness commands and active harness work. Exclude ordinary questions, quoted reports, and general…
git:20261017.d02a082 · audit A · 435 stars
AGENTS.md@assets AGENTS.md file
ancienttwo/repo-harness · assets/AGENTS.md
git:20261003.d26f1a5 · audit A · 435 stars
CLAUDE.md@assets CLAUDE.md file
ancienttwo/repo-harness · assets/CLAUDE.md
git:20261003.d26f1a5 · audit A · 435 stars
AGENTS.md@assets/skill-commands AGENTS.md file
ancienttwo/repo-harness · assets/skill-commands/AGENTS.md
git:20261016.26f1806 · audit A · 435 stars
CLAUDE.md@assets/skill-commands CLAUDE.md file
ancienttwo/repo-harness · assets/skill-commands/CLAUDE.md
git:20261016.26f1806 · audit A · 435 stars
repo-harness-architecture SKILL.md skill
ancienttwo/repo-harness · assets/skill-commands/repo-harness-architecture/SKILL.md · Inspect or update an assigned architecture model, document, or Mermaid diagram. Exclude unrelated code edits and full…
git:20261013.2ed904a · audit A · 435 stars
repo-harness-check SKILL.md skill
ancienttwo/repo-harness · assets/skill-commands/repo-harness-check/SKILL.md · Plan scoped harness work, review a plan, or assess recorded checks and risk. Do not execute implementation or publish…
git:20261017.16ea127 · audit A · 435 stars
repo-harness-ship SKILL.md skill
ancienttwo/repo-harness · assets/skill-commands/repo-harness-ship/SKILL.md · Close out verified harness work only when the user explicitly asks to commit, push, open a PR, merge, or clean merged…
git:20261013.a2c9ff2 · audit A · 435 stars
obsidian-memory SKILL.md skill
ancienttwo/repo-harness · assets/skills/obsidian-memory/SKILL.md · Recall project memory or save reusable lessons to Obsidian only when explicitly requested. Exclude automatic task…
git:20261004.640e5ea · audit A · 435 stars
repo-harness-chatgpt SKILL.md skill
ancienttwo/repo-harness · assets/skills/repo-harness-chatgpt/SKILL.md · Canonical rule owner for repo-harness ChatGPT integration -- Oracle-first browser/GPT Pro consult and continuation…
git:20261016.01b5e35 · audit A · 435 stars

Every file in ancienttwo/repo-harness

Browse by kind, by grade A, or by owner.