{{ message }}
feat(cli): add --agents-allowed to template commands - #27517
Merged
Conversation
Contributor
This was referenced Jul 27, 2026
Member
Author
This was referenced Jul 27, 2026
ethanndickson
force-pushed
the
feat-remove-chat-template-allowlist
branch
from
July 27, 2026 10:47
7590a7a to
f90d237
Compare
ethanndickson
force-pushed
the
feat-cli-template-agents-allowed
branch
from
July 27, 2026 10:47
3778ff6 to
1566142
Compare
ethanndickson
force-pushed
the
feat-remove-chat-template-allowlist
branch
from
August 3, 2026 05:12
f90d237 to
d1cdd80
Compare
ethanndickson
force-pushed
the
feat-cli-template-agents-allowed
branch
2 times, most recently
from
August 3, 2026 06:39
8c4f1a7 to
aa24328
Compare
ethanndickson
force-pushed
the
feat-remove-chat-template-allowlist
branch
from
August 3, 2026 06:39
d1cdd80 to
0e1a0b6
Compare
ethanndickson
force-pushed
the
feat-cli-template-agents-allowed
branch
from
August 3, 2026 08:41
aa24328 to
f0b481e
Compare
ethanndickson
force-pushed
the
feat-remove-chat-template-allowlist
branch
from
August 3, 2026 08:41
0e1a0b6 to
8acb538
Compare
ethanndickson
force-pushed
the
feat-cli-template-agents-allowed
branch
from
August 4, 2026 04:28
f0b481e to
16898ca
Compare
ethanndickson
force-pushed
the
feat-remove-chat-template-allowlist
branch
2 times, most recently
from
August 4, 2026 06:20
0e64d11 to
f5a8248
Compare
ethanndickson
force-pushed
the
feat-cli-template-agents-allowed
branch
from
August 4, 2026 06:20
16898ca to
6d0c321
Compare
ethanndickson
marked this pull request as ready for review
August 4, 2026 06:25
ethanndickson
force-pushed
the
feat-cli-template-agents-allowed
branch
from
August 4, 2026 13:54
6d0c321 to
b9dafe7
Compare
ethanndickson
force-pushed
the
feat-remove-chat-template-allowlist
branch
2 times, most recently
from
August 4, 2026 14:31
5b7e6f4 to
2852141
Compare
ethanndickson
force-pushed
the
feat-cli-template-agents-allowed
branch
2 times, most recently
from
August 4, 2026 15:08
46893dc to
0704aa7
Compare
ethanndickson
force-pushed
the
feat-remove-chat-template-allowlist
branch
2 times, most recently
from
August 4, 2026 16:17
da532f5 to
c445868
Compare
ethanndickson
force-pushed
the
feat-cli-template-agents-allowed
branch
from
August 4, 2026 16:17
0704aa7 to
8375534
Compare
ethanndickson
force-pushed
the
feat-cli-template-agents-allowed
branch
from
August 5, 2026 05:53
69d0850 to
4907c42
Compare
ethanndickson
force-pushed
the
feat-remove-chat-template-allowlist
branch
2 times, most recently
from
August 5, 2026 06:27
388f597 to
f1c3f40
Compare
ethanndickson
force-pushed
the
feat-cli-template-agents-allowed
branch
2 times, most recently
from
August 5, 2026 07:02
27bbfb0 to
cb214a1
Compare
ethanndickson
force-pushed
the
feat-remove-chat-template-allowlist
branch
2 times, most recently
from
August 5, 2026 07:40
eb7cbdb to
a5561c0
Compare
ethanndickson
force-pushed
the
feat-cli-template-agents-allowed
branch
from
August 5, 2026 07:40
cb214a1 to
05bcec7
Compare
ethanndickson
force-pushed
the
feat-remove-chat-template-allowlist
branch
from
August 5, 2026 08:35
a5561c0 to
e7f74e3
Compare
ethanndickson
force-pushed
the
feat-cli-template-agents-allowed
branch
from
August 5, 2026 08:35
05bcec7 to
31eaab0
Compare
ethanndickson
force-pushed
the
feat-cli-template-agents-allowed
branch
from
August 5, 2026 09:50
31eaab0 to
3b6242e
Compare
ethanndickson
force-pushed
the
feat-remove-chat-template-allowlist
branch
from
August 5, 2026 09:50
e7f74e3 to
a9f28be
Compare
johnstcn
approved these changes
Aug 5, 2026
ethanndickson
force-pushed
the
feat-remove-chat-template-allowlist
branch
from
August 5, 2026 13:24
a9f28be to
6d831b3
Compare
ethanndickson
force-pushed
the
feat-cli-template-agents-allowed
branch
from
August 5, 2026 13:24
3b6242e to
b0af512
Compare
ethanndickson
force-pushed
the
feat-remove-chat-template-allowlist
branch
from
August 6, 2026 03:31
6d831b3 to
c16f754
Compare
ethanndickson
force-pushed
the
feat-cli-template-agents-allowed
branch
2 times, most recently
from
August 6, 2026 03:51
a2c28d7 to
4ac5d4d
Compare
ethanndickson
force-pushed
the
feat-remove-chat-template-allowlist
branch
from
August 6, 2026 03:51
c16f754 to
ccc4841
Compare
Member
Author
ethanndickson
added a commit
that referenced
this pull request
Aug 6, 2026
Relates to CODAGT-713 Depends on #27284 This makes the per-template `agents_allowed` field authoritative in the API and chatd. It adds optional create and metadata update fields with the intended default and omission semantics, supports `agents-allowed:` template search, includes the value in telemetry, and makes `list_templates`, `read_template`, and `create_workspace` read the template row directly. Existing-workspace retries remain idempotent, and blocked same-organisation templates return an actionable message. The experimental `/template-allowlist` routes remain temporarily because the shipped AI Settings page still calls them, but they no longer control chatd enforcement. #27514 moves that page to per-template metadata, #27515 removes the legacy storage, routes, SDK types, and utility, #27517 adds the CLI flags, and #27518 updates the platform controls documentation for the per-template model, directly addressing CRF-5 and CRF-6. The stack is intended to merge as a unit.
ethanndickson
changed the base branch from
feat-remove-chat-template-allowlist
to
graphite-base/27517
August 6, 2026 04:24
ethanndickson
force-pushed
the
feat-cli-template-agents-allowed
branch
from
August 6, 2026 04:36
4ac5d4d to
e45e100
Compare
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.


Relates to CODAGT-713
Depends on #27515
This adds
--agents-allowedtocoder templates createandcoder templates edit. Template creation defaults the option to true, matching the per-template API and database default, while template editing only changes the value when the flag is explicitly supplied so unrelated edits preserve the existing setting.The generated CLI help and reference documentation include the new option. #27518 updates the Coder Agents platform controls documentation to describe the completed per-template model.