Skip to content

ci: add Dreamer eval lane and harden evidence - #88

Open
ahrav wants to merge 6 commits into
stack/dreamer-eval-02-live-runnerfrom
feat/dreamer-manifest-eval
Open

ci: add Dreamer eval lane and harden evidence#88
ahrav wants to merge 6 commits into
stack/dreamer-eval-02-live-runnerfrom
feat/dreamer-manifest-eval

Conversation

@ahrav

@ahrav ahrav commented Aug 29, 2026

Copy link
Copy Markdown
Owner

Summary

Adds credential-free PR checks and a scheduled/manual live Dreamer evaluation workflow. It also hardens scorer proofs, corpus pressure, receipt attribution, deterministic invocation ordering, and report persistence when cleanup fails.

Stack

Validation

  • 65 Dreamer eval tests pass.
  • 250 production Dreamer tests pass.
  • Storage invocation ordering test passes.
  • E2E TypeScript typecheck passes.
  • Credentialed N>=3 core-pool and verify-broad runs remain pending.

Stack created with GitHub Stacks CLIGive Feedback 💬

@coderabbitai

coderabbitai Bot commented Aug 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

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: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 37905f07-4318-48f4-ae6b-91dbdebe4706

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

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

@ahrav ahrav changed the title feat/dreamer manifest eval ci: add Dreamer eval lane and harden evidence Aug 29, 2026
@ahrav
ahrav marked this pull request as ready for review August 29, 2026 17:35
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: efac388f72

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

const variance = aggregateDreamerEvalVariance(groupReports, args.repeat);
writeFileSync(join(groupDir, "variance.json"), `${JSON.stringify(variance, null, 2)}\n`);
}
if (!canStartDreamerEvalRun(startedAtMs, args.deadlineMinutes, Date.now(), reports.length)) break;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Emit evidence for groups skipped by the deadline

When the deadline expires after any completed run, this outer-loop break prevents every remaining selected scenario/task group from producing a directory or variance.json. The archived artifact therefore cannot distinguish a group that was selected but entirely skipped by the deadline from one excluded by CLI filters, and the new missingRuns evidence only covers the partially completed group. Record the selected groups or emit a red variance artifact for each wholly skipped group before stopping.

Useful? React with 👍 / 👎.

const itemLabel = `${label}.receiptOutcomes[${index}]`;
const item = record(entry, itemLabel);
exact(item, ["claimId", "operation", "outcome"], itemLabel);
exact(item, ["requestDigest", "operationKey", "outcome", "affectedClaimIds"], itemLabel);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Version the incompatible report contract

When parsing an archived dreamer-eval-report/v1 emitted before this commit, each receipt still has the previous {claimId, operation, outcome} shape, so this new exact-field check rejects it even though DREAMER_EVAL_REPORT_SCHEMA remains dreamer-eval-report/v1. This breaks offline loading of already-versioned run evidence; either accept the old v1 receipt representation or bump the report schema and provide explicit version handling.

Useful? React with 👍 / 👎.

@kilo-code-bot

kilo-code-bot Bot commented Aug 29, 2026

Copy link
Copy Markdown

Code Review Summary

Status: 2 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 2
SUGGESTION 0
Issue Details (click to expand)

WARNING

File Line Issue
packages/e2e-tests/scripts/run-dreamer-eval.ts 157 Emit evidence or variance artifacts for scenario/task groups skipped when the script deadline expires
packages/e2e-tests/src/dreamer-eval/contract.ts 536 Version the report schema or support legacy receipt shapes for dreamer-eval-report/v1 backward compatibility
Files Reviewed (24 files)
  • .github/workflows/ci.yml
  • .github/workflows/dreamer-eval.yml
  • packages/e2e-tests/dreamer-eval/README.md
  • packages/e2e-tests/dreamer-eval/dev/dme-core-pool.json
  • packages/e2e-tests/dreamer-eval/dev/dme-verify-broad-history.json
  • packages/e2e-tests/scripts/run-dreamer-eval.ts - 1 issue
  • packages/e2e-tests/src/dreamer-eval/contract.test.ts
  • packages/e2e-tests/src/dreamer-eval/contract.ts - 1 issue
  • packages/e2e-tests/src/dreamer-eval/deadline.test.ts
  • packages/e2e-tests/src/dreamer-eval/dev-corpus.test.ts
  • packages/e2e-tests/src/dreamer-eval/mutations.test.ts
  • packages/e2e-tests/src/dreamer-eval/mutations.ts
  • packages/e2e-tests/src/dreamer-eval/runner-classify.test.ts
  • packages/e2e-tests/src/dreamer-eval/runner.ts
  • packages/e2e-tests/src/dreamer-eval/scorer.test.ts
  • packages/e2e-tests/src/dreamer-eval/scorer.ts
  • packages/e2e-tests/src/dreamer-eval/seeder.test.ts
  • packages/e2e-tests/src/dreamer-eval/seeder.ts
  • packages/e2e-tests/src/dreamer-eval/variance.test.ts
  • packages/e2e-tests/src/dreamer-eval/variance.ts
  • packages/plugin/src/features/magic-context/memory/storage-claim-autonomous.test.ts
  • packages/plugin/src/features/magic-context/memory/storage-claim-autonomous.ts
  • packages/plugin/src/features/magic-context/storage-subagent-invocations.test.ts
  • packages/plugin/src/features/magic-context/storage-subagent-invocations.ts

Fix these issues in Kilo Cloud


Reviewed by gemini-3.7-flash · Input: 139.4K · Output: 13.9K · Cached: 534.4K

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