Repository navigation
fix(init): name only detected harnesses on the .agents row - #518
Merged
Merged
Conversation
With no .agents harness detected, the row listed every harness Taskless knows reads .agents/skills, which grows with the catalog. It now names only detected harnesses and falls back to its catalog label, Agent Skills. A single detected harness no longer carries a stray comma.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The init picker's
.agents/row named every harness Taskless knows reads.agents/skillswhen none was detected, e.g.OpenCode, Codex, Gemini CLI, Crush, and other .agents harnesses (.agents/). That list grows with the catalog.The row now names only detected harnesses. With none detected it falls back to its catalog label,
Agent Skills (.agents/). A single detected harness readsCrush and other .agents harnesses, without the stray comma.wizard/steps/locations.ts:agentsRowLabelfilters to detected harnesses and takes the fallback label.openspec/specs/cli-init/spec.md: the requirement now forbids naming an undetected harness; adds a scenario for the no-detection label.The behavior being corrected landed in 80f3934 and is unreleased, so the pending changeset (which already says "labelled with the detected harnesses") needs no edit.