Skip to content

[friction-curation] Dashboard map: new panels must reset module caches on workspace change - #8917

Merged
orbit-agent-01 merged 1 commit into
agent-mainfrom
orbit/ORB-23710-37340b03
Nov 9, 2026
Merged

orbit-agent-01 merged 1 commit into
agent-mainfrom
orbit/ORB-23710-37340b03

Conversation

@orbit-agent-01

Copy link
Copy Markdown
Contributor

Task

ORB-23710 — [friction-curation] Dashboard map: new panels must reset module caches on workspace change

Description

Outcome

Friction F2026-11-205: the dashboard implementer map's new-view pattern (docs/agents/dashboard-map.md section "Pattern a new panel or series copies", line ~32) tells an implementer to copy routing, API, JS module, tab and stylesheet wiring. It never says that common.js::requestPanel only resets panel DOM and fences request callbacks, and does not retire a module's own cached payloads. ORB-23686 (the concrete memory.js repair, still open) shows the consequence: memory.js keeps spaces, proposals and detail at module level (memory.js:21-25 at 3c8c7e8) with no onWorkspaceChange reset, so workspace A's detail painted in workspace B at 375px (ORB-23685 manual QA). Earlier scope-isolation misses (ORB-12672, ORB-14064, ORB-15660, ORB-19396, ORB-21549) show the class recurs.

Scope

Add guidance to the new-panel pattern: a panel that keeps module-level payloads registers an onWorkspaceChange reset of that state and of any local repaint paths (media-query or breakpoint repaints, inline mobile accordions). Its manual QA checks delayed reads and local repaints across an A→B→A workspace switch, including the 375px inline path. Name an existing module that does this correctly, verified at the candidate revision, as the example. Per the workspace guide, do not add UI tests.

This task leaves the memory.js code fix to ORB-23686.

Acceptance Criteria

  • docs/agents/dashboard-map.md's new-panel pattern states that requestPanel fencing does not invalidate module caches. It requires an onWorkspaceChange reset for module-level payloads and local repaint paths, and it names a verified example module with its path::symbol.
  • The guidance asks for manual A→B→A workspace-switch QA, including the 375px inline path, and does not ask for UI tests.
  • If the edit changes a generated docs/INDEX.md row, make docs-index and scripts/generate-doc-indexes.sh --check pass.

Execution Summary

Click to expand

Implemented ORB-23710: extended docs/agents/dashboard-map.md Pattern section with module-cache scope guidance. Criterion 1 PASS: new bullets state common.js::requestPanel only resets panel DOM and fences stale callbacks by workspace revision and does not invalidate module caches; require a common.js::onWorkspaceChange reset of every cached payload and local repaint path (media-query/breakpoint repaints, inline mobile accordions); names verified example crates/orbit-web/assets/dashboard/js/memory.js::retireMemoryCache (spaces/proposals/listRevision/detail cleared plus DOM, registered at memory.js:55, breakpoint repaint at memory.js:113; verified at base f75007f including fix 25bd069). Criterion 2 PASS: guidance requires manual A→B→A workspace-switch QA with delayed reads and local repaints including the 375px inline-accordion path, and explicitly says manual QA only, do not add UI tests. Criterion 3 PASS: edit touches no generated docs/INDEX.md row (dashboard-map has no INDEX row); scripts/generate-doc-indexes.sh --check passes. Validation: make ci-guards passed; cargo fmt --all -- --check passed; scripts/generate-doc-indexes.sh --check passed; git diff --check passed. Not run: Rust clippy/doc/tests (no Rust changed, docs-only); screenshots/manual browser QA (docs-only mechanical change, no UI changed). Reconciliation: baseline HEAD f75007f clean; final git status shows only M docs/agents/dashboard-map.md (2 insertions), within declared selector file:docs/agents/dashboard-map.md, no paths outside selectors, no untracked deliverables, .orbit/tmp holds only ignored scratch. Left uncommitted for pipeline. Note: task text describes ORB-23686 as still open at 3c8c7e8; at this base its fix has landed (25bd069), so the docs cite the now-correct memory.js as the example.

Validation

  • Not reported

Branch Freshness

  • Base ref: origin/agent-main
  • Head ref: orbit/ORB-23710-37340b03
  • Behind base: 0
  • Ahead of base: 1

…e … [ORB-23710]

[friction-curation] Dashboard map: new panels must reset module caches on workspace change
@orbit-agent-01 orbit-agent-01 added the orbit orbit related label Nov 9, 2026
@orbit-agent-01
orbit-agent-01 merged commit e885bc6 into agent-main Nov 9, 2026
15 checks passed
@orbit-agent-01
orbit-agent-01 deleted the orbit/ORB-23710-37340b03 branch November 9, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

orbit orbit related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant