Skip to content

feat: Minds say plainly when a provider is down and point to status.hellonear.xyz - #305

Merged
Lexirieru merged 3 commits into
mainfrom
feat/mind-status-page
Nov 12, 2026
Merged

Lexirieru merged 3 commits into
mainfrom
feat/mind-status-page

Conversation

@Lexirieru

Copy link
Copy Markdown
Contributor

Closes #304. Follows #302 and #303. @AncungAulia FYI: there is a small FE change in TurnView.tsx.

What

  • Engine: a rule in every Mind's prompt (STATUS_RULE, engine/src/mind.ts).
    • When it applies: a tool fails because an outside service did not answer (a timeout, aborted, unreachable, or HTTP 5xx).
    • What the Mind does: it says which service isn't answering and that nothing was sent or paid, and points to https://status.hellonear.xyz (STATUS_PAGE_URL, overridable by env).
    • Never for the owner's own refusals: policy_denied, wallet_frozen, limits, or a decline.
    • The built-in hellonear-guide skill names the page too.
  • Web app: the chat's failure card adds Check the status (new tab) 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. Links in replies already open in a new tab.
  • Status page:
    • "Open the app" is removed (Axel);
    • no double full stops after details;
    • .vercel and .env* are ignored, so the Vercel token can't be committed.

Tests (local)

  • engine:
    • typecheck; test:unit 191/191;
    • live (NEAR AI, local Postgres): skills-crosschain 4/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;
    • the 1Click-down live test ran with semantic recall on (the embedder was back).
  • fe: typecheck, lint; vitest 280/280 (new mayBeOutage cases).
  • status: typecheck; node:test 5/5.
  • Chrome on a local stack:
    • with 1Click faked down, Penny answered: "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.";
    • with the engine stopped, the failure card showed Try again and Check the status.
  • Not run: a load test. The change is prompt text and a UI link, and no request path changed.

After merge: redeploy apps/status on Vercel.

Approved by Axel.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q5ZrzK8une3S2YyhDG746e

Lexirieru and others added 3 commits November 13, 2026 04:08
…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
@Lexirieru
Lexirieru merged commit 72106cf into main Nov 12, 2026
3 checks passed
@Lexirieru
Lexirieru deleted the feat/mind-status-page branch November 12, 2026 21:10
@Lin1er

Lin1er commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Live on the hosted demo: main 72106cf (automatic deploy after the merge).

  • Before: ed4a598, and the box matched git at that revision. CI: passed: build,test,build.
  • GET /v1/health → {"ok":true,"engine":true,"revision":"72106cf"}. No rollback.
  • Rollback target: ed4a598 (/opt/hellonear/release-old).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Minds say plainly when a provider is down and point to status.hellonear.xyz

2 participants