Repository navigation
docs: add an Agent Firewall example policy page - #29468
Merged
Merged
Conversation
Template provisioning now lives in the infrastructure repository. The dogfood workflow keeps building and publishing the dogfood images. Generated by Coder Agents.
Contributor
Docs previewCheck off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here. |
The dogfood workspace templates are now provisioned from the infrastructure repository. Keep only the image build inputs here and document the split. Generated by Coder Agents.
jdomeracki-coder
marked this pull request as draft
September 17, 2026 09:24
The Agent Firewall page linked a policy file outside docs/, which does not resolve on the published docs site. Move the example into a docs page and delete the repository copy. Generated by Coder Agents.
jdomeracki-coder
force-pushed
the
jd/docs-agent-firewall-example-policy
branch
from
September 17, 2026 09:41
6229c8c to
7dcce90
Compare
jdomeracki-coder
changed the base branch from
main
to
jd/remove-dogfood-template-sources
September 17, 2026 09:41
…food-template-sources
…firewall-example-policy
jdomeracki-coder
marked this pull request as ready for review
September 17, 2026 09:47
nickvigilante
approved these changes
Sep 17, 2026
nickvigilante
left a comment
Contributor
There was a problem hiding this comment.
A few semantic line break fixes and tweaks to word choice, but LGTM!
🚀
Comment on lines
+20
to
+21
| For the syntax of each entry, including method filters and wildcards, see the | ||
| [rules engine](rules-engine.md). |
Contributor
There was a problem hiding this comment.
Suggested change
| For the syntax of each entry, including method filters and wildcards, see the | |
| [rules engine](rules-engine.md). | |
| For the syntax of each entry, including method filters and wildcards, refer to the [rules engine docs](rules-engine.md). |
Comment on lines
+86
to
+87
| For a comprehensive configuration covering multi-language development, see the | ||
| [example policy](./example-policy.md). |
Contributor
There was a problem hiding this comment.
Suggested change
| For a comprehensive configuration covering multi-language development, see the | |
| [example policy](./example-policy.md). | |
| For a comprehensive configuration covering multi-language development, check out the [example policy](./example-policy.md). |
Comment on lines
+22
to
+24
| To load this policy in a template, pass it to the module's | ||
| `agent_firewall_config` argument as described in | ||
| [Agent Firewall](index.md). |
Contributor
There was a problem hiding this comment.
Suggested change
| To load this policy in a template, pass it to the module's | |
| `agent_firewall_config` argument as described in | |
| [Agent Firewall](index.md). | |
| To load this policy in a template, pass it to the module's `agent_firewall_config` argument as described in [Agent Firewall](index.md). |
| @@ -1,23 +1,39 @@ | |||
| --- | |||
| title: Example policy | |||
Contributor
There was a problem hiding this comment.
Suggested change
| title: Example policy | |
| title: Example policy | |
| description: Review a broad Agent Firewall allowlist policy for multi-language workspaces. |
Comment on lines
+5
to
+18
| > [!NOTE] | ||
| > Agent Firewall is part of [AI Governance](../ai-governance.md), which is | ||
| > included with a Premium license. | ||
|
|
||
| This page contains a broad Agent Firewall policy for workspaces where agents | ||
| build software in many languages. | ||
| It allows the domains an agent needs to fetch dependencies, read source | ||
| repositories, and pull container images, and blocks everything else. | ||
|
|
||
| Coder uses a policy of this shape on its own deployment. | ||
| Treat it as a starting point: allow only the domains your workspaces actually | ||
| need, and add your own Coder deployment domain. | ||
| Most entries come from the | ||
| [default allowed domains for Claude Code on the web](https://code.claude.com/docs/en/claude-code-on-the-web#default-allowed-domains). |
Contributor
There was a problem hiding this comment.
Suggested change
| > [!NOTE] | |
| > Agent Firewall is part of [AI Governance](../ai-governance.md), which is | |
| > included with a Premium license. | |
| This page contains a broad Agent Firewall policy for workspaces where agents | |
| build software in many languages. | |
| It allows the domains an agent needs to fetch dependencies, read source | |
| repositories, and pull container images, and blocks everything else. | |
| Coder uses a policy of this shape on its own deployment. | |
| Treat it as a starting point: allow only the domains your workspaces actually | |
| need, and add your own Coder deployment domain. | |
| Most entries come from the | |
| [default allowed domains for Claude Code on the web](https://code.claude.com/docs/en/claude-code-on-the-web#default-allowed-domains). | |
| > [!NOTE] | |
| > Agent Firewall is part of [AI Governance](../ai-governance.md), which is included with a Premium license. | |
| This page contains a broad Agent Firewall policy for workspaces where agents build software in many languages. | |
| It allows the domains an agent needs to fetch dependencies, read source repositories, and pull container images, and blocks everything else. | |
| Coder uses a policy of this shape on its own deployment. | |
| Treat it as a starting point: allow only the domains your workspaces actually need, and add your own Coder deployment domain. | |
| Most entries come from the [default allowed domains for Claude Code on the web](https://code.claude.com/docs/en/claude-code-on-the-web#default-allowed-domains). |
jdomeracki-coder
added a commit
that referenced
this pull request
Sep 18, 2026
Removes the remains of the dogfood template provisioning pipeline from this repository. Template versions for the dogfood deployment are now pushed from the infrastructure repository, so this repo no longer needs Coder admin or template API-key secrets. ## Changes - Delete `dogfood/main.tf`, the `coderd_template` root module used only by the removed `deploy_template` job - Refresh comments and a docs reference that pointed at the removed pipeline The `deploy_template` job removal itself moved to #29468, where it is required to keep CI green. This branch predates that, so its diff still contains the same deletion; merge #29468 first and the overlap resolves cleanly. Image builds and publishing (`codercom/oss-dogfood`, `codercom/oss-dogfood-vscode-coder`) are unchanged. ## Follow-up These repository secrets and variables become unused and can be deleted/rotated: `CODER_SESSION_TOKEN`, `CODER_TEMPLATE_NAME`, `CODER_DOGFOOD_ANTHROPIC_API_KEY`, `CODER_DOGFOOD_OPENAI_API_KEY`, and the GCP workload identity provider/service account used for the Terraform state bucket. --- Generated by Coder Agents on behalf of @jdomeracki-coder.
jdomeracki-coder
added a commit
that referenced
this pull request
Sep 18, 2026
Deletes the dogfood template sources that were migrated to the infrastructure repository, leaving only the image build inputs in this repo. Stacked on #29400 (which removes the `deploy_template` job and `dogfood/main.tf`); depends on coder/dogfood#551 being applied first. #29468 stacks on top of this branch. ## Changes - Delete `dogfood/coder/main.tf`, `dogfood/coder-envbuilder/`, `dogfood/vscode-coder/main.tf`, and the template READMEs and guide - Delete `dogfood/coder/devcontainer.json`: its only reader was the retired `coder-envbuilder` template, and it referenced a `Dockerfile` removed in #24267 - Add `dogfood/README.md` documenting what remains here and where template changes go - Drop the now-empty dependabot entries (`/dogfood/coder-envbuilder` docker, `dogfood/*/` terraform) Kept: `dogfood/coder/ubuntu-22.04/`, `dogfood/coder/ubuntu-26.04/`, `dogfood/coder/Makefile`, and `dogfood/vscode-coder/Dockerfile`. Image builds, tags, and `scripts/dogfood/*` are unchanged; the contract with the templates is the published Docker tag. Checks: `actionlint`, `shellcheck`, `compute-base-sha.sh`/`compute-final-sha.sh` still resolve, docs lint and `make lint/emdash` clean. --- Generated by Coder Agents on behalf of @jdomeracki-coder. --------- Co-authored-by: McKayla はな <kayla@tree.camp>
…l-example-policy # Conflicts: # docs/manifest.json # dogfood/README.md
…l-example-policy # Conflicts: # docs/ai-coder/agent-firewall/index.md
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.
The Agent Firewall page pointed at
dogfood/coder/boundary-config.yamlwith a relative link that escapesdocs/, so it does not resolve on the published docs site. The dogfood template that consumed that file now lives in the infrastructure repository, leaving the docs link as its only reader.Changes
docs/ai-coder/agent-firewall/example-policy.md: the broad allowlist as a docs-owned example, with deployment-specific hosts replaced bycoder.example.comand internal entries droppeddocs/manifest/ai-coder/ai-governance/agent-firewall.yml(regenerateddocs/manifest.json) and repoint the link in the Agent Firewall pagedogfood/coder/boundary-config.yamlChecks:
pnpm run format-docs,pnpm run lint-docs,make lint/emdash, and CI all clean.Generated by Coder Agents on behalf of @jdomeracki-coder.