Skip to content

(MOT-4011) feat(harness): report context compactions - #819

Draft
ytallo wants to merge 1 commit into
mainfrom
feat/harness-context-compactions
Draft

(MOT-4011) feat(harness): report context compactions#819
ytallo wants to merge 1 commit into
mainfrom
feat/harness-context-compactions

Conversation

@ytallo

@ytallo ytallo commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Refs MOT-4011

What changed

Adds durable context-compaction counts to harness metrics for each active session path and for the complete root/descendant tree. The metrics reader now includes custom transcript entries and counts only records whose custom type is compaction.

Why

Compaction frequency is useful diagnostic evidence for long-session behavior while the latest context snapshot remains a separate per-generation signal.

Impact

This is an additive V1 contract field. It does not change generation behavior, scoring, or promotion policy.

Validation

  • cargo test --manifest-path harness/Cargo.toml --locked --all-targets
  • cargo clippy --manifest-path harness/Cargo.toml --locked --all-targets -- -D warnings
  • cargo fmt --manifest-path harness/Cargo.toml --all -- --check
  • schema golden tests

@github-actions

Copy link
Copy Markdown
Contributor

skill-check — worker

0 verified, 60 skipped (no docs/).

Layer Result
structure
vale
ai
render

Four for four. Nicely done.

@coderabbitai

coderabbitai Bot commented Aug 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: fb5704a3-6d21-4c86-89ec-aae6a55308eb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@vercel

vercel Bot commented Aug 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
workers Ready Ready Preview Aug 17, 2026 4:24pm
workers-tech-spec Ready Ready Preview Aug 17, 2026 4:24pm

Request Review

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