Retail-only upload gate + DeepAnalyze agentic engine - #7
Merged
Merged
Conversation
- 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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Generated with Claude Code