25 lines
982 B
Go
25 lines
982 B
Go
package orch
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
func newCouncilCmd(root *rootOptions) *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "council",
|
|
Short: "Council review workflow commands",
|
|
Long: helpLong(
|
|
"Use council commands for the three-reviewer analysis workflow built on top of orch runs, tasks, and inbox threads.",
|
|
"council is analysis-oriented and is meant for grouped review output rather than direct code-writing execution.",
|
|
),
|
|
Example: ` orch --db .agents/coord.db council start --run council_blog_001 --target "Review the current architecture."
|
|
orch --db .agents/coord.db council wait --run council_blog_001 --timeout-seconds 600
|
|
orch --db .agents/coord.db council tally --run council_blog_001
|
|
orch --db .agents/coord.db council report --run council_blog_001`,
|
|
}
|
|
|
|
cmd.AddCommand(newCouncilStartCmd(root))
|
|
cmd.AddCommand(newCouncilWaitCmd(root))
|
|
cmd.AddCommand(newCouncilTallyCmd(root))
|
|
cmd.AddCommand(newCouncilReportCmd(root))
|
|
return cmd
|
|
}
|