Choose the scope
For a parser review, useful input might include the parser, its tests, and the behavior requirements. A directory selection expands to tracked files. Overlapping selections are deduplicated. Selecting the whole repository often adds irrelevant material and consumes the policy budget.
The JSON output can be larger than the input-byte budget because it includes metadata and escaping. Source text is not silently cut off to make it fit.
Run a complete example
Use the virtual environment andpeoplebot-source checkout from your first State. Save the following as context_example.py beside those two directories:
peoplebot/state.py and its source identity, plus a manifest recording the selection policy. It should identify the same blob as the first-State example.
This example loads the policy from its pinned Git blob. The general assembly API does not independently prove that a caller-supplied policy matches that blob; the project-review wrapper performs its own equality check.