Skip to content

Measure Leaf's hook cost for sessions holding pages #4084

Closed

Description

@max-sixty

Leaf hook cost with owned pages: Stop, prompt, and Codex tool-result hooks discover ownership before page reading and without importing the CLI. A session holding a page still imports page reading and reads each page's state before answering. Measure that cost before expanding tool observation; a compiled hook path is a further step if import cleanup is insufficient.


Migrated from TODO.md, Etc › Implementation candidates: item 35 of 40 in Etc, in the order TODO.md listed them.

Activity

  1. added
    backlog
    etc
    on Oct 25, 2026
  2. max-sixty commented on Nov 5, 2026

    @max-sixty
    OwnerAuthor

    Closing as done. The measurement this asks for has been made twice, and the import cleanup it names has landed. The further step it names, a faster hook path, is #5246.

    This was written by Claude Code on behalf of max-sixty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogetc

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions