docs: fix GerundHeading, Semicolons, and UnitSpacing findings (#31990)
Fixes the `warning`-level findings that the Vale findings spike review marked valid: - **`Coder.GerundHeading`**: `docs/.style/styles/Coder/README.md`, "Authoring a new rule" is now "Author a new rule". Nothing links to the old anchor. - **`Coder.Semicolons`**: `templates/extending-templates/docker-in-workspaces.md`. Each semicolon is now a sentence break, with the new sentence on its own line. - **`Coder.UnitSpacing`**: added ` ` between number and unit in `get-started/index.md` (10 minutes), `mcp-server.md` (5 minutes), `ai-governance/ai-gateway/setup.md` (60 days), and `reference/feature-stages.md` (60 seconds). These three rules now have 0 findings in `vale docs/`, and the changed files have no new findings from other rules. --- AI-generated by Superblink on behalf of @nickvigilante. Supersedes #31877, reopened under a human author for attribution. Co-authored-by: coder[bot] <137810501+coder[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
a3f25a491e
commit
da64286fe3
6 files changed
+9
-7
No files matched your search
@@ -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`.
|
||||
|
||||
@@ -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`:
|
||||
|
||||
|
||||
@@ -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).
|
||||
|
||||
|
||||
+1
-1
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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).
|
||||
|
||||
|
||||
Reference in new issue
Block a user