fix: separate protocol freeze from registry lifecycle - #98
Conversation
result-free protocol freezeと将来のregistry lifecycleをv3で分離した。 snapshot付きexact verifierとrepository-only lifecycle auditの責務を分け、placeholder-only transitionとtamperを固定testで検証する。v1/v2 artifactはbyte不変で保持する。
|
Self-review: changes requested. [P1] The frozen CI surface does not audit the real registered output paths. Every [P1] The snapshot-free audit does not enforce all batch invariants that are available from packet bytes. It binds aggregate config/search surface only to These are pre-observation v3 fixes. Keep v1/v2 byte-invariant and update the v3 frozen hashes before any real capture. |
Self-review findings adjudication: - ACCEPT [P1] 実registered output pathのauditを追加。 理由: temporary rootだけの検証では、将来のobservation PRが実pathへ不正なartifactを追加してもCIが検出できないため。 対応: repository rootのmanifest registered pathをempty / packets / finalの全stageで直接auditする固定testを追加した。 - ACCEPT [P1] snapshot-free batch invariantをeffective registry全体へ追加。 理由: packet bytesだけで共通snapshot、capture config、search surface、slot順capture timeを検証でき、aggregate前のdivergenceもfail closedにすべきため。 対応: 4 invariantをrepository auditで強制し、それぞれのtamper testとprotocol docsを追加した。
lipluscodex
left a comment
There was a problem hiding this comment.
Self-review: PASS
Acceptance criteria:
real-task-feedback-shadow-v3はv2と別のprotocol ID / registered pathを使用し、v1/v2 frozen artifactはremote main基準でbyte不変。- 同一frozen manifest/testでempty、packet/correction、one-time final aggregateを検証し、観測後のmanifest/test変更を要求しない。
- snapshot必須exact replayとsnapshot-free repository lifecycle auditの責務を分離。
- 実registered pathを毎回CIでauditし、canonical JSON、slot/correction chain、共通snapshot/config/search surface、strict capture time、one-time aggregate bindingをfail closedで検証。
- placeholder-only fixture/tamper coverage、clean core 227件、Optional MCP 27件、demo/eval smoke、remote CI 2 jobがgreen。
Scope deviations: なし。Issue #95 / PR #96のquery、trace、snapshot、outcome、packetは移送・再利用していない。
Next step: auto modeのためmergeable stateを再確認し、squash merge後にIssue #89をv3へ明示移行して新しいeligible taskから観測を再開する。
Closes #97
real-task-feedback-shadow-v3でresult-free protocol freezeと将来のregistry lifecycleを分離しました。snapshot付きexact verifierとrepository-only lifecycle auditを分け、同一frozen manifestでempty→packet/correction→one-time final aggregateを検証します。
v1/v2 artifactはbyte不変で保持し、Optional MCP CIへv3 probeを追加しました。