Skip to content

feat: add reversible outcome-driven feedback deactivation #111

Description

@lipluscodex

目的

soft-startで加算されたrelation feedbackを、因果帰属できるnegative delayed outcomeに限って可逆に不活性化するdefault-off candidateを追加し、観測前のresult-free評価境界まで固定する。

前提

  • 現行soft-startは最初のusedでprovisional fraction、最初のconfirmedでremainder、後続confirmedでgeometric decayを加算する。
  • corrected、rolled_back、supersededは現在audit記録だけを行い、edge weightを変更しない。
  • baseline-aware snapshot evaluation v2はsoft-startのdevelopment / holdout全hard gateを通過し、local serving policyへ採用済み。
  • squash merge後もresult-free登録時点のoutput不在をmain履歴から証明するため、mechanics / freezeとobservationを別Issue / PRへ分離する。

対象

  • negative outcomeを一般的な罰として扱わず、保存済みtraceとcredited pathへ明示的に因果帰属できる場合だけ適用する。
  • correctedは、誤りに帰属されたsoft-start / confirmation contributionを正確に取り消す。
  • rolled_backは、参照された過去のreinforcement contributionを正確に取り消す。
  • supersededは、relationと証拠を削除せずdormantとして通常activationを抑制し、再活性化可能にする。
  • contribution、reversal、dormancy、idempotencyをSQLiteに永続化し、core / MCP receiptとconfig provenanceを一致させる。
  • exact reversalはcredited edgeの加算と同じcontributionが発生させたsame-source sibling normalization deltaを一つの可逆単位として扱う。

制約

検証

  • synthetic mechanicsでexact contribution reversal、baseline floor、idempotency、restart、transaction atomicity、locality、credited / siblingの逆写像、dormancy / reactivationを検証する。
  • control / deactivation candidateをfresh snapshot cloneで比較するresult-free protocol、fixture、schedule、gate、manifest、schema、exclusive output pathを観測前に固定する。
  • result-free preflightでcase capacity、baseline state、path identity、output不在、source / snapshot不変を検証する。
  • freeze merge後のsuccessor observation Issueがdevelopmentを一度だけ実行し、全hard gate通過時だけholdoutを一度開く。

文書

  • requirements、README、MCP description、config provenance、candidate mechanics docを同じPRで更新する。
  • docs/Decision-Structure.mdへoutcome-driven feedback deactivation判断ノードを追加する。

完了条件

  • core / MCP mechanicsと永続化testがgreen。
  • result-free評価artifactとpreflightがgreenで、registered development / holdout outputが不在。
  • PR / CI green後も観測を実行せず、successor observation Issueへ引き渡す。
  • local adoptionはsuccessorのdevelopment / conditional holdout結果に基づく別判断として残す。

Metadata

Metadata

Assignees

Labels

enhancement新機能・改善要望ready本文が実装開始できる形まで収束している状態。ただし更新は継続可能

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions