360 Secure SkillHub
360 安全技能中心

principle-attack-the-premise

用于同一前提下的两次或多次修复反复未通过同一关卡时,先明确这些失败修复共同假设的前提,再设计能区分真假的观察来检验,避免继续叠加基于该前提的修复。

分类:开发
backnotprop
热度 68.91
最近更新 2026-11-24 05:23:49

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add backnotprop/pstack/principle-attack-the-premise
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
principle-attack-the-premise
description
Apply when two or more fixes that share one premise have failed the same gate. Write the premise down and test it directly before you write another fix that assumes it.
disable-model-invocation
true

Attack the Premise

When two or more fixes that share one premise have failed the same gate, suspect the premise, not the fixes.

  • Write the premise down: the one sentence every failed fix assumed.
  • Test it before the next fix. Find an observation that would come out differently if the premise were false, and make it. Look at how the failures are distributed, not only at how large they are.
  • If the evidence contradicts the premise, look for what the failures share that it did not predict. If one part always lands on the losing side, change what puts it there instead of adding a mechanism that cleans up after it.

Do not start the next fix before the premise is written down and tested.