mirror of
https://github.com/boshu2/agentops.git
synced 2026-09-14 15:08:13 +08:00
28 lines
616 B
Go
28 lines
616 B
Go
package main
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var rpiCmd = &cobra.Command{
|
|
Use: "rpi",
|
|
Short: "RPI lifecycle automation",
|
|
Long: `Commands for automating the RPI lifecycle.
|
|
|
|
Commands:
|
|
loop Run continuous RPI cycles from next-work queue
|
|
|
|
The RPI loop reads .agents/rpi/next-work.jsonl for harvested work items
|
|
and spawns fresh Claude sessions for each cycle using the phased
|
|
Discovery -> Implementation -> Validation workflow (Ralph Wiggum pattern).`,
|
|
}
|
|
|
|
func init() {
|
|
rpiCmd.GroupID = "workflow"
|
|
rootCmd.AddCommand(rpiCmd)
|
|
}
|
|
|
|
func addRPISubcommand(cmd *cobra.Command) {
|
|
rpiCmd.AddCommand(cmd)
|
|
}
|