Skip to content
cccskills
FreePublished on GitHub

flight-configure-roles

在用户级或项目级检查、验证、显式设置或显式重置 Codex Flight Control 的角色模型与 reasoning effort 策略。仅当用户直接调用 $flight-configure-roles 时使用;禁止隐式触发,也禁止在普通飞控开发流程中顺便修改配置。

The English summary is being prepared. Showing the original description.

See how to install

Files included (2)

  • SKILL.md3.0 KB
  • agents/openai.yaml329 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

配置飞控角色模型

这是显式控制命令。UserPromptSubmit Hook 应注入一个 authorization_id 和一个一次性 authorization_token。该授权最多允许一次 set 或 reset,并不预选 scope、role、 model、reasoning effort 或 fallback 策略。禁止持久化、引用、记录或写入 token。

先只读检查

  1. 调用 flight_surface_status。仅在本轮显式授权有效时,使用 exact Lead credential 调用 flight_surface_select 选择 ROLE_CONFIG;禁止选择 FULL_COMPAT。
  2. 调用 flight_role_config_explain 读取当前项目的有效策略。
  3. 报告所有受影响角色的有效策略和来源;保留无关角色条目。
  4. 只能使用 Host catalog 已验证的 model ID 和 reasoning effort。禁止凭记忆编造 model slug,也禁止把 catalog 不可用解释为模型可用。
  5. 明确说明:inherit_lead 使用 Host 默认继承链;显式 override 必须选择 on_unavailable: block 或显式 inherit_lead 回退。

如果用户只要求查看或解释配置,在只读结果后停止。不得调用更新工具,也不得消费一次性 授权。

验证精确候选

执行显式 set 时:

  1. 只按用户本轮要求选择 USER 或 PROJECT scope。
  2. 构造一个 schema version 1 的稀疏 overlay,只包含本次目标策略。
  3. 调用 flight_role_config_validate,并固定 operation: SET。
  4. 遇到 schema 错误、阻断型 catalog 失败、model/effort 不可用或 blocked 说明时, 立即停止。禁止静默替换其他 model 或 effort。

执行显式 reset 时,使用 operation: RESET 验证,且不得携带 configuration。 reset 只删除选定 override 层,绝不修改插件默认值。

只应用一次

仅当以下条件全部成立时,调用 flight_role_config_update:

  • 用户在本轮明确要求 set 或 reset;
  • Hook 提供当前一次性授权;
  • Lead attestation 可用;
  • exact scope、operation 和 overlay 已验证;
  • expected_layer_hash 等于验证结果中的当前哈希;当前层不存在时必须传 null。

同一次精确变更重试必须使用稳定幂等键。哈希冲突、授权过期或已消费、恢复任务分歧、 不安全路径或发布失败都是阻断证据。禁止通过 shell 或文件工具直接编辑 config.json 绕过控制面。

成功后只报告:

  • scope 和 operation;
  • 应用后的 layer hash,或 reset 后不存在;
  • 合并后的有效配置 hash;
  • 哪些角色使用显式 override、Host 继承或显式不可用回退;
  • 本次结果是否为幂等重放。

配置变更只影响未来 Run。禁止修改既有 Run 的不可变 role-model policy snapshot,也 禁止修改活动 Wave 的冻结引用。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

为一个已经创建的受治理 Run,显式批准或拒绝一个指定的 Manual Verification 条目。仅当用户本人针对明确命名的人工门禁作出决定时使用;禁止代替用户调用,也禁止用它替代可由命令验证的证据。

The English summary is being prepared. Showing the original description.

showjiangnan/codex-flight-control9Updated Aug 13, 2026

执行显式、编码前的 Product Discovery,把早期或模糊的软件想法转化为用户确认的 Intent、丰富方案卡片、对比矩阵、可编辑画布和可持续 D0 文档基线。仅当用户明确调用 $flight-brainstorm,准备在 Flight Control Run 之前探索空白、稀疏、不确定或方向发生重大变化的项目时使用;禁止因模糊请求或普通开发工作隐式触发。

The English summary is being prepared. Showing the original description.

showjiangnan/codex-flight-control9Updated Aug 13, 2026

显式启用或关闭一个受治理 Run 的本地 Codex App Server continuation。仅当用户使用精确命令 `$flight-connect-host` 并依次提供 run_id、thread_id 与 ENABLE 或 DISABLE 时使用;不能把自然语言同意、Lead 判断、UI 操作或已有 credential 当作启用授权。

The English summary is being prepared. Showing the original description.

showjiangnan/codex-flight-control9Updated Aug 13, 2026

使用状态绑定的最小 Tool Surface、exact Action Gateway、来源可追踪的 MissionSpec 与 Verification Manifest、宿主无关 Flight Progression Engine、可选且无权威的 App Server continuation、顺序持久 Wave、一层原生 Agent、困难后强制战术指导、证据型 Capability Profile、显式 Manual Verification、不可变宿主 Evidence、恢复检查点和仅本地 Git,治理复杂 Codex 开发。用户要求飞控接管、继续、自主开发、修复或完成多步骤软件项目,需要有界并行子代理,或实现前必须建立文档工程时使用。

The English summary is being prepared. Showing the original description.

showjiangnan/codex-flight-control9Updated Aug 13, 2026

显式暂停、恢复或取消一个受治理 Run 的 exact Mission Controller。仅当用户使用精确命令 `$flight-control-run` 并依次提供 run_id、controller_id、expected_controller_version 与 PAUSE、RESUME 或 CANCEL 时使用;不能把自然语言意图、Lead credential、Controller 的 allowed_next_actions 或历史授权当作本次用户授权。

The English summary is being prepared. Showing the original description.

showjiangnan/codex-flight-control9Updated Aug 13, 2026

使用有界本地报告诊断 Codex Flight Control 的安装、runtime、文档、持久状态、Wave、Guidance、Private Skill、角色策略、托管工作区、Evidence、Completion Gate 和恢复状态。用户询问飞控状态、健康、支持信息、恢复分析或阻断原因时使用;禁止上传数据或执行破坏性修复。

The English summary is being prepared. Showing the original description.

showjiangnan/codex-flight-control9Updated Aug 13, 2026

See all skills by showjiangnan

Report a problem with this skill