Files
watchman/marionettist.config.yaml
T
unknownandCursor 8b2a809f06 建立 Watchman 规划基线,并接入 Marionettist Cursor 工作流。
公司规范只约束代码内容,门禁仍按插件执行;MCP token 不入库。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-17 10:11:27 +08:00

94 lines
3.1 KiB
YAML

project:
name: "watchman"
type: "application"
architecture: "modular-monolith"
primaryLanguage: "python"
paths:
docs: "docs"
rules: ".aiassistant/rules"
skills: ".agents/skills"
task: ".task"
knowledgeMap: "docs/project/knowledge-map.md"
taskState:
activeTask: ".task/active.json"
taskDirectoryPattern: ".task/<yyyy-MM-dd>/<task-slug>"
legacyContextPackFallback: ".task/context-pack.md"
models:
# Maps skill frontmatter model_requirement fields to profiles.
# Skills declare: reasoning, coding, reflective, utility
requirementMapping:
reasoning: "think"
coding: "build"
reflective: "review"
utility: "run"
# Profile role defaults live here; project-local overrides belong in
# .marionettist/model-profiles.yml.
profiles:
think:
description: "Deep reasoning, planning, and gate decisions"
default: "openai/gpt-5.5"
fallback: "openai/gpt-5.4"
build:
description: "Focused coding and implementation from approved task context"
default: "openai/gpt-5.3-codex"
fallback: "deepseek/deepseek-v4-pro"
review:
description: "Reflective, cautious, nuanced review"
default: "deepseek/deepseek-v4-pro"
fallback: "deepseek/deepseek-v4-pro"
run:
description: "Fast utility work such as indexing and validation"
default: "deepseek/deepseek-v4-flash"
fallback: "deepseek/deepseek-v4-flash"
docs:
language: "zh-CN"
rulesLanguage: "en"
style: "design-and-architecture"
knowledge:
mode: "standard"
maturity: "L1"
validation:
defaultCommands: []
gatePolicy:
defaultMode: "balanced"
finalApprovalRequired: true
# defaultMode is the repository fallback posture for tasks that do not record
# a task-local gatePolicy.selected value. An explicit selected mode wins for
# that task; recommended modes remain advisory only.
# When true, a task-local plan or task state may request a different mode
# than defaultMode, but explicit user instructions still take precedence.
allowTaskOverride: true
# Tier-classification hints belong in .marionettist/tier-policy.yml.
# That file is advisory for Tier classification, workflow hints, review hints,
# and model-profile hints only. It must not redefine gatePolicy semantics,
# selected task gates, or provider/model IDs.
# Cross-validation of modelProfileHint values and stricter unknown-value rejection
# are deferred future hardening, not part of the current MVP contract.
# Optional OpenCode adapter settings.
# Omit opencode.permissionMode to keep compatibility fallback behavior.
# permissionMode: default preserves current behavior.
# permissionMode: moderate|loose increases local flexibility but still keeps
# the dangerous-command baseline where OpenCode schema can express it.
# opencode:
# commandSurface: "minimal"
# permissionMode: "default"
# Optional lightweight hints for higher-risk project areas.
# Use this to flag zones such as auth, billing, schema changes,
# production config, or external API contracts.
# Marionettist still works normally when this is empty.
# Treat this as analysis/review guidance, not as a fully enforced policy system.
riskZones: []
distribution:
mode: "embedded"