docs: drop Co-Authored-By trailer references from run-total-usage plan
This commit is contained in:
1 parent
d1c63cac56
commit
eb5f1f2952
1 file changed
+3
-10
@@ -16,7 +16,6 @@
|
|||||||
- Only `runtime/runtime.go`'s `Run` changes. Do NOT modify `RunTurn` (`runtime/runturn.go`).
|
- Only `runtime/runtime.go`'s `Run` changes. Do NOT modify `RunTurn` (`runtime/runturn.go`).
|
||||||
- Sum ALL FOUR `llm.Usage` fields: `InputTokens`, `OutputTokens`, `CacheCreationInputTokens`, `CacheReadInputTokens`.
|
- Sum ALL FOUR `llm.Usage` fields: `InputTokens`, `OutputTokens`, `CacheCreationInputTokens`, `CacheReadInputTokens`.
|
||||||
- Gates per task: `go build ./...`, `go vet ./...` clean; named tests pass.
|
- Gates per task: `go build ./...`, `go vet ./...` clean; named tests pass.
|
||||||
- Commit messages end with `Co-Authored-By: Claude <[email protected]>`.
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -124,9 +123,7 @@ Expected: PASS (4 tests).
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
git add runtime/usage.go runtime/usage_test.go runtime/runtime.go
|
git add runtime/usage.go runtime/usage_test.go runtime/runtime.go
|
||||||
git commit -m "feat(runtime): add pure addUsage helper for field-wise usage summation
|
git commit -m "feat(runtime): add pure addUsage helper for field-wise usage summation"
|
||||||
|
|
||||||
Co-Authored-By: Claude <[email protected]>"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
(Adjust `git add` to whichever files you actually touched.)
|
(Adjust `git add` to whichever files you actually touched.)
|
||||||
@@ -332,9 +329,7 @@ git commit -m "fix(runtime): emit run-total token usage on terminal EventDone
|
|||||||
|
|
||||||
Run accumulated only the last turn's usage into the terminal EventDone, so
|
Run accumulated only the last turn's usage into the terminal EventDone, so
|
||||||
multi-turn runs under-reported tokens to consumers metering AgentEvent.Usage.
|
multi-turn runs under-reported tokens to consumers metering AgentEvent.Usage.
|
||||||
Sum all four usage fields across turns; RunTurn is unchanged (one turn/call).
|
Sum all four usage fields across turns; RunTurn is unchanged (one turn/call)."
|
||||||
|
|
||||||
Co-Authored-By: Claude <[email protected]>"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -376,9 +371,7 @@ Expected: clean.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
git add runtime/runtime.go developer.md
|
git add runtime/runtime.go developer.md
|
||||||
git commit -m "docs(runtime): clarify EventDone.Usage is the run total
|
git commit -m "docs(runtime): clarify EventDone.Usage is the run total"
|
||||||
|
|
||||||
Co-Authored-By: Claude <[email protected]>"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
(Drop `developer.md` from the add if you didn't change it.)
|
(Drop `developer.md` from the add if you didn't change it.)
|
||||||
|
|||||||
Reference in new issue
Block a user