peregrine/.gitignore
pyr0ball 960b8a2e15 feat: DEMO_MODE — isolated public menagerie demo instance
Adds a fully neutered public demo for menagerie.circuitforge.tech/peregrine
that shows the Peregrine UI without exposing any personal data or real LLM inference.

scripts/llm_router.py:
  - Block all inference when DEMO_MODE env var is set (1/true/yes)
  - Raises RuntimeError with a user-friendly "public demo" message

app/app.py:
  - IS_DEMO constant from DEMO_MODE env var
  - Wizard gate bypassed in demo mode (demo/config/user.yaml pre-seeds a fake profile)
  - Demo banner in sidebar: explains read-only status + links to circuitforge.tech

compose.menagerie.yml (new):
  - Separate Docker Compose project (peregrine-demo) on host port 8504
  - Mounts demo/config/ and demo/data/ — isolated from personal instance
  - DEMO_MODE=true, no API keys, no /docs mount
  - Project name: peregrine-demo (run alongside personal instance)

demo/config/user.yaml:
  - Generic "Demo User" profile, wizard_complete=true, no real personal info

demo/config/llm.yaml:
  - All backends disabled (belt-and-suspenders alongside DEMO_MODE block)

demo/data/.gitkeep:
  - staging.db is auto-created on first run, gitignored via demo/data/*.db

.gitignore: add demo/data/*.db

Caddy routes menagerie.circuitforge.tech/peregrine* → 8504 (demo instance).
Personal Peregrine remains on 8502, unchanged.
2026-03-02 11:22:38 -08:00

46 lines
805 B
Text

.env
config/notion.yaml
config/tokens.yaml
config/email.yaml
config/adzuna.yaml
config/craigslist.yaml
__pycache__/
*.pyc
.pytest_cache/
output/
aihawk/
resume_matcher/
staging.db
.streamlit.log
.streamlit.pid
.coverage
log/
unsloth_compiled_cache/
data/survey_screenshots/*
!data/survey_screenshots/.gitkeep
config/user.yaml
config/plain_text_resume.yaml
config/.backup-*
config/integrations/*.yaml
!config/integrations/*.yaml.example
# companyScraper runtime artifacts
scrapers/.cache/
scrapers/.debug/
scrapers/raw_scrapes/
compose.override.yml
config/license.json
config/user.yaml.working
# Claude context files — kept out of version control
CLAUDE.md
data/email_score.jsonl
data/email_label_queue.jsonl
data/email_compare_sample.jsonl
config/label_tool.yaml
config/server.yaml
demo/data/*.db