Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CLAUDE.md

**MANDATORY**: Act as principal-level engineer. Follow these guidelines exactly.
Act as principal-level engineer.

<!-- <fleet> -->

Expand Down Expand Up @@ -187,8 +187,8 @@

Core infrastructure library for Socket.dev security tools.

- 🚨 Internal imports use relative paths (no aliases); vendored externals live in `src/external/` and import by bare name.
- 🚨 Build: `pnpm build` (rolldown → CJS); type-check: `pnpm run check` (tsgo); test: `pnpm test`; coverage: `pnpm run cover`.
- 🚨 NEVER `process.chdir()`: pass `{ cwd }` and absolute paths; NEVER `--` before vitest test paths - runs ALL tests. [`architecture`](docs/agents.md/repo/architecture.md)
- 🚨 Vitest OOM with `tests 0ms` = infinite stream - `Readable.push(undefined)` doesn't end a stream; bisect before raising heap. [`architecture`](docs/agents.md/repo/architecture.md)
- Full architecture, commands, code-quality tools, build system, package-exports, testing, CI, env-var conventions in [`docs/agents.md/repo/architecture.md`](docs/agents.md/repo/architecture.md).
- Internal imports use relative paths (no aliases); vendored externals live in `src/external/` and import by bare name.
- Build: `pnpm build` (rolldown → CJS); type-check: `pnpm run check` (tsgo); test: `pnpm test`; coverage: `pnpm run cover`.
- Never call `process.chdir()`: pass `{ cwd }` and absolute paths. Never put `--` before vitest test paths; it runs every test. [`architecture`](docs/repo/agents.md/architecture.md)
- Vitest OOM with `tests 0ms` = infinite stream - `Readable.push(undefined)` doesn't end a stream; bisect before raising heap. [`architecture`](docs/repo/agents.md/architecture.md)
- Full architecture, commands, code-quality tools, build system, package-exports, testing, CI, env-var conventions in [`docs/repo/agents.md/architecture.md`](docs/repo/agents.md/architecture.md).
Loading