Skip to main content

Module files

Module files 

Source
Expand description

warden report filesattributed tokens per file.

No log records “this file consumed N tokens”. This report derives it:

  1. read tool_calls on each event for file paths,
  2. assign that event’s token cost across the distinct files it touched,
  3. split evenly.

That is a heuristic and it is labelled as one everywhere it surfaces: the columns say attrib., the notes say attributed, not measured, and every JSON row carries "method": "even-split" so a consumer can tell without reading this file.

Constants§

METHOD
The documented attribution rule, published in the rows and the notes.

Functions§

build