Skip to content

Stop agents from guessing main/master for default branches - #8

Merged
AJFrio merged 1 commit into
mainfrom
feat/default-branch-resolve-and-agent-docs
Aug 14, 2026
Merged

Stop agents from guessing main/master for default branches#8
AJFrio merged 1 commit into
mainfrom
feat/default-branch-resolve-and-agent-docs

Conversation

@AJFrio

@AJFrio AJFrio commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • Auto-resolve branch_id=None on remaining branch-scoped methods via resolve_branch_id, and read branchID / isDefaultBranch.
  • Add AGENT_USAGE.md so consumer agents do not invent git-style branch names after setup.
  • Point AGENT_SETUP.md, README, and the product spec at that playbook.

Test plan

  • .venv\Scripts\python.exe tools/check.py --all (format, ruff, mypy, harness, pytest including live read-only tests)

🤖 Generated with Claude Code

Made with Cursor

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@AJFrio
AJFrio merged commit 3a1dc8f into main Aug 14, 2026
1 check passed
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