Skip to content
Source
Sign inSign up
TanStack/schemas

Probe facts in the Worker and record them in D1, served after two agreeing runs #742 (GitHub #741)

Opentombeckenhamwants to merge 5 commits intomain fromfeat/probes-in-d1opened View on GitHub

Showing 34 changed files with 5 additions and 89 deletions (loading 29).

x
0 of 34 viewed, 34 left
5 additions and 0 deletions.changeset/probes-in-d1.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@modelschemas/client': patch
+---
+​
+Adds `listProbeObservations` (`GET /v1/admin/probes/{provider}`, admin only, read-only): the Worker's live probe observations with their evidence and whether each is served. The `staleProbes` and schema `probe-verified` descriptions now say probed facts are re-verified by the Worker, not by a committed record.
0 additions and 89 deletions.source/workflows/probe.tsDeleted
@@ -1,89 +0,0 @@
-// Weekly live probes (issue #717). Runs `pnpm run probe -- <provider>
-// --write` for each chat probe provider, and opens a pull request on
-// `probe/weekly` when a record file changed. A person reviews and merges
-// it; nothing here merges. No change, no pull request.
-//
-// Each provider's key is an optional secret: with none, the probe script
-// prints `skip <provider>: <KEY> is not set` and the run goes on. The
-// script caps its own requests (MAX_PROBE_REQUESTS) and never prints a key.
-//
-// Admin setup (people only), one per provider below:
-// src secret set GROQ_API_KEY --env development --host api.groq.com --header Authorization < groq-key.txt
-//
-// Opt a provider in: add it to `chatProbes` in
-// src/server/providers/probes/index.ts, then add its id to PROVIDERS, its
-// key to `secrets` and its API host to `egress` here.
-import {
- defineWorkflow,