# Contributor handoff — rollup/rollup

> Canonical page: https://codevetter.com/unpack/rollup/agent-handoff

# Contributor handoff — rollup/rollup

Scanned commit a77225f4b9ef88f20d26a32a3dc70954241f3fb6 (2026-10-02). Generated by codevetter codevetter 1.15.0 on 2026-10-02.

Source inspection; upstream code and tests were not executed.

Start with architecture and scoped instructions, then follow the affected phase and environment adapters. Preserve generated-file ownership and conservative tree-shaking contracts. Tests and CI were inspected, not executed, and this bounded brief supplies no passing-test or coverage guarantee. The commands below describe future authorized implementation checks; none were run during this audit.
- Read AGENTS.md and scoped src/rust/test instructions before changes; production code uses descriptive names, localized behavior, and short comments only for non-obvious information. — [AGENTS.md#L5-10](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/AGENTS.md#L5-L10) [AGENTS.md#L18-24](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/AGENTS.md#L18-L24)
- Respect LOAD_AND_PARSE → ANALYSE → GENERATE layering; AST nodes access module capabilities through astContext, and user-facing diagnostics use log factories plus URL constants. — [src/AGENTS.md#L3-12](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/src/AGENTS.md#L3-L12) [src/Graph.ts#L114-128](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/src/Graph.ts#L114-L128)
- Tree-shaking changes must retain pessimistic defaults, schedule new passes after invalidating inclusion decisions, and invalidate memoized dependent values after reassignment. — [src/AGENTS.md#L25-32](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/src/AGENTS.md#L25-L32)
- Edit AST schema/generators instead of generated decoders; preserve buffer alignment, word-index references, endianness, UTF-16 positions, and error-node protocols. — [scripts/ast-types.js#L1-21](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/scripts/ast-types.js#L1-L21) [rust/AGENTS.md#L9-21](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/rust/AGENTS.md#L9-L21)
- Verify browser capability changes against code: custom fs is supported despite the narrower ARCHITECTURE.md description; default fs methods throw and replacements are explicitly registered. — [ARCHITECTURE.md#L20-24](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/ARCHITECTURE.md#L20-L24) [docs/browser/index.md#L35-41](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/docs/browser/index.md#L35-L41) [browser/src/fs.ts#L8-20](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/browser/src/fs.ts#L8-L20) [build-plugins/replace-browser-modules.ts#L8-23](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/build-plugins/replace-browser-modules.ts#L8-L23)
- For future authorized checks, JavaScript changes use update:js and Rust changes use update:napi; build:quick builds NAPI plus CommonJS and omits browser/ESM artifacts needed by some tests. — [package.json#L44-55](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/package.json#L44-L55) [test/AGENTS.md#L15-18](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/test/AGENTS.md#L15-L18)
- Prefer function regression samples for executable behavior, form for removed code, and chunking-form for multiple outputs; watch tests live in index.js, and new plugin tests should avoid the legacy hooks suite. — [test/AGENTS.md#L3-13](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/test/AGENTS.md#L3-L13)
- Rebuild artifacts before testing, remove solo selections, and remember fixture runners change cwd; tests and CI here were inspected rather than executed, so configured checks provide no observed pass result. — [test/AGENTS.md#L13-18](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/test/AGENTS.md#L13-L18) [test/AGENTS.md#L22-27](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/test/AGENTS.md#L22-L27) [.github/workflows/build-and-tests.yml#L544-548](https://github.com/rollup/rollup/blob/a77225f4b9ef88f20d26a32a3dc70954241f3fb6/.github/workflows/build-and-tests.yml#L544-L548)

Every claim links to its cited files at the pinned commit. Citations identify source evidence; they do not establish runtime correctness. Independent CodeVetter scan — not reviewed by upstream maintainers.

## Public product links

- [CodeVetter](https://codevetter.com/)
- [Download](https://codevetter.com/download)
- [Documentation](https://codevetter.com/docs/)
- [Source](https://github.com/Codevetter/codevetter)
