Skip to content

[deep-report] Create .sentrux/rules.toml with quality, coupling, and cycles floors #34054

@github-actions

Description

@github-actions

Context

Daily Sentrux Report #33902 has now reported the same warning for multiple consecutive days:

⚠️ No rules defined — Create .sentrux/rules.toml to define architectural constraints and quality gates.

Without rules, every Sentrux daily run is informational only — no CI gate, no regression detection. Quality score has slid 5315 → 5222 (-93 / 23 days) and coupling jumped 0.04 → 0.195 between May 12–20 without anyone noticing in real time.

Proposed Quick Win

Create .sentrux/rules.toml with the floors suggested in the daily report:

[[rule]]
name = "quality_floor"
metric = "quality"
min = 5200

[[rule]]
name = "coupling_ceiling"
metric = "coupling"
max = 0.20

[[rule]]
name = "no_new_cycles"
metric = "cycles"
max = 2

[[rule]]
name = "god_files_ceiling"
metric = "god_files"
max = 1

Then wire sentrux check . into the daily-sentrux-report workflow's failure path or the CI workflow.

Suggested Agent

Copilot coding agent.

Estimated Effort

< 1 hour of agent time.

Acceptance

  • .sentrux/rules.toml committed
  • Daily Sentrux Report stops emitting "No rules defined" warning
  • Optional: violating a rule triggers a discussion comment

Referenced from DeepReport Intelligence Briefing — 2026-05-22.

Generated by 🔬 DeepReport - Intelligence Gathering Agent · ● 18.7M ·

  • expires on May 24, 2026, 3:50 PM UTC

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions