Skip to content

docs: list agent instructions among yolo's control-plane paths - #1399

Merged
max-sixty merged 1 commit into
mainfrom
docs/control-plane-paths
Sep 23, 2026
Merged

max-sixty merged 1 commit into
mainfrom
docs/control-plane-paths

Conversation

@tend-agent

Copy link
Copy Markdown
Collaborator

The shipped example config told consumers that yolo's managed CODEOWNERS block covers only .github/**, .config/tend.yaml, and the CODEOWNERS files. CONTROL_PLANE_PATHS also reserves CLAUDE.md, CLAUDE.local.md, AGENTS.md, AGENTS.override.md, .claude/, and .agents/ at any depth. So a consumer reading the example wouldn't expect bot PRs that touch agent instructions to need control_plane_owner's approval.

This lists those paths in docs/tend.example.yaml (and its install-tend mirror, synced by the pre-commit hook), and points CLAUDE.md's "Current privilege model" paragraph at CONTROL_PLANE_PATHS. The paragraph now agrees with CLAUDE.md's own Auth section and with docs/security-model.md. Docs only, so there's no regression test.

The example config and CLAUDE.md's privilege-model paragraph named only
.github/**, .config/tend.yaml, and CODEOWNERS, but CONTROL_PLANE_PATHS
also reserves CLAUDE.md, AGENTS.md, and the .claude/ and .agents/ trees.

Co-Authored-By: Claude <[email protected]>
@max-sixty
max-sixty merged commit 76b222d into main Sep 23, 2026
11 checks passed
@max-sixty
max-sixty deleted the docs/control-plane-paths branch September 23, 2026 07:39
max-sixty pushed a commit that referenced this pull request Sep 23, 2026
…urity model (#1412)

Two docs say Tend always checks for exact generated workflows, but it
only does that in yolo mode. This puts the "in yolo" back. It also fills
in yolo's list of CODEOWNER-reserved paths in the security model's
summary.

- **Yolo-only workflow checks.** a108d8c (#1390) rewrote the credential
paragraphs in `README.md` and `docs/security-model.md` and dropped the
yolo qualifier. Both now say Tend "verifies the exact generated
workflows, reserves its environment for them, and rejects" other
workflows whose environment use is dynamic or hidden. That check is
`check_yolo_workflows`, and it runs only under
`requires_control_plane_review`
([`checks.py`](https://github.com/max-sixty/tend/blob/fbb3d33f6324467bac95656b571692a25f91db13/generator/src/tend/checks.py#L2564-L2585)).
So a `restricted` consumer never gets it. `AGENTS.md` and install-tend's
`references/security-model.md` already say this is yolo-only.
- **Control-plane paths.** The security model's "Merge authority" item
listed only `.github/**` and `.config/tend.yaml` as needing CODEOWNER
approval.
[`CONTROL_PLANE_PATHS`](https://github.com/max-sixty/tend/blob/fbb3d33f6324467bac95656b571692a25f91db13/generator/src/tend/workflows.py#L111-L124)
also reserves the CODEOWNERS files and the agent-instruction paths.
#1399 fixed the same list in the example config, and the same doc's
detailed section further down already has the full list.

Docs only, so there's no regression test. The pre-commit hooks for both
files pass, and so does the Python suite apart from the two
network-bound `test_refresh_consumers.py` tests.

---------

Co-authored-by: tend-agent <[email protected]>
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