Skip to content

ui: harden standalone v41 provenance and historical score readout#178

Open
MontrealAI wants to merge 1 commit into
mainfrom
codex/upgrade-mainnet-ui-to-v41
Open

ui: harden standalone v41 provenance and historical score readout#178
MontrealAI wants to merge 1 commit into
mainfrom
codex/upgrade-mainnet-ui-to-v41

Conversation

@MontrealAI

Copy link
Copy Markdown
Owner

Motivation

  • Remove stale v40 provenance residues in the committed v41 single-file artifact and make continuity keying explicit for v41.
  • Surface a live-manager read for historical agent scoring so operators can see provenance-aware score previews without assuming availability.
  • Keep the standalone HTML single-file operator artifact truthful about ABI limits (graceful fallbacks) and consistent across docs/tests.

Description

  • Updated the standalone artifact ui/agijobmanager_genesis_job_mainnet_2026-03-05-v41.html to replace v40 provenance strings with v41 equivalents (UI_CONTINUITY_KEY, createdVia, and UI labels).
  • Added previewHistoricalScore(address) to the embedded AGIJobManager ABI and wired a safe-read UI metric Historical score preview into the My Stats panel with an uncertainty-safe fallback when the getter is unavailable.
  • Hardened runtime reset and wrong-network/read-only code paths to clear and render the new historical-score field coherently.
  • Updated ENS compatibility text to remove stale v40 wording and extended the standalone unit test to assert continuity-key provenance, historical-score wiring, and absence of the stale v40 text by changing ui/tests/standaloneV41.test.ts.

Testing

  • Ran the standalone artifact unit test: cd ui && npx vitest run tests/standaloneV41.test.ts, which executed 4 tests and all passed.
  • Verified the modified single-file artifact still contains the pinned mainnet contract addresses and the updated v41 continuity metadata via the updated test assertions.

Codex Task

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