Skip to content

docs: point agent rules at their sources of truth - #335

Merged
edloidas merged 1 commit into
masterfrom
docs/rules-source-of-truth
Aug 19, 2026
Merged

docs: point agent rules at their sources of truth#335
edloidas merged 1 commit into
masterfrom
docs/rules-source-of-truth

Conversation

@edloidas

Copy link
Copy Markdown
Owner

Removed the facts the rules duplicated from machine-readable sources, so they cannot drift. The size-limit list had already gone stale — it omitted the 2 kB render.js — { renderBreakdown } budget.

  • Byte budgets now point at the size-limit block in package.json instead of listing four of the five entries
  • protect-master now reads "every context" instead of naming a count
  • .claude/rules/project-testing.md drops the coverage numbers, which bunfig.toml declares are the only place they live
  • Split the dist/ constraint into three bullets and the Deno/Workers constraint into two, one rule each

No rationale removed, no behavior change.

Dropped the enumerated `size-limit` budgets in favour of the `package.json` block
Replaced the hard-coded `protect-master` context count with "every context"
Dropped the coverage numbers quoted from `bunfig.toml` in `project-testing.md`
Split the `dist/` and smoke-job constraints into one bullet per rule

Co-Authored-By: Mikita Taukachou <edloidas@gmail.com>
@edloidas edloidas self-assigned this Aug 19, 2026
@edloidas
edloidas merged commit ababd33 into master Aug 19, 2026
47 checks passed
@edloidas
edloidas deleted the docs/rules-source-of-truth branch August 19, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant