| event_payload |
{"ref":"refs/heads/main","befo {"ref":"refs/heads/main","before":"ac78403907df9044bc809793d59271cae7d962cf","after":"e6bac4b7af2961c1c7b2c4839ced240fc45b6768","compare_url":"https://gitea.g-hi.com/luoanwu/enterprise-platform/compare/ac78403907df9044bc809793d59271cae7d962cf...e6bac4b7af2961c1c7b2c4839ced240fc45b6768","commits":[{"id":"e6bac4b7af2961c1c7b2c4839ced240fc45b6768","message":"chore(reports): 根链、工作台快照与浏览器回归回绑 @ e8a7a880(需-11门店维度)\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n","url":"https://gitea.g-hi.com/luoanwu/enterprise-platform/commit/e6bac4b7af2961c1c7b2c4839ced240fc45b6768","author":{"name":"juhailaoluo pro","email":"hillao@juhailaoluodeMacBook-Pro.local","username":""},"committer":{"name":"juhailaoluo pro","email":"hillao@juhailaoluodeMacBook-Pro.local","username":""},"verification":null,"timestamp":"2026-10-12T22:02:33-07:00","added":[],"removed":[],"modified":["reports/caddy.latest.json","reports/candidate-contracts.latest.json","reports/capability-acceptance.latest.json","reports/catalog-chg.latest.json","reports/catalog-drift.latest.json","reports/catalog-reconciliation.latest.json","reports/ci-mirror.latest.json","reports/cross-cutting-capabilities.latest.json","reports/doc-claims.latest.json","reports/evidence-freshness.latest.json","reports/fact-pii.latest.json","reports/facts.latest.json","reports/fixture-coverage.latest.json","reports/fixtures.latest.json","reports/gate-flow.latest.json","reports/migration-decs.latest.json","reports/module-imports.latest.json","reports/otel.latest.json","reports/release-drift.latest.json","reports/stub-surface.latest.json","reports/workbench-catalog-snapshot.latest.json","reports/workbench-ops-snapshot.latest.json","reports/workbench-ui.latest.json","runtime/reports/agent-adapters.latest.json","runtime/reports/conformance-matrix.latest.json","runtime/reports/contract-consumers.latest.json","runtime/reports/docs-truth.latest.json","runtime/reports/dual-backend-parity.latest.json","runtime/reports/fork-readiness.latest.json","runtime/reports/governance-docs.latest.json","runtime/reports/governance-rules.latest.json","runtime/reports/governance-status.latest.json","runtime/reports/governance.latest.json","runtime/reports/migrations.latest.json","runtime/reports/naming.latest.json","runtime/reports/permission-catalog.latest.json","runtime/reports/platform-ops-definitions.latest.json","runtime/reports/runtime-governance.latest.json","runtime/reports/schema-sync.latest.json","runtime/reports/statemachine-write-guard.latest.json","runtime/reports/validation-source.latest.json"]},{"id":"e8a7a880ec5f2794af96209efdfee8f670c89707","message":"feat(scope): 门店维度——门店挂在所分配的组织单元下(02 需-11,机制已建、未生效)\n\n用户 10-12 定需-11 取两层:门店里按动作、按有效期的授权在 EES AuthorityAssignment(已可用);04 Scope\n加 store 维度,让 PDP 过滤调用方可达的门店。门店分配事实 StoreOrgAssignmentChanged 尚无生产方\n(pending-dec,DEC-003/DEC-039),故先建机制、不生效。\n\n- @juhai/client-scope(rc.8 工作版本):ScopeDimension 加 store、导出 SITE_ID / SCOPE_DIMENSIONS;门店快照\n = 组织树 + 每家门店挂在被分配单元及其所有上级下(unitType store);门店检查带 resourceSiteId,\n resourceOrganizationId 须为快照里该门店的直属单元,且执行者单元包含它。门店行与 site_ 水位只许出现在门店快照。\n- @juhai/client-permission scoped:绑定维度加 store,store 必带 resourceSiteId、其余维度不得带。\n- module-scope:buildStoreClosure;StoreOrgAssignmentChanged 校验与按门店版本链回放(store-assignment-fact.ts);\n recordSourceFact 两类来源共用账本;组织/部门/团队快照不读门店事实;投影器与 HTTP 读面、事实中继认 store;\n 迁移 202610120001 只放宽维度检查约束。在线解析 scope-resolve 仍只三个维度(HR Owner 无门店范围)。\n- 契约:快照 HTTP 候选与 Zod 维度加 store;解析请求改用独立的三值 scopeResolveTypeSchema。\n- 测试:SDK 33、permission 63、module 115、contracts 60 通过;Scope 持久化 e2e 22/22(自建临时 PG,含门店\n 事实入账、门店快照发布与过期、组织快照不受影响、库约束);scope-http / scope-facts e2e 未在本机跑。\n- 文档:SDK 与模块 README。\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n","url":"https://gitea.g-hi.com/luoanwu/enterprise-platform/commit/e8a7a880ec5f2794af96209efdfee8f670c89707","author":{"name":"juhailaoluo pro","email":"hillao@juhailaoluodeMacBook-Pro.local","username":""},"committer":{"name":"juhailaoluo pro","email":"hillao@juhailaoluodeMacBook-Pro.local","username":""},"verification":null,"timestamp":"2026-10-12T21:54:07-07:00","added":["runtime/modules/scope/prisma/migrations/202610120001_scope_store_dimension/migration.sql","runtime/modules/scope/src/domain/store-closure.test.ts","runtime/modules/scope/src/domain/store-closure.ts","runtime/modules/scope/src/persistence/store-assignment-fact.test.ts","runtime/modules/scope/src/persistence/store-assignment-fact.ts"],"removed":[],"modified":["contracts/candidates/contracts/scope-snapshot-http.v1.openapi.json","governance/lib/mainline-evidence.mjs","runtime/clients/permission/src/scoped.test.ts","runtime/clients/permission/src/scoped.ts","runtime/clients/scope/README.md","runtime/clients/scope/src/index.test.ts","runtime/clients/scope/src/local.ts","runtime/clients/scope/src/remote.ts","runtime/modules/scope/README.md","runtime/modules/scope/src/domain/index.ts","runtime/modules/scope/src/domain/organization-closure.ts","runtime/modules/scope/src/index.ts","runtime/modules/scope/src/persistence/fact-projector.ts","runtime/modules/scope/src/persistence/http-runtime.ts","runtime/modules/scope/src/persistence/scope-fact-relay.test.ts","runtime/modules/scope/src/persistence/scope-fact-relay.ts","runtime/modules/scope/src/persistence/scope-store.ts","runtime/packages/contracts/src/platform-http.ts","runtime/test/e2e/scope-persistence.test.ts"]}],"total_commits":0,"head_commit":{"id":"e6bac4b7af2961c1c7b2c4839ced240fc45b6768","message":"chore(reports): 根链、工作台快照与浏览器回归回绑 @ e8a7a880(需-11门店维度)\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n","url":"https://gitea.g-hi.com/luoanwu/enterprise-platform/commit/e6bac4b7af2961c1c7b2c4839ced240fc45b6768","author":{"name":"juhailaoluo pro","email":"hillao@juhailaoluodeMacBook-Pro.local","username":""},"committer":{"name":"juhailaoluo pro","email":"hillao@juhailaoluodeMacBook-Pro.local","username":""},"verification":null,"timestamp":"2026-10-12T22:02:33-07:00","added":[],"removed":[],"modified":["reports/caddy.latest.json","reports/candidate-contracts.latest.json","reports/capability-acceptance.latest.json","reports/catalog-chg.latest.json","reports/catalog-drift.latest.json","reports/catalog-reconciliation.latest.json","reports/ci-mirror.latest.json","reports/cross-cutting-capabilities.latest.json","reports/doc-claims.latest.json","reports/evidence-freshness.latest.json","reports/fact-pii.latest.json","reports/facts.latest.json","reports/fixture-coverage.latest.json","reports/fixtures.latest.json","reports/gate-flow.latest.json","reports/migration-decs.latest.json","reports/module-imports.latest.json","reports/otel.latest.json","reports/release-drift.latest.json","reports/stub-surface.latest.json","reports/workbench-catalog-snapshot.latest.json","reports/workbench-ops-snapshot.latest.json","reports/workbench-ui.latest.json","runtime/reports/agent-adapters.latest.json","runtime/reports/conformance-matrix.latest.json","runtime/reports/contract-consumers.latest.json","runtime/reports/docs-truth.latest.json","runtime/reports/dual-backend-parity.latest.json","runtime/reports/fork-readiness.latest.json","runtime/reports/governance-docs.latest.json","runtime/reports/governance-rules.latest.json","runtime/reports/governance-status.latest.json","runtime/reports/governance.latest.json","runtime/reports/migrations.latest.json","runtime/reports/naming.latest.json","runtime/reports/permission-catalog.latest.json","runtime/reports/platform-ops-definitions.latest.json","runtime/reports/runtime-governance.latest.json","runtime/reports/schema-sync.latest.json","runtime/reports/statemachine-write-guard.latest.json","runtime/reports/validation-source.latest.json"]},"repository":{"id":116,"owner":{"id":5,"login":"luoanwu","login_name":"","source_id":0,"full_name":"","email":"law@g-hi.com","avatar_url":"https://gitea.g-hi.com/avatar/627574a890388a2aadc80ab38d22f3a0","html_url":"https://gitea.g-hi.com/luoanwu","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-01-30T16:28:30+08:00","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"luoanwu"},"name":"enterprise-platform","full_name":"luoanwu/enterprise-platform","description":"","empty":false,"private":false,"fork":false,"template":false,"mirror":false,"size":52868,"language":"","languages_url":"https://gitea.g-hi.com/api/v1/repos/luoanwu/enterprise-platform/languages","html_url":"https://gitea.g-hi.com/luoanwu/enterprise-platform","url":"https://gitea.g-hi.com/api/v1/repos/luoanwu/enterprise-platform","link":"","ssh_url":"git@gitea.g-hi.com:luoanwu/enterprise-platform.git","clone_url":"https://gitea.g-hi.com/luoanwu/enterprise-platform.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":53,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"2026-09-11T07:33:25+08:00","updated_at":"2026-10-13T12:58:15+08:00","archived_at":"1970-01-01T08:00:00+08:00","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":true,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"0001-01-01T00:00:00Z","topics":[],"licenses":[]},"pusher":{"id":5,"login":"luoanwu","login_name":"","source_id":0,"full_name":"","email":"5+luoanwu@noreply.localhost","avatar_url":"https://gitea.g-hi.com/avatar/627574a890388a2aadc80ab38d22f3a0","html_url":"https://gitea.g-hi.com/luoanwu","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-01-30T16:28:30+08:00","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"luoanwu"},"sender":{"id":5,"login":"luoanwu","login_name":"","source_id":0,"full_name":"","email":"5+luoanwu@noreply.localhost","avatar_url":"https://gitea.g-hi.com/avatar/627574a890388a2aadc80ab38d22f3a0","html_url":"https://gitea.g-hi.com/luoanwu","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-01-30T16:28:30+08:00","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"luoanwu"}}... |