feat(policy-approval): reconcile current procedural publication preconditions - #603
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthrough절차 그래프 게시 전 사전 점검 경계를 추가했습니다. State / Checkpoint와 Policy / Approval을 안정 창에서 재검증하고, 일치하는 경우에도 게시 및 활성화 권한이 없는 receipt를 반환합니다. 구현과 실패 조건을 테스트하며 ADR-0017을 갱신합니다. Changes게시 전 사전 점검
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant Preflight as ProceduralPublicationPreflight
participant History as History reader
participant Approval as Approval reader
participant Receipt as Preflight receipt
Preflight->>History: 첫 번째 평가 히스토리 읽기
Preflight->>Approval: 첫 번째 승인 snapshot 읽기
Preflight->>History: 두 번째 평가 히스토리 읽기
Preflight->>Approval: 두 번째 승인 snapshot 읽기
Preflight->>Receipt: 일치하는 경우 권한이 false인 receipt 반환
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
seonghobae
left a comment
There was a problem hiding this comment.
Current-head review on exact 23df0e8369fa87b3c1bf569b3dcdba19fd850e16: no additional valid source/test/DDD finding. The preflight reuses the existing State / Checkpoint and Policy / Approval read authorities, proves a stable overlapping read window, binds candidate/history/evaluator/signer/approval identities, rejects current approval revocation and structural lookalikes, and explicitly carries neither publication nor activation authority. ADR-0017 remains Proposed and foreign publication/key-custody/lifecycle truth is not copied. All four exact-head workflow generations are terminal SUCCESS and there are no unresolved inline threads. This is a COMMENT review only; no self-approval.
Scope
Noema Policy / Approval successor for #584 after protected #602.
The boundary fresh-reads the existing State / Checkpoint history and Policy / Approval ledger, requires a stable read window and exact graph/history/evaluator/approval identity agreement, fails closed on current revocation or concurrent authority change, and emits only a locally admitted preflight receipt with
publicationAuthorized:falseandactivationAuthorized:false.It does not publish a graph, activate a revision, create a second State / Checkpoint/Workflow/lifecycle truth, consume mutable sibling source, own Keyverse credentials, or replace
context-graph-contractspublication authority. Existing executions remain pinned to their admitted graph revision and continue to honor lifecycle/cancellation through the existing runtime ACL.Reality RED -> causal repair
df9a1b77043a32bef5eb7a18e3c41fd38f627fe6: hosted application CI reached release tests and failed because the production preflight module did not exist.173afee7666a9bc1a6bfeb481b76fc5f00bc49cbadded the smallest owner-boundary implementation and focused cases.d81eee5c3c4e26587436e443b5cc47bdc63ae702changed only the focused expectation and produced a hosted release-test RED;ee28af47beeddf78b1d160d23fa83eac9c1b75d2added the distinctunadmitted_preflightdiagnostic without weakening owner-state mismatch checks.5e9edbb1c3df52e9f8ed1088e7b5e8d3273b85f0produced a hosted release-test RED requiring explicit candidate/non-authority classification.23df0e8369fa87b3c1bf569b3dcdba19fd850e16updates ADR-0017 while retainingProposed, immutable foreign-owner prerequisites, and the distinction between preflight and publication/activation.Predecessor GREEN does not transfer: merge acceptance applies only to one unchanged final exact head.
Acceptance
revokedapproval fails closed;Proposedstatus or claiming release/deployment;Related: #584, #36, #561.
Summary by CodeRabbit
새 기능
문서
Proposed로 유지됩니다.