All 14 v0.7.2 items wired, tested, and documented. Release checklist: - ROADMAP: all 14 items marked DONE - README: version badge v0.7.1 → v0.7.2 - CHANGELOG: v0.7.2 entry with feature summaries - core-transport: make-hello-message 0.7.1 → 0.7.2 - .env.example: TAG_CATEGORIES, SELF_BUILD_MODE - /help list: all 16 commands documented Phase 1 (wire deferred): - call-with-tool-timeout in action-tool-execute - dispatcher-privacy-severity in dispatcher-check - Ctrl+G gate-trace toggle, Ctrl+F search placeholder Phase 2 (finish features): - /audit verify, /resume <n>, /help <topic> Core: 88/88 TUI Main: 85/86 (1 pre-existing flake)
123 lines
5.1 KiB
Plaintext
123 lines
5.1 KiB
Plaintext
# passepartout: Environment Configuration Template
|
|
# Copy this to .env and fill in your values
|
|
|
|
# =============================================================================
|
|
# IDENTITY
|
|
# =============================================================================
|
|
MEMEX_USER="YourName"
|
|
MEMEX_ASSISTANT="AgentName"
|
|
|
|
# =============================================================================
|
|
# LLM PROVIDERS (OpenRouter recommended as primary)
|
|
# =============================================================================
|
|
OPENROUTER_API_KEY="your_openrouter_key_here"
|
|
OPENAI_API_KEY="your_openai_key_here"
|
|
ANTHROPIC_API_KEY="your_anthropic_key_here"
|
|
GROQ_API_KEY="your_groq_api_key_here"
|
|
GEMINI_API_KEY="your_gemini_key_here"
|
|
DEEPSEEK_API_KEY="your_deepseek_key_here"
|
|
NVIDIA_API_KEY="your_nvidia_nim_key_here"
|
|
|
|
# Cascade order (first available provider wins)
|
|
# Default (if unset): openrouter,openai,anthropic,groq,gemini-api,deepseek,nvidia
|
|
PROVIDER_CASCADE=deepseek,openrouter,openai,anthropic,groq,gemini,nvidia
|
|
|
|
# =============================================================================
|
|
# LOCAL LLM (generic OpenAI-compatible endpoint)
|
|
# =============================================================================
|
|
# Set this to the base URL of any local OpenAI-compatible server
|
|
# (llama.cpp, Ollama, vLLM, LM Studio, etc.)
|
|
LOCAL_BASE_URL="localhost:8080"
|
|
|
|
# Ollama host (legacy: falls back to LOCAL_BASE_URL if not set)
|
|
OLLAMA_HOST="localhost:11434"
|
|
|
|
# =============================================================================
|
|
# VECTOR EMBEDDINGS (semantic search)
|
|
# =============================================================================
|
|
EMBEDDING_PROVIDER="hashing" # "hashing" (local, no deps), "local", or "openai"
|
|
EMBEDDING_MODEL="nomic-embed-text" # model name for embeddings
|
|
EMBEDDING_BASE_URL="https://api.openai.com/v1" # for :openai provider
|
|
|
|
# =============================================================================
|
|
# MESSAGING GATEWAYS (optional)
|
|
# =============================================================================
|
|
TELEGRAM_BOT_TOKEN="your_telegram_bot_token_here"
|
|
SIGNAL_ACCOUNT_NUMBER="+1..."
|
|
|
|
# =============================================================================
|
|
# DAEMON CONFIGURATION
|
|
# =============================================================================
|
|
ORG_AGENT_DAEMON_PORT=9105
|
|
DAEMON_HOST="0.0.0.0"
|
|
HEARTBEAT_INTERVAL=60
|
|
DAEMON_SLEEP_INTERVAL=3600
|
|
DEFAULT_ACTUATOR="cli"
|
|
SILENT_ACTUATORS="cli,system-message,emacs"
|
|
|
|
# =============================================================================
|
|
# SECURITY
|
|
# =============================================================================
|
|
PROTOCOL_ENFORCE_HMAC=false
|
|
PROTOCOL_HMAC_SECRET="change-this-to-a-secure-random-string"
|
|
|
|
# Privacy filter tags: comma-separated list of tags that mark content as private.
|
|
# Files/headings tagged with any of these will be filtered from LLM context.
|
|
# Default: @personal
|
|
PRIVACY_FILTER_TAGS="@personal,@health,@finance"
|
|
|
|
# =============================================================================
|
|
# DISPATCHER RULE LEARNING
|
|
# =============================================================================
|
|
# Number of HITL approvals before a pattern becomes a permanent rule
|
|
DISPATCHER_RULE_THRESHOLD=3
|
|
|
|
# Where learned rules are persisted
|
|
RULES_FILE="$HOME/memex/system/rules.org"
|
|
|
|
# =============================================================================
|
|
# BOOTSTRAP
|
|
# =============================================================================
|
|
MANDATORY_SKILLS="security-policy,security-dispatcher"
|
|
|
|
# =============================================================================
|
|
# CONTEXT / MEMORY
|
|
# =============================================================================
|
|
CONTEXT_SEMANTIC_THRESHOLD=0.75
|
|
CONTEXT_LOG_LIMIT=20
|
|
|
|
# =============================================================================
|
|
# MEMEX STRUCTURE
|
|
# =============================================================================
|
|
MEMEX_DIR="$HOME/memex"
|
|
ZETTELKASTEN_DIR="$HOME/memex/notes"
|
|
INBOX_DIR="$HOME/memex/inbox"
|
|
DAILY_DIR="$HOME/memex/daily"
|
|
PROJECTS_DIR="$HOME/memex/projects"
|
|
AREAS_DIR="$HOME/memex/areas"
|
|
RESOURCES_DIR="$HOME/memex/resources"
|
|
ARCHIVES_DIR="$HOME/memex/archives"
|
|
SYSTEM_DIR="$HOME/memex/system"
|
|
LLM_REQUEST_TIMEOUT=30
|
|
|
|
# =============================================================================
|
|
# TOKEN ECONOMICS (v0.5.0)
|
|
# =============================================================================
|
|
# Max tokens for the combined system prompt + context + user prompt.
|
|
# Default: 16384 (half of a 32K context window, leaves room for model response).
|
|
CONTEXT_MAX_TOKENS=16384
|
|
|
|
# Soft daily cost cap in USD. Warning injected into system prompt when
|
|
# approaching budget.
|
|
COST_BUDGET_DAILY=1.00
|
|
|
|
# v0.7.2: Privacy tag severity tiers. Format: @tag:block,@tag:warn,@tag:log
|
|
# :block = filter content, :warn = log+allow, :log = silently record
|
|
# Default: empty (no tags configured)
|
|
#TAG_CATEGORIES=@personal:block,@financial:block,@draft:warn
|
|
|
|
# v0.7.2: Self-build core file protection mode
|
|
# When true, writes to core-*.org and core-*.lisp require HITL approval.
|
|
# Default: false (unrestricted — use during development)
|
|
SELF_BUILD_MODE=false
|