multica-ai/multica · error
invalid outcome %q; valid values: action, no_action, failed
Error message
invalid outcome %q; valid values: action, no_action, failed
What it means
Error "invalid outcome %q; valid values: action, no_action, failed" thrown in multica-ai/multica.
Source
Thrown at server/cmd/multica/cmd_squad.go:463
Long: `Record the squad leader's evaluation decision for an issue.
Outcome must be one of:
action — leader delegated or took action
no_action — leader evaluated and decided no action needed
failed — leader encountered an error
This command is intended to be called by squad leader agents after each
trigger to record their decision in the issue timeline.`,
Args: exactArgs(2),
RunE: runSquadActivity,
}
func runSquadActivity(cmd *cobra.Command, args []string) error {
issueID := args[0]
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{View on GitHub (pinned to 2c0912b6ec)
Solutions
- Use an outcome of action, no_action, or failed.
When it happens
Trigger: Thrown at server/cmd/multica/cmd_squad.go:463 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/8ff36537add4c9cb.
Report an issue: GitHub.