Operational memory for AI agents working in this repository.
- The git credential in agent sessions has push and admin access to the
GitHub remote. Verify with
gh api repos/<owner>/<repo> --jq .permissionsrather than assuming a lack of access. - The bundled
ghCLI is used read-only (so the PR "merge" button and otherghwrite commands are unavailable), butgit pushworks for feature branches and formain. Do not refuse a merge by claiming you cannot merge — check first. - Only merge or deploy when the user explicitly instructs it. When they do:
fetch and integrate the latest
main, resolve conflicts, re-run the tests and linter, then merge the feature branch intomainandgit push origin main. GitHub records the corresponding PR as merged once its head commit is reachable frommain.
- Install for tests:
python3 -m pip install -e '.[dev]'. - Run the suite:
python3 -m unittest discover -s tests. - Lint:
python3 -m ruff check ..