AGENTS.md@packages/omo-opencode/src/__tests__ · git:20260610.f7e8221 · 2026-06-10 · sha256 2427db8f14c7d140

AGENTS.md@packages/omo-opencode/src/__tests__ git:20260610.f7e8221A

Immutable. This exact content is served forever at /api/v1/blob/2427db8f14c7d140.

# src/__tests__/ — Plugin Perf Benchmarks

**Generated:** 2026-06-01

## OVERVIEW

Plugin-level tests that intentionally break the co-located `*.test.ts` convention: they boot the whole plugin via `createPluginModule()` and measure init cost.

| Path | Measures |
|------|----------|
| `perf/plugin-init.test.ts` | Cold `createPluginModule()` init time |
| `perf/plugin-init-team-mode-resume-defer.test.ts` | Init cost when team-mode resume is deferred |

## FIXTURES (DO NOT EXPAND)

`perf/fixtures/in-tree/` is a synthetic project tree (20 dummy `*.ts` files under `src/app`, `src/lib`, `packages/pkg-one/src`) that benchmarks AGENTS.md walk-up discovery.

Its three `AGENTS.md` files (`in-tree/`, `in-tree/src/`, `in-tree/packages/pkg-one/`) are deliberate 1-line stubs (`# fixture root`, etc.). They are TEST DATA, not documentation. `/init-deep` and any doc tooling MUST leave them as single-line stubs; expanding them corrupts the benchmark baseline.