Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
forage-solutions【部署与运维】AI solution exploration using ant colony optimization — deploying scout hypotheses, reinforcing promising approaches, detecting diminishing returns, and knowing when to abandon a strategy. Use when facing a problem with multiple plausible approaches and no clear winner, when the first approach is not working but alternatives are unclear, when debuggi…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
以蟻群優化原則探解空間——部獨立假設為 scout、以證強化可期之法、偵減益、知何時棄策而他處探。
build-coherence部 scout 前,刻解空間之形。
Solution Distribution Types:
┌────────────────────┬──────────────────────────────────────────────────┐
│ Type │ Characteristics and Strategy │
├────────────────────┼──────────────────────────────────────────────────┤
│ Concentrated │ One correct answer exists (bug fix, syntax │
│ (one right fix) │ error). Deploy many scouts quickly to locate │
│ │ it. Exploit immediately when found │
├────────────────────┼──────────────────────────────────────────────────┤
│ Distributed │ Multiple valid approaches (architecture choice, │
│ (many valid paths) │ implementation strategy). Scouts assess quality │
│ │ of each. Use `build-coherence` to choose │
├────────────────────┼──────────────────────────────────────────────────┤
│ Ephemeral │ Solutions depend on timing or sequence (race │
│ (time-sensitive) │ conditions, order-dependent bugs). Fast scouting │
│ │ with immediate exploitation. Cannot revisit │
├────────────────────┼──────────────────────────────────────────────────┤
│ Nested │ Solving the surface problem reveals a deeper one │
│ (layers of cause) │ (config issue masking an architecture problem). │
│ │ Scout at each layer before committing to depth │
└────────────────────┴──────────────────────────────────────────────────┘
分當前問題。分布類定 scout 部之數與自探轉用之速。
預期: 明解景之刻,導 scout 策。分類宜覺真於問題,非強。
失敗時: 若景全不知,其本身即分類——視為可能分散並部廣 scout。首輪 scout 將揭景之性。
生獨立假設為 scout。每 scout 於異向探解空間。
Scout Deployment Template:
┌───────┬──────────────────────┬──────────────────────┬──────────┐
│ Scout │ Hypothesis │ Test (one action) │ Promise │
├───────┼──────────────────────┼──────────────────────┼──────────┤
│ 1 │ │ │ High/Med/│
│ 2 │ │ │ Low │
│ 3 │ │ │ │
│ 4 │ │ │ │
│ 5 │ │ │ │
└───────┴──────────────────────┴──────────────────────┴──────────┘
關鍵原則:scout 評,不用。目標為每假設之速信,非於首覺期者之深察。
預期: 3-5 獨立假設,含廉測。無假設已深探——此乃廣度優先。
失敗時: 若不能生 3 假設,問題或甚受限(集中類——佳,積極 scout)或解過淺(於假設前讀更多語境)。若假設非獨立(皆同意之變),探過窄——強行至少一與他相違之假設。
Scout 結返後,強化可期之跡而令弱者衰。
Trail Reinforcement Decision:
┌───────────────────────────┬──────────────────────────────────────┐
│ Scout Result │ Action │
├───────────────────────────┼──────────────────────────────────────┤
│ Strong supporting evidence│ REINFORCE — deepen investigation │
│ Weak supporting evidence │ HOLD — one more cheap test before │
│ │ committing │
│ No evidence │ DECAY — deprioritize, scout elsewhere│
│ Contradicting evidence │ INHIBIT — mark as dead end │
│ Ambiguous result │ REFINE — hypothesis was too vague, │
│ │ sharpen and re-scout │
└───────────────────────────┴──────────────────────────────────────┘
預期: 基於證(非偏好)之跡之明優先。最強跡得最多注意,然至少一替代保活。
失敗時: 若所有 scout 空回,假設誤——非法誤。重框問題:「吾所作之假設何可能為誤?」自他角生新假設。若所有 scout 強信回,問題或為分散(多有效答)——切至 build-coherence 以擇法。
監當前法之產。當每單位力所得之新信息降於所有法之平均時,即切之時。
Marginal Value Assessment:
┌────────────────────────┬──────────────────────────────────────────┐
│ Signal │ Action │
├────────────────────────┼──────────────────────────────────────────┤
│ New information per │ CONTINUE — this trail is productive │
│ action is high │ │
├────────────────────────┼──────────────────────────────────────────┤
│ New information per │ PREPARE TO SWITCH — squeeze remaining │
│ action is declining │ value, begin scouting alternatives │
├────────────────────────┼──────────────────────────────────────────┤
│ Last 2-3 actions │ SWITCH — the trail is depleted. The cost │
│ yielded nothing new │ of staying exceeds the cost of switching │
├────────────────────────┼──────────────────────────────────────────┤
│ Information contradicts│ SWITCH IMMEDIATELY — not just depleted │
│ earlier findings │ but misleading. Cut losses │
└────────────────────────┴──────────────────────────────────────────┘
要:計切之代價。至新假設意載新語境,有代價。勿為邊際利切——於當前跡顯然耗盡時切。
預期: 基於產評之續或切之有意決,非習或挫。切基於證,非衝動。
失敗時: 若切過頻(於假設間振盪),切代價被低估。於當前跡再投 N 動後重評。若切永不發(雖產降仍困於一跡),設硬上限:N 不產動後,不論沉沒代價皆切。
依採覓結,擇合適之次相。
build-coherence 於其間擇預期: 自採覓結邏輯而下之關次相之策略決。決宜覺似結,非猜。
失敗時: 若無策覺對,採覓已揭真不定——此乃有效結。傳不定予用戶:「吾探 N 法而尋 X。最可期為 Y 因 Z。吾當追之,或爾有附加語境?」
forage-resources — 此技適之多代理採覓模型,至單代理解搜build-coherence — 採覓揭多有效法需評時所用coordinate-reasoning — 管 scout 假設與用相間之信息流awareness — 監採覓中之過早收斂與隧道視野