技能 编程开发 编排修改现有功能行为

编排修改现有功能行为

v20260704
orch-change-feature
该流程用于管理现有功能从工作状态调整到符合新行为规范的过程。核心步骤是:首先,更新现有测试用例来表达新的行为规范;其次,修改代码实现以通过这些测试;最后,经过评审和门禁提交。适用于功能工作正常,但行为需要调整的场景。
获取技能
385 次下载
概览

orch-change-feature

Actor · action · target: orch · change · feature. Thin wrapper over the shared engine in orch-pipeline.

When to Use

  • An existing feature works, but the desired behavior is different ("change", "adjust", "make it also …", "instead of X do Y").
  • Distinguish from siblings:
    • not broken → not orch-fix-defect (no bug to reproduce).
    • not new → not orch-add-feature (the capability already exists).

Operation settings

  • Default size floor: small — most tweaks are a function or two.
  • Phase mask: 0 → (1 only if the new behavior needs research) → light 2 → 4 → 5 → 6.
  • First move (phase 4): update the existing tests to express the new desired behavior, then change the implementation until they pass. Changing the tests first is what separates a tweak from a fix.

How It Works

  1. Run the orch-pipeline engine with the settings above.
  2. Keep the plan light — only standard+ size warrants the full planner pass.
  3. Stop at Gate 1 (plan / changed-test approval) and Gate 2 (pre-commit).
  4. Add security-reviewer if the change touches a security trigger.

Example

orch-change-feature: make nws-poller alert at 2 warnings instead of 3
→ update threshold tests to new spec → change impl to green
→ code-review → commit  [GATE 2: confirm]
信息
Category 编程开发
Name orch-change-feature
版本 v20260704
大小 1.67KB
更新时间 2026-07-09
语言