Repository navigation
Labels
effort/lowEffort Low: little workpriority/p2-mediumPriority P2: standard workscope/docsDocuments, guides, ADRs and generated referencessource/agentFiled by an agenttype/featureType feature: a new functionvalue/mediumValue Medium
Description
Problem or Motivation
AGENTS.md rule 9 says to write prose in ASD-STE100, and src/devops_cli/ai/tasks/style_ste100.md gives the rules: at most 20 words in a procedure sentence and 25 in a description, the active voice, no contractions, at most six sentences in a paragraph. No tool checks these rules. Agents and reviewers check them by eye.
Proposed Solution & Architectural Design
- Add
.vale.iniand a project style.vale/styles/STE/with these rules:SentenceLength: more than 25 words in a sentence (occurrence, scopesentence).ParagraphLength: more than 6 sentences in a paragraph.PassiveVoice: a form of "be" and a past participle (existence, levelsuggestion).Contractions:existenceon contractions.
- The style covers only the hand-written documents (the class
hand-writtenofsrc/devops_cli/docs/inventory.py). It skips code spans, code blocks, quotations and generated pages. - Install Vale as a pinned tool (
devops install-tools, or thevalePyPI wrapper in a dependency group). - Every rule starts at the level
suggestion. The docs audit (child 4) reports the findings in modeplan. A rule moves towarningonly after a measured run onmainshows its precision.
Target Subsystem
Documentation (.vale.ini, .vale/styles/STE/), Developer Tooling.
Existing Tool Considered
Vale 3.26.0 (MIT, released 2026-10-31) is the standard prose linter. No open Vale style for ASD-STE100 exists in the Vale package hub: the ASD dictionary is copyrighted, so community styles use paraphrased rules. The project writes its own 4 rule files (YAML data, no code). Cost (estimate): about 120,000 tokens and 0.5 day elapsed.
Acceptance Criteria
vale docs/TESTING.mdruns with the project style and exits 0 (all rules are suggestions).- A fixture sentence of 26 words gives 1
STE.SentenceLengthalert. A fixture of 25 words gives 0. - A fixture "do not" gives 0 alerts, and "don't" gives 1
STE.Contractionsalert. - The style gives 0 alerts in code blocks and code spans.
Dependencies
None.
Source: #5151
Metadata
Metadata
Assignees
Labels
effort/lowEffort Low: little workpriority/p2-mediumPriority P2: standard workscope/docsDocuments, guides, ADRs and generated referencessource/agentFiled by an agenttype/featureType feature: a new functionvalue/mediumValue Medium
Activity
dan-petty commentedon Nov 12, 2026
Both target ASD-STE100 compliance, but #4823 fixes specific text while the candidate adds an automated Vale tool to check all hand-written docs.fix(docs): add Vale to the image, the watch list and the runner exclu…
chore(main): release 0.152.0 (#5822)
devops-cli-service commentedon Nov 15, 2026
Released in v0.152.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.152.0
devops-cli-service commentedon Nov 15, 2026
Live since 2026-11-15 12:41 UTC