Fix v42 Alpha-Agent identity console state coherence and register fallback - #181
Open
MontrealAI wants to merge 1 commit into
Open
Fix v42 Alpha-Agent identity console state coherence and register fallback#181MontrealAI wants to merge 1 commit into
MontrealAI wants to merge 1 commit into
Conversation
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.
Motivation
register(label)path are coherent and contract-faithful.preview(label)was authoritative and provide a clear, review-first expert fallback when preview telemetry fails but root health is usable.Description
requestSeq/activeRequestId,nextIdentityRequestId(),isCurrentIdentityRequest()andbuildIdentitySnapshot()to keep a single identity snapshot per chain/contract/label/wallet/request.deriveAlphaIdentityUiState()to deterministically mappreview.statusto recommendations and to prevent contradictory loading/enablement combinations, and addedcanExpertFallbacklogic for a guarded fallback path.refreshIdentityState()to recordpreviewErrorand to ignore stale async responses, and improved hydration text for token fields so missing data is explained (e.g.,Not issued yet,preview unavailable).Authoritative identity previewand replaced it withLive preview(label) decision card, while keeping the primary write route direct and contract-faithful (FreeTrialSubdomainRegistrarIdentity.register(string)at0x7811993CbcCa3b8bb35a3d919F3BA59eeFbeAA9awith0ETH).ui/agijobmanager_genesis_job_mainnet_2026-03-05-v42.html,ui/tests/standaloneV42.test.ts.Testing
npx vitest run tests/standaloneV42.test.tsand the updated standalone v42 tests passed (5 tests, all green).npm test -- --run ui/tests/standaloneV42.test.tsinvocation failed due to the repository Vitest include filter (no test files matched that CLI glob), but the explicitnpx vitestrun validated the new assertions successfully.Live preview(label) decision cardcopy, removal ofAuthoritative identity preview, presence of stale-request guards (buildIdentitySnapshot/isCurrentIdentityRequest), and preview-fallback messaging.Codex Task