Skip to content

Revamp showcase to deterministic replay UI and static artifact validation#82

Merged
ProfRandom92 merged 1 commit into
mainfrom
codex/create-focused-showcase/dashboard-pr-mng2hi
May 14, 2026
Merged

Revamp showcase to deterministic replay UI and static artifact validation#82
ProfRandom92 merged 1 commit into
mainfrom
codex/create-focused-showcase/dashboard-pr-mng2hi

Conversation

@ProfRandom92
Copy link
Copy Markdown
Owner

Motivation

  • Reframe the showcase toward deterministic operational replay validation for long‑horizon AI agents and surface committed artifact evidence instead of invented dashboard telemetry.
  • Ensure the static reviewer console is provably reproducible by reading committed JSON artifacts and asserting expected derived metrics and links.

Description

  • Add a static data module showcase/app/src/data/benchmarkArtifacts.ts containing committed benchmark card definitions, metric values, and artifact link lists that are intentionally copied from committed JSON artifacts.
  • Update showcase/app/scripts/validate-static.mjs to read the new static data and repository artifacts, validate a new set of required phrases, and assert that derived artifact metrics are present in the static data, failing with clear errors if checks are missing.
  • Replace the old enterprise showcase UI in showcase/app/src/main.tsx with a focused deterministic replay reviewer console that reads metrics from the static benchmarkArtifacts module, provides artifact links (repoHref), and simplifies the component tree to static metric cards, benchmark cards, pipeline, integrity badges, and artifact explorer.
  • Refresh showcase/app/src/styles.css with a redesigned, responsive dark theme, new layout rules, and styles for the new components.

Testing

  • Ran the static validation script with node showcase/app/scripts/validate-static.mjs, which executed the phrase and metric assertions and returned success (Deterministic replay showcase validation passed.).
  • Performed a local showcase build check with npm --prefix showcase/app run build to verify the app compiles and the updated assets bundle successfully (build succeeded).

Codex Task

@vercel
Copy link
Copy Markdown

vercel Bot commented May 14, 2026

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

Project Deployment Actions Updated (UTC)
comptextv7 Ready Ready Preview, Comment May 14, 2026 2:45pm

@netlify
Copy link
Copy Markdown

netlify Bot commented May 14, 2026

Deploy Preview for comptext-v7 ready!

Name Link
🔨 Latest commit 0162348
🔍 Latest deploy log https://app.netlify.com/projects/comptext-v7/deploys/6a05e01ad8b8300008f17039
😎 Deploy Preview https://deploy-preview-82--comptext-v7.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the showcase application into a static 'Replay validation console' that surfaces data from committed benchmark artifacts. The changes include a new validation script to ensure data consistency and a simplified React UI. Feedback highlights that the validation script's regex-based checks are brittle and lack benchmark-specific scoping, which could lead to false positives or runtime crashes. Additionally, it is recommended to replace the hardcoded personal repository URL with a configurable or relative path to better suit the project's industrial requirements.

Comment thread showcase/app/scripts/validate-static.mjs
Comment thread showcase/app/scripts/validate-static.mjs
Comment thread showcase/app/src/data/benchmarkArtifacts.ts
@ProfRandom92 ProfRandom92 merged commit 6232f4a into main May 14, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant