Repository navigation
docs: list agent instructions among yolo's control-plane paths - #1399
Merged
Merged
Conversation
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]>
This was referenced Sep 23, 2026
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The shipped example config told consumers that yolo's managed CODEOWNERS block covers only
.github/**,.config/tend.yaml, and the CODEOWNERS files.CONTROL_PLANE_PATHSalso reservesCLAUDE.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 needcontrol_plane_owner's approval.This lists those paths in
docs/tend.example.yaml(and itsinstall-tendmirror, synced by the pre-commit hook), and points CLAUDE.md's "Current privilege model" paragraph atCONTROL_PLANE_PATHS. The paragraph now agrees with CLAUDE.md's own Auth section and withdocs/security-model.md. Docs only, so there's no regression test.