Skip to content

Avoid double-encoding judge evidence and cover read-only memory requests - #3646

Draft
Vsevolod Kukol (sevoku) wants to merge 2 commits into
dev/sevoku/feat-migration-memory-decisionsfrom
dev/sevoku/fix-migration-evaluations
Draft

Vsevolod Kukol (sevoku) wants to merge 2 commits into
dev/sevoku/feat-migration-memory-decisionsfrom
dev/sevoku/fix-migration-evaluations

Conversation

@sevoku

Copy link
Copy Markdown
Member

Two independent migration evaluation changes, stacked on #3645:

  • Embed JSON artifacts as values in the AdventureWorks judge packet instead of serializing them into strings and escaping them again. Keep the existing size limits, source hashes, evidence scopes, and grading criteria.
  • Add an interactive preflight scenario that asks both to validate a stale checkpoint and to remember a decision. It requires the agent to explain the stale evidence, disclose that the decision was not saved, and leave the workspace unchanged.

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Integration Tests

  • Shell MCP Integration Tests: ✅ success
  • Integration Tests (extension host): ✅ success

@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

✅ Build (Compile, Lint, Prettier, l10n, Package)

🧱 Step Results

  • Validate Version: ✅ success
  • Localization: ✅ success
  • Lint: ✅ success
  • Prettier: ✅ success
  • Compile (tsc): ✅ success
  • Package: ✅ success
  • External Skills: verification ✅ success; tests ✅ success

📥 Artifacts (run)

@github-code-quality

github-code-quality Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Code coverage overview

Languages: TypeScript

TypeScript / code-coverage/vitest

dev/sevoku/feat-migr... c0a068b dev/sevoku/fix-migra... 1b33f4f +/-
78% 78% 0%
View coverage of the 10 most impacted files.
File dev/sevoku/feat-migr... c0a068b dev/sevoku/fix-migra... 1b33f4f +/-
src/webviews/co...TabViewJson.tsx 99% 98% -1%
skills/cosmosdb...i-arguments.mjs 0% 0% 0%
skills/cosmosdb...ts/cli-help.mjs 0% 0% 0%
src/panels/migr...etryEvidence.ts 100% 100% 0%
src/panels/Migr...AssistantTab.ts 28% 29% +1%
src/webviews/co...onAssistant.tsx 76% 77% +1%
skills/cosmosdb...ase-summary.mjs 0% 2% +2%
skills/cosmosdb...oject-state.mjs 0% 22% +22%
skills/cosmosdb...ion-project.mjs 0% 45% +45%
skills/cosmosdb...-entrypoint.mjs 0% 60% +60%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.


Updated December 04, 2026 13:23 UTC

@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

🧪 Unit Tests

🧪 Results

  • Unit Tests (vitest): ✅ success

📈 Coverage

@sevoku
Vsevolod Kukol (sevoku) force-pushed the dev/sevoku/fix-migration-evaluations branch from 65b895a to 41d368b Compare December 4, 2026 12:44

Copilot AI 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.

🟢 Approval recommended

No active review issues remain for the judge-evidence encoding and validation-only scenario updates.

No open issues 🎉

What changed in this PR

Improves migration evaluations by reducing judge-evidence encoding overhead and covering validation-only requests that also ask to save a decision.

Changes:

  • Embed JSON artifacts as values in version 2 judge packets, preserving existing limits and evidence metadata.
  • Add a stale-checkpoint scenario requiring an unchanged workspace and explicit disclosure that the decision was not saved.
  • Update regression tests and packet documentation.
File Description
evals/​cosmosdb-relational-migration/​judge-evidence.test.mjs Verify JSON values and serialized packet size limits.
evals/​cosmosdb-relational-migration/​graders.test.mjs Require coverage of the new scenario.
evals/​cosmosdb-relational-migration/​adventureworks/​judge-evidence.mjs Embed JSON values and advance the packet version.
evals/​cosmosdb-migration/​evidence/​eval.yaml Define the validation-and-memory scenario.
evals/​cosmosdb-migration/​evidence/​check.mjs Validate stale evidence without permitting workspace changes.
evals/​cosmosdb-migration/​evidence.test.mjs Verify rejection of notebook writes.
evals/​cosmosdb-migration/​check-artifacts.mjs Register the new scenario’s artifact checker.
docs/​test-configuration.md Document version 2 JSON representation and byte limits.

Review effort: Balanced

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.

2 participants