-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem
The "Fix this" buttons in the compliance dashboard do not work as expected. Instead of directly initiating a fix, they redirect the user to a Claude.ai URL with a pre-filled prompt.
Example
Clicking "Fix this" for a compliance issue generates a URL like:
https://claude.ai/code?q=In%20kb%2Fdisorders%2FSemicircular_Canal_Dehiscence_Syndrome.yaml%20...&repo=monarch-initiative/dismech
This takes the user to Claude.ai with a prompt pre-filled, but the user then has to manually trigger the fix from there. The expected behavior would be for the fix to be applied directly or at minimum for the button to invoke a local Claude Code session (via CLI) rather than opening an external browser URL.
Expected Behavior
The "Fix this" button should either:
- Invoke a local
claudeCLI / Claude Code session that applies the fix directly in the repository, or - Open a GitHub issue or PR with the fix pre-populated, or
- At minimum, be clearly labeled as "Open in Claude.ai" to set correct user expectations.
Steps to Reproduce
- Run
just gen-dashboardto generate the compliance dashboard (dashboard/index.html). - Open the dashboard in a browser.
- Click any "Fix this" button next to a compliance issue.
- Observe that it redirects to
https://claude.ai/code?q=...rather than performing the fix locally.
Context
- The buttons are generated in the dashboard HTML (see
src/dismech/render.pyor the dashboard template). - The redirect URL pattern is
https://claude.ai/code?q=<prompt>&repo=monarch-initiative/dismech. - This workflow breaks when users do not have an active Claude.ai session or expect local automation.
Suggested Fix
Update the dashboard template so that "Fix this" links either:
- Use a
claude://URI scheme or invoke a local script if the intent is a local Claude Code action. - Are replaced with
gh issue createlinks that file a tracking issue for the fix. - Are clearly re-labeled to communicate that they open Claude.ai in the browser.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working