CLAUDE.md@tests/harnessA
CLAUDE.md@tests/harness from p2p2sp/p2p2.claude is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.
mdr add p2p2sp/p2p2.claude/tests/harness/CLAUDE.md@git:20261007.b7374d4Pins git:20261007.b7374d4 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- CLAUDE.md file
- Repository
- p2p2sp/p2p2.claude
- Path
tests/harness/CLAUDE.md- Versions recorded
- 5
- Latest version
- git:20261007.b7374d4, committed Oct 7, 2026
- First version recorded
- Oct 3, 2026
- Size
- 5,489 bytes
- Repository stars
- 8
- 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
# tests/harness - shared helpers every test file imports Owns the helper modules the suites build on: the concurrent `test()`, the subprocess runner, temp dirs and throwaway git repos, PATH stubs, shell discovery, platform capability probes and PNG fixtures. It holds no test case: its own proof is `tests/harness.test.ts`, one level up. ## Terms - **Capability probe**: `canDenyRead()` (`perms.ts`) and `canSymlinkDir()` (`symlinks.ts`) answer from one real attempt on a throwaway file, memoised per process, never from the platform name; `false` is a test's skip condition, never a failure. - **Shell**: an interpreter path or a `[path, ...prefixArgs]` argv (`busybox sh`, `bash --posix`); `forEachShell` yields either form and `RunOpts.shell` accepts both as-is. ## Relationships - Imported by every test file through a relative `.ts` import. Internal chain: `stub.ts` -> `tmp.ts` -> `run.ts`; every other module imports only Node builtins (`png.ts` encodes through `node:zlib`, no image library). - `tests/harness.test.ts` covers `run`, `tmp`, `perms`, `stub`, `shells` and `png`; `paths.ts`, `symlinks.ts` and `coreUtilsPath()` have no case there, and `canSymlinkDir()` has no importer. …
Read the whole file at its exact version.
How to install
mdr add p2p2sp/p2p2.claude/tests/harness/CLAUDE.md@sha256:31a432b09ae1ac36The line at the top of this page pins the label git:20261007.b7374d4, 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.
[](https://markdownregistry.com/a/art_kjfficgymscl4axu)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Oct 3, 2026 and Oct 7, 2026, about one every day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261007.b7374d4 latest | 2026-10-07 | b7374d4 | 5,489 B | A | view · diff |
| git:20261007.ee4ea0a | 2026-10-07 | ee4ea0a | 5,294 B | A | view · diff |
| git:20261007.aaa7079 | 2026-10-07 | aaa7079 | 5,166 B | A | view · diff |
| git:20261003.6c58192 | 2026-10-03 | 6c58192 | 3,148 B | A | view · diff |
| git:20261003.7e345d5 | 2026-10-03 | 7e345d5 | 3,263 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (5489 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
p2p2sp/p2p2.claude · 8 stars · license MIT · pushed 2026-10-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_kjfficgymscl4axu GET https://markdownregistry.com/api/v1/resolve?ref=p2p2sp/p2p2.claude/tests/harness/CLAUDE.md GET https://markdownregistry.com/api/v1/blob/31a432b09ae1ac36f77ff1274af99f40386c43237101de8fae98d5e1b99e8cdd
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 p2p2sp/p2p2.claude
Every file in p2p2sp/p2p2.claude