Skip to content

Commit 1ef691e

Browse files
voidstackloopclaude
andcommitted
Add enterprise readiness: governance, observability, local LLMs, scaling, deployment
Governance: RBAC access policy, OIDC bearer-token verification (with real alg-confusion/downgrade-attack tests), a durable SQLite-backed audit log, versioned Data Contracts for CI gates, and CycloneDX SBOM generation. Providers: Azure OpenAI, Bedrock Anthropic, and a generic openai_compatible client, plus first-class local-LLM providers (ollama, lmstudio, vllm, llamacpp) with a network_policy=local structural guarantee that calls can never leave a loopback/private address. Secrets resolve through a swappable backend (env, Vault, AWS/GCP/Azure secret managers) and datasets read/write cloud storage (s3/gs/az) directly. Observability: OpenTelemetry spans and Prometheus metrics per pipeline stage, with a node_exporter textfile-collector sidecar for batch runs. Scaling: dataset sharding for external-orchestrator parallelism (Airflow/Dagster/k8s examples) plus a Ray-based in-process alternative, both verified against real local runtimes. Deployment: a Dockerfile, Helm chart, and Terraform module for AWS, clearly labeled where they could not be executed in this environment. Also: the accuracy-gated generation pipeline, plugin registry, cloud dataset formats, a 5-dataset x 3-scale real-world recovery benchmark (+8.14 accuracy points average, full evidence in benchmarks/), a gemini-3.5-flash-lite vs gemini-3.7-flash judge-model comparison, and a docs/ reference layer covering all of the above. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 54b5e20 commit 1ef691e

138 files changed

Lines changed: 27407 additions & 1708 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
# Gemini API Key (Required for Gemini API calls)
2-
GEMINI_API_KEY=your_gemini_api_key_here
3-
4-
# Optional Default Configurations
5-
BUFFDATA_DEFAULT_MODEL=gemini-3.7-flash
6-
BUFFDATA_EMBEDDING_MODEL=text-embedding-004
7-
BUFFDATA_CONCURRENCY=10
8-
BUFFDATA_MAX_RPM=60
1+
# Gemini API Key (Required for Gemini API calls)
2+
GEMINI_API_KEY=your_gemini_api_key_here
3+
OPENAI_API_KEY=your_openai_api_key_here
4+
ANTHROPIC_API_KEY=your_anthropic_api_key_here
5+
# Optional: enables `buffdata productivity docs-*` live documentation lookups.
6+
CONTEXT7_API_KEY=your_context7_api_key_here
7+
8+
# Optional Default Configurations
9+
BUFFDATA_DEFAULT_MODEL=gemini-3.7-flash
10+
BUFFDATA_PROVIDER=gemini
11+
BUFFDATA_EMBEDDING_MODEL=text-embedding-004
12+
BUFFDATA_CONCURRENCY=10
13+
BUFFDATA_MAX_RPM=60

.gitignore

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
.venv/
2-
__pycache__/
3-
*.pyc
4-
*.pyo
5-
*.pyd
6-
.pytest_cache/
7-
.coverage
8-
htmlcov/
9-
dist/
10-
build/
11-
*.egg-info/
12-
.env
13-
checkpoints/
14-
outputs/
15-
*.parquet
16-
*.jsonl
17-
!examples/*.jsonl
1+
.venv/
2+
__pycache__/
3+
*.pyc
4+
*.pyo
5+
*.pyd
6+
.pytest_cache/
7+
.coverage
8+
htmlcov/
9+
dist/
10+
build/
11+
*.egg-info/
12+
.env
13+
checkpoints/
14+
outputs/
15+
*.parquet
16+
*.jsonl
17+
!examples/*.jsonl
18+
graphify-out/

.graphifyignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.git/
2+
.venv/
3+
__pycache__/
4+
benchmarks/results/
5+
benchmarks/results-large/
6+
graphify-out/

0 commit comments

Comments
 (0)