cleanup: remove clawd/openclaw references, fix permissions, add architecture docs

- Replace all ~/clawd and ~/.clawdbot paths with ~/echo-core equivalents
  in tools (git_commit, ralph_prd_generator, backup_config, lead-gen)
- Update personality files: TOOLS.md repo/paths, AGENTS.md security audit cmd
- Migrate HANDOFF.md architectural decisions to docs/architecture.md
- Tighten credentials/ dir to 700, add to .gitignore
- Add .claude/ and *.pid to .gitignore
- Various adapter, router, and session improvements from prior work

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
MoltBot Service
2026-02-14 21:44:13 +00:00
parent d585c85081
commit 5928077646
35 changed files with 666 additions and 790 deletions

View File

@@ -16,7 +16,7 @@ Sistem simplu pentru găsirea companiilor care au nevoie de soluții ERP/contabi
```bash
# Activează venv
cd ~/clawd && source venv/bin/activate
cd ~/echo-core && source .venv/bin/activate
# Rulează căutarea
python tools/lead-gen/find_leads.py --limit 10

View File

@@ -26,12 +26,11 @@ OUTPUT_DIR = Path(__file__).parent / "output"
OUTPUT_DIR.mkdir(exist_ok=True)
def get_brave_api_key():
"""Get Brave API key from clawdbot config."""
config_path = Path.home() / ".clawdbot" / "clawdbot.json"
"""Get Brave API key from echo-core config."""
config_path = Path.home() / "echo-core" / "config.json"
if config_path.exists():
with open(config_path) as f:
config = json.load(f)
# Try tools.web.search.apiKey (clawdbot format)
api_key = config.get("tools", {}).get("web", {}).get("search", {}).get("apiKey", "")
if api_key:
return api_key