Repository navigation
feat(dashboard): the dashboard writes no file of a repository; prompts instead (ADR-0071) - #327
Merged
Merged
Conversation
…s instead (ADR-0071)
"Refresh skills", "Create draft" and "Copy the main tree's" wrote files
into the repository that nobody had read. Each is a prompt for a coding
agent now: the new `skills` prompt, `setup` (which runs `devstack init`),
`lane-file`. The hub's routes that wrote (`POST /hub/stacks/init`,
`POST /hub/stacks/{id}/skills`, `POST /hub/stacks/{id}/worktrees/stack-file`)
are gone.
While the stack file is behind, the upgrade banner speaks for the agent
skills too; hiding it hides both until the next minor (before, the
skills banner came up in its place).
ADR-0071 accepted; ADR-0055 point 4 replaced, ADR-0046 gains `skills`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why
Three buttons wrote files into the user's repository through the hub, files nobody had read and someone else would commit: "Refresh skills" (also in the "stack file behind" banner, where it left
[stack] reviewedbehind and skipped the check of the project's own skills), "Create draft" in "Add a stack", and "Copy the main tree's" for a worktree without a stack file. Each had a prompt beside it doing the same and more.Also a bug from #320: hiding the "stack file behind" banner brought the skills banner up in its place with the same news.
What (ADR-0071, accepted by the owner)
POST /hub/stacks/init,POST /hub/stacks/{id}/skills,POST /hub/stacks/{id}/worktrees/stack-fileremoved (andbranches::give_stack_file).GET .../skillsstays. New prompt kindskills(prompts.rs):devstack --version,devstack skills install, read the diff, check the project's own skills, CLAUDE.md, AGENTS.md.skillsprompt (compact: start in the agent, or copy/show) instead of the button; while the stack file is behind it stays away for "older" skills, so hiding the upgrade banner hides both until the next minor.setupprompt (it runsdevstack init), and the hint to copy it or rundevstack initby hand.lane-fileprompt is the banner's action.devstack init,devstack skills install).Tests
tests/hub.rs: the three routes answer 405/404 and write nothing; thesetupandskillsprompts name their commands.prompts.rs: the new prompt fits a link, asks before committing.build:mock. The banners were not clicked through in a browser.🤖 Generated with Claude Code