Repository navigation
Commit 751520d
authored
docs(agents): delete the file-size tiers nobody enforces (#2597)
AGENTS.md set a 300-line target and a 500-line extraction threshold for implementation files, and
nothing in the repo checks either one. #2529 option 1 deletes them rather than building machinery to
police them.
What survives is the norm a review can still hold a change to: past 1,000 lines is architecture debt,
split it before adding behavior. That sentence stays unqualified as to file kind on purpose — it is the
one `test-file-size-ratchet.test.ts` quotes when it says tests are not exempt, and the gate does what
the sentence cannot: freeze growth against the merge-base.
Four `post-gesture-*` test comments explained a #1563 split by citing a repo-wide 500-line test-file
tripwire, one of them on AGENTS.md's authority. That figure goes with this change, so they now state
what the split was: by subject.1 parent 28accb8 commit 751520d
5 files changed
Lines changed: 7 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
| 84 | + | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 29 | + | |
| 30 | + | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
0 commit comments