From fe6fec437a3c1521d76f7521b7a8f4b809dadc72 Mon Sep 17 00:00:00 2001 From: Steve Yegge Date: Sun, 21 Dec 2025 22:57:48 -0800 Subject: [PATCH] fix: remove slice bounds panic in mol run output (bd-987a) The code assumed rootID was at least 8 chars, but issue IDs like 'gt-i4lo' are only 7 chars (prefix-hash format). Simply use the full ID instead of truncating - IDs are already short enough for display. --- cmd/bd/mol_run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/bd/mol_run.go b/cmd/bd/mol_run.go index cd14cf68..82861b89 100644 --- a/cmd/bd/mol_run.go +++ b/cmd/bd/mol_run.go @@ -127,7 +127,7 @@ func runMolRun(cmd *cobra.Command, args []string) { fmt.Printf(" Assignee: %s\n", actor) fmt.Println("\nNext steps:") fmt.Printf(" bd ready # Find unblocked work in this molecule\n") - fmt.Printf(" bd show %s # View molecule status\n", rootID[:8]) + fmt.Printf(" bd show %s # View molecule status\n", rootID) } func init() {