Skip to content

feat: collaboration onboarding tuning - #3392

Merged
kunal0137 merged 7 commits into
devfrom
feat-collaboration-onboarding-tuning
Nov 27, 2026
Merged

kunal0137 merged 7 commits into
devfrom
feat-collaboration-onboarding-tuning

Conversation

@kunal0137

Copy link
Copy Markdown
Collaborator

Description

Changes Made

How to Test

  1. Steps to reproduce/test the behavior
  2. Expected outcomes

Notes

Collaboration's calls to the text model set max_tokens between 200 and 8000.
A thinking model (Inkling-2-Mini) spends that budget on reasoning, so topic
votes came back empty or cut off and onboarding failed with "Topic voting did
not produce three complete answers". Drop the caller caps so the engine's own
output limit applies.
The topic job now records conversations read and group checks answered, and
moves its progress within each phase. Job step/count are synchronized and a
throttled tick() saves busy-loop updates at most every two seconds.
…ort key

Counts the parts read in long threads and the topics grouped, and sends the work reasoning effort as the effort key the model engine reads.
…k list

The owner's work areas are saved on the profile. After the clusters, the topic job drafts one card per line and finds each card's conversations, all at once, into draft.prebuilt. The topic job waits for a running mail sync instead of failing, and a sync before setup is done no longer queues thread summaries or work items.
…read what needs the owner first

Topics that share no conversation are planned together and saved in order. The first build reads the threads that need the owner, then the ones they wait on, then the rest. A queued build keeps the progress of the one running and shows what comes after it.
…ed the owner

- Read only needs_me and waiting threads in the first build, Build from mail, the sync queue and the
  lagging retry; an FYI thread is read once its verdict changes.
- One run for the first build (BUILD_PART 150) with 10 readers.
- COLLAB_WORK_GROUP_EFFORT sets grouping effort apart from reading and tidying.
- Grouping prompts: titles say the outcome in 4 to 9 words, a conversation is not an item, the same
  client, release, event or deliverable merges across conversations.
- WORK_CANDIDATE.ATTEND: an ask only to attend a meeting is dropped once its day has passed.
After grouping, one small call per topic rewrites the titles of the items the run made; a title
changed since the run made it is left alone.
@kunal0137
kunal0137 marked this pull request as ready for review November 27, 2026 17:15
@snyk-io

snyk-io Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@kunal0137
kunal0137 requested a review from a team as a code owner November 27, 2026 17:15
@kunal0137
kunal0137 merged commit e687d50 into dev Nov 27, 2026
4 checks passed
@kunal0137
kunal0137 deleted the feat-collaboration-onboarding-tuning branch November 27, 2026 17:16
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