feat: add review effort accounting and budget governor
This commit is contained in:
@@ -27,6 +27,11 @@ pair to rotate instead of two. Tags carry the finer cut:
|
||||
`provider:headroom`, `model:<bare>`, `engine:opencode`, `repo:<owner/name>`,
|
||||
`lens:<id>` per fan-out lens.
|
||||
|
||||
Each trace metadata record also includes the completed iteration count, tool
|
||||
calls, per-iteration token details, and whether a configured budget stopped the
|
||||
run. A capped run is tagged in the review body and can be filtered in Langfuse
|
||||
with `cap_hit` / `cap_reason` metadata.
|
||||
|
||||
To split into two *projects* later, point `LANGFUSE_PUBLIC_KEY` /
|
||||
`LANGFUSE_SECRET_KEY` at the second project on whichever deployment runs the
|
||||
Claude path. Nothing in the code needs to change.
|
||||
|
||||
Reference in New Issue
Block a user