feat(workforce): add same-cutoff composition change evidence - #54
feat(workforce): add same-cutoff composition change evidence#54seonghobae wants to merge 63 commits into
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthrough동일한 ChangesWorkforce composition 변경 비교
Estimated code review effort: 4 (Complex) | ~45 minutes Merge Risk: 🟡 Moderate · up to The change adds same-cutoff workforce composition evidence, but the current commit is not merge-ready because one check is failing and no approving review is recorded. Merge should wait for a passing current-head check and fresh approval. Sequence Diagram(s)sequenceDiagram
participant 호출자
participant build_workforce_composition_change_snapshot
participant build_workforce_composition_snapshot
participant WorkforceCompositionChangeSnapshot
호출자->>build_workforce_composition_change_snapshot: 두 effective_on과 known_at 전달
build_workforce_composition_change_snapshot->>build_workforce_composition_snapshot: 동일 cutoff으로 각 유효일 스냅샷 생성
build_workforce_composition_snapshot-->>build_workforce_composition_change_snapshot: 검증된 WorkforceCompositionSnapshot 반환
build_workforce_composition_change_snapshot->>WorkforceCompositionChangeSnapshot: 집계 차이와 식별 정보 결합
WorkforceCompositionChangeSnapshot-->>호출자: canonical JSON 및 SHA-256 digest 반환
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 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 |
|
Verified against exact head |
|
Exact-current-head local refresh: remote head is now |
Dismissed as stale predecessor evidence only. This REQUEST_CHANGES review is explicitly bound to head cc6784ec33b1145c342bbbb99ebece1d37aeec80 and workflow run 32790319079. The current PR head is 90e2cffdafb2ca385359068b53f5ca1dc437a5af; predecessor checks/reviews do not transfer. Dismissal is not approval and does not satisfy any current-head gate. A fresh authenticated formal OpenCode verdict and all other current-head required evidence remain mandatory.
|
@opencode-agent Please review exact current head |
Current authority — 2026-09-06
Current exact head is
90e2cffdafb2ca385359068b53f5ca1dc437a5af. Live protected truth isdevelop@eb9757f8649aaad026a9865508d9aad50c1a7a4f; this PR still carries the older base snapshot9e3e4847510e1e612b48474ba42b177b8ed824df. GitHub currently reports it open · Draft · non-mergeable. Earliernon-draft · mergeablewording was stale lifecycle metadata and is not acceptance evidence.The valid Workforce Intelligence delta remains retained: same-recorded-cutoff workforce-composition comparison with deterministic evidence, bitemporal tenant scope, employment/assignment/FTE/status aggregates, and exact 100% owned statement/branch coverage on its historical head. Do not Close or discard that delta merely because protected repository-quality ownership advanced independently.
Historical exact-head evidence
On unchanged feature head
90e2cff..., Workforce Intelligence Quality33329979690passed 232/232 HRIS-kernel tests; 876/876 statements and 360/360 branches = 100.00%. Recovery33329979684passed exact-head repository validation and real cross-cluster dump/restore. Foundation, Job-Analysis API, People API, Requisition Review, Selection Review, and SAST were also terminal GREEN on that old-base head. Existing inline review threads are resolved.Those results remain useful predecessor evidence but do not transfer across the required protected-parent reconciliation.
The same historical head also had required control-plane failures that were not Orgmetra source verdicts: Security
33329979836reached exact checkout but Dependency Review support failed on the central HTTP 403 boundary tracked by.github#810; OpenCode verifier99307012940lacked an authenticated formal verdict bound to this exact head, with owner path.github#624; Noema skipped substantive review because that primary verdict was absent; Strix33329978855materially reached the scanner but the contextual-orchestrator route rejected Strix's multi-tool request shape, leaving provider-unavailable evidence owned by.github#798. No qualifying independent non-authorAPPROVEDreview is current.Required repair path
This is a protected-parent repair lane, not a merge candidate in its current form. Semantically adopt current
develop@eb9757f...without force/destructive rebase, preserve #161's canonical Foundation/recovery ownership and all valid Workforce Intelligence code/tests/ADR/traceability, resolve real file/provenance conflicts, and regenerate deterministic manifest evidence from the final bytes. Any retired package-local workflow present in the old feature ancestry must remain retired; useful package-specific coverage or artifact contracts belong in the canonical Foundation owner path rather than being resurrected.Only the reconciled successor may receive fresh current-head Foundation/PostgreSQL/recovery/security/OpenCode/Noema/Strix evidence and any then-required qualifying approval. Do not self-approve, use routine administrator bypass, weaken/simulate gates, transfer predecessor GREEN, manufacture reviewer identity, mutate a dedicated-writer dependency, force-push, or simply Close the valid workforce delta.