Repository navigation
Adopt ASD-STE100 inspired writing style for PRDs and docs, lint with vale - #2844
Erik Osterman (Cloud Posse) (osterman) wants to merge 12 commits into
Conversation
PRDs and website docs have no shared writing style and no prose linter, only godot (Go comments) and lychee (links) run today. Adopt a writing style inspired by ASD-STE100 (Simplified Technical English), enforced via a new `atmos lint docs [--changed]` custom command that runs identically locally, in a pre-commit hook, and in CI (inside the Atmos container image, no third-party GitHub Action). vale is installed automatically by the Atmos toolchain. Rollout is informational-only (Phase 1) and patch-scoped. Co-Authored-By: Claude Sonnet 5 <[email protected]>
|
Tip Atmos Pro
No affected stacks workflow was detected for this pull request. |
|
Important Cloud Posse Engineering Team Review RequiredThis pull request modifies files that require Cloud Posse's review. Please be patient, and a core maintainer will review your changes. To expedite this process, reach out to us on Slack in the |
Dependency Review✅ No vulnerabilities or license issues found.Scanned Files
|
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughAdds Vale-based linting for PRDs and website documentation. The change adds custom rules, technical vocabulary, changed-file detection, local and CI integration, writing guidance, and updated blog content. ChangesDocumentation linting
Estimated code review effort: 3 (Moderate) | ~30 minutes Sequence Diagram(s)sequenceDiagram
participant Developer
participant AtmosLintDocs
participant Git
participant Vale
Developer->>AtmosLintDocs: Run atmos lint docs --changed
AtmosLintDocs->>Git: Select changed documentation files
Git-->>AtmosLintDocs: Return paths or diff status
AtmosLintDocs->>Vale: Load .vale.ini and selected paths
Vale-->>AtmosLintDocs: Return suggestion diagnostics
AtmosLintDocs-->>Developer: Report diagnostics or skip when no files changed
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 8
🧹 Nitpick comments (2)
.vale/styles/Atmos/PassiveVoice.yml (1)
9-11: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick winNarrow the
-enpassive-voice heuristic.The second token matches
is often,is open, andis even. These are not passive constructions. They will generate false positives across the documentation corpus. Add exclusions or use a controlled participle list before promoting this rule.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In @.vale/styles/Atmos/PassiveVoice.yml around lines 9 - 11, Update the second token in the passive-voice rule to avoid matching non-participles such as “is often,” “is open,” and “is even.” Narrow the -en heuristic with explicit exclusions or a controlled list of valid participles while preserving detection of genuine passive constructions..vale/styles/Atmos/Contractions.yml (1)
8-11: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick winCover the remaining common contractions or document the heuristic.
The rule misses common forms such as
he'll,she'd,it'll, andlet's. A document can still contain a contraction while this rule stays silent. Add the remaining common forms or state that the rule is partial in the style guide.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In @.vale/styles/Atmos/Contractions.yml around lines 8 - 11, Expand the contraction patterns in the tokens list to cover the missing common forms, including `he'll`, `she'd`, `it'll`, and `let's`, while preserving the existing matches. Update the relevant contraction rule definitions rather than changing unrelated style configuration.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.atmos.d/lint.yaml:
- Around line 135-144: Update the changed-document selection in the lint
workflow to exclude deleted paths before invoking Vale, preferably by adding
Git’s --diff-filter=ACMR to the git diff command. Preserve the existing
no-changed-documents early exit and Vale invocation behavior for remaining
files.
In @.github/workflows/docs-lint.yml:
- Around line 9-13: Update the path filters in the docs-lint workflow to include
.tool-versions alongside the existing Vale and toolchain paths, ensuring changes
to the Vale toolchain trigger validation.
- Around line 19-25: Update the docs-lint workflow’s container configuration to
use an Atmos image that includes the `atmos lint docs` command, or change the
job to build Atmos from the checked-out source before invoking it. Ensure the
existing `atmos lint docs --changed` step runs only with that updated toolchain.
In @.vale.ini:
- Around line 22-29: Update the Vale configuration for the docs/prd/*.md and
website/docs/**/*.md(x) sections to include both Atmos and Vale in
BasedOnStyles, enable Vale.Terms and Vale.Avoid at suggestion severity, and
disable unrelated built-in rules such as Vale.Spelling and Vale.Repetition if
not intended for these sections.
- Around line 22-24: Update the Vale PRD selector in .vale.ini and the matching
selector note in docs/prd/technical-writing-standard-ste100.md (lines 117-121)
from docs/prd/*.md to docs/prd/**/*.md, keeping both references consistent so
nested PRD files are included.
In @.vale/styles/Atmos/SentenceLength.yml:
- Around line 5-10: Update the whole-sentence rule in the SentenceLength
configuration to use raw regex boundaries by enabling the rule’s raw/nonword
matching option. Preserve the existing token and sentence-length threshold while
ensuring the ^ and $ anchors can match sentence text ending with punctuation.
In @.vale/styles/config/vocabularies/Atmos/reject.txt:
- Around line 5-10: Update the rejected vocabulary entries in reject.txt to
match case-insensitively, including capitalized sentence-start forms such as
Leverage, Robust, and Simply; use the existing entries with a (?i) prefix or
explicit case variants.
In `@docs/prd/technical-writing-standard-ste100.md`:
- Around line 55-60: Remove the verbatim ASD-STE100 quotation from the
introductory section and replace it with a concise paraphrase of the copyright
constraint, while retaining the reference link. Update the related success
criterion around the PRD’s official-text handling so it no longer implies that
omitting the quoted text is itself the goal, and keep the document focused on
defining Atmos’s own writing style.
---
Nitpick comments:
In @.vale/styles/Atmos/Contractions.yml:
- Around line 8-11: Expand the contraction patterns in the tokens list to cover
the missing common forms, including `he'll`, `she'd`, `it'll`, and `let's`,
while preserving the existing matches. Update the relevant contraction rule
definitions rather than changing unrelated style configuration.
In @.vale/styles/Atmos/PassiveVoice.yml:
- Around line 9-11: Update the second token in the passive-voice rule to avoid
matching non-participles such as “is often,” “is open,” and “is even.” Narrow
the -en heuristic with explicit exclusions or a controlled list of valid
participles while preserving detection of genuine passive constructions.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: ce8219cf-4f2c-4c3b-8315-54760592aaf9
📒 Files selected for processing (18)
.atmos.d/lint.yaml.atmos.d/toolchain.yaml.claude/skills/changelog/SKILL.md.claude/skills/docs/SKILL.md.claude/skills/writing-style/SKILL.md.github/workflows/docs-lint.yml.pre-commit-config.yaml.tool-versions.vale.ini.vale/styles/Atmos/Contractions.yml.vale/styles/Atmos/PassiveVoice.yml.vale/styles/Atmos/SentenceLength.yml.vale/styles/Atmos/WordyPhrases.yml.vale/styles/config/vocabularies/Atmos/accept.txt.vale/styles/config/vocabularies/Atmos/reject.txtCLAUDE.mddocs/prd/technical-writing-standard-ste100.mddocs/writing-style-guide.md
- EditorConfig requires markdown indent_size = 2, but manually hard-wrapped numbered-list continuation lines and the ASCII diagram used 3-space indentation. Unwrap list items onto single lines (matching this repo's existing PRD convention of not hard-wrapping prose) and fix the diagram's indentation to a multiple of 2. - The Native CI job (docs-lint.yml) failed with "Not a git repository" because `type: shell` steps in the Atmos container do not reliably start inside $GITHUB_WORKSPACE. Anchor explicitly to $GITHUB_WORKSPACE (or a git-discovered toplevel as fallback), add a defensive safe.directory config, and fail soft (exit 0) if git diff still can't resolve changed files, consistent with Phase 1 being non-blocking. Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
docs/prd/technical-writing-standard-ste100.md (1)
38-39: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick winUse non-blocking wording for Phase 1.
Because Phase 1 reports suggestions without blocking checks, replace “enforce it with
vale” with “check it withvale” or similar wording. This keeps the solution statement consistent with Line 104.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@docs/prd/technical-writing-standard-ste100.md` around lines 38 - 39, Update the Phase 1 solution statement in the ASD-STE100 documentation to replace “enforce it with vale” with non-blocking wording such as “check it with vale,” matching the behavior described around Line 104 while preserving the existing Atmos custom command reference.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In `@docs/prd/technical-writing-standard-ste100.md`:
- Around line 38-39: Update the Phase 1 solution statement in the ASD-STE100
documentation to replace “enforce it with vale” with non-blocking wording such
as “check it with vale,” matching the behavior described around Line 104 while
preserving the existing Atmos custom command reference.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 385662b0-b1a5-44f7-9321-83409155b1fc
📒 Files selected for processing (3)
.atmos.d/lint.yaml.claude/skills/writing-style/SKILL.mddocs/prd/technical-writing-standard-ste100.md
🚧 Files skipped from review as they are similar to previous changes (1)
- .atmos.d/lint.yaml
…ht quote - Paraphrase the verbatim ASD-STE100 copyright notice quoted in the PRD, so the document no longer contradicts its own "does not reproduce ASD-STE100 text" claim while keeping the copyright constraint and the link to asd-ste100.org. - Add `Vale` alongside `Atmos` in `.vale.ini` BasedOnStyles: `Vocab = Atmos` only points Vale at the vocabulary folder, it does not by itself enable the built-in `Vale.Terms`/`Vale.Avoid` checks that read accept.txt/ reject.txt, so the reject list was dead weight. Explicitly disable the `Vale.Spelling`/`Vale.Repetition` side effects and pin `Vale.Terms`/ `Vale.Avoid` to `suggestion`, since both default to `error` and would otherwise make Phase 1 blocking across an unvetted ~1,000-file corpus. - Prefix reject.txt entries with `(?i)` so capitalized sentence-start forms (Leverage, Robust, Simply) are caught, not just the lowercase mid-sentence form. - Add `nonword: true` to the SentenceLength rule: Vale's default \b(...)\b token wrapping breaks the `^`/`$` anchors for sentences ending in terminal punctuation. Empirically this took the full-corpus hit count from 34 to 952. - Add `.tool-versions` to docs-lint.yml's path filter (vale's pinned version lives there too). - Exclude deleted files from the `--changed` git diff in `.atmos.d/ lint.yaml` via --diff-filter=ACMR, since a deleted path silently falls through to vale reading stdin instead of erroring. - Use `docs/prd/**/*.md` in .vale.ini for clarity/future-proofing, and update the matching PRD prose note. Verified with a live CI run (docs-lint.yml on this branch's current HEAD) that `atmos lint docs --changed` already runs correctly inside the pinned ghcr.io/cloudposse/atmos:1.224.1 container: CodeRabbit's report that the command doesn't exist in that image was an artifact of testing the bare container without this repo's .atmos.d/lint.yaml checked out. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2844 +/- ##
==========================================
+ Coverage 82.11% 82.17% +0.06%
==========================================
Files 1802 1802
Lines 175175 175214 +39
==========================================
+ Hits 143842 143986 +144
+ Misses 23565 23514 -51
+ Partials 7768 7714 -54
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
The first draft of the PRD read stilted: writing sentence-by-sentence to
satisfy the Vale rules, rather than drafting naturally and spot-checking
after, stripped out normal connectors ("because", "so") and produced flat,
disconnected prose. ASD-STE100 never forbids ordinary subordinate clauses.
- Rewrote the PRD's prose, restoring natural sentence flow, and split only
the sentences that genuinely held more than one idea.
- Softened the `PassiveVoice` and `SentenceLength` rule messages so they
invite a judgment call instead of demanding mechanical compliance, and
reworded the writing-style skill's core rules away from "split on and/
which/that" (the instruction that caused the flattening in the first
place).
- Tested Vale's official Google and Microsoft style packages (MIT-licensed)
against this PRD: wholesale adoption produced 58 errors, 65 warnings, and
128 suggestions on one file, including rules that directly fight ASD-
STE100 (Microsoft enforces contractions as an error) and this repo's PRD
voice (both flag first-person "we"/"our"). Rejected wholesale adoption,
but adapted two genuinely better pieces of engineering from them: the
comprehensive irregular-verb list in `Passive.yml`, and the `occurrence`-
based word-count mechanism (with a better-calibrated 30-word threshold)
from `SentenceLength.yml`.
- Documented both decisions in the PRD's Alternatives Considered section
and added durable "findings are prompts, not mandates" guidance to
`docs/writing-style-guide.md` and the `writing-style` skill.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/prd/technical-writing-standard-ste100.md`:
- Line 146: Update the enforcement-scope statement for `lint docs --changed` to
accurately describe whole-file validation based on changed-file detection, or
explicitly define the diff-aware filtering planned for Phase 2; do not claim
that findings are limited to changed lines.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: a63c6751-2489-4803-852a-0681569543f1
📒 Files selected for processing (9)
.atmos.d/lint.yaml.claude/skills/writing-style/SKILL.md.github/workflows/docs-lint.yml.vale.ini.vale/styles/Atmos/PassiveVoice.yml.vale/styles/Atmos/SentenceLength.yml.vale/styles/config/vocabularies/Atmos/reject.txtdocs/prd/technical-writing-standard-ste100.mddocs/writing-style-guide.md
🚧 Files skipped from review as they are similar to previous changes (3)
- .vale/styles/config/vocabularies/Atmos/reject.txt
- .github/workflows/docs-lint.yml
- .atmos.d/lint.yaml
Phase 1 shipped four vale rules and a six-rule agent skill. Measuring both against the real corpus changed several of those choices. Skill framing (the big one). The six-rule enumeration was tested against three alternatives: four fresh agents, same two writing tasks, no linter access. Scored on vale findings plus sentence-length variance and subordinate-connector density, which is where flattening shows up and the linter cannot see it. The enumeration scored best on vale and worst on everything else, producing flatter prose than giving no guidance at all (0.64 connectors per 100 words against a well-written PRD's 2.15). That is the v1.0.1 flattening reproduced on demand: restating a lossy subset of a standard the reader already knows narrows attention to the listed items, so the writer optimizes the four measurable rules and sacrifices the connected reasoning the standard asks for. Anchor-plus-exemplars recovered the target voice almost exactly. The skill now names ASD-STE100, documents only where Atmos deviates, and carries before/after exemplars. False positives removed (1,618). A bare "#" in reject.txt compiled into a live pattern matching every hash in the docs, hitting issue shorthand, anchor links, and shell comments (30). Vale.Terms enforced accept.txt casing and was wrong every time: yaml/json in code fences and config keys, cli in doc paths, and environment variable names such as KUBECONFIG reported as miscased prose (1,588). PassiveVoice re-tightened. v1.0.2 over-softened it into blanket permission to skip. The flattening incident came from splitting sentences, not from active voice, so the latitude belongs to SentenceLength alone. Default for a flagged passive is now rewrite, with one narrow stated exception. Rules added: FutureTense (545 hits, no measured false positives) and Terminology (356 hits; "spec" tried and dropped for naming standards rather than sloppy shorthand). NounClusters built and rejected, documented so nobody rebuilds it. Vale's sequence tag filter has no effect -- a sequence restricted to common nouns still matched four proper nouns -- giving 2,407 findings at roughly four in five wrong. Untunable at that rate, and the same failure Vale.Terms had. Pathspec fix, in the opposite direction from the obvious one. A git pathspec is not a shell glob: "*" already crosses "/", so docs/prd/*.md covers nested PRDs. The "**" form requires an intermediate directory, so website/docs/**/*.mdx silently skipped experimental.mdx and unreleased.mdx. .vale.ini keeps "**" because gobwas/glob is the opposite on both counts. Blog scope. Vale.Avoid alone now runs on website/blog, catching marketing filler where it matters most. SentenceLength, Contractions, and PassiveVoice stay off there -- they would fight the narrative house voice. Blog posts as the proving ground. Applying the changelog skill to five real posts confirmed it fires on the three it declares violations and leaves the two already-good posts nearly untouched (4- and 6-line diffs). It also exposed that all eight dated filename citations in that skill were wrong, one quote was fabricated, and one cross-reference was false. Citations are now self-contained quotes rather than paths that drift. Verified: website build passes, atmos lint docs --changed reports 0 errors across 8 files, blog files produce Vale.Avoid findings only. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.claude/skills/changelog/SKILL.md:
- Around line 152-159: The authoring guidance and function-registry post expose
implementation details prohibited by Rule 4. In
.claude/skills/changelog/SKILL.md lines 152-159, replace the “One Registry...”
example with CLI, configuration, or observable-output language; in
website/blog/2025-12-22-function-registry-package.mdx lines 3-21, retitle and
rewrite the post to remove “registry,” “identity cache,” and parser-coupling
language while preserving the user-visible effects.
In @.vale/styles/Atmos/FutureTense.yml:
- Line 17: Update the future-tense rule pattern in FutureTense.yml to target
“will” followed by an actual verb rather than any lowercase word, while
preserving the optional “not” handling. First add positive and negative
reproducing fixtures for cases such as “will also” and “will not only,” then
change the rule and rerun the existing Vale lint checks.
In `@docs/writing-style-guide.md`:
- Around line 8-12: Update the opening description in the style guide to state
that Atmos uses a writing style inspired by ASD-STE100, rather than claiming the
style is ASD-STE100; preserve the existing explanation of ASD-STE100 and its
purpose.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 6d51e847-0dd5-406a-8753-dd5a402995c1
📒 Files selected for processing (17)
.atmos.d/lint.yaml.claude/skills/changelog/SKILL.md.claude/skills/writing-style/SKILL.md.github/workflows/docs-lint.yml.vale.ini.vale/styles/Atmos/FutureTense.yml.vale/styles/Atmos/PassiveVoice.yml.vale/styles/Atmos/SentenceLength.yml.vale/styles/Atmos/Terminology.yml.vale/styles/config/vocabularies/Atmos/reject.txtdocs/prd/technical-writing-standard-ste100.mddocs/writing-style-guide.mdwebsite/blog/2025-12-22-function-registry-package.mdxwebsite/blog/2026-06-30-list-dependencies.mdxwebsite/blog/2026-07-05-atmos-builds-atmos.mdxwebsite/blog/2026-07-20-container-buildx-cache-and-driver.mdxwebsite/blog/2026-07-25-global-metadata-defaults.mdx
🚧 Files skipped from review as they are similar to previous changes (4)
- .atmos.d/lint.yaml
- .vale/styles/Atmos/SentenceLength.yml
- .github/workflows/docs-lint.yml
- .vale/styles/Atmos/PassiveVoice.yml
Three findings, all valid.
Say "inspired by ASD-STE100", not "is ASD-STE100". The guide's opening claimed
the style *is* the standard, which reads as conformance to a specification this
repository neither reproduces nor verifies against. That was a regression I
introduced while restructuring the guide -- the PRD's copyright posture has
always been "inspired by". Fixed in the guide, the skill body, and the skill
description.
Widen FutureTense to span the whole verb phrase. The pattern matched any
lowercase word after "will", so it stopped at the adverb: "will automatically"
rather than "will automatically install". The detection was right but the
highlighted span pointed at the wrong word, and the rule did not match the
"will plus a verb" description in the PRD and the style guide. It now absorbs
negation and adverbs through to the verb.
The same review surfaced a false positive my corpus scan had measured as zero:
"free will are not future tense" matched, because "will" also has a noun sense.
After the auxiliary "will" English requires a bare infinitive, so a conjugated
form of "be" means the match is the noun. RE2 has no lookahead, so this is an
`exceptions` list rather than a pattern change.
Corpus count is unchanged at 545 -- same detections, correct spans, one FP class
removed.
Fixtures now committed at .vale/testdata/FutureTense.md, positives and negatives
in one file. The earlier rule tests lived in a gitignored scratch directory and
were lost; this rule was subtle enough to deserve a durable check.
Rule 4 example reworked. CodeRabbit noted that the changelog skill held up "One
Registry Behind Every Atmos Function" as the model fix while "registry" is still
implementation structure. That is right, and it taught the wrong target: swapping
a Go package path for an architecture noun is the middle rung, not the goal. The
example now shows all three rungs and lands on observable behavior. Applied the
same correction to the one line in the post that stated a mechanism with no
user-visible effect ("share a single identity cache" -> resolve identity once per
run and reuse it).
Not done: CodeRabbit also asked to strip "registry" from the published post
entirely. That post is tagged `core`, and the skill simultaneously says posts are
for users, ships a `core` tag for contributor-only changes, and says internal-only
work gets no post at all. Resolving that contradiction is a policy call, not a
wording fix, so the post keeps its framing until it is settled.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
A scan of all 261 posts, verified by four independent readers, found that machine-generated changelog prose concentrates in Oct 2025 - Jan 2026. Mean slop score falls from 16.4 that October to 5.6 in July 2026, and posts scoring >=20 drop from 8 per month to 1. Current authoring practice is fine; this is legacy. Core means contributor-facing. This was blocking work in three places at once -- CodeRabbit on #2844, three rewrite agents independently, and two posts in this cleanup. The changelog skill held three incompatible positions: posts are for users, a core tag exists for contributors, and internal-only work gets no post. Resolved with an audience test: a user would notice it, so use a user-facing tag and Rule 4 applies; a contributor needs it to navigate the codebase, so tag it core and Rule 4 does not apply; neither, so no post. The third row preserves the roadmap skill's invariant, which is reconciled to match rather than left to contradict. tags.yml now describes core the same way. Rule 4 is scoped accordingly, and its three-rung ladder gained a note that rung one is simply correct on a core post -- contributors want the paths. Consequently, the function-registry post gets its package paths back. Removing them was the right call under the old reading and the wrong one under this reading. The improved problem-first framing and title stay; pkg/function, pkg/yaml, and pkg/aws/identity return as a "Where the Code Lives" section, because that is the most useful thing a core post can tell its reader. Artifacts removed. A literal "Generated with Atmos" footer on a published post. An unfilled "available in Atmos v1.x.x" placeholder contradicting its own release field. Two references to an unmerged PR ("before this PR", "in this PR"). A v1.195.0/v1.196.0 mismatch between frontmatter and body. Decorative emoji headings. Twelve posts rewritten. The recurring finding was that the good intro was already in the post, buried under a feature-first opener -- auth-logout had "Most cloud practitioners never log out of their cloud provider identities. Not because they don't want to, but because the tooling doesn't make it easy." sitting under "Why This Matters". So most of this is promotion and renaming rather than composition, which is deliberate: inventing a Problem section is how posts get padded. Two factual errors surfaced and were fixed rather than reworded: a "v2.x" availability claim contradicting release: v1.200.0, and a "35 Terraform commands" figure that no longer matches the docs tree. A lockfile claim that contradicted the same post's roadmap section was dropped rather than guessed at. Scores: toolchain-management 40.5 -> 0, aws-sso-identity-auto-provisioning 28.0 -> 0, azure-authentication-support 27.5 -> 4.0, auth-credential-invalidation 27.0 -> 0, auth-logout 24.5 -> 4.5. Nothing from 2025 now scores above 23. Verified: website build exits 0 with no new warnings; vale reports 0 findings across all 15 changed posts; every slug, date, release field, and filename is unchanged; the previously-fixed posts and known-good controls did not move. Blind reads confirm no flattening -- sentence-length stdev on the rewrites is 20.6 to 21.2, against the 6.4 that characterized the flattening regression. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The rewrite opened on a fabricated scenario -- two engineers getting different plans, one on Terraform 1.5.7 and one on 1.9.8 -- and that was wrong twice over. 1.5.7 was invented. It appears nowhere in the original post. The instruction to the rewrite explicitly said not to invent facts, and a specific, checkable, two-year-old version number is exactly the kind of detail that should never have been manufactured. 1.9.8 is genuine: it is the post's running example throughout. The contrived scene was the deeper problem. Pushing problem-first framing without a real anecdote to draw on produces an invented one, and an invented one dates badly and reads as filler. Replaced with the actual problem, which is simpler and does not need a scene. Terraform and OpenTofu have to be installed everywhere infrastructure runs: a workstation, someone else's workstation on a different distribution, and a CI runner that starts from nothing every time. Pinning a version per environment is ordinary operational practice, and most package managers cannot express it at all, because they install one version system-wide with no notion of concurrent versions. Also tied the payoff back to the mechanism. The intro now promises per-environment pinning, so the stack-configuration section says where that comes from: a stack already describes one environment, so a tool version declared in it applies to that environment alone. Audited the other eleven rewritten posts for the same failure by diffing every number, version, and percentage in the new text against the original. 1.5.7 was the only invented numeric fact in the batch. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Also unblocked the EditorConfig hook. It runs `atmos validate --affected`, so touching a file pulls that file's pre-existing violations into scope. Eleven 3-space list continuations in the roadmap skill, and seven odd-indent lines inside code fences across the roadmap skill and two auth posts, were all present on origin/main byte-identical. The in-fence lines are aligned console output and tree art, so they are padded to four spaces rather than stripped to two, which keeps the arrows and tree branches lined up.
…ed-technical-english
These nine carried `authors: [atmos]`, the generic team byline the changelog skill says to avoid. Attribution follows the pull request that implemented the feature, not the commit that added or later renamed the post file. That distinction mattered. Five of the nine appear in `git log --diff-filter=A` as added by #2753, a chronology-correction pass that renamed post files to match their publication dates. Following renames instead points at the real work: list-components-fix #1949 osterman chdir-config-isolation #1941 osterman introducing-atmos-lsp #2030 aknysh introducing-atmos-ai #2030 aknysh ci-comments-env-var #2300 osterman list-instances-matrix #2322 johncblandii terraform-all-dependency-order-wired-up #2486 thejrose1984 dotenv-include-support #1930 osterman toolchain-proxies #1687 osterman Each byline is the GitHub pull request author rather than the git commit author, because squash merges attribute the commit to whoever merged it. #2300 needed a judgment call. It was authored by `app/copilot-swe-agent`, a bot. The byline goes to osterman, who is the assignee and the human who drove the change. A bot is not a contributor byline, and the person who merged it (aknysh) did not do the work either. johncblandii and thejrose1984 were missing from `authors.yml` and are added here, which the changelog skill requires in the same change that references them. thejrose1984 publishes no display name on GitHub, so the login stands in rather than inventing one. Verified: all 263 posts now resolve to a real `authors.yml` entry, no post carries the generic byline, and the site builds with no author warnings. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Twenty-one posts, verified by three independent readers before any rewriting.
Zero came back a false positive, but the readers found far more than prose
problems: several posts documented behavior that does not exist.
Fabricated product behavior, removed:
- The LSP post's central demo was invented. It showed typo detection
("did you mean 'cidr_block'?"), a deprecation table, and CIDR validation
across five sections. None of that exists: pkg/lsp/server/diagnostics.go
emits YAML syntax and structure messages only. It also carried four made-up
latency figures with no benchmark behind them, claimed "LSP requires
v1.50.0+" (off by roughly 175 minor versions), listed Atom as a supported
editor three years after Atom was archived, and contained a yaml fence
nested inside a markdown fence that could not render. 786 lines to 112.
- The step-types post documented four step types that do not exist --
success, info, warn, error -- breaking three of its four examples with
ErrUnknownStepType. The real types are toast (with a level field) and log.
A reader copying the flagship example got an error.
- The profiles post shipped a CI auth block using kind: aws/role (the real
kind is aws/assume-role) and an audience field that IdentityVia does not
have. A reader copying it got nothing that works. The rewrite uses the
shipped example at examples/config-profiles/profiles/ci/auth.yaml. The
agent also found auth.defaults.identity is equally invented in the block I
had told it to leave alone, and fixed that too.
- The Ask AI post claimed twice that the assistant is "specifically trained
on Atmos documentation". Algolia Ask AI is retrieval over a configured
index. Nothing is trained.
Other corrected facts: an unfilled "available starting in Atmos vX.X.X"
contradicting its own verified release field; an unsourced "97% mapped to
Atmos components" whose own sample showed four of four; an AI excerpt whose
summary counted four findings while the body showed two; a control attributed
to the wrong compliance standard by the post's own earlier output; a Get
Involved link pointing at cloudposse/geodesic/issues; a closed, unrelated pull
request cited as the feature's PR; "reducing prompt fatigue by 80%+";
duplicate top-level terraform keys in a YAML block that would fail to parse;
and a contributor section describing packages that have since moved.
Two posts presented experimental features as stable. Both docs pages carry
<Experimental />; the posts now say so.
The task-runner post was tagged feature while being entirely contributor
content. Retagged core, which under the audience rule makes its internals
legitimate rather than a leak.
Scores: LSP 22.5 to 0, ask-ai-search 20.0 to 0, geodesic 21.0 to 0,
sso-verification 23.0 to 0, backend-provisioning 19.5 to 0, azure-blob 31.0 to
13.0. The corpus ceiling drops from 31.0 to 18.0 and the median from 10.5 to
9.0.
Also documented a detector bug a reader caught: a raw grep for emoji headings
false-positives on every post that quotes Atmos CLI output, because Atmos
renders Markdown to the terminal and those fenced blocks contain "## " and
severity markers. The scoring code already strips fences; the caveat is now
recorded so nobody reintroduces a raw grep.
Verified: site builds with no new warnings, vale reports zero findings across
all 21, and every slug, date, release field, and filename is unchanged.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
A reviewer asked why a whole section vanished from the auth-tutorials post. It had not been deleted, it had been collapsed into one sentence -- but the review was right, because the collapse was wrong. Auditing the rest of the sweep found the same failure in several places, and both causes trace back to rules in the changelog skill rather than to any one rewrite. Lists that answer a lookup question got flattened into run-on prose. The test should have been whether each bullet carries a distinct fact, not whether it is shaped like a bullet. Restored as lists: - Geodesic's image manifest, which had become 13 tool names in a 55-word wall of commas. "What is in this image?" is the main question a reader brings to that post. The collapse also dropped two "etc."/"and more" hedges, turning an illustrative list into an accidental exhaustive manifest. - The columns `atmos toolchain list` prints. - The backend post's first-run / every-run-after / after-import state table, which had become a single sentence that also garden-pathed on "Runs after the first say nothing at all." - The auth-tutorials benefits list, which additionally lost one fact outright. Community links were dropped to satisfy a length rule. "Get Involved is one or two sentences ending in the issues link" is my wording, and six posts lost their Slack link to it. Slack is a real destination, not filler. Restored in all six, worded to fit each post's existing sign-off. Geodesic was worse than dropping a link: it routed image problems -- a missing tool, a version bump -- to the atmos issue tracker instead of geodesic's. It now names both. Also restored: the devcontainer specification link, in a post whose thesis is that Geodesic predates that spec; the LSP client guide, which the rewrite described at length without linking; and what happens when a hand-written field collides with an auto-discovered one, under a heading that still promised "Override or extend." Both skill rules are amended so this does not recur. The bullet rule now says the test is the text and not the shape, with the failure cases named. The Get Involved rule now says to trim words, not destinations. Three apparent losses were left alone because they were corrections, not regressions: "(S3, GCS, etc.)" when only S3 is registered, `CommandRunner` and `Run()`/`RunAll()` which no longer exist, and an "available in Atmos v2.x" claim that contradicted its own release field. Verified: site builds clean, vale reports zero findings, editorconfig passes, and every slug, date, and release field is unchanged. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
💥 This pull request now has conflicts. Could you fix it Erik Osterman (Cloud Posse) (@osterman)? 🙏 |
Quality Gate
Readiness✅ Fewer than 150 changed files Reviews✅ Review threads resolved or dismissed MeasuresCurrent commit: Quality Gate details
🤖 Next steps for this PR |
what
docs/prd/technical-writing-standard-ste100.md) adopting a writing style for Atmos PRDs andwebsite/docs/pages, inspired by ASD-STE100 (Simplified Technical English) principles — the PRD itself is written in the style it proposes.docs/writing-style-guide.md, the human-readable rule list and Atmos technical dictionary..claude/skills/writing-style/SKILL.mdagent skill, and cross-references it fromCLAUDE.md,.claude/skills/docs/SKILL.md, and.claude/skills/changelog/SKILL.md(blog posts are explicitly out of scope for this standard).atmos lint docs [--changed]custom command (.atmos.d/lint.yaml) that runsvaleagainst PRDs and docs, scoped to files changed fromorigin/mainwhen--changedis passed. The Atmos toolchain installsvaleautomatically (newvale: vale-cli/valealias in.atmos.d/toolchain.yaml) — no manual setup..vale.iniand four hand-authored rules under.vale/styles/Atmos/(sentence length, passive voice, contractions, wordy phrases), plus a small project-specific technical dictionary via Vale's Vocab mechanism (.vale/styles/config/vocabularies/Atmos/{accept,reject}.txt).atmos lint docs --changedcommand into a new pre-commit hook (vale-docs-lint) and a new containerized CI workflow (.github/workflows/docs-lint.yml, mirrors the existingatmos-pro.yamlpattern — no third-party vale/reviewdog action).suggestionlevel, so nothing blocks a commit or a CI check yet.why
godot(Go comment periods) andlychee(link checking) run today.valeinstall everywhere.references
docs/prd/technical-writing-standard-ste100.mdSummary by CodeRabbit