Branch: codex/governance-terminology-hard-cut-exec
- Unit 1 (boundary scaffold): partial
- Unit 2 (auth policy boundary cutover): partial
- Unit 3 (canonical contract + workflow secret baseline): done
- Unit 4 (single-window consumer contract cutover): partial
- Unit 5 (docs/gate closeout): partial
- Three parallel lanes executed for status revalidation:
- Lane A: Unit 1 + Unit 2
- Lane B: Unit 3 + Unit 4
- Lane C: Unit 5 + Gate traceability
- Unit 3 is technically complete and test-covered.
- Unit 1/2/4/5 are behavior-mostly-green but not fully plan-file-parity-complete.
- A gate-trace mismatch remains between plan naming (
G0/G1/G2/G3) and execution log naming (Gate A/B/C).
pnpm run backend:capability-boundary:checkpasspnpm --filter @text2sql/backend exec jest --runInBand test/unit/capability-boundary-check.spec.ts test/integration/policy-evaluator.spec.ts test/e2e/workspace-datasource-authz.spec.ts test/e2e/user-workspace-authz.spec.tspasspnpm --filter @text2sql/backend exec jest --runInBand test/e2e/datasource-workflow-api.spec.ts test/e2e/workspace-datasource-api.spec.ts test/e2e/chat-table-permissions-policy.spec.ts test/integration/datasource-service.spec.tspasspnpm run governance:terminology:checkpass (legacy module list line marked withgovernance-terminology:allow-legacy)
- Complete Unit 2 governance access guard ownership landing.
- Reconcile Unit 4 plan-listed declaration file expectation (
api.d.ts) with actual shared-types generation/runtime path. - Align and close gate records (G0/G1/G2/G3) with owner sign-off evidence.
- Full execution notes:
docs/plans/2026-04-18-004-refactor-governance-domain-terminology-hard-cut-execution-log.md - Working tracker:
docs/plans/2026-04-18-004-refactor-governance-domain-terminology-hard-cut-progress-tracker.md