- synthesizer: 3 system prompts (sysadmin/homelab/executive) selected by tech_level pref - settings: tech_level selector (UI + backend) persisted in preferences.json - QuickCapture: shows active level label in diagnosis card header - TURNSTONE_OFFLINE_MODE=1: sets HF_HUB_OFFLINE + TRANSFORMERS_OFFLINE before lib load - TURNSTONE_API_KEY: bearer token auth on all /api/ routes (hmac.compare_digest) - /health always open; unset key = no auth (backward compatible) - docs/air-gapped-deployment.md: full offline deployment guide - scripts/harvest_docs.py: generalized context doc bulk-uploader with manifest support - scripts/manifests/: heimdall-devops.yaml (10 docs ingested) + example.yaml template - fix: _ingest_upload -> _glean_upload in context doc upload endpoint (was 500) Closes: #56 Closes: #45 Closes: #47 Closes: #49 Closes: #21
38 lines
1.8 KiB
YAML
38 lines
1.8 KiB
YAML
# Turnstone context doc manifest — example / template
|
|
# Run: python scripts/harvest_docs.py --manifest scripts/manifests/example.yaml
|
|
#
|
|
# Copy this file, adjust paths and patterns for your environment.
|
|
# Keep manifests in version control alongside your docs so ingestion config
|
|
# is auditable and reproducible.
|
|
|
|
# Turnstone URL (can be overridden with --base-url on the command line)
|
|
base_url: http://localhost:8534
|
|
|
|
sources:
|
|
# ── Single file ────────────────────────────────────────────────────────────
|
|
- path: /path/to/runbooks/service-restart.md
|
|
label: runbook-service-restart.md # name stored in context DB (optional)
|
|
|
|
# ── Directory — include specific extensions, exclude sensitive patterns ─────
|
|
- path: /path/to/runbooks/
|
|
include: ["*.md", "*.yaml"] # only these extensions
|
|
exclude: # skip these filename patterns
|
|
- "CLAUDE*" # Claude session prompts
|
|
- "SESSION_*" # session summaries
|
|
- "HANDOFF_*" # handoff notes
|
|
- "*.key" # private keys
|
|
- "*.pem"
|
|
recursive: false # set true to walk subdirectories
|
|
|
|
# ── Recursive directory walk ───────────────────────────────────────────────
|
|
- path: /path/to/docs/
|
|
include: ["*.md"]
|
|
exclude:
|
|
- "CLAUDE*"
|
|
- "*.key"
|
|
- "node_modules"
|
|
- ".git"
|
|
recursive: true
|
|
|
|
# ── Minimal entry (defaults: INCLUDE_EXTS filter, DEFAULT_EXCLUDES applied) -
|
|
- path: /path/to/infrastructure.md
|