josharsh / josharsh/pixelpi

look(): signal when the ref list is truncated

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
TypeScript
Stars
19
Forks
3
PR merge metrics
No merged PRs in 30d

Description

`look()` caps the snapshot at `MAX_REFS` (200) in `packages/cdp/src/snapshot.ts`. On long pages the agent can't tell there's more below, so it may assume it saw everything.

**Task:** when the snapshot is truncated, append a one-line hint to the output (e.g. `… N more elements below — scroll or filter`). Small, high-value, testable against the existing `compactAxTree` unit tests.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.