- Creates a new branch
- Writes or updates the relevant files
- Opens a pull request with a description of the changes
Why the PR workflow matters
The PR workflow puts a human checkpoint between Ana’s proposed changes and the live context that all users see. It also creates a natural audit trail — if Ana starts giving unexpected answers, you can look at the context history to see what changed and when.Practical setup
- Give Ana a personal access token with read access to the repository and write access to branches
- Configure Ana not to merge her own PRs — require a human approval
- Designate one or two people as context reviewers who get notified when Ana opens a PR
- Start with a small repository and let it grow organically as Ana encounters questions that require new context
Triggering context saves
Once configured, you can tell Ana to save context explicitly:- “Ana, remember this metric definition for future sessions”
- “Save this analysis approach to the context repo”
- “Keep in mind that we always exclude internal accounts from revenue calculations”
GitHub Integration Setup
Set up the GitHub connection, access token, and system prompt
Dynamic Context Loading
How Ana navigates your repository to fetch relevant files per question