Fix and QA the McRitchie Studio sidebar bug where the sidebar trigger stops working after opening the sidebar, clicking a navigation option, then using browser Back. PR: https://github.com/amcritchie/mcritchie-studio/pull/25 Local proof URL from feature worktree: http://localhost:3006 Current QA-intake note: branch needs rebase on origin/main before Avi review.
Created
Jun 17, 21:31
Started
Jun 18, 03:42
Completed
Jun 18, 04:53
Error
Production validation failed: Mr. McRitchie reports the sidebar back-navigation issue is still visible on production after PR #25 shipped.
DevOps handoff
Type
Bug
Shape
—
Worktree Slug
sidebar-back-navigation-production
Repositories
mcritchie-studio
Release Train
2026-06-17-sidebar-back-fix
Branch
feat/sidebar-back-navigation-production
Local URL
http://localhost:3012QA URL
https://qa.mcritchie.studioProduction URL
https://mcritchie.studioAcceptance Criteria
Expected Test Plan
Checks Run
Stage Timeline
Who handled each stage, the time it took (measured), and the model / tokens / cost reported (best-effort) — plus who's on it right now. — means the agent didn't report that metric.
No stage changes recorded yet.
Conversation
QA review feedback, agent handoffs, and follow-up notes for this task.
PR #25 was merged and is included in current McRitchie Studio production. No corrective QA feedback needed; sidebar back-navigation fix is closed out with production v69 current at 479e18d.
Reopened after production validation: PR #25 shipped, but Mr. McRitchie can still reproduce the sidebar back-navigation issue on production. The previous closeout was based on merge/deploy health, not enough behavioral proof. Please reproduce against https://mcritchie.studio using the exact signed-in sidebar path, identify why the PR #25 bridge did not cover the production case, add/adjust regression coverage for that path, and return with a new PR or follow-up patch. Verify the gear trigger, username trigger, avatar trigger, and task/detail-page routes after browser Back.
Root cause: PR #25 added delegated trigger handling, but production could still restore the sidebar panel from Turbo/browser cache with stale Alpine x-show/display state. After Back, clicks updated Alpine.store('sidebars').linkTreeOpen and aria-expanded, while the cached panel stayed display:none/closed. The prior dashboard -> /agents gear-only regression did not cover the production task route or all signed-in triggers. Fix summary: Added deterministic sidebar bridge sync for the actual desktop/mobile panels on trigger, close, Escape, outside click, turbo:before-cache, turbo:load, and pageshow; removed sidebar transition directives that can be snapshotted mid-close; expanded Playwright coverage across /dashboard, /tasks, /tasks/task-ea8541e4b5b6, /agents, plus gear/username/avatar and logout. PR: https://github.com/amcritchie/mcritchie-studio/pull/33 Local URL: http://localhost:3012 Checks run: - Production repro before fix: Playwright probe against https://www.mcritchie.studio confirmed gear/avatar failures after Back on /dashboard, /tasks, /tasks/task-ea8541e4b5b6, and /agents. - Local repro before fix: same signed-in route/trigger matrix failed on current main in the worktree. - Local manual verification after fix: signed-in route/trigger matrix passed for gear, username, and avatar on /dashboard, /tasks, /tasks/task-ea8541e4b5b6, and /agents. - PATH="/opt/homebrew/opt/ruby@3.3/bin:$PATH" bundle exec rails test test/controllers/tasks_controller_test.rb test/controllers/magic_links_controller_test.rb (35 runs, 114 assertions, 0 failures) - PATH="/opt/homebrew/opt/ruby@3.3/bin:$PATH" E2E_PORT=3022 npm run test -- e2e/smoke.spec.js (16 passed) - git diff --check origin/main..HEAD - bin/agent-worktree finish mcritchie-studio sidebar-back-navigation-production (ready for QA)
PR #33 is now marked ready for review, and task-ea8541e4b5b6 remains in PR REVIEW with branch, PR URL, local URL, root cause, fix summary, and checks_run recorded. No production merge or deploy performed.
Avi merged PR #33 and deployed it to QA. QA currently runs main dd8af08 with the sidebar back-navigation production fix included. Please verify the original production repro on QA before production approval: gear, username, and avatar triggers after browser Back from /dashboard, /tasks, /tasks/task-ea8541e4b5b6, and /agents.
Production deployed in McRitchie Studio v70 (82b1791): Sidebar back-navigation production fix. Verify at https://mcritchie.studio.
Post-deploy production smoke passed on https://www.mcritchie.studio. Signed in through the normal magic-link flow as the McRitchie admin user and verified sidebar Back behavior across /dashboard, /tasks, /tasks/task-ea8541e4b5b6, and /agents for gear, username, and avatar triggers. All 12 route/trigger cases reopened the sidebar after Back and closed with Escape. No remaining closeout blocker from the feature agent side.
Sealed-bid sizing
Edit →Alex (PM)
—
Avi (PO)
—
Dev
—
Actual
—
We emailed a one-tap sign-in link to . It expires shortly and can only be used once.
No email? Check spam, or close this and try again.