Commit bdfa21a
fix(nap): account for separator newlines in decision archival budget
Fixes off-by-N error in nap command's decision archival where newline
separators between entries weren't counted in the byte budget, causing
archives to exceed the target size.
Closes #123
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent cf5ed8b commit bdfa21a
3 files changed
Lines changed: 24 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
390 | 394 | | |
391 | 395 | | |
| 396 | + | |
392 | 397 | | |
393 | | - | |
| 398 | + | |
394 | 399 | | |
395 | | - | |
| 400 | + | |
396 | 401 | | |
397 | 402 | | |
398 | 403 | | |
399 | | - | |
| 404 | + | |
400 | 405 | | |
401 | 406 | | |
402 | 407 | | |
| |||
0 commit comments