Inspect cleanup: drop dead --fix manifest lookup, fix IsZero for judges · Entire

Inspect cleanup: drop dead --fix manifest lookup, fix IsZero for judges

007228b→main·

dipree·1mo ago·10 files·+80 added/-252 removed

Sessions

80aa7e660e0dView transcript

Changes

10

// Package agentlaunch is the shared "launch a normal coding agent session
// with a composed prompt" helper, used by `entire review --fix` and
// `entire investigate fix`. Both commands feed accepted findings back into
// a follow-up coding agent without spawning a review/investigate session
// themselves.

package agentlaunch

import (
func runReviewListProfiles(ctx context.Context, cmd *cobra.Command, deps Deps) error {
    out := cmd.OutOrStdout()
    s, err := settings.Load(ctx)
    // 4. Re-run guard: check if HEAD's checkpoint already has a review.
    if proceed, guardErr := confirmReReviewOrProceed(ctx, out, deps); guardErr != nil {
        fmt.Fprintln(out, "prompt cancelled")
        return guardErr
    }
    return silentErr(guardErr)
}
// LocalReviewManifest records one local `entire review` invocation. It lets
// `entire review --fix <session-id>` use a single session id as the lookup
// handle while still loading sibling agent outputs from the same review run.
type LocalReviewManifest struct {
    Version         int              `json:"version"`
    WorktreePath    string           `json:"worktree_path"`
}
func TestBuildConfiguredProfile_FromFlags(t *testing.T) {
    t.Parallel()
    deps := configureTestDeps("claude-code", "codex")
    profile, err := buildConfiguredProfile(
        context.Background(),
    ...) // Additional test logic
}
func TestSelectReviewAgent_OverrideResolvesSpecificAgent(t *testing.T) {
    t.Parallel()
    reviewMap := map[string]settings.ReviewConfig{
        testAgentName:  {Skills: []string{"/a"}},
        testCodexAgent: {Skills: []string{"/b"}},
    }
    // Prioritizing agent selection
}
func (c ReviewProfileConfig) IsZero() bool {
    return c.Task == "" && len(c.Agents) == 0 && len(c.Judges) == 0 &&
    c.Chair == "" && c.Master == "" && c.MasterAgent == "" && c.MasterModel == ""
}