Docs/agent workflow rules#30
Merged
Merged
Conversation
docs(agents): add CLAUDE.md auto-loaded agent operating rules Encode the maintainer's working rules so every Claude Code session in this repo picks them up automatically (CLAUDE.md auto-loads per-repo). - CLAUDE.md (root): concise rule set, points to the detailed doc. - docs/AGENT_WORKFLOW.md: long-form rules, halt list, branch/commit conventions, reporting format, Windows/PowerShell notes, rationale. - docs/README.md: link the new workflow doc from the docs hub. Rules optimize for remote phone-driven sessions via Dispatch: no interactive pickers (plain-text questions only), autonomous reversible defaults, halt only for destructive/irreversible actions, feature branch only, plan-but-do-not-block, test before handing back. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> @
docs(agents): forbid skipping git hooks / signing as a top-level rule Add an explicit short-form rule (new rule 5) in CLAUDE.md: never use --no-verify, never disable/skip/bypass pre-commit or commit-msg hooks or commit signing unless the maintainer explicitly asks; fix the underlying issue instead. Mirrors and strengthens AGENT_WORKFLOW.md section 4. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> @
docs(agents): post-reorg path fixes + PR-consolidation rule Rebased onto current main (post #26/#27 docs reorg). Adjust for the new docs/ tree and capture the maintainer's PR-cadence preference. - CLAUDE.md: repoint build-guide reference from the old repo-root BUILDGUIDE_*.md files to docs/build-guides/ (moved by #27). - docs/README.md: re-add the AGENT_WORKFLOW.md pointer into the reorganized "Internal development records" section (the old pre-reorg edit was dropped during rebase). - CLAUDE.md + AGENT_WORKFLOW.md: add a new rule (short form rule 5; detail in AGENT_WORKFLOW.md section 4) — consolidate work, at most one PR per work-session/batch, branches may accumulate commits and sit for days, never open a PR proactively, default posture is keep-on-branch. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> @
docs(agents): record mobile-Dispatch working method + 2026-06-09 session log Note in CLAUDE.md (not the README) that this repo is primarily driven via mobile Dispatch (Adam running Claude Code sessions from his phone while the desktop runs), and log today's session: README trim (#26 merged), docs/ reorg (#27 merged), auto-capture wiring (phase-13.x.9, parked), these agent rules, and the Step 5c cognition training/eval harness (parked; lightgbm 4.6.0 kept for local runs). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> @
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Reviewer's GuideAdds explicit operating rules for AI agents working in this repo, via a new long-form workflow doc under docs/ and a concise auto-loaded CLAUDE.md at the root, and links the new workflow doc from the docs README. Flow diagram for CLAUDE.md and AGENT_WORKFLOW.md documentation linkageflowchart TD
AgentSession[Agent session starts in repo]
CLAUDE["CLAUDE.md (short operating rules)"]
AGENT["docs/AGENT_WORKFLOW.md (long-form workflow rules)"]
DocsREADME["docs/README.md"]
AgentSession --> CLAUDE
CLAUDE --> AGENT
DocsREADME --> AGENT
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by Sourcery
Document repository-specific operating rules and workflow for AI agents working in the project, and surface them prominently in the docs.
Documentation: