cerebrixos-org/tuning-engines-cli

tuningengines-dsh-plugin

将不含原始内容的 DSH 回合、模型、工具、审批、重试和错误事件导出到 Tuning Engines,用于受治理的追踪、策略评估、成本分析和 Work Session 审阅,并提供磁盘持久化重试队列。

通知与集成aiclifine-tuning

Tuning Engines for DeepSeek Harness

Native DeepSeek Harness telemetry and tool governance for Tuning Engines. The plugin observes the Harness session event log, preserves turn/step/tool-call identity, and exports metadata-only traces through a durable local spool.

Install

export TE_API_KEY="your-tenant-token-or-inference-key"
dsh plugin --profile default add tuningengines-cli
dsh --profile default

Configuration

Environment variableDefaultPurpose
TE_API_KEYrequiredTenant API token; TE_INFERENCE_KEY is also accepted
TE_API_URLhttps://app.tuningengines.comTE control-plane URL
TE_GOVERNANCE_MODEobserveoff, observe, or fail-closed enforce
TE_TRACE_FLUSH_INTERVAL_MS2000Background flush interval
TE_TRACE_BATCH_SIZE64Maximum locally spooled records per flush
TE_TRACE_SPOOL_PATH~/.tuningengines/dsh-trace-spool.jsonlDurable queue path

Data handling

The default and only v1 capture mode is metadata-only. Raw prompts, assistant content, tool arguments, tool results, credentials, and model reasoning are not exported. Tool arguments are represented by a SHA-256 fingerprint for stable correlation without content disclosure.

DeepSeek Harness remains the execution runtime. Tuning Engines supplies the governance, approvals, trace analytics, cost attribution, and review surfaces.