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
15 changes: 3 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
# These are cross-major-version splits not controllable without upstream changes.
skip = [
{ name = "core-foundation" },
{ name = "crossterm" },
{ name = "getrandom" },
{ name = "hashbrown" },
{ name = "linux-raw-sys" },
{ name = "rustix" },
{ name = "thiserror" },
{ name = "thiserror-impl" },
{ name = "unicode-width" },
{ name = "windows-sys" },
{ name = "windows-targets" },
{ name = "windows_aarch64_gnullvm" },
Expand Down
5 changes: 4 additions & 1 deletion ui/tui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
crossterm = { version = "0.28", features = ["event-stream"] }
domain = { path = "../../domain" }
futures = "0.3"
itertools = "0.14"
# Pinned to 0.13 to unify with ratatui 0.29, which also depends on itertools 0.13.
# cargo-deny's bans check rejects duplicate versions; only with_position()/Position
# are used here, an API present in both 0.13 and 0.14. Bump in lockstep with ratatui.
itertools = "0.13"
open = "5"
pulldown-cmark = { version = "0.13", default-features = false }
# Pinned to 0.29 to unify with tui-textarea 0.7, which also depends on 0.29.
Expand Down
10 changes: 9 additions & 1 deletion workflows/src/dispatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pub(crate) fn build_task_prompt(task: &Task) -> String {
(<slug> is a short kebab-case summary of the task title)"
));
lines.push(format!(
"2. hub task link {id} ~/.hub/agent-session-logs/{id}-<slug>.md"
"2. hub task link {id} --value ~/.hub/agent-session-logs/{id}-<slug>.md"
));
lines.push(format!("3. hub task report {id} --status in-review"));
lines.push(String::new());
Expand Down Expand Up @@ -935,5 +935,13 @@ mod tests {
completion_section.contains("hub task report TASK-0099 --status in-review"),
"completion steps must include the full report command"
);
// The link command requires the --value flag; without it the CLI
// rejects a bare path argument, so the injected instruction must match.
assert!(
completion_section.contains(
"hub task link TASK-0099 --value ~/.hub/agent-session-logs/TASK-0099-<slug>.md"
),
"completion steps must use the --value flag for the link command"
);
}
}
Loading