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.
This commit is contained in:
Steve Yegge
2025-12-21 22:57:48 -08:00
parent 91b4857eb6
commit fe6fec437a

View File

@@ -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() {