WORKSPACE
prompts/
quote_contract.yamlM2
ctx_pack.mdM3
rag_chain.pyM4
tools/mcp.jsonM5
agent_flow.pyM6
evals/cases.jsonlM7
checklist.mdM9
quote_contract.yaml · 提示词契约(结构化输出)
output_format:
type: json_schema
required: [unit_price, lead_time, risk_notes]
properties:
unit_price: {type: number, minimum: 0}
lead_time: {type: string, enum: [7d, 15d, 30d]}
risk_notes: {type: string, maxLength: 200}
guard:
on_schema_violation: retry_with_error ×2
on_missing_source: refuse_and_tag
ctx_pack.md · 上下文打包策略(M3)
制度文件 · 摘要入上下文
历史报价 · 只入库外检索
口径表 · 全文常驻
缓存命中 41%
评测运行 · M7
缺来源引用拒答通过
枚举外取值拦截通过
超长风险说明截断修复中
「拿去用」产物
契约模板 ×1
MCP server 配置
交付检查单(M9)