onesvm-browser-server/.dsh/casa.yml
chii 983259836d chore: init workspace with onesvm-dev-md + casa-commander
docs: 联网搜索服务架构方案全套(plan-final/design-arch/选型决策/整合导览/MCP文档/部署预设/联调手册)
bench: 5 方案 + 代理 + 站点矩阵本机实测工程(无密钥)
部署目标:primary mgr1 先行测试(待批准后执行)
2026-09-01 15:19:52 +08:00

81 lines
2.7 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# CASA 项目配置(DSH 版)
# 复制到:.dsh/casa.yml
# models.families.* 只是偏好声明:DSH 会话模型由部署决定,禁止编造模型名。
# ---------- 知识库(可选)----------
knowledge:
mode: off # off | builtin | external;有组织 KB(onesvm-dev-md)→ off
before_contract: true
builtin_root: casa-commander/kb
builtin_entrypoints:
- README.md
- norms/coding-baseline.md
- norms/casa-task.md
- procedures/task-flow.md
external:
root: ""
entrypoints: []
merge_into_arch_review: true
# ---------- 模型族(DSH:仅建议;subagent_cursor 可真实解析)----------
# family = 角色/复杂度标签。DSH 内置 subagent 继承部署路由(family 仅为偏好);
# 派发 subagent_cursor 时 family 直接映射为 Cursor 模型 spec(brief 的 Required
# model 行逐次生效)。spec 语法:{模型id}[?参数=值&...]。
# 已实测可用:composer-2.5;grok-4.6 全档(effort low/medium/high/xhigh ±fast)。
models:
families:
simple: grok-4.6?effort=high
hard: grok-4.6?effort=xhigh
architect: grok-4.6?effort=xhigh
reviewer: grok-4.6?effort=xhigh
routing:
default_family: simple
complexity:
simple: simple
hard: hard
core_framework: architect
architecture_review:
enabled_for:
- core_framework
reviewer: subagent_fork # 只读审查者
norm_globs:
- docs/**/*.md
- AGENTS.md
- onesvm-dev-md/base/**/*.md
require_pass_to_done: true
# ---------- Gate 运行时(纪律参数)----------
runtime:
session_ttl_hours: 8
worker_ttl_minutes: 30
# 缺 Plan/Step/scope 时:warn(默认)= 建议并放行;enforce = 硬拒绝。
# 过期 / 暂停 / 错误 Plan ID 仍始终硬拒绝。
worker_start: warn
# 讨论 CASA 本身不启模式;仅明确「使用/启用」才激活
intent_only: true
allow_simple_without_gate: true
runtime_dir: .dsh/casa-runtime
policy:
max_iterations: 3
control_plane_max_file_bytes: 0
write_timeline: true
# ---------- onesvm-dev-md 自动提交(可选,项目级)----------
# 仅当工作区含 onesvm-dev-md submodule 且本会话新改时生效;绝不自动 push。
dev_md_sync:
enabled: true
auto_commit: true
auto_push: false
require_verify_docs: true
exclude:
- base/credentials.md
- base/local-machine-services.md
preferences_note: |
DSH 会话模型由部署决定,本文件的 families 仅是偏好标签,不改变路由。
已有组织知识库时保持 knowledge.mode: off。
简单任务默认直接执行;仅明确启动 CASA 或已有活动 Plan 时启用门禁。
DSH 无 hooks:Gate 是 agent 自律纪律,硬边界为沙箱与审批栈。