Skip to content

teams: a typed crew handle may be 24 characters - #2891

Draft
ZeroPoint95 wants to merge 5 commits into
devfrom
zeropoint95/longer-member-handles
Draft

ZeroPoint95 wants to merge 5 commits into
devfrom
zeropoint95/longer-member-handles

Conversation

@ZeroPoint95

@ZeroPoint95 ZeroPoint95 commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

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-testing in Bring in helpers failed with a handle is 2 to 12 characters.

Changes

  • internal/teams/handle.go: HandleMax = 24 for validity, plus a new HandleWordMax = 12 used by DeriveHandle, ChooseHandle's usable choices, pickHandle's qualified form and uniqueHandle.
  • cmd/codeaf/appproposalstream.go: proposal shortening and the proposal prompt use HandleWordMax.
  • cmd/codeaf/appcrewmembers.go: the members.start error names the real range, built from the constants.
  • Manual: a new section in team-manager.md on handle length, and the proposal paragraph in running-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

ZeroPoint95 and others added 5 commits November 23, 2026 20:58
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant