Skip to content

feat(daemon): record evaluate subprocess token_usage in database#716

Merged
kys0213 merged 1 commit intomainfrom
feature/issue-677
Mar 30, 2026
Merged

feat(daemon): record evaluate subprocess token_usage in database#716
kys0213 merged 1 commit intomainfrom
feature/issue-677

Conversation

@kys0213
Copy link
Copy Markdown
Owner

@kys0213 kys0213 commented Mar 30, 2026

Summary

Autopilot 자동 구현

Closes #677

Changes

Record subprocess token_usage in database for evaluate phase

- Add runtime_name and model fields to belt agent --json output
- Add parse_ipc_token_usage() method on EvaluateResult to extract
  TokenUsage, runtime_name, and model from subprocess IPC JSON
- Record parsed token usage to DB after run_evaluate subprocess path
- Add IpcTokenUsage struct and try_record_ipc_token_usage() helper

Closes #677

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@kys0213 kys0213 added the autopilot:auto Autopilot auto PR label Mar 30, 2026
@kys0213 kys0213 merged commit ce5c210 into main Mar 30, 2026
4 checks passed
@kys0213 kys0213 deleted the feature/issue-677 branch March 30, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autopilot:auto Autopilot auto PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(daemon): record evaluate subprocess token_usage in database

1 participant