Skip to content

fix(web): file panel no longer serves stale files after agent edits - #7627

Closed
flamboh wants to merge 8 commits into
pingdotgg:mainfrom
flamboh:fix/file-panel-checkpoint-refresh
Closed

flamboh wants to merge 8 commits into
pingdotgg:mainfrom
flamboh:fix/file-panel-checkpoint-refresh

Merge branch 'main' into fix/file-panel-checkpoint-refresh

45d284f
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - UI Consistency succeeded Aug 25, 2026 in 16s

UI Consistency: No findings

All clear

Details

Note

Your check run agent prompt is: .macroscope/check-run-agents/ui-consistency.md
More information about how Check Run Agents work can be found in our Help Center.

The diff is limited to checkpoint-driven query refresh logic: a new apps/web/src/components/files/checkpointFileRefresh.ts module (atoms, scope reconciliation, path matching) plus its unit tests, and a hook wiring change in FilePreviewPanel.tsx. No shared UI primitives, Tailwind class strings, CSS files, theme variables, scroll/mask behavior, or accessibility attributes were changed. The only JSX edit substitutes the extracted explorerVisible boolean for the inline explorerOpen || relativePath === null expression, which is behaviorally identical and preserves the existing rendered markup and styling.


🔍 Agent activity — reasoning, no tool calls

💭 This PR only touches data refresh logic, swapping an equivalent condition in FilePreviewPanel with no styling or UI changes involved, so my assessment is "All clear" — though I need to reconcile that with the requirement to output valid JSON per the schema. I'll resolve this by producing structured JSON with a summary field stating "All clear," and since there are no actual findings or issues, the overall state should be marked as success rather than failure.


Agent Credits: 22 credits