Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -230,3 +230,6 @@ generated/capability-wakeup/
packages/api/test/__b1_parent_a__/
.claude/skills/organize-threads
.claude/skills/thread-orchestration

# F257 runtime eval snapshots (written by snapshot provider at runtime)
docs/harness-feedback/run-snapshots/
5 changes: 5 additions & 0 deletions assets/prompt-hooks/c1-mcp-回调/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ inputs:
- mcpAvailable
- mcpCallbackContent

# Variable metadata (canonical source for Console editor)
variables:
- name: EXAMPLE_HANDLE
description: 句柄示例
placeholder: ""
# Override constraints
disableable: true

Expand Down
14 changes: 14 additions & 0 deletions assets/prompt-hooks/d1-身份锚定/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ resolver: D1IdentityAnchorResolver
inputs:
- identity

# Variable metadata (canonical source for Console editor)
variables:
- name: DISPLAY_NAME
description: 当前猫的显示名
placeholder: ""
- name: NICKNAME_PART
description: 当前猫昵称后缀(如 /小狸)
placeholder: ""
- name: CAT_ID
description: 当前猫的稳定 ID
placeholder: ""
- name: RUNTIME_MODEL
description: 当前运行模型
placeholder: ""
# Override constraints
disableable: false

Expand Down
5 changes: 5 additions & 0 deletions assets/prompt-hooks/d11-skill-触发/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ resolver: D11SkillTriggerResolver
inputs:
- skillTrigger

# Variable metadata (canonical source for Console editor)
variables:
- name: SKILL_NAME
description: 被触发 skill 的名称
placeholder: ""
# Override constraints
disableable: true

Expand Down
5 changes: 5 additions & 0 deletions assets/prompt-hooks/d12-活跃参与者/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ resolver: D12ActiveParticipantsResolver
inputs:
- activeParticipants

# Variable metadata (canonical source for Console editor)
variables:
- name: ACTIVE_LABEL
description: 当前活跃参与者标签
placeholder: ""
# Override constraints
disableable: true

Expand Down
5 changes: 5 additions & 0 deletions assets/prompt-hooks/d13-路由策略/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ resolver: D13RoutingPolicyResolver
inputs:
- routingPolicy

# Variable metadata (canonical source for Console editor)
variables:
- name: ROUTING_PARTS
description: 路由策略组成部分
placeholder: ""
# Override constraints
disableable: true

Expand Down
14 changes: 14 additions & 0 deletions assets/prompt-hooks/d14-sop-阶段提示/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ resolver: D14SopStageResolver
inputs:
- sopStageHint

# Variable metadata (canonical source for Console editor)
variables:
- name: FEATURE_ID
description: 功能 ID
placeholder: ""
- name: STAGE
description: SOP 阶段
placeholder: ""
- name: SUGGESTED_SKILL
description: 建议加载的 skill
placeholder: ""
- name: SOURCE_PART
description: 来源信息片段
placeholder: ""
# Override constraints
disableable: true

Expand Down
17 changes: 17 additions & 0 deletions assets/prompt-hooks/d16-bootcamp-模式/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,23 @@ resolver: D16BootcampResolver
inputs:
- bootcampMode

# Variable metadata (canonical source for Console editor)
variables:
- name: THREAD_PART
description: thread 信息片段
placeholder: ""
- name: PHASE
description: 当前阶段
placeholder: ""
- name: LEAD_CAT_PART
description: 主导猫信息片段
placeholder: ""
- name: TASK_PART
description: 任务信息片段
placeholder: ""
- name: MEMBERS_PART
description: 成员信息片段
placeholder: ""
# Override constraints
disableable: true

Expand Down
5 changes: 5 additions & 0 deletions assets/prompt-hooks/d17-引导候选/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ resolver: D17GuideCandidateResolver
inputs:
- guideCandidate

# Variable metadata (canonical source for Console editor)
variables:
- name: GUIDE_PROMPT_LINES
description: 引导候选提示文本行
placeholder: ""
# Override constraints
disableable: true

Expand Down
29 changes: 29 additions & 0 deletions assets/prompt-hooks/d18-世界上下文/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,35 @@ resolver: D18WorldContextResolver
inputs:
- worldContext

# Variable metadata (canonical source for Console editor)
variables:
- name: WORLD_NAME
description: 世界名称
placeholder: ""
- name: WORLD_STATUS
description: 世界状态
placeholder: ""
- name: CONSTITUTION_LINE
description: 宪法声明行
placeholder: ""
- name: SCENE_NAME
description: 场景名称
placeholder: ""
- name: SCENE_STATUS
description: 场景状态
placeholder: ""
- name: CHARACTERS_BLOCK
description: 角色信息块
placeholder: ""
- name: CANON_BLOCK
description: 正典信息块
placeholder: ""
- name: RECENT_EVENTS_BLOCK
description: 近期事件块
placeholder: ""
- name: CARE_HINT_LINE
description: 关怀提示行
placeholder: ""
# Override constraints
disableable: true

Expand Down
5 changes: 5 additions & 0 deletions assets/prompt-hooks/d19-宪法知识/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ resolver: D19ConstitutionalResolver
inputs:
- constitutionalKnowledge

# Variable metadata (canonical source for Console editor)
variables:
- name: CONSTITUTIONAL_DOCS
description: 宪法知识文档块
placeholder: ""
# Override constraints
disableable: false

Expand Down
8 changes: 8 additions & 0 deletions assets/prompt-hooks/d2-直接消息来源/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ resolver: D2DirectMsgResolver
inputs:
- directMessageSource

# Variable metadata (canonical source for Console editor)
variables:
- name: FROM_LABEL
description: 发送方标签
placeholder: ""
- name: FROM_MODEL
description: 消息发送方模型
placeholder: ""
# Override constraints
disableable: true

Expand Down
5 changes: 5 additions & 0 deletions assets/prompt-hooks/d20-信号文章/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ resolver: D20SignalArticlesResolver
inputs:
- signalArticles

# Variable metadata (canonical source for Console editor)
variables:
- name: SIGNAL_ARTICLES_BLOCK
description: 信号文章块
placeholder: ""
# Override constraints
disableable: true

Expand Down
5 changes: 5 additions & 0 deletions assets/prompt-hooks/d21-决策树/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ resolver: D21DecisionTreeResolver
inputs:
- handoffDecisionTree

# Variable metadata (canonical source for Console editor)
variables:
- name: CC_MENTION
description: co-creator mention pattern (e.g. @co-creator)
placeholder: ""
# Override constraints
disableable: false

Expand Down
14 changes: 14 additions & 0 deletions assets/prompt-hooks/d3-同族警告/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ resolver: D3SameBreedResolver
inputs:
- sameBreedWarning

# Variable metadata (canonical source for Console editor)
variables:
- name: FROM_VARIANT
description: 消息发送方变体名
placeholder: ""
- name: FROM_MODEL
description: 消息发送方模型
placeholder: ""
- name: SELF_VARIANT
description: 当前猫变体名
placeholder: ""
- name: SELF_MODEL
description: 当前猫模型
placeholder: ""
# Override constraints
disableable: true

Expand Down
20 changes: 20 additions & 0 deletions assets/prompt-hooks/d4-跨-thread-回复/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,26 @@ resolver: D4CrossThreadResolver
inputs:
- crossThreadReplyHint

# Variable metadata (canonical source for Console editor)
variables:
- name: SOURCE_THREAD
description: 来源 thread ID
placeholder: ""
- name: SENDER_CAT
description: 发送猫 ID
placeholder: ""
- name: EFFECT_LABEL
description: 跨线程回复效果标签
placeholder: ""
- name: REPLY_INSTRUCTION
description: 跨 thread 回复动作指令
placeholder: ""
- name: COORDINATION_TEXT
description: 跨 thread 协作约束
placeholder: ""
- name: CONSTRAINT_TEXT
description: 跨线程约束文本
placeholder: ""
# Override constraints
disableable: true

Expand Down
8 changes: 8 additions & 0 deletions assets/prompt-hooks/d5-乒乓球警告/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ resolver: D5PingPongResolver
inputs:
- pingPongWarning

# Variable metadata (canonical source for Console editor)
variables:
- name: OTHER_LABEL
description: 对方标签
placeholder: ""
- name: STREAK_COUNT
description: 连续互相 @ 轮数
placeholder: ""
# Override constraints
disableable: true

Expand Down
5 changes: 5 additions & 0 deletions assets/prompt-hooks/d6-队友上下文/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ resolver: D6TeammatesContextResolver
inputs:
- teammatesContext

# Variable metadata (canonical source for Console editor)
variables:
- name: TEAMMATES_LIST
description: 队友列表
placeholder: ""
# Override constraints
disableable: true

Expand Down
8 changes: 8 additions & 0 deletions assets/prompt-hooks/d7-模式声明/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ resolver: D7ModeResolver
inputs:
- mode

# Variable metadata (canonical source for Console editor)
variables:
- name: CHAIN_INDEX
description: 串行链中的当前猫序号
placeholder: ""
- name: CHAIN_TOTAL
description: 串行链中的猫总数
placeholder: ""
# Override constraints
disableable: true

Expand Down
5 changes: 5 additions & 0 deletions assets/prompt-hooks/d9-路由反馈/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ resolver: D9RoutingFeedbackResolver
inputs:
- routingFeedback

# Variable metadata (canonical source for Console editor)
variables:
- name: UNROUTED_MENTIONS
description: 未路由的 @ 提及
placeholder: ""
# Override constraints
disableable: true

Expand Down
5 changes: 5 additions & 0 deletions assets/prompt-hooks/n1-导航上下文/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ resolver: N1NavigationResolver
inputs:
- navigationContext

# Variable metadata (canonical source for Console editor)
variables:
- name: INNER_CONTENT
description: 导航内部内容
placeholder: ""
# Override constraints
disableable: true

Expand Down
17 changes: 17 additions & 0 deletions assets/prompt-hooks/s1-身份声明/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,23 @@ inputs:
- roleDescription
- identity

# Variable metadata (canonical source for Console editor)
variables:
- name: NAME_LABEL
description: 当前猫的完整名称
placeholder: ""
- name: PROVIDER_LABEL
description: 模型提供商标签
placeholder: ""
- name: NICKNAME_ORIGIN
description: 昵称由来说明
placeholder: ""
- name: ROLE_DESCRIPTION
description: 角色描述
placeholder: ""
- name: PERSONALITY
description: 性格描述
placeholder: ""
# Override constraints
disableable: false

Expand Down
5 changes: 5 additions & 0 deletions assets/prompt-hooks/s10-护栏/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ resolver: S10GuardrailsResolver
inputs:
- guardrails

# Variable metadata (canonical source for Console editor)
variables:
- name: PACK_GUARDRAILS_BLOCK
description: pack 护栏块
placeholder: ""
# Override constraints
disableable: false

Expand Down
5 changes: 5 additions & 0 deletions assets/prompt-hooks/s11-默认行为/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ resolver: S11DefaultsResolver
inputs:
- defaults

# Variable metadata (canonical source for Console editor)
variables:
- name: PACK_DEFAULTS_BLOCK
description: pack 默认行为块
placeholder: ""
# Override constraints
disableable: true

Expand Down
5 changes: 5 additions & 0 deletions assets/prompt-hooks/s12-世界驱动/hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ resolver: S12WorldDriverResolver
inputs:
- worldDriver

# Variable metadata (canonical source for Console editor)
variables:
- name: WORLD_DRIVER_SUMMARY
description: 世界驱动摘要
placeholder: ""
# Override constraints
disableable: true

Expand Down
Loading