diff --git a/.project-docs/30-worklog/current-state.md b/.project-docs/30-worklog/current-state.md index 1feb210..59e2eb9 100644 --- a/.project-docs/30-worklog/current-state.md +++ b/.project-docs/30-worklog/current-state.md @@ -23,6 +23,7 @@ This file is the integrated default-branch snapshot. Feature tasks record progre - Merge commit `b5f5847` integrating source commit `6f9fd0f` from task `20260902-agentbus-account-routing-b62f19e4` for employee-owned AgentBus channels, immutable task assignees, matching single-browser ERP workers, migration 018, and extension `0.5.164`. - Merge commit `cc09506` integrating source commit `b1fe533` from task `20260902-dashboard-metrics-static-a91c` for display-only dashboard metric cards and explicit status filtering. - Integration task `20260902-integrate-all-push-c93a7f21` for all-worktree reconciliation, semantic merge resolution, canonical promotion, full verification, and synchronization of `main` to `origin/main`. +- Merge commit `336ca6e` integrating source commit `b26001e` from task `20260902-account-permission-ui-6c9e21ad` for a scroll-safe account task-permission editor layout and focused regression coverage. ## Current Focus @@ -46,6 +47,7 @@ Operate the repository's current `0.5.164` extension baseline and fixed-scope ac - 2026-09-02: Restarted the standard `127.0.0.1:8786` control plane from current local `main` after the roster integration; liveness, database readiness, schema migration 017, and repeated listener stability checks passed. AgentBus remained enabled but disconnected, matching the pre-restart observation. - 2026-09-02: Integrated migration 018 and extension `0.5.164` so each enabled AgentBus channel binds one non-admin employee, each task keeps an immutable execution assignee, administrators cannot execute another assignee's work, and only one fresh browser with the matching ERP account is execution-ready. - 2026-09-02: Reworked leadership-dashboard reads into a bounded one-connection transaction with business SQL prefiltering, selective message hydration, page-only detail hydration, request/database deadlines, and 20-row pages; metric cards are now display-only and explicit filters default to all results. +- 2026-09-02: Corrected the account-management task-permission editor so opening it expands a dedicated five-row layout, keeps the account list below the editor, and allows vertical page scrolling on desktop and narrow screens without changing authorization semantics. ## In Progress diff --git a/.project-docs/30-worklog/tasks/20260902-integrate-account-permission-ui-e4c8a17b.md b/.project-docs/30-worklog/tasks/20260902-integrate-account-permission-ui-e4c8a17b.md new file mode 100644 index 0000000..33132e7 --- /dev/null +++ b/.project-docs/30-worklog/tasks/20260902-integrate-account-permission-ui-e4c8a17b.md @@ -0,0 +1,54 @@ +# Task: Integrate account permission UI fix + +## Identity + +- Task ID: 20260902-integrate-account-permission-ui-e4c8a17b +- Mode: Integration +- Branch: codex/20260902-integrate-account-permission-ui-e4c8a17b-integrate-account-permission-ui-e4c8a17b +- Worktree: /Users/inmanx/Documents/lwltAPI-integrate-account-permission-ui-e4c8a17b +- Base commit: a618d3dd9fd8aa4e6f9a22e81b9b65452185b86a +- Owner: codex +- Status: In progress + +## Scope + +- Integrate source commit `b26001e039eaee51a3588f06194e0db9d8c72457` from task `20260902-account-permission-ui-6c9e21ad` into the latest `origin/main` baseline. +- Keep the source task record intact on its source branch, merge the account-permission UI correction and regression coverage, and record the integrated commit in canonical current state. +- Run the required project-document and full repository verification, then advance `origin/main` with normal non-force pushes and verify its final commit. + +## Intent And Constraints + +- The user explicitly authorized merging the completed account-permission UI fix into `main` and pushing it to the repository. +- Preserve AUTH-001, all three roles, all 18 route-grant semantics, account ownership, APIs, and runtime behavior; this integration changes only the task-permission editor presentation, cache token, and regression coverage. +- Keep every operation inside the exclusively owned integration worktree because the main checkout remains owned and contains another task's record. +- Do not read `.env`, deploy, restart services, access ERP, or mutate real accounts, tasks, channels, database state, or other external runtime state. +- Use a normal non-force push only after confirming `origin/main` has not advanced beyond the recorded base. + +## Outcome + +- Verified that source commit `b26001e` is the sole commit above `origin/main` and that `origin/main` is its direct ancestor; the six-file source diff passed `git diff --check`. +- Merged the source branch without conflict through merge commit `336ca6e7de9aba1123451a066902a520a3963563`, keeping the source task record on its source branch as required by the Integration Gate. +- Added the source and merge facts to canonical current state without changing AUTH-001 or business rules because the source task has no promotion candidate and preserves authorization semantics. +- The fully merged tree passed repository hygiene, type checking, control-plane and legacy regressions, and production build; remote synchronization is in progress. + +## Verification + +- Source task verification: focused account authorization 11/11, control plane 159/159, legacy 265/265, repository/type/build checks, and desktop/narrow browser geometry and pointer-interaction checks passed. +- Integration source audit: `origin/main` was `a618d3dd9fd8aa4e6f9a22e81b9b65452185b86a`, source was `b26001e039eaee51a3588f06194e0db9d8c72457`, and `git merge-base --is-ancestor origin/main ` passed. +- `node --run check:repo`: 10 passed, 0 failed. +- `node --run check`: passed. +- `node --run test:control-plane`: 159 passed, 0 failed. +- `node --run test:legacy`: 265 passed, 0 failed. +- `node --run build`: passed. +- `check_project_docs.py`: passed. +- `check_doc_drift.py --task-id 20260902-integrate-account-permission-ui-e4c8a17b`: passed after retaining the source task record only on its source branch. +- `git diff --check` passed, and conflict-marker scanning returned no matches. +- Final remote-ref verification is pending. + +## Follow-ups + +- No runtime rollout is included; a service restart or deployment remains separately authorized work if needed. + +## Promotion Candidates + +- None recorded.