Skip to content

onboarding: sync CLAUDE.global.md with the PI's global guidance - #60

Merged
alongd merged 1 commit into
mainfrom
global-claude-sync
Aug 8, 2026
Merged

onboarding: sync CLAUDE.global.md with the PI's global guidance#60
alongd merged 1 commit into
mainfrom
global-claude-sync

Conversation

@alongd

@alongd alongd commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Re-syncs onboarding/CLAUDE.global.md against the PI's ~/.claude/CLAUDE.md, which has drifted ahead of the kit (MAINTAINING.md, "Updating the kit", step 2).

Ported, genericized:

Section Why it matters to a member
Response format Sets the group's output register: dense, no preamble/recap/closing-meta.
Asking things Decisions go through AskUserQuestion with concrete options and a first-listed recommendation, never prose. Points at the ask-one-by-one skill, which ships in agent-skills.
Git — worktrees The statusline already flags a dirty primary checkout in bold red as "the anti-pattern the work in a worktree rule warns against" — but no rule stated it. Now it does.
Git — canonical remote PRs come from DanaResearchGroup/<repo>, never a personal fork, so collaborators and CI act on them directly.
stderr capture > >(tee -a stdout.log) 2> >(tee -a stderr.log >&2) for RMG/ARC/T3/benchmark runs — RMG.log alone loses the crash traceback.

Deliberately not a verbatim mirror:

  • History hygiene keeps the members' stricter always ask before rewriting history, rather than the PI's current "no prior ask when it clearly serves the work" — members work on shared branches with open PRs, where an unprompted force-push is expensive to undo. The new downstream-check step (git branch --contains, git worktree list) feeds that ask instead of replacing it.
  • Handoff cadence gains the cardinal rule (never park work in flight on "something else will handle it") and request-handoff.sh, with an explicit NB that the script is a no-op without the ~/agents auto-handoff watcher, which MAINTAINING.md lists as deferred/PI-only. Context % is read off the group statusline, not ~/agents/state/<uuid>.ctx.
  • HQ vault is omitted — PI-only, nothing in the kit stands it up.

Leak scan from MAINTAINING.md step 1 is clean (only MAINTAINING's own self-references to the pattern).

Ports four sections that the PI's ~/.claude/CLAUDE.md has gained since the
kit was written, genericized for members:

- Response format — dense senior-colleague register, no preamble/recap/meta.
- Asking things — decisions go through AskUserQuestion with concrete options
  and a recommendation, not prose.
- Git — worktree-per-feature (the statusline already flags a dirty primary
  checkout in red, but no rule said why) and PRs from the DanaResearchGroup
  remote, never a personal fork. History hygiene keeps the members' stricter
  "always ask before rewriting history", now with the downstream-check step.
- stderr capture — persist stdout.log/stderr.log for RMG/ARC/T3 runs, since
  the tool's own log loses the traceback.

Handoff cadence gains the cardinal rule (never park work in flight without
filing a marker), with an explicit note that request-handoff.sh is a no-op
until the ~/agents watcher is ported — deferred infra members don't install.
@alongd
alongd merged commit 40cb589 into main Aug 8, 2026
4 checks passed
@alongd
alongd deleted the global-claude-sync branch August 8, 2026 19:12
alongd added a commit that referenced this pull request Aug 8, 2026
The file is loaded into every session a member ever runs, so its size is a
standing tax. It had drifted to 11.4 KB against the PI's own 7.7 KB. Now
9.2 KB, with no rule dropped:

- Subagent roles: the four model/effort descriptions were a second copy of
  onboarding/agents/*.md. CLAUDE.global.md keeps the routing boundary and
  points there; MAINTAINING.md now names those files sole source of truth,
  so there is one less pair to hold in lockstep.
- Probe-the-premise: dropped five PI-run war stories (the dead channel, the
  MW that didn't survive the boundary, the empty core) — persuasive to
  whoever lived them, opaque to a new member.
- Skills: dropped the "this used to list ~35 skills and went stale"
  rationale; that is a maintenance decision, moved to MAINTAINING.md.
- Response format, Asking, Git, Handoff: tightened prose, same rules.

Silent-stall was a cut candidate but was rewritten instead: it told members
to run `cc-deadman`, which AGY members never install (ONBOARDING step 12
gives them native /schedule). It had been pointing at commands they do not
have, so it is now agent-agnostic and correct. Both timer placeholders now
carry the +50% margin the bullet asks for, instead of reading as the bare
expected duration.

Also drops a stray `</content>` tag from the end of the file — a leaked
tool-call closing tag that reached main in #60.

MAINTAINING.md gains a "Keeping it small" section: the size target, the
three kinds of content that belong in the maintainer file rather than the
member's, and the caveat against trimming a rule to nothing to hit it.
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