Skip to content

feat(docs): a Vale style checks the ASD-STE100 rules #5157

Description

@dan-petty

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.ini and a project style .vale/styles/STE/ with these rules:
    • SentenceLength: more than 25 words in a sentence (occurrence, scope sentence).
    • ParagraphLength: more than 6 sentences in a paragraph.
    • PassiveVoice: a form of "be" and a past participle (existence, level suggestion).
    • Contractions: existence on contractions.
  • The style covers only the hand-written documents (the class hand-written of src/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 the vale PyPI wrapper in a dependency group).
  • Every rule starts at the level suggestion. The docs audit (child 4) reports the findings in mode plan. A rule moves to warning only after a measured run on main shows 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.md runs with the project style and exits 0 (all rules are suggestions).
  • A fixture sentence of 26 words gives 1 STE.SentenceLength alert. A fixture of 25 words gives 0.
  • A fixture "do not" gives 0 alerts, and "don't" gives 1 STE.Contractions alert.
  • The style gives 0 alerts in code blocks and code spans.

Dependencies

None.

Source: #5151

Activity

  1. added
    source/agent
    on Nov 12, 2026
  2. added
    type/feature
    scope/docs
    status/new
    value/medium
    effort/low
    on Nov 12, 2026
  3. dan-petty commented on Nov 12, 2026

    @dan-petty
    OwnerAuthor
  4. added
    priority/p2-medium
    status/in-progress
    and removed
    status/new
    on Nov 12, 2026
  5. added
    status/in-review
    and removed
    status/in-progress
    on Nov 15, 2026
  6. removed
    status/in-review
    on Nov 15, 2026
  7. added a commit that references this issue on Nov 15, 2026
  8. devops-cli-service commented on Nov 15, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-15 12:41 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/docssource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions