Skip to content

cnb: rewrite lead nudge — no excuses, always have work - #262

Merged
ApolloZhangOnGithub merged 1 commit into
masterfrom
lead/nudge-no-excuses
May 17, 2026
Merged

cnb: rewrite lead nudge — no excuses, always have work#262
ApolloZhangOnGithub merged 1 commit into
masterfrom
lead/nudge-no-excuses

Conversation

@ApolloZhangOnGithub

Copy link
Copy Markdown
Owner

Old nudge gave lead exits ('team saturated', 'waiting for user'). New nudge enumerates non-dispatch work and forbids excuses.

Old nudge said "scan team and dispatch next issue" — gave lead an
exit if team was "saturated", letting lead idle while 50+ open issues
pile up. lead would also blame "waiting for user admin merge" as a
bottleneck, but this is lead's own project with no user fallback.

New nudge:
- "this is your project, no user safety net"
- workers busy → lead still has: PR review, stale issue cleanup,
  roadmap, doc integration, norm review
- workers idle → dispatch immediately
- explicitly forbid "no work" / "waiting for approval" / "external
  bottleneck" excuses

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 17, 2026 09:26
@ApolloZhangOnGithub
ApolloZhangOnGithub merged commit 6812340 into master May 17, 2026
10 of 13 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3e72badcb5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

sess,
"lead 不能 idle。扫描团队状态:谁空闲、谁阻塞、PR queue、master CI、open issues。"
"主动给空闲员工派下一个 issue,不要等他们汇报。",
"lead 不能 idle。这是你的项目,没有用户兜底。"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep the queued-nudge marker in the prompt

When a lead idle nudge is already typed/queued in the pane, _already_queued(sess, "扫描团队") still relies on the old prompt text, but this rewritten message no longer contains that marker. In the mid-thinking/queued-input scenario this helper is meant to prevent, the 3-second lead cooldown expires and _try_lead_idle can paste another copy of this long prompt repeatedly; update the marker to a stable substring from the new text or include the old marker.

Useful? React with 👍 / 👎.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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.

2 participants