Skip to content

docs(browser): grep wrapper docstring claims multi-line call but implementation is split-and-check #340

Description

@apireno

`grep`'s docstring in `cli_anything/browser/utils/domshell_backend.py` still says rooted-grep is sent as one multi-line `domshell_execute` call; the implementation since R5 has been a three-call split-and-check sequence (anchor → grep → restore) with an error short-circuit after anchor (and session-required check before that).

Docstring needs to match the actual implementation shape.

Suggested fold-in: combine with #328's broader HARNESS.md sweep — they're the same class of "post-architectural-refactor docs drift" — or close as a duplicate of #328 if that issue's scope is widened to include docstrings as well as the HARNESS.md table.

Surfaced by: Copilot R4 on PR #308 commit `5790651` and addressed via R4 cleanup commit `a87647e` deferring this item.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationDocumentation issue or improvement

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions