Repository navigation
teams: a typed crew handle may be 24 characters - #2891
Draft
ZeroPoint95 wants to merge 5 commits into
Draft
ZeroPoint95 wants to merge 5 commits into
ZeroPoint95 wants to merge 5 commits into
Conversation
A person or the manager may now give a member a handle of up to 24 characters. Handles the engine picks itself (the word list, the title model's choice, a model's crew proposal, clash numbering) stay within 12, so automatic handles remain one short word. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…andle short Review round 1: - team_start's schema names the handle range from teams.HandleMin and HandleMax instead of a hardcoded 2 to 12. - The older one-object proposal format shortens model handles to HandleWordMax, as the streamed format does. - members.start returns the store's own reason (length, characters or a reserved word) instead of one fixed sentence. - Tests: a long typed handle through members.start, the schema's range, and the older proposal format's shortening; gofmt. - Manual: the handle-length section no longer splits the handles section, and says an older codeaf on a shared team replaces a long handle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… short Review round 2: - The older one-object proposal format numbers handles that shorten to the same word (review-and, review-and2), as the streamed format does, so the proposal can still be accepted. - cleanHandleChoices skips words past HandleWordMax, so a long word no longer takes one of the title model's three slots. - The package comment says what a handle is now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eated proposal handles Review round 3: - Manual and change entry: an older codeaf on a shared team writes a word-list guess over a long typed handle and that write syncs back, so the handle is lost everywhere; update every computer first. - Change entry: the older proposal format used to drop long model handles, not keep them. - The older proposal format keeps only the first helper of a repeated handle, as the streamed format does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What
A person or the manager may now give a crew member a handle of up to 24 characters (was 12). Handles the engine picks itself stay within 12: the word list's guess, the title model's choice, a model's crew proposal and clash numbering. Automatic handles stay one short word.
From WorkAF stable QA, Round 1: typing
review-and-testingin Bring in helpers failed witha handle is 2 to 12 characters.Changes
internal/teams/handle.go:HandleMax = 24for validity, plus a newHandleWordMax = 12used byDeriveHandle,ChooseHandle's usable choices,pickHandle's qualified form anduniqueHandle.cmd/codeaf/appproposalstream.go: proposal shortening and the proposal prompt useHandleWordMax.cmd/codeaf/appcrewmembers.go: themembers.starterror names the real range, built from the constants.team-manager.mdon handle length, and the proposal paragraph inrunning-from-the-terminal.md.Tests
go test ./internal/teams/: pass, including new cases. Typed 18- and 24-character handles are accepted, a 25-character one is refused, and a model choice over 12 characters is skipped.go test ./cmd/codeaf -run 'Proposal|Handle|CrewMember|MemberStart': pass.go test ./internal/session -run 'Handle|Team': pass.make manual-gates: pass.Companion desktop PR: Agent-Field/codeaf-desk#891.
🤖 Generated with Claude Code