Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
基于全面审计报告的 P0-P2 修复工作: P0 (已完成): - intelligence 模块: 精确注释 dead_code 标注原因(Tauri runtime 注册) - compactor.rs: 实现 LLM 摘要生成(compact_with_llm) - pipeline_commands.rs: 替换 println! 为 tracing 宏 P1 (已完成): - 移除 8 个 gateway_* 向后兼容别名(OpenClaw 遗留) - 前端 tauri-gateway.ts 改为调用 zclaw_* 命令 - 清理 generation.rs 6 个重复的实例方法(-217 行) - A2A dead_code 注释更新 P2 (已完成): - Predictor/Lead HAND.toml 设置 enabled=false - Wasm/Native SkillMode 添加未实现说明 - browser/mod.rs 移除未使用的 re-export(消除 4 个警告) 文档更新: - feature-checklist.md 从 v0.4.0 更新到 v0.6.0 - CLAUDE.md Hands 状态更新 验证: cargo check 零警告, 42 测试通过, 净减 371 行代码
78 lines
1.7 KiB
TOML
78 lines
1.7 KiB
TOML
# Lead Hand - 销售线索发现能力包
|
||
#
|
||
# ZCLAW Hand 配置示例
|
||
# 这个 Hand 自动发现和筛选销售线索
|
||
#
|
||
# ⚠️ 注意: 此 Hand 尚未实现 Rust 后端,仅作为设计文档保留。
|
||
# 启用状态设为 false,前端不会显示为可用能力。
|
||
|
||
[hand]
|
||
name = "lead"
|
||
version = "1.0.0"
|
||
description = "销售线索发现和筛选能力包 - 自动识别潜在客户(未实现)"
|
||
author = "ZCLAW Team"
|
||
|
||
type = "automation"
|
||
enabled = false
|
||
requires_approval = true # 线索操作需要审批
|
||
timeout = 600
|
||
max_concurrent = 1
|
||
|
||
tags = ["sales", "leads", "automation", "discovery", "qualification"]
|
||
|
||
[hand.config]
|
||
# 线索来源
|
||
sources = ["linkedin", "company_website", "crunchbase", "public_records"]
|
||
|
||
# 筛选条件
|
||
[hand.config.filters]
|
||
# 最小公司规模
|
||
min_company_size = 10
|
||
# 目标行业
|
||
industries = ["technology", "saas", "fintech", "healthcare"]
|
||
# 目标地区
|
||
regions = ["china", "north_america", "europe"]
|
||
|
||
# 评分权重
|
||
[hand.config.scoring]
|
||
company_fit = 0.4
|
||
engagement_likelihood = 0.3
|
||
budget_indication = 0.2
|
||
timing_signals = 0.1
|
||
|
||
[hand.triggers]
|
||
manual = true
|
||
schedule = true # 允许定时触发
|
||
webhook = true
|
||
|
||
# 定时触发:每天早上 9 点
|
||
[[hand.triggers.schedules]]
|
||
cron = "0 9 * * 1-5" # 工作日 9:00
|
||
enabled = true
|
||
timezone = "Asia/Shanghai"
|
||
|
||
[hand.permissions]
|
||
requires = [
|
||
"web.search",
|
||
"web.fetch",
|
||
"api.external",
|
||
"database.write"
|
||
]
|
||
|
||
roles = ["operator.read", "operator.write", "sales.read"]
|
||
|
||
[hand.approval]
|
||
# 审批流程配置
|
||
timeout_hours = 24
|
||
approvers = ["sales_manager", "admin"]
|
||
auto_approve_after_hours = 0 # 不自动批准
|
||
|
||
[hand.rate_limit]
|
||
max_requests = 100
|
||
window_seconds = 86400 # 每天
|
||
|
||
[hand.audit]
|
||
log_inputs = true
|
||
log_outputs = true
|
||
retention_days = 90 # 销售数据保留更久
|