Repository navigation
feat: Minds say plainly when a provider is down and point to status.hellonear.xyz - #305
Merged
Merged
Conversation
…the status page #304. A rule in every Mind's prompt (STATUS_RULE): when a tool fails because an outside service did not answer (timeout, aborted, unreachable, HTTP 5xx), say which service, that nothing was sent or paid, and that the owner can check https://status.hellonear.xyz (STATUS_PAGE_URL); never for the owner's own refusals (policy_denied, wallet_frozen, limits, a decline). The built-in guide names the page. Tests: typecheck clean; test:unit 191/191. Live (NEAR AI, local Postgres): skills-crosschain 4/4 incl. the new 1Click-answers-500 case (reply links the status page, nothing sent, no card); skills-wallet refused-payments test passes with the new no-status-link assertion. Chrome on a local stack with 1Click faked down: "The quote service (NEAR Intents / 1Click API) is not answering right now, so no quote came back and nothing was sent or paid. You can check its live status at https://status.hellonear.xyz." Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q5ZrzK8une3S2YyhDG746e
… down #304. The chat's failure card adds "Check the status" (new tab, STATUS_URL) beside Try again for a 5xx or a run that broke partway (mayBeOutage); not for sign-in, guest limits, an empty reply or the owner's own connection. Tests: typecheck, lint clean; vitest 280/280 (new mayBeOutage cases). Chrome on a local stack with the engine stopped: the card showed Try again and Check the status. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q5ZrzK8une3S2YyhDG746e
…es ignored
Axel asked to drop "Open the app" from the status page. Details from the
backend end with a full stop and the page added its own ("(Answered HTTP
401.)."). vercel link added .vercel and .env* to apps/status/.gitignore,
so the Vercel token can't be committed.
Tests: typecheck clean; node:test 5/5. Checked on localhost:3200.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q5ZrzK8une3S2YyhDG746e
Contributor
|
Live on the hosted demo:
|
5 tasks
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.
Closes #304. Follows #302 and #303. @AncungAulia FYI: there is a small FE change in
TurnView.tsx.What
STATUS_RULE,engine/src/mind.ts).STATUS_PAGE_URL, overridable by env).policy_denied,wallet_frozen, limits, or a decline.hellonear-guideskill names the page too.mayBeOutage). Not for sign-in, guest limits, an empty reply or the owner's own connection. Links in replies already open in a new tab..verceland.env*are ignored, so the Vercel token can't be committed.Tests (local)
test:unit191/191;skills-crosschain4/4, including the new case where 1Click answers 500: the reply links the status page, nothing is sent, and there is no card;skills-wallet: the refused-payments test passes with a new assertion that the reply does not mention the status page;mayBeOutagecases).After merge: redeploy
apps/statuson Vercel.Approved by Axel.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Q5ZrzK8une3S2YyhDG746e