You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds the Friction Log page with dated digests, P0 alerts, recurring patterns, findings, spend, Markdown export, and an on-demand build action where the server allows it.
Links stored findings from the session signal panel and adds Friction Log navigation from Quality.
Why
The API and CLI expose the review, but users need to see what happened on a given day and follow a finding back to the exact session message before acting on it.
Usage
Open Friction Log from the header or /friction. Choose a date, inspect the linked findings, or use Build now for missing completed days. Read-only servers show stored digests without the build action.
Part 7 of 15 in the stacked Friction Log series. Depends on #1936; screenshot asset #1939 supports its docs check. GitHub shows the cumulative diff against main; review the PR07-only diff. Merge PR06 first. Refresh this branch against main and confirm its diff is scoped to PR07 before merging.
cmd/agentsview/main.go:323: Production sync engines never receive FrictionConfig, so configured seat patterns are parsed and validated but never recorded; disabling friction also stops only the digest runner while findings continue to be computed and persisted. Wire the compiled dimension resolver and enabled flag into every production engine construction path, and gate friction computation and backfill accordingly.
Reported by: codex
internal/db/friction_digest.go:85; internal/db/friction_list.go:133: Read-only archives may omit friction tables, but higher-level friction queries directly access them and fail with missing-table errors instead of returning empty results. Apply optional-table capability checks to every friction reader or branch queries when optional tables are absent.
Reported by: codex
internal/server/huma_routes_metadata.go:181; frontend/src/lib/components/layout/AppHeader.svelte:98: friction_available depends on a write runner, causing read-only servers with stored digests to hide the Friction Log entirely. Expose separate read and build capabilities; use read capability for navigation and digest reads, and build capability only for review execution.
Reported by: codex
internal/service/friction_direct.go:11: directBackend.SupportsFriction always returns true, so PostgreSQL, DuckDB, and ClickHouse paths can advertise friction tools without verified read-table support and fail at runtime. Base capability reporting on verified friction read support and suppress MCP tool registration for unsupported backends.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Why
The API and CLI expose the review, but users need to see what happened on a given day and follow a finding back to the exact session message before acting on it.
Usage
Open Friction Log from the header or
/friction. Choose a date, inspect the linked findings, or use Build now for missing completed days. Read-only servers show stored digests without the build action.Part 7 of 15 in the stacked Friction Log series. Depends on #1936; screenshot asset #1939 supports its docs check. GitHub shows the cumulative diff against
main; review the PR07-only diff. Merge PR06 first. Refresh this branch againstmainand confirm its diff is scoped to PR07 before merging.Refs #1908