Skip to content

Retail-only upload gate + DeepAnalyze agentic engine - #7

Merged
MaharMuavia merged 1 commit into
mainfrom
feat/retail-guard-deepanalyze
Jul 12, 2026
Merged

MaharMuavia merged 1 commit into
mainfrom
feat/retail-guard-deepanalyze

Conversation

@MaharMuavia

Copy link
Copy Markdown
Owner
  • Uploads outside the retail/mart domain are detected via the semantic mapper and refused with a clear 400 before anything is persisted (RETAIL_ONLY_UPLOADS, default on)
  • DeepAnalyze wired/validated as the preferred reasoning provider with graceful fallback; serving guide in docs/deepanalyze-integration.md
  • 10 new tests; full suite 207 green

🤖 Generated with Claude Code

- domain_guard.ensure_retail_domain refuses uploads whose semantic
  dataset type is outside the retail/mart commerce family, with a
  message stating what the workspace accepts. Enforcement runs before
  any persistence, so refused datasets leave no stored rows. Gated by
  RETAIL_ONLY_UPLOADS (default on; tests disable it in conftest).
- Both upload surfaces covered: session flow and sidebar compat route
  (the latter now maps ValueError to HTTP 400).
- DeepAnalyze (ruc-datalab) integration validated and documented:
  provider-chain preference, OpenAI-protocol client contract, and
  graceful degradation pinned by tests/test_deepanalyze_provider.py;
  serving guide (Colab vLLM / local Ollama GGUF / lab GPU) in
  docs/deepanalyze-integration.md. Deterministic core stays
  authoritative - the model reasons about computed facts only.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
data-verse-ai Ready Ready Preview, Comment Jul 12, 2026 3:15am

@MaharMuavia
MaharMuavia merged commit ced5304 into main Jul 12, 2026
3 checks passed
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.

1 participant