{"user_id":"demo-user","topic_id":"profile","retrieval_mode":"semantic","harness":{"active_harness":"config","params":{"retrieval_mode":"semantic_graph_identity","top_k":5,"decay_lambda":0.05,"use_graph":true,"graph_depth":2,"graph_weight":1.0,"enable_identity":true,"identity_threshold":0.35,"summarisation_threshold":200,"max_entries_per_topic":200,"latency_budget_ms":750.0,"recall_target":1.0,"consistency_target":0.85,"drift_target":0.1,"evolution":{"top_k_min":1,"top_k_max":12,"graph_depth_min":1,"graph_depth_max":4,"identity_threshold_min":0.15,"identity_threshold_max":0.65,"decay_lambda_min":0.0,"decay_lambda_max":0.25,"summarisation_threshold_min":20,"summarisation_threshold_max":1000}},"config_path":"configs/harness_params.yaml","manifest_path":"/app/manifests/evolve_manifest.jsonl","manifest":[],"manifest_count":0,"registry":[],"validation_rows":[],"cross_rows":[],"holdout":{},"production_gates":{},"benchmark_readiness":{"verdict":"not_ready","verdict_detail":"One or more promotion safety thresholds failed or evidence is missing.","gate_ready":false,"industry_ready":false,"baseline_recall":0.0,"seed_recall":0.0,"evolved_recall":0.0,"recall_delta":0.0,"latency_delta":0.0,"token_delta":0.0,"holdout_recall":0.0,"cross_model_passed":false,"production_gates_passed":false,"privacy_delete_passed":false,"identity_false_positive_rate":0.0,"cards":[{"label":"Seed recall","value":"0.000","detail":"Internal validation"},{"label":"Evolved recall","value":"0.000","detail":"+0.000 recall delta"},{"label":"p95 latency delta","value":"+0.0%","detail":"Budget <= +20%"},{"label":"Token delta","value":"+0.0%","detail":"Budget <= +25%"},{"label":"Holdout recall","value":"0.000","detail":"0/0 recall hits"},{"label":"Cross-model gate","value":"review","detail":"0 deterministic harness rows"}],"warnings":["Evolved harness ties seed recall; improvement is latency/controls, not recall uplift.","Validation set is a small deterministic harness benchmark, not an industry-scale external eval.","Holdout report is missing."]}},"backend":{"name":"Json","storage":"/app/data/memory","encrypted":false,"configured_by":"json"},"release":{"version":"1.0.9","git_commit":"unknown","package":"smriti-memory-ai","pypi_target":"smriti-memory-ai==1.0.9","github_release":"https://github.com/Luciferai04/smriti-ai/releases/tag/v1.0.9","wheel_asset":"smriti_memory_ai-1.0.9-py3-none-any.whl","sdist_asset":"smriti_memory_ai-1.0.9.tar.gz","pypi_status":"release-gated; publish through GitHub secret or trusted publishing","note":"GitHub release artifacts are versioned; PyPI publish must use a non-exposed token or trusted publishing."},"readiness":{"cards":[{"title":"Production-break suite","status":"missing","detail":"unknown tests, 0 failures, 0 errors."},{"title":"Production gates","status":"missing","detail":"0/0 gates passed for unknown harness."},{"title":"Security acceptance","status":"missing","detail":"OWASP LLM/API risk mapping, auth/RBAC, redaction, delete, and harness security reports."},{"title":"Operations readiness","status":"missing","detail":"0 Grafana dashboards plus runbooks, health checks, and support flow."},{"title":"Production file audit","status":"missing","detail":"0 sensitive findings; 0 review/archive candidates remain non-deleted."},{"title":"Result provenance","status":"valid","detail":"Public claims reject fake, synthetic, or unverifiable benchmark rows."}],"production_break":{},"production_gates":{},"security":{},"operations":{},"file_audit":{},"result_claims":{},"fail_closed":["No fake/mock/tiny model fallback in production.","No official benchmark claim from synthetic or deterministic smoke data.","Production harness promotion requires manifest, privacy, security, latency, token, and holdout gates.","Deletion, auth/RBAC, cross-user isolation, and secret redaction are hard-fail conditions."]},"live_model":{"enabled":false,"loaded":false,"loading":false,"status":"Memory-only","mode":"fast memory-only dashboard","model":"none loaded","device":"not loaded","max_new_tokens":64,"error":null},"training_status":{"status":"not fine-tuned","detail":"Smriti AI is an inference-time wrapper. Gemma 4 stays frozen; memory improves recall through retrieval and prompt augmentation."},"feature_cards":[{"title":"Base model","status":"Memory-only","detail":"none loaded (fast memory-only dashboard)."},{"title":"Semantic retrieval","status":"Live","detail":"Session -> topic -> fact memory with embedding retrieval."},{"title":"Knowledge graph","status":"Live","detail":"Extracts user triples and shows related graph facts."},{"title":"Identity governance","status":"Live","detail":"GIFP drift scoring is computed for each demo response."},{"title":"Durable backends","status":"Json","detail":"JSON, SQLite, Redis, and Postgres are supported."},{"title":"Encrypted memory","status":"Ready","detail":"Set SMRITI_MEMORY_KEY to encrypt backend blobs."},{"title":"Privacy deletion","status":"Live","detail":"Delete clears RAM, durable memory, and identity state for a user."},{"title":"Gemma 4 benchmarks","status":"Loaded","detail":"Dashboard reads current CSV artifacts, not CI smoke results."},{"title":"HF deployment","status":"Uploaded","detail":"Model-style handler is live on Hugging Face."},{"title":"API + monitoring","status":"Ready","detail":"FastAPI docs, metrics, Docker, and Grafana assets exist."},{"title":"AHE harness loop","status":"Observable","detail":"YAML params, evidence logs, and manifest-backed evolution are auditable."},{"title":"Production gates","status":"Review","detail":"Manifest, privacy/delete, security, holdout, latency, and token gates are visible."},{"title":"Production-break tests","status":"missing","detail":"Malformed input, cross-user isolation, provider outage, prompt injection, and deployment breakers."},{"title":"Release package","status":"v1.0.9","detail":"smriti-memory-ai==1.0.9 plus GitHub wheel/sdist artifacts."},{"title":"No fake claims","status":"Guarded","detail":"Test doubles stay CI-only and never count as production benchmark evidence."}],"major_results":{"baseline_recall":"0/3","smriti_recall":"3/3","recall_lift":"+3 facts","broader_delta":"+58.9%","model":"google/gemma-4-E2B-it","latency":"4991 ms","historical_note":"Old +31.2% is lineage only; current broader-protocol rerun is separate."},"benchmark_rows":[{"average_latency_s":"4.92654251377745","average_token_usage":"24.77777777777778","configuration":"","configuration_label":"Baseline","context_coherence":"0.0","device":"cpu","error":"","fact_recall_accuracy":"0.0","facts_recalled":"0","memory_mb":"9292.087296","model":"google/gemma-4-E2B-it","p95_latency_s":"4.959404832974542","response_consistency":"1.0000000000000002","retrieval_mode":"","system":"baseline","total_token_usage":"446"},{"average_latency_s":"3.4810796272245677","average_token_usage":"23.88888888888889","configuration":"tfidf","configuration_label":"TF-IDF","context_coherence":"0.6666666666666666","device":"cpu","error":"","fact_recall_accuracy":"1.0","facts_recalled":"3","memory_mb":"9389.58848","model":"google/gemma-4-E2B-it","p95_latency_s":"7.714756833011052","response_consistency":"1.0000000000000007","retrieval_mode":"tfidf","system":"smriti","total_token_usage":"430"},{"average_latency_s":"2.8569955925567125","average_token_usage":"23.833333333333332","configuration":"semantic","configuration_label":"Semantic","context_coherence":"0.3333333333333333","device":"cpu","error":"","fact_recall_accuracy":"1.0","facts_recalled":"3","memory_mb":"9441.378304","model":"google/gemma-4-E2B-it","p95_latency_s":"3.806587083003251","response_consistency":"1.0000000000000002","retrieval_mode":"semantic","system":"smriti","total_token_usage":"429"},{"average_latency_s":"2.780634643443692","average_token_usage":"23.88888888888889","configuration":"semantic_graph","configuration_label":"Semantic + Graph","context_coherence":"0.6666666666666666","device":"cpu","error":"","fact_recall_accuracy":"1.0","facts_recalled":"3","memory_mb":"9411.985408","model":"google/gemma-4-E2B-it","p95_latency_s":"3.4791159160085954","response_consistency":"1.0000000000000007","retrieval_mode":"semantic","system":"smriti","total_token_usage":"430"},{"average_latency_s":"5.163512023393802","average_token_usage":"24.11111111111111","configuration":"semantic_graph_identity","configuration_label":"Semantic + Graph + Identity","context_coherence":"0.0","device":"cpu","error":"","fact_recall_accuracy":"1.0","facts_recalled":"3","memory_mb":"9599.3856","model":"google/gemma-4-E2B-it","p95_latency_s":"8.055378792021656","response_consistency":"1.0000000000000002","retrieval_mode":"semantic","system":"smriti","total_token_usage":"434"}],"hf_model_repo":"https://huggingface.co/luciferai-devil/smriti-ai","github_repo":"https://github.com/Luciferai04/smriti-ai","memory_count":0,"graph_count":0,"api_routes":["/chat","/memory/delete","/graph/query","/metrics","/docs"],"demo_mode_note":"Live dashboard is memory-only for speed; Gemma 4 quality claims come from saved benchmark CSVs. Public demo mode is on: do not enter PII; demo memory auto-deletes after 900 seconds of inactivity.","public_demo":true,"memory_ttl_seconds":900}