cnb: add lead pre-flight checklist to CLAUDE.md - #259
Conversation
Before starting team or accepting "go" orders, lead must run through a 7-item checklist (identity, worktree clean, master synced, dispatcher fresh, residual worktrees, PR queue, model). Skips = rework. Includes 30-min OEE calibration: if self-inflicted time > 50%, stop and fix process instead of continuing development. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8976328a27
ℹ️ 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".
|
|
||
| ### Pre-flight Checklist (lead only) | ||
|
|
||
| 如果你是 lead,**在拉起团队、派活、回应"开工"指令之前**,必须像飞行员起飞前一样过一遍 checklist。跳步 = 边搭路边开车,必返工。 |
There was a problem hiding this comment.
Keep CLAUDE.md guidance in English
This new pre-flight section is mostly Chinese, but the existing Language section in this same file explicitly requires CLAUDE.md / docs: English. As written, the added lead startup guidance violates the documented repository standard for docs and should be translated to English while preserving the linked checklist and commands.
Useful? React with 👍 / 👎.
| cat ~/.cnb/bulletin.md | ||
| ``` | ||
|
|
||
| ### Pre-flight Checklist (lead only) |
There was a problem hiding this comment.
Update the generated CLAUDE snippet too
This checklist is being added inside the <!-- cnb:start --> managed block, but bin/init still generates that block from _claude_md_snippet() without the new section. In any project where cnb init is rerun, _update_marked_md() replaces the whole marked region and silently drops this checklist, so the new lead startup rule will not survive normal initialization until the generator is updated as well.
Useful? React with 👍 / 👎.
Lead must complete 7-item infra checklist before starting team. Links to rules/norms/startup-sequence.md for full version.