Repository navigation
Add attempt-scoped Experiment readouts - #1513
Draft
Cedric Vidal (cedricvidal) wants to merge 26 commits into
Draft
Cedric Vidal (cedricvidal) wants to merge 26 commits into
Cedric Vidal (cedricvidal) wants to merge 26 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1cbbd5eb-61c6-4e6a-bb38-c377be5b2163
Add the pp-readout submission handler, exact-vector evidence aggregation, structured artifacts, report APIs, and stale-publication safeguards. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1cbbd5eb-61c6-4e6a-bb38-c377be5b2163
Render current and historical submission readouts, support structured downloads, and add CLI access while removing the duplicated run taxonomy surface. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1cbbd5eb-61c6-4e6a-bb38-c377be5b2163
Describe submission-scoped readouts, refresh API artifacts, and register the production prompt contract and reviewed smoke case. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1cbbd5eb-61c6-4e6a-bb38-c377be5b2163
Install the system CA bundle required by the bundled Copilot CLI, forward configured npm registries, and run all source-based handler registration jobs from development images. Log SDK cleanup failures and add focused container configuration regression coverage. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1cbbd5eb-61c6-4e6a-bb38-c377be5b2163
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1cbbd5eb-61c6-4e6a-bb38-c377be5b2163
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1cbbd5eb-61c6-4e6a-bb38-c377be5b2163
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1cbbd5eb-61c6-4e6a-bb38-c377be5b2163
Use the plural submission reports collection and resolve the current report through the standard report-by-ID resource. Align Portal and CLI clients, filters, Structured JSON retrieval, OpenAPI, tests, and architecture documentation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1cbbd5eb-61c6-4e6a-bb38-c377be5b2163
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1cbbd5eb-61c6-4e6a-bb38-c377be5b2163
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1cbbd5eb-61c6-4e6a-bb38-c377be5b2163
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1cbbd5eb-61c6-4e6a-bb38-c377be5b2163
Replace report-version history with attempt-scoped horizontal report-type tabs and deterministic newest-per-type selection. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1cbbd5eb-61c6-4e6a-bb38-c377be5b2163
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4b4a63b3-29db-4d12-888f-051592682640
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4b4a63b3-29db-4d12-888f-051592682640
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4b4a63b3-29db-4d12-888f-051592682640
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4b4a63b3-29db-4d12-888f-051592682640
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4b4a63b3-29db-4d12-888f-051592682640
…n' into cedricvidal-experiment-readout
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4b4a63b3-29db-4d12-888f-051592682640
…n' into cedricvidal-experiment-readout
Add compact attempt-scoped Runs, Reports, and Processing tabs with URL-backed report type and version history selection. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4b4a63b3-29db-4d12-888f-051592682640
Keep report identity, controls, badges, and actions anchored while only the report body changes across completed, processing, blocked, failed, and empty states. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4b4a63b3-29db-4d12-888f-051592682640
Cedric Vidal (cedricvidal)
added this pull request to stack #1518
October 17, 2026 00:58
This was referenced Oct 17, 2026
Test Results (Node.js 22)test: Run #281
🎉 All tests passed! |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4b4a63b3-29db-4d12-888f-051592682640 # Conflicts: # docs/architecture/experiments.md
Test Results (Node.js 22)test: Run #289
🎉 All tests passed! |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4b4a63b3-29db-4d12-888f-051592682640
Test Results (Node.js 22)test: Run #292
🎉 All tests passed! |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4b4a63b3-29db-4d12-888f-051592682640
Test Results (Node.js 22)test: Run #296
🎉 All tests passed! |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the built-in aggregate readout for canonical Experiments, carrying forward the useful #1053/#1495 implementation while replacing obsolete Submission identity and contracts.
experimentId + experimentExecutionIdand preserves append-only JSON, derived Markdown, blob artifacts, stale/in-flight checks, cooperative supersession, and final atomic CAS publication.passed:falseobservations as valid evidence; blocks only failed/dependency-blocked required observations while ignoring unrelated handler failures.Reports) and retainspp-readoutonly as the internal handler identifier.Demos
Before
N/A — this adds the first built-in Experiment report surface.
After
Two-take, attention-cued walkthrough of the real host Vite
/experiments/:idroute with deterministic browser-level API mocks: normal Scope shell/navigation, compact global attempt selector, above-the-fold Runs / Reports / Processing tabs, stable completed/failed report controls with body-only state changes, disabled unavailable artifact actions, inset exact-runs DataTable, persisted report types/history, and retry through processing to recovered publication.experiment-report-stable-shell.mp4
Testing
pnpm build— passed across all 26 workspace projects.pnpm test— 281 files / 3446 tests passed; one unrelatedscripts/build-windows-worker.test.tsPowerShell subprocess timed out. The single targeted retry,pnpm exec vitest run scripts/build-windows-worker.test.ts, passed all 8 tests.pnpm vitest run apps/portal/src/components/ExperimentReportCard.test.tsx apps/portal/src/pages/ExperimentDetail.test.tsx apps/portal/src/pages/ExperimentDetail.play.test.tsx apps/portal/src/components/ui/stories.play.test.tsx --reporter=dot— passed, 60/60 focused Experiment Detail/report shell unit/play/Storybook tests.pnpm --filter portal build— passed.pnpm --filter portal build-storybook --quiet— passed with stable completed, processing, blocked, failed, no-artifact, retry/error, report-history, multiple-report-type, stale-link, and exact-attempt stories.pnpm eval:static-prompts:validate-data— passed; 223 approved cases and 16 quality targets validated.pnpm --filter static-prompt-evals typecheck— passed.pnpm --filter static-prompt-evals test— passed; 33 TypeScript and 94 Python tests.pnpm eval:static-prompts:smoke— passed in offline smoke mode (execution check only, not a production quality acceptance).pnpm --dir website test— passed.cd website && pnpm run build— passed; documentation production build completed.0e1a4d77ecd036d960117899e80159cd241831b5; take 2 validated as H.264/yuv420p, 1440×900, 25 fps, 39.16 s, fast-start. Full decode passed, the MP4 was opened, and representative completed, failed, processing, and recovered frames were inspected.pnpm lint— unavailable because this branch/base has no installed or declaredeslintexecutable (eslint: command not found); TypeScript builds passed.no space left on device). Per the bounded retry rule, no further attempt was made. Project-scoped teardown then verified zero containers, volumes, and networks forscope-mt-app-8-cedricvidal-refactored-system; therefore there is no Compose five-run E2E evidence for this PR.Documentation and compatibility
Updated
docs/architecture/experiments.md,docs/architecture/post-processing.md,docs/architecture/prompt-evaluations.md,docs/architecture/overview.md,website/src/content/docs/guides/creating-experiments.mdx,ENV_VARIABLES.md, generated OpenAPI, and Compose/deployment wiring.The new report APIs and CLI commands use exact Experiment execution identity. Generic report list parsers continue to accept the legacy
{ items, nextCursor }envelope as a compatibility fallback while preferring{ data, nextCursor }. Portal links preserveexecutionId,tab,reportType, andreportId, with safe fallback for stale selections. No database migration or report-template contract is introduced.Checklist
up()/down()and keep it CosmosDB-compatible. (N/A — no migration required.)NOTICE/NOTICE-REVIEW.txtwithpnpm noticeas needed. (N/A — no new third-party dependency.)