multica-ai/multica · error
resolve issue: %w
Error message
resolve issue: %w
What it means
Error "resolve issue: %w" thrown in multica-ai/multica.
Source
Thrown at server/cmd/multica/cmd_squad.go:478
outcome := args[1]
if outcome != "action" && outcome != "no_action" && outcome != "failed" {
return fmt.Errorf("invalid outcome %q; valid values: action, no_action, failed", outcome)
}
reason, _ := cmd.Flags().GetString("reason")
client, err := newAPIClient(cmd)
if err != nil {
return err
}
ctx, cancel := cli.APIContext(context.Background())
defer cancel()
issueRef, err := resolveIssueRef(ctx, client, issueID)
if err != nil {
return fmt.Errorf("resolve issue: %w", err)
}
body := map[string]any{
"outcome": outcome,
"reason": reason,
}
var result map[string]any
if err := client.PostJSON(ctx, "/api/issues/"+issueRef.ID+"/squad-evaluated", body, &result); err != nil {
return fmt.Errorf("record evaluation: %w", err)
}
fmt.Fprintf(os.Stderr, "Squad evaluation recorded: %s (issue %s)\n", outcome, issueRef.Display)
output, _ := cmd.Flags().GetString("output")
if output == "json" {
return cli.PrintJSON(os.Stdout, result)
}
return nilView on GitHub (pinned to 2c0912b6ec)
Solutions
- Verify the issue key or ID exists.
When it happens
Trigger: Thrown at server/cmd/multica/cmd_squad.go:478 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of multica-ai/multica@2c0912b6ec (2026-08-15).
Data as JSON: /api/errors/ac7c174c83e07b05.
Report an issue: GitHub.