Skip to content

feat(whaleflow): add memo telemetry counters#2833

Merged
Hmbown merged 1 commit into
codex/v0.9.0-stewardshipfrom
codex/v090-whaleflow-memo-telemetry
Jun 6, 2026
Merged

feat(whaleflow): add memo telemetry counters#2833
Hmbown merged 1 commit into
codex/v0.9.0-stewardshipfrom
codex/v090-whaleflow-memo-telemetry

Conversation

@Hmbown

@Hmbown Hmbown commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • adds WorkflowMemoUsage for ARMH/shared-memo hits, misses, saved-token estimates, and provider prompt-cache hit/miss counters
  • carries memo telemetry on leaf, branch, and workflow execution results while keeping provider token/cost usage separate
  • teaches mock execution and replay to aggregate or preserve memo telemetry, with serialization/default coverage for older records

Stewardship Notes

  • Advances #2671 as a crate-only telemetry-shape slice.
  • Does not wire live RLM leaves, shared DB-backed ARMH memo lookup, provider prompt-cache detection, runtime workflow mode, TraceStore writes, or billing-affecting provider behavior.
  • Preserves @AdityaVG13 WhaleFlow direction credit in the changelog.

Verification

  • cargo test -p codewhale-whaleflow --locked
  • cargo clippy -p codewhale-whaleflow --all-targets --locked -- -D warnings
  • cargo fmt --all
  • ./scripts/release/check-versions.sh
  • ./scripts/release/check-ohos-deps.sh
  • git diff --check

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmbown has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@Hmbown Hmbown merged commit 85b5ca5 into codex/v0.9.0-stewardship Jun 6, 2026
2 checks passed
@Hmbown Hmbown deleted the codex/v090-whaleflow-memo-telemetry branch June 6, 2026 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant