gunk-dev/the-valley
the-valley:ida-a5536f1idearaw

a project registry present under both flow name sets goes unreported in checkout lookups by project name

State
question or idea
Created
2026-11-23 by contributor

Body

registeredProjectDir (flow/internal/cmd/repodir.go) treats a registry conflict as "no registered checkout", so merge, review by repository reference and track by project handle fall back as if the project were unregistered instead of naming both registry paths. Launch, consult, track, target, scaffolding, session start and pre-review refuse. Closing it needs an error path through existingRepoDir's callers. Found by independent review of the state-locations bridge change; carry into the stage that first writes flow-named state. Related from the same round: several callers discard config.Load errors, so a broken flow-named config yields defaults there (launch target config, house rules, merge, hidden finalize path); session start refuses a registry conflict only after creating session state.

Comments

No comments.