Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ and listed with their assets on the
service (`--init`, `--rm`, a name per instance). A file with `stop` says
`requires = "0.21.0"`.

### Fixed

- **The dashboard's prompts ask which branch a commit goes on.** They said
to ask before committing, not where: a coding agent took the branch
checked out, which may be another piece of work's. Each prompt now has
the agent name the branch when it asks.

## [0.20.0] - 2026-10-23

macOS as a developer platform in preview, installed with Homebrew on macOS
Expand Down
7 changes: 6 additions & 1 deletion crates/devstack-hub/src/prompts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub fn text(p: &Prompt) -> String {
let v = devstack_config::VERSION;
let at = format!("{REPO_URL}/blob/v{v}");
let about = "devstack (https://github.com/nuetzliches/devstack) runs a local development stack from a devstack.toml in the repository root: containers from the Compose files, native services built in the background, a change goes live once it is healthy.";
let careful = "Ask me before running anything that deletes data, and before committing.";
let careful = "Ask me before running anything that deletes data, and before committing, naming the branch: the branch checked out may hold other work.";
match *p {
Prompt::Setup { repo, drafted } => format!(
"Set up devstack for the repository at {repo}.
Expand Down Expand Up @@ -287,6 +287,11 @@ mod tests {
fn the_prompts_name_their_versions_and_references() {
let p = all("boom");
assert!(p[0].contains("Run `devstack init`"));
assert!(
p.iter()
.all(|q| q.contains("before committing, naming the branch")),
"every prompt asks before a commit, and on which branch"
);
assert!(p[1].contains("A draft devstack.toml exists"));
assert!(p[2].contains("```\nboom\n```"));
assert!(p[3].contains("last brought up to date with devstack 0.1.0"));
Expand Down
2 changes: 1 addition & 1 deletion ui/src/api/mock/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ export class MockTransport implements Transport {

1. Read the stack file reference.
2. Run \`devstack check\` and \`devstack doctor\`.
3. Ask me before committing.`, path: target });
3. Ask me before committing, naming the branch: the branch checked out may hold other work.`, path: target });
}
if (p === '/hub/agent' && method === 'POST') {
await sleep(400);
Expand Down
Loading