Skip to content

Adopt ASD-STE100 inspired writing style for PRDs and docs, lint with vale - #2844

Open
Erik Osterman (Cloud Posse) (osterman) wants to merge 12 commits into
mainfrom
osterman/prd-simplified-technical-english
Open

Erik Osterman (Cloud Posse) (osterman) wants to merge 12 commits into
mainfrom
osterman/prd-simplified-technical-english

Conversation

@osterman

@osterman Erik Osterman (Cloud Posse) (osterman) commented Jul 31, 2026 •

Copy link
Copy Markdown
Member

what

  • Adds a PRD (docs/prd/technical-writing-standard-ste100.md) adopting a writing style for Atmos PRDs and website/docs/ pages, inspired by ASD-STE100 (Simplified Technical English) principles — the PRD itself is written in the style it proposes.
  • Adds docs/writing-style-guide.md, the human-readable rule list and Atmos technical dictionary.
  • Adds a new .claude/skills/writing-style/SKILL.md agent skill, and cross-references it from CLAUDE.md, .claude/skills/docs/SKILL.md, and .claude/skills/changelog/SKILL.md (blog posts are explicitly out of scope for this standard).
  • Adds a new atmos lint docs [--changed] custom command (.atmos.d/lint.yaml) that runs vale against PRDs and docs, scoped to files changed from origin/main when --changed is passed. The Atmos toolchain installs vale automatically (new vale: vale-cli/vale alias in .atmos.d/toolchain.yaml) — no manual setup.
  • Adds .vale.ini and 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).
  • Wires the same atmos lint docs --changed command into a new pre-commit hook (vale-docs-lint) and a new containerized CI workflow (.github/workflows/docs-lint.yml, mirrors the existing atmos-pro.yaml pattern — no third-party vale/reviewdog action).
  • Rollout is Phase 1: every rule is suggestion level, so nothing blocks a commit or a CI check yet.

why

  • Atmos has ~218 PRDs and ~815 docs pages with no shared writing style and no prose linter — only godot (Go comment periods) and lychee (link checking) run today.
  • The official ASD-STE100 specification and its controlled dictionary are copyrighted by ASD and cannot be reproduced here, so this PR authors its own paraphrased rule set and a small original technical dictionary instead of copying the standard — see the PRD's Risks & Mitigation section for the full rationale.
  • Wiring the check through an Atmos custom command (rather than a bespoke script or third-party GitHub Action) means the exact same command runs locally, in the pre-commit hook, and in CI, with the Atmos toolchain handling the vale install everywhere.
  • With ~1,000 existing files predating this standard, enforcement starts informational-only and patch-scoped; existing files stay grandfathered until edited rather than being mass-rewritten. See the PRD's Migration Path for Phase 2/3.

references

  • docs/prd/technical-writing-standard-ste100.md

Summary by CodeRabbit

  • New Features
    • Added automated documentation linting for complete documentation sets or changed files.
    • Added writing-style checks for contractions, passive voice, long sentences, wordy phrases, and preferred terminology.
    • Added documentation checks for pull requests and local pre-commit workflows.
  • Documentation
    • Added technical writing standards and a writing-style guide for PRDs and website documentation.
    • Clarified writing guidance for documentation and blog content.
    • Documented supported terminology and recommended writing practices.
    • Updated several blog posts for clearer, more consistent presentation.

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]>
@atmos-pro

atmos-pro Bot commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

Tip

Atmos Pro  

No affected stacks workflow was detected for this pull request.
If this is expected, no action is needed.
Learn More. Ask AI.

@osterman Erik Osterman (Cloud Posse) (osterman) added the no-release Do not create a new release (wait for additional code changes) label Jul 31, 2026
@github-actions github-actions Bot added the size/m Medium size PR label Jul 31, 2026
@mergify

mergify Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Important

Cloud Posse Engineering Team Review Required

This 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 #pr-reviews channel.

@mergify mergify Bot added the needs-cloudposse Needs Cloud Posse assistance label Jul 31, 2026
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Files

  • .github/workflows/docs-lint.yml

@osterman Erik Osterman (Cloud Posse) (osterman) changed the title Adopt ASD-STE100 writing style for PRDs and docs, lint with vale Adopt ASD-STE100 inspired writing style for PRDs and docs, lint with vale Jul 31, 2026
@coderabbitai

coderabbitai Bot commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It 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 reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Adds 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.

Changes

Documentation linting

Layer / File(s) Summary
Writing standard and lint contract
docs/prd/technical-writing-standard-ste100.md, docs/writing-style-guide.md
Defines the writing standard, Vale architecture, validation process, rollout, and manual writing guidance.
Vale rules and lint command
.atmos.d/lint.yaml, .atmos.d/toolchain.yaml, .tool-versions, .vale.ini, .vale/styles/..., .vale/testdata/...
Adds atmos lint docs [--changed], Vale 3.16.0 configuration, custom prose rules, test fixtures, and Atmos vocabulary.
Pre-commit and CI integration
.pre-commit-config.yaml, .github/workflows/docs-lint.yml
Runs changed-document linting through an informational pre-commit hook and pull-request workflow.
Agent and repository guidance
.claude/skills/..., CLAUDE.md
Documents writing requirements, lint commands, skill usage, blog guidance, and changelog rules.
Blog content alignment
website/blog/*.mdx
Revises selected posts with problem-first structure, updated usage guidance, issue links, and prose corrections.

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
Loading

Possibly related PRs

Suggested reviewers: aknysh

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main changes: adopting ASD-STE100-inspired writing guidance and adding Vale linting for PRDs and documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch osterman/prd-simplified-technical-english

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 8

🧹 Nitpick comments (2)
.vale/styles/Atmos/PassiveVoice.yml (1)

9-11: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

Narrow the -en passive-voice heuristic.

The second token matches is often, is open, and is 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 win

Cover the remaining common contractions or document the heuristic.

The rule misses common forms such as he'll, she'd, it'll, and let'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

📥 Commits

Reviewing files that changed from the base of the PR and between 1694cce and 5337c41.

📒 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.txt
  • CLAUDE.md
  • docs/prd/technical-writing-standard-ste100.md
  • docs/writing-style-guide.md

Comment thread .atmos.d/lint.yaml Resolved
Comment thread .github/workflows/docs-lint.yml Resolved
Comment thread .github/workflows/docs-lint.yml Resolved
Comment thread .vale.ini Resolved
Comment thread .vale.ini Resolved
Comment thread .vale/styles/Atmos/SentenceLength.yml Resolved
- 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]>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 win

Use non-blocking wording for Phase 1.

Because Phase 1 reports suggestions without blocking checks, replace “enforce it with vale” with “check it with vale” 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

📥 Commits

Reviewing files that changed from the base of the PR and between 5337c41 and 96da163.

📒 Files selected for processing (3)
  • .atmos.d/lint.yaml
  • .claude/skills/writing-style/SKILL.md
  • docs/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]>
coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 31, 2026
@codecov

codecov Bot commented Jul 31, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.17%. Comparing base (f35e9f5) to head (0c63d65).
⚠️ Report is 559 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            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     
Flag Coverage Δ
unittests 82.17% <ø> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 52 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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]>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

📥 Commits

Reviewing files that changed from the base of the PR and between 96da163 and bcba218.

📒 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.txt
  • docs/prd/technical-writing-standard-ste100.md
  • docs/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]>
@github-actions github-actions Bot added size/l Large size PR and removed size/m Medium size PR labels Aug 2, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

📥 Commits

Reviewing files that changed from the base of the PR and between bcba218 and 9551667.

📒 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.txt
  • docs/prd/technical-writing-standard-ste100.md
  • docs/writing-style-guide.md
  • website/blog/2025-12-22-function-registry-package.mdx
  • website/blog/2026-06-30-list-dependencies.mdx
  • website/blog/2026-07-05-atmos-builds-atmos.mdx
  • website/blog/2026-07-20-container-buildx-cache-and-driver.mdx
  • website/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

Comment thread .claude/skills/changelog/SKILL.md Resolved
Comment thread .vale/styles/Atmos/FutureTense.yml Resolved
Comment thread docs/writing-style-guide.md Resolved
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]>
coderabbitai[bot]
coderabbitai Bot previously approved these changes Aug 2, 2026
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.
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]>
@github-actions github-actions Bot added size/xl Extra large size PR and removed size/l Large size PR labels Aug 3, 2026
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]>
@mergify

mergify Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

💥 This pull request now has conflicts. Could you fix it Erik Osterman (Cloud Posse) (@osterman)? 🙏

@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Quality Gate   Quality Gate not ready

Readiness

✅ Ready for review

⚠️ No merge conflicts — This PR has merge conflicts with its target branch.

✅ Release label and milestone

✅ Verified commit signatures

✅ Fewer than 150 changed files

Reviews

⚠️ CodeRabbit approval (current head) — CodeRabbit has not approved this commit.

✅ Review threads resolved or dismissed

Measures

✅ All CI checks and workflows

✅ Codecov (current head)

✅ Benchmark results

View job summary

Current commit: 0c63d65fe196b146111ffd489bbd49de85e5e7e1 · quality:not-ready

Quality Gate details
Gate Status Evidence
Ready for review Passed Marked ready for review
No merge conflicts Not ready Merge conflicts with the target branch
Release label and milestone Passed no-release: no release milestone required
All CI checks and workflows Passed 98 current PR CI results passed or were skipped/neutral
Codecov (current head) Passed codecov/patch: success; codecov/project: success
CodeRabbit approval (current head) Not ready Pending: CodeRabbit has not approved this commit
Verified commit signatures Passed 12/12 commits have GitHub-verified signatures
Review threads resolved or dismissed Passed 0 unresolved review threads (outdated threads still count)
Fewer than 150 changed files Passed 71 changed files; maximum 149
Benchmark results Passed No benchmark report processing error recorded for this head
🤖 Next steps for this PR
PR: https://github.com/cloudposse/atmos/pull/2844
Head: 0c63d65fe196b146111ffd489bbd49de85e5e7e1

1. No merge conflicts
   Problem: This PR has merge conflicts with its target branch.
   Next: Rebase the PR branch onto its target branch or merge that branch into it, resolve the conflicts, and push.
   Evidence: https://github.com/cloudposse/atmos/pull/2844/conflicts

2. CodeRabbit approval (current head)
   Problem: CodeRabbit has not approved this commit.
   Next: Wait for CodeRabbit's current-head review. If no review is running, request one using the commands documented at https://docs.coderabbit.ai/guides/commands#manually-request-code-reviews.
   Evidence: https://github.com/cloudposse/atmos/pull/2844

@github-actions github-actions Bot added the quality:not-ready One or more Quality Gate requirements are pending or failing label Oct 11, 2026

This branch was successfully deployed

1 active deployment
preview — 0c63d65f Deployed Aug 3, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conflict This PR has conflicts needs-cloudposse Needs Cloud Posse assistance no-release Do not create a new release (wait for additional code changes) quality:not-ready One or more Quality Gate requirements are pending or failing size/xl Extra large size PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant