Skip to content

quality: strict is the default tier #14647

Open

Description

@TrapsterDK

strict is the default tier. standard is the opt-down: tier = "standard" in dx.toml. Tier picks rule and warning sets only. Fatal is separate: compiler warnings fail in both tiers (#14684), lint warnings fail via --fail-on=warning. Land this first.

Where (origin/main 4d1324d)

  • cli/dx_config/src/config.rs:9-15, 32: #[default] on Standard.
  • cli/dx_config/src/select.rs:217-220.
  • cli/exec_core/src/audit_policy.rs:46: audit bases follow the root tier.
  • config/BUILD.bazel:23-30: //config:config_tier default "standard".
  • tools/docs/tiers/src/lib.rs:124-168.
  • tools/api/page.rs:505, 541.
  • docs/design/quality-config.md
  • docs/cli/commands/config.md:103, 107-118, 128; quality.md:148; init.md:68; audit-update.md:125.
  • docs/supported-surface.md, cli/dx_config/schema/dx.schema.json.

Fix

  • Move #[default] to Strict in config.rs and select.rs. audit_policy.rs:46 follows.
  • config/BUILD.bazel: config_tier default "strict".
  • tools/docs/tiers and tools/api/page.rs: strict is the default.
  • docs/design/quality-config.md: strict is the default. Tier files name each excluded rule and its class. Strict turns on guard rules. info is only for tool-labelled hints. New sections: ## Gating, ## Tier selection, ## Opting down. Under 1300 words.
  • config.md, quality.md, init.md, audit-update.md: strict is the default; show tier = "standard".
  • bazel run //docs:update_tiers. Regenerate docs/supported-surface.md and dx.schema.json.

Tests

  • select_tests.rs:14, 65: no tier gives strict; tier = "standard" gives standard.
  • audit tier with no dx.toml is Strict.
  • Re-accept cli/generate/src/render_tests.rs snapshots.
  • Golden cli/cli/tests/adopt/golden/fresh_init_dx.txt:172-174.
  • cli/cli/src/adopt/status.rs:917.
  • tools/dx check --affected

Risks

Core issues

Agent-guard priority: #14685, #14655, #14688, #14672, #14653.

Per-language issues

🤖 Generated with Claude Code

Activity

  1. added
    local
    cloud-pool
    on Nov 22, 2026
  2. changed the title [-]quality: strict is the default tier; warnings fail[/-] [+]quality: strict is the default tier[/+] on Nov 22, 2026
  3. removed
    local
    on Nov 22, 2026
  4. TrapsterDK commented on Nov 22, 2026

    @TrapsterDK
    CollaboratorAuthor

    cloud-claim bf285a0f


    Generated by Claude Code

  5. added
    cloud-taken
    and removed
    cloud-pool
    on Nov 22, 2026
  6. TrapsterDK commented on Nov 22, 2026

    @TrapsterDK
    CollaboratorAuthor

    Owner confirmed the risks: audit follows the tier, so strict is the default for dx security and dx license too. Proceed as written.

    🤖 Generated with Claude Code

  7. TrapsterDK commented on Nov 22, 2026

    @TrapsterDK
    CollaboratorAuthor

    Next slice: #14697 does this issue's Fix section (strict default in dx_config, config_tier, audit base, docs, tier pages, goldens). What's left is the checklist: #14684 can start once #14697 merges, and the per-language issues follow. Close this tracker when they're done.


    Generated by Claude Code

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

    cloud-taken

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions