Autonomous AI sales agent powered by Claude Code or Codex. Finds prospects, writes cold emails, sends campaigns, handles replies, books meetings. No API keys needed — runs on your Claude or Codex subscriptions.
Keep training out of the public repo: harvey.local.yaml override
Ethan221ebc2fc6ae
diff --git a/.gitignore b/.gitignoreindex 93843f4..1cda89d 100644--- a/.gitignore+++ b/.gitignore@@ -53,3 +53,7 @@ Thumbs.db# Always local — never tracked in the parent repo..claude/worktrees/# <!-- orcha:managed:end -->++# Generated by `harvey train` — product-specific, never commit to the public repo+skills/competitive_intel.md+harvey.local.yamldiff --git a/harvey/config.py b/harvey/config.pyindex 0a0b94e..f8c319c 100644--- a/harvey/config.py+++ b/harvey/config.py@@ -252,8 +252,16 @@ def load_env() -> EnvConfig:def _find_config_file() -> str:- """Search for harvey.yaml in common locations."""+ """Search for Harvey's config.++ ``harvey.local.yaml`` wins when present. It is gitignored, so a fork can+ carry a real product configuration (trained on an actual company) while+ the tracked ``harvey.yaml`` stays an untrained template — nobody+ publishes their positioning, pricing, and prospect targeting by accident.+ """candidates = [+ Path.cwd() / "harvey.local.yaml",+ PROJECT_ROOT / "harvey.local.yaml",Path.cwd() / "harvey.yaml",Path.cwd().parent / "harvey.yaml",PROJECT_ROOT / "harvey.yaml",diff --git a/harvey/trainer.py b/harvey/trainer.pyindex fc56d0c..8ab6324 100644--- a/harvey/trainer.py+++ b/harvey/trainer.py@@ -318,7 +318,7 @@ class Trainer:async def train(self,url: str,- output_path: str = "harvey.yaml",+ output_path: str = "harvey.local.yaml",max_pages: int = 100,):"""Train Harvey on a product website.@@ -742,7 +742,7 @@ What prospects do instead of buying a solution like ours:}-async def run_training(url: str, output: str = "harvey.yaml", max_pages: int = 100):+async def run_training(url: str, output: str = "harvey.local.yaml", max_pages: int = 100):"""Entry point for training."""trainer = Trainer()await trainer.train(url, output, max_pages=max_pages)