This commit is contained in:
pi
2026-04-12 07:54:30 +01:00
parent 6b67e090a0
commit c5a311732a
2 changed files with 29 additions and 19 deletions

26
AGENTS.md Normal file
View File

@@ -0,0 +1,26 @@
# AGENTS.md
## Scope
Applies to entire `pi-context-manager` package.
## What this package does
- Pi extension package for context-pressure management, resume packets, summaries, persistence, and pruning helpers.
- Entry point: `index.ts`.
- Core package logic and tests live in `src/`.
## Working rules
- Treat this directory as an independent package root.
- Keep changes package-local and minimal.
- Pi core packages belong in `peerDependencies` with `"*"` and must not be bundled.
- Prefer focused tests next to changed modules in `src/`.
- Do not edit `node_modules/` or nested `.git/` contents.
- For transitive advisory refreshes, prefer `npm audit fix --package-lock-only` when it avoids unrelated manifest changes.
## Commands
- Install deps: `npm install`
- Run tests: `npm test`
- Audit deps: `npm audit`