Skip to content

Refresh repo agent guidance around live state#3452

Draft
Hmbown wants to merge 3 commits into
mainfrom
docs/live-truth-agent-guidance
Draft

Refresh repo agent guidance around live state#3452
Hmbown wants to merge 3 commits into
mainfrom
docs/live-truth-agent-guidance

Conversation

@Hmbown

@Hmbown Hmbown commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Goal

Update the repo guidance files so future agents stop anchoring on stale hard-coded release branches, versions, and milestones, and so issue work does not stop at opening draft PRs.

Changes

  • Replaced fixed branch/version/milestone guidance in AGENTS.md with a live-state-first workflow.
  • Simplified CLAUDE.md into a compact compatibility layer that points agents back to AGENTS.md.
  • Changed the issue workflow terminal state from “opened a PR” to “merged and verified, verified closure, or documented blocker.”
  • Clarified that draft PRs are temporary; locally verified/reviewable branches should be marked ready.
  • Added an explicit PR completion loop: read back PR state, fix CI failures, mark verified work ready, merge when the user goal or Hunter approval authorizes landing the lane, and update/close linked issues only after verifying the landed commit.
  • Kept durable safety rules for branch usage, release approval, contributor stewardship, verification, and provider/model architecture.
  • Captured the website direction as sparse, calm, and fact-tied rather than busy marketing copy.

Verification

  • git diff --check

Risks

  • This intentionally removes specific release-lane instructions. Agents now need to inspect live GitHub state and the current user goal before choosing a lane.
  • The merge loop still requires the current user goal/handoff or explicit Hunter approval to authorize landing the lane; it does not make unattended merging the default.

Issue Link

User-requested guidance/process cleanup; no tracked GitHub issue.

Remove stale hard-coded release branch, version, and milestone references from the repo guidance files.

Make live GitHub state, the current branch, CI, and the user's active goal the source of truth for release and issue work. Keep only durable branch safety, verification, stewardship, provider/model, and release approval guardrails.

Verification:

- git diff --check

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request refactors and simplifies the repository agent guidance in AGENTS.md and CLAUDE.md, removing hardcoded branch names, milestones, and versions in favor of instructions to query the live repository state. The feedback suggests replacing <filter> with [filter] in the cargo test commands to prevent shell redirection errors when copy-pasting.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread AGENTS.md
Comment on lines +54 to +56
cargo test -p codewhale-tui --bin codewhale-tui --locked <filter>
cargo test -p codewhale-config --locked <filter>
cargo test -p codewhale-protocol --locked <filter>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Using <filter> in a shell code block can cause shell syntax or redirection errors (e.g., No such file or directory or syntax errors) if an agent or user attempts to run the command directly or copy-pastes it. Replacing the angle brackets with square brackets [filter] avoids this issue while still clearly indicating an optional placeholder.

Suggested change
cargo test -p codewhale-tui --bin codewhale-tui --locked <filter>
cargo test -p codewhale-config --locked <filter>
cargo test -p codewhale-protocol --locked <filter>
cargo test -p codewhale-tui --bin codewhale-tui --locked [filter]
cargo test -p codewhale-config --locked [filter]
cargo test -p codewhale-protocol --locked [filter]

Document that opening a draft PR is not the end of an issue workflow. Add explicit readback, CI, ready-for-review, merge-when-authorized, and issue cleanup steps so release agents do not leave verified work piled up in drafts.

Also capture the current website direction as sparse, calm, and fact-tied rather than busy marketing copy.

Verification:

- git diff --check

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Strengthen repository guidance so agent work targets a terminal disposition instead of stopping at an open PR. Clarify that draft PRs are temporary, verified branches should be made ready, and merge/issue cleanup is part of authorized release or issue queue work.

Keep merge guarded by the current user goal or explicit Hunter approval, while preventing ambiguity from becoming a permanent pile of draft PRs.

Verification:

- git diff --check

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

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