diff --git a/docs/.style/styles/Coder/README.md b/docs/.style/styles/Coder/README.md index d6f94f5c4ac..8ed0b59e3c8 100644 --- a/docs/.style/styles/Coder/README.md +++ b/docs/.style/styles/Coder/README.md @@ -18,7 +18,7 @@ Planned coverage: - Em-dash and en-dash mirror in Vale - Product-voice rules -## Authoring a new rule +## Author a new rule 1. Write a YAML file under this directory. Name it after the rule's intent, for example `InclusiveLanguage.yml` or `ProductVoice.yml`. diff --git a/docs/ai-governance/ai-gateway/setup.md b/docs/ai-governance/ai-gateway/setup.md index 91211f86365..258bf38d696 100644 --- a/docs/ai-governance/ai-gateway/setup.md +++ b/docs/ai-governance/ai-gateway/setup.md @@ -118,7 +118,7 @@ For defaults, precedence, and privacy considerations, refer to [Actor header for ## Data Retention AI Gateway records prompts, token usage, tool invocations, and model reasoning for auditing and monitoring purposes. -By default, this data is retained for **60 days**. +By default, this data is retained for **60 days**. Configure retention using `--ai-gateway-retention` or `CODER_AI_GATEWAY_RETENTION`: diff --git a/docs/get-started/index.md b/docs/get-started/index.md index 043e62884b2..726746ef605 100644 --- a/docs/get-started/index.md +++ b/docs/get-started/index.md @@ -330,7 +330,7 @@ If you don't have a project in mind, ask the agent to generate something small y The Quickstart template is a starting point. [Customize your template](./customize-your-template/index.md) walks you through adding a language, installing your own command-line tools, and cloning private repositories. -Each task takes about 10 minutes. +Each task takes about 10 minutes. To carry your shell and editor settings into every workspace without editing the template, use [dotfiles](../workspaces/workspace-dotfiles.md). diff --git a/docs/mcp-server.md b/docs/mcp-server.md index 31ac9307fd5..3a14529c9b1 100644 --- a/docs/mcp-server.md +++ b/docs/mcp-server.md @@ -201,7 +201,7 @@ The workspace file and command tools (`coder_workspace_read_file`, `coder_worksp - Each tool takes a `workspace` argument that selects the workspace to act on. - Invalid arguments and workspace agent errors are returned as MCP tool errors. -- A single call waits at most 5 minutes. +- A single call waits at most 5 minutes. Run longer commands with `run_in_background` and check on them with `coder_workspace_process_output`. - Commands started through MCP are separate from Coder Agents chat processes, but anyone with SSH access to the workspace can list and signal them. diff --git a/docs/reference/feature-stages.md b/docs/reference/feature-stages.md index e87e007d9bf..a32ff50f7ff 100644 --- a/docs/reference/feature-stages.md +++ b/docs/reference/feature-stages.md @@ -141,7 +141,7 @@ All serving replicas must run a supporting version before you rely on this contr Replicas that run an earlier version ignore rules and use their startup `--experiments` list. Every replica also falls back to its own startup list for experiments without a rule or with `inherit`, so give all replicas the same `--experiments` value. -The dashboard fetches the enabled experiments again when a page loads, when the browser window regains focus, and when the connection is restored, if its copy is more than 60 seconds old. +The dashboard fetches the enabled experiments again when a page loads, when the browser window regains focus, and when the connection is restored, if its copy is more than 60 seconds old. It doesn't refresh on a timer, so a tab that stays focused can show an out-of-date view. The server applies the current rule to each request regardless of what the dashboard shows. diff --git a/docs/templates/extending-templates/docker-in-workspaces.md b/docs/templates/extending-templates/docker-in-workspaces.md index d889f4b26c3..b6e4e67daf0 100644 --- a/docs/templates/extending-templates/docker-in-workspaces.md +++ b/docs/templates/extending-templates/docker-in-workspaces.md @@ -380,7 +380,8 @@ On nodes with kernel 5.13 or later, you can skip the FUSE device entirely: 1. Put the Podman graph root on a real filesystem such as ext4 or xfs. If your template mounts a persistent volume at `/home/coder`, like the `kubernetes` starter, the default graph root already qualifies and keeps images across workspace restarts. - For ephemeral workspaces, mount an `emptyDir` volume at `/home/coder/.local/share/containers` instead; pulled images and build cache are lost when the workspace stops. + For ephemeral workspaces, mount an `emptyDir` volume at `/home/coder/.local/share/containers` instead. + Pulled images and build cache are lost when the workspace stops. 1. Clear the `mount_program` setting, because some Podman images pin it to `fuse-overlayfs` in `/etc/containers/storage.conf`. Write the override from the agent `startup_script`, which can also start the Docker-compatible API socket: @@ -403,7 +404,8 @@ On nodes with kernel 5.13 or later, you can skip the FUSE device entirely: `docker buildx` commands still require BuildKit and aren't supported. With both settings, Podman uses native kernel overlay, which performs better than `fuse-overlayfs` and removes the device plugin dependency. -When you use native overlay, skip the smarter-device-manager steps above and remove the `github.com/fuse` limit from the pod spec; without the device plugin, that limit keeps pods in `Pending`. +When you use native overlay, skip the smarter-device-manager steps above and remove the `github.com/fuse` limit from the pod spec. +Without the device plugin, that limit keeps pods in `Pending`. For a complete reference template, run `coder templates init --id kubernetes-podman-rootless` or refer to [`examples/templates/kubernetes-podman-rootless`](https://github.com/coder/coder/tree/main/examples/templates/kubernetes-podman-rootless).