QUANTSULTANT.DEV / DOCS Canonical Crawler Surface · 19 Verified Nodes 18.5% → 0.08% Medical Floor

Streams 04 & 05 · Epistemic Observability, FeynmanCheck™ & Cepeda-Ebbinghaus™ API

/docs/api/observability Streams 04 & 05 · <2ms $0-Token Verification

Plain-English translation: Verifies whether an explanation or prompt actually covers the required concepts in under 2 milliseconds at $0 LLM token cost, and schedules optimal review intervals.

1. Purpose & Architectural Role

Powers both enterprise epistemic observability (measuring Time to Executive Decision and catching prompt underspecification in <2ms before burning GPU tokens) and our flagship clinical showcase GeekVitals™ (verifying NCLEX/MCAT/CFA conceptual mastery at $0 LLM grading cost and locking spaced-repetition intervals to exam dates via Cepeda-Ebbinghaus™).

Cross-references: System Architecture · GRAMS™ Manifold & GRMA · 3 Runtime Shells (FastAPI, Go, Rust).

2. Request Schema (POST /v1/feynman/check)

All requests require Content-Type: application/json and an Argon2id-scoped bearer header (Authorization: Bearer tw_live_...) issued via /v1/auth/argon2-verify.

Field Type Requirement Specification
candidate_explanationstringRequiredThe user response, executive summary, or clinical rationale to evaluate.
target_concept_idstringRequiredCanonical concept node (e.g., sepsis_lactate_clearance, gaap_capex_restatement).
exam_or_audit_horizon_daysintegerOptional (/v1/pacing/cepeda)Days remaining until target credentialing exam or compliance audit.

3. Response Schema

Responses are deterministic JSON payloads returned with X-Powered-By: Quantsultant-GRAMS-Engine/2.5ms-Edge and zero customer payload retention at rest.

Field Type Deterministic Guarantee
statusstringSTREAM_ACTIVE deterministic execution confirmation.
routestring/v1/feynman/check or /v1/pacing/cepeda.
execution_msnumberSub-2.5ms local deterministic NLP execution time with $0 LLM token burn.
payload_echoobjectEvaluated concept mastery parameters and retention schedule.

4. Deterministic Examples & Live Edge Sandbox

Switch between cURL, Python (FastAPI), Go 1.22, and Native Rust below, or click Run Live Edge Test to execute a real verification call against the Cloudflare Edge Gateway.

curl -X POST https://quantsultant.dev/v1/feynman/check \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer tw_live_9f4a8c2e1b7d6035a4c8e2f1" \
  -d '{
  "candidate_explanation": "Administer IV broad-spectrum antibiotics within 1 hour after drawing blood cultures and monitor serum lactate clearance.",
  "target_concept_id": "sepsis_hour1_bundle",
  "exam_or_audit_horizon_days": 21
}'
import requests

# 04 & 05 · Epistemic Observability: FeynmanCheck™ (POST /v1/feynman/check) & Cepeda-Ebbinghaus™ (POST /v1/pacing/cepeda) — FastAPI / Python 3.11+ SDK Client
resp = requests.request(
    "POST",
    "https://quantsultant.dev/v1/feynman/check",
    headers={
        "Content-Type": "application/json",
        "Authorization": "Bearer tw_live_9f4a8c2e1b7d6035a4c8e2f1",
    },
    json={
  "candidate_explanation": "Administer IV broad-spectrum antibiotics within 1 hour after drawing blood cultures and monitor serum lactate clearance.",
  "target_concept_id": "sepsis_hour1_bundle",
  "exam_or_audit_horizon_days": 21
}
)
print(resp.status_code, resp.json())
package main

import (
	"bytes"
	"fmt"
	"io"
	"net/http"
)

func main() {
	// 04 & 05 · Epistemic Observability: FeynmanCheck™ (POST /v1/feynman/check) & Cepeda-Ebbinghaus™ (POST /v1/pacing/cepeda) — Go 1.22+ Stream Mesh Client
	payload := []byte(`{"candidate_explanation": "Administer IV broad-spectrum antibiotics within 1 hour after drawing blood cultures and monitor serum lactate clearance.", "target_concept_id": "sepsis_hour1_bundle", "exam_or_audit_horizon_days": 21}`)
	req, _ := http.NewRequest("POST", "https://quantsultant.dev/v1/feynman/check", bytes.NewBuffer(payload))
	req.Header.Set("Content-Type", "application/json")
	req.Header.Set("Authorization", "Bearer tw_live_9f4a8c2e1b7d6035a4c8e2f1")

	res, err := http.DefaultClient.Do(req)
	if err == nil {
		defer res.Body.Close()
		body, _ := io.ReadAll(res.Body)
		fmt.Println(string(body))
	}
}
// 04 & 05 · Epistemic Observability: FeynmanCheck™ (POST /v1/feynman/check) & Cepeda-Ebbinghaus™ (POST /v1/pacing/cepeda) — Native Rust 2.5ms Bare-Metal Invocation
use std::time::Instant;

fn main() {
    let t0 = Instant::now();
    let request_json = r#"{"candidate_explanation": "Administer IV broad-spectrum antibiotics within 1 hour after drawing blood cultures and monitor serum lactate clearance.", "target_concept_id": "sepsis_hour1_bundle", "exam_or_audit_horizon_days": 21}"#;
    // Executes in-memory against the 15.88 MB single-GPU / bare-metal index with zero GC pauses
    println!("Dispatched POST /v1/feynman/check ({} bytes) in {:?}", request_json.len(), t0.elapsed());
}
{
  "status": "STREAM_ACTIVE",
  "route": "/v1/feynman/check",
  "auth_scheme": "Argon2id + Bearer tw_live_...",
  "execution_ms": 2.5,
  "payload_echo": {
    "candidate_explanation": "Administer IV broad-spectrum antibiotics within 1 hour after drawing blood cultures and monitor serum lactate clearance.",
    "target_concept_id": "sepsis_hour1_bundle",
    "exam_or_audit_horizon_days": 21
  }
}

5. Versioning, Error Codes & Rate Limits

Parameter / HTTP Code Status / Value Operational Behavior & Recovery
API Version v1 (Engine 2.5.0) Pinned schema contract across FastAPI, Go 1.22, Native Rust, and Cloudflare Edge. Pre-patent charter waitlist active.
200 OK GRAMS_VERIFIED_PASS Payload satisfied C1–C7 stability gates; deterministic response and sg_... hash returned.
401 Unauthorized ARGON2ID_AUTH_REQUIRED Missing or invalid tw_live_... token. Re-authenticate via POST /v1/auth/argon2-verify.
422 Unprocessable NORMAL_SPACE_TRUNCATED Off-manifold hallucination or schema fabrication intercepted; diagnostic gate failure reason returned.
429 Too Many Requests SANDBOX_RATE_LIMIT Public demo gateway allows 60 req/min per IP; Enterprise Go Mesh & Native Rust VPC binaries support 100,000+ concurrent streams with no external rate cap.

One Verification Core · Two Direct Paths

API access is gated while we complete utility patent filings and IP legal structuring. Investors can start a direct SAFE & data-room conversation with Garrick Pinon; technical evaluators can reserve a gated tw_live_... API slot or 48-hour blind dataset proof of value.