Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
docs(agents): add default-off feature flag exception to docs sync rule (MUL-9767) (#11113)
Jiayuan Zhang1bb401d984e9
diff --git a/AGENTS.md b/AGENTS.mdindex ae5c94d929..59d173724d 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -144,6 +144,6 @@ Workspace-scoped queries filter by `workspace_id`; membership gates access and `- Before adding complexity for a speculative or vanishingly unlikely race or security edge case, explain the concrete failure mode, likelihood, and complexity cost to the user and get their buy-in. Do not silently expand scope for theoretical robustness.- Do not add internal compatibility shims, dual writes, fallback paths, or legacy adapters unless requested. This does not relax API response compatibility above.- Use names, types, and tests to express behavior. Code comments are English and kept for non-obvious rationale and constraints; remove superseded plans and incident narratives when updating code. Preserve tool directives and mixed-version contracts.-- When a change alters user-visible behavior, a setting, a default, a shortcut, or an entry point, `rg` `apps/docs/content/docs` for the feature's name and the terms of the old behavior; a newly added label is not in the docs yet. In the same PR, update every affected page and its locale siblings (`inbox.mdx`, `inbox.zh.mdx`, ...). Text the change makes wrong is always fixed here; if the docs only lack the new behavior, you may link a docs follow-up issue from the PR description instead.+- When a change alters user-visible behavior, a setting, a default, a shortcut, or an entry point, `rg` `apps/docs/content/docs` for the feature's name and the terms of the old behavior; a newly added label is not in the docs yet. In the same PR, update every affected page and its locale siblings (`inbox.mdx`, `inbox.zh.mdx`, ...). Text the change makes wrong is always fixed here; if the docs only lack the new behavior, you may link a docs follow-up issue from the PR description instead. Exception: do not document features gated behind a default-off flag in `server/internal/featureflags/keys.go` (permanently enabled compat keys do not count) in `apps/docs/content/docs/` or root `README*.md`; note why docs were skipped in the PR description instead. When a PR flips a flag to default-on or removes it for general availability, add the docs across all locales in the same PR (content removed earlier can be recovered from the diff of PR #11111).- New global pre-workspace routes use a single word or `/{noun}/{verb}`, not hyphenated root names. Update `server/internal/handler/reserved_slugs.json`, run `pnpm generate:reserved-slugs`, and commit `packages/core/paths/reserved-slugs.ts` when changing reserved slugs.- Use atomic conventional commits and the repository PR template. Follow the [pull request requirements](CONTRIBUTING.md#pull-request-requirements): Problem, Goal, Proposal (high-level design understandable without much background), Alternatives (optional), and Screenshots. Attach screenshots or a screen recording for UI or interaction changes (missing both means rejection by default). For releases, follow [.github/RELEASING.md](.github/RELEASING.md); default to a patch bump unless specified otherwise.diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex a0d8c08a8c..6a282b6440 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -70,6 +70,13 @@ default.** Reviewers should request changes or close the PR until one isprovided. PRsmissing the problem, goal, or high-level proposal are also not ready for review.+Do not add or translate docs in `apps/docs/content/docs/` or root `README*.md`+for features gated behind a default-off flag in+`server/internal/featureflags/keys.go` (permanently enabled compat keys do not+count); note why docs were skipped in the PR description instead. When a PR+flips a flag to default-on or removes it for general availability, add the docs+across all locales in the same PR.+### Screenshots and RecordingsStore PR evidence as [GitHub attachments](https://docs.github.com/en/github-cli/github-cli/attaching-files-with-github-cli).