Skip to content

docs(security-model): match triage, tend-land, sandbox PATH and tracker text to the code - #1685

Merged
max-sixty merged 1 commit into
mainfrom
docs/security-model-drift
Nov 14, 2026
Merged

max-sixty merged 1 commit into
mainfrom
docs/security-model-drift

Conversation

@tend-agent

Copy link
Copy Markdown
Collaborator

Four passages in docs/security-model.md describe mechanisms that have since changed. This updates the text to match the current code. No behavior changes.

  • Triage row in the workflow table. The row still described a job that runs a "generated label script" and allows "one admitted issue worker at a time". Since the triage batch rework, the secret-bearing job is select, and it runs tend runtime triage-batch select (triage.yaml.j2). Concurrency is now one group per issue (tend-triage-${{ matrix.issue }}), so different issues run in parallel, bounded by max-parallel. This matches AGENTS.md's concurrency table.
  • tend-land. The doc said land_pr.py "only names a PR whose exact head carries the bot's record". That stays true for landings. However, check also starts a repair session for a PR with no human author whose CI went red, "record or not" (land_pr.py module docstring, and AGENTS.md's description of land).
  • Sandbox PATH. The doc said the sandbox home's bin is prepended. The code prepends ~/.local/bin (agent_path in proxy/setup_sandbox.py), and launch_agent.py puts the runtime venv's commands directory ahead of it.
  • Old rate-limit trackers. The doc said older Bot rate limit reached trackers "retain their original policy". creation_limit.py now matches only Creation allowance reached, and test_old_policy_tracker_does_not_grant_a_new_approval asserts that closing an old-titled tracker approves nothing. The sentence now says so.

Found by the nightly survey's rolling file review.

@max-sixty
max-sixty merged commit 6f295ab into main Nov 14, 2026
12 checks passed
@max-sixty
max-sixty deleted the docs/security-model-drift branch November 14, 2026 06:33
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.

2 participants