Mention trail findings in trail help · Entire

Mention trail findings in trail help

e52b748→main·

dipree·2w ago·2 files·+6 added/-2 removed

Sessions

c04e8ddfd9cfView transcript

[?
Trail Finding and Pi Review Token DeduplicationPi·GPT-5.5·2 steps](/content/gh/entireio/cli/session/019f1893-b810-7992-afb4-8c4bddc4ae3c#timeline-c04e8ddfd9cf/index.html)

Changes

2

37 unmodified lines

38
39
40
41
42
43
44
45
46
47
10 unmodified lines

58
59
60
57
61
62
63
64

37 unmodified lines

trailFindMaxPages       = 10
)

func trailContextBlurb() string {
    return "A trail ties together the context for a branch. Use `entire trail` to view, create, update, or watch it; use `entire trail finding` to manage agent findings."
}

func newTrailCmd() *cobra.Command {
    var insecureHTTPAuth bool
    var repoOverride string
10 unmodified lines

agentHelpRequiresTrailsAnnotation: agentHelpAnnotationEnabled,
    },
    Args: cobra.NoArgs,
    Long: "A trail ties together the context for a branch. Use `entire trail` to view, create, update, or watch it.",
    Long: trailContextBlurb(),
    RunE: func(cmd *cobra.Command, _ []string) error {
        return cmd.Help()
    },

Mcmd/entire/cli/trail_cmd.go+5/-1

459 unmodified lines

460
461
462
463
463
464
465
466

459 unmodified lines

t.Fatalf("execute trail root: %v", err)
    }
    text := out.String()
    for _, want := range []string{"A trail ties together the context for a branch", "show", "list", "create"} {
    for _, want := range []string{"A trail ties together the context for a branch", "`entire trail finding`", "show", "list", "create", "finding"} {
        if !strings.Contains(text, want) {
            t.Fatalf("help output missing %q, got:\n%s", want, text)
        }
    }

Mcmd/entire/cli/trail_cmd_test.go+1/-1