Skip to content

omo-senpi bundle budget has only 53 bytes of slack on queued onboarding work #9912

Closed

Description

@code-yeongyu

Summary

The omo-senpi main extension has only 1,560 bytes of headroom on dev (d07e113), and onboarding #9907 currently ships 1,529,947 bytes (53 bytes below the 1,530,000 ceiling). This is a deliberate standalone budget change, not a feature-PR allowance.

Reproduction and measurement contract

Run bun test packages/omo-senpi/src/bundle-size.test.ts. The test uses statSync(...).size on packages/omo-senpi/plugin/extensions/omo.js: raw bytes of the built minified main entry, including its build marker. It does not measure gzip size, the installed plugin total, or sidecars. The historical equivalent is git cat-file -s <merge>:packages/omo-senpi/plugin/extensions/omo.js (also git show <merge>:<path> | wc -c). No rebuild was used.

Expected

Raise 1,530,000 -> 1,546,000 bytes (+16,000 decimal bytes), with a short measured rationale at the constant. Require every future increase to have its own measured PR with sizes before/after and the reason, never inside a feature PR. The artifact and runtime behavior remain unchanged.

Actual and runway

Window: 2026-09-27 00:00 UTC through the last changing merge at 2026-10-11 01:21 UTC, pinned to dev d07e113. Baseline 718ef30 is 1,302,597 bytes. All 482 first-parent merge commits were inspected; 186 changed the bundle blob. Each delta below compares the merge to its first parent, so it reflects what actually landed rather than a feature branch's stale base. Merges with byte-identical blobs are omitted.

Net growth: 225,843 bytes / 14.057 days, about 16,067 B/day (112,466 B/week). Since the last raise (#9655), growth is 38,551 bytes / 4.290 days, about 8,986 B/day (62,900 B/week). The proposed ceiling leaves 17,560 bytes (1.15%) over current dev and 16,053 bytes over the current #9907 head. That is 1.09 days at the full-window rate or 1.95 days at the post-raise rate. This requested modest increase buys queue slack, not multiple weeks; a one-week allowance would need roughly 63-112 KB. Growth is bursty, so this extrapolation is not a forecast.

Attribution and waste review

These are measured merge deltas, not isolated module-size estimates:

PR and feature Delta Evidence
#8917 desktop computer use as an omo-senpi component +77,724 New computer-use component and first-party desktop workspace edges; no newly added third-party dependency in its manifest diff. #9118 subsequently moved runtime/prelude work to sidecars (-67,814).
#9222 session gateway: thread CLI, daemon adopt, bindings/outbox +55,724 Thread/gateway sources, contracts and SDK enter the bundle; dependency manifests unchanged at merge.
#9642 reuse verification evidence only for Astra receivers +33,698 Adds a second generated ultrawork directive and model-selective routing; dependency manifests unchanged. #9649 corrected the variant sections (-2,529).
#9691 receipts, quarantine and crash recovery for memory maintenance +11,820 Receipts and reconciliation paths added to memory-core and adapter; dependency manifests unchanged.
#9171 report OpenCode-edition agent/category models ignored by Native +9,815 Config-startup notice and its imported routing path; dependency manifests unchanged.
#9655 refuse secret-like memory commits and mask injected memory text +6,864 First-party scanner, commit gate and injection redaction; dependency manifests unchanged.

Concrete waste: components/ultrawork/generated-directive.ts holds two complete directive strings, 30,837 and 28,743 UTF-8 bytes. They share 381 identical nontrivial lines (>30 characters), totaling 25,668 bytes with LF per occurrence in the source payload. Multiple sampled shared sentences occur twice in the shipped bundle. This is real duplicate static content, but 25,668 is not a promised minified saving: escaping and string assembly matter. Follow-up #9913 will require byte-for-byte output parity for both model variants before changing representation.

The bounded review found no debugger statement or sourceMappingURL in the committed main bundle. Manifest diffs at the largest growth merges do not indicate accidentally added third-party dependencies. Static import purity will be checked without invoking its build-producing test. This is not an exhaustive metafile/module duplication audit; no build was run. Existing broad split/lazy-load work remains #9515.

Previous limit changes

Commit Change Context
c552489 (2026-09-26) 1,300,000 -> 1,340,000 model-profile request-auth
4477857 (2026-09-27) 1,340,000 -> 1,420,000 computer-use component, #8917
d984456 (2026-09-28) 1,420,000 -> 1,460,000 per-session task hosts, #9110
a4a5623 (2026-10-03 UTC) 1,460,000 -> 1,500,000 standalone measured budget PR #9516
f93b6d9 (2026-10-03 UTC) 1,500,000 -> 1,494,000 lazy doctor, #9520 (reduction)
d8bf32e (2026-10-04) 1,494,000 -> 1,487,000 lazy memfs, #9526 (reduction)
7fc0d33 (2026-10-06 UTC) 1,487,000 -> 1,530,000 memory secret boundary, #9655

Scope and acceptance criteria

  • Change only the budget test's constant/comment and its nearest src/AGENTS.md policy.
  • Existing one-file budget test passes; static built-artifact import purity passes without rebuilding.
  • Exact bundle blob is unchanged by the PR.
  • Draft PR targets dev with this issue in its Fixes clause; behind count 0 at handoff. No merge.

Related

#9516 is the previous standalone measured raise. #9515 tracks architectural splitting, #9485 an older queued feature overrun, and #6875 historical build nondeterminism: related context, not duplicate trackers for this specific policy-and-headroom adjustment. #9907 is the immediately constrained feature PR.

Complete growth table

Date (UTC) Merge PR omo.js bytes Delta vs first parent Merge commit
2026-09-27 04:20 #8908 1,302,462 -135 91fdf9fc18
2026-09-27 05:49 #8916 1,302,462 +0 ab725f3299
2026-09-27 06:01 #8865 1,302,470 +8 fa3077ba24
2026-09-27 07:30 #8917 1,380,194 +77,724 4139d615e1
2026-09-27 09:23 #8923 1,380,256 +62 33e8703cc8
2026-09-27 09:53 #8926 1,384,009 +3,753 ad3272e26e
2026-09-27 10:22 #8929 1,384,353 +344 a3383d577d
2026-09-27 12:04 #8933 1,388,316 +3,963 e08d8c9b70
2026-09-27 13:11 #8949 1,388,834 +518 a7a5b60e97
2026-09-27 13:38 #8936 1,389,007 +173 ec31da0343
2026-09-27 15:38 #8986 1,396,653 +7,646 493d1d72c5
2026-09-27 15:50 #8985 1,399,877 +3,224 6d35ebf7e3
2026-09-27 15:58 #8987 1,399,901 +24 31829293c7
2026-09-27 16:22 #8992 1,399,901 +0 be5795a6d0
2026-09-27 16:50 #9001 1,399,891 -10 1c1a38a689
2026-09-27 17:11 #9002 1,399,917 +26 63c9267cde
2026-09-27 19:12 #9019 1,400,271 +354 dd0f8ac50e
2026-09-27 19:57 #8884 1,400,271 +0 77c0131815
2026-09-27 21:01 #8877 1,401,685 +1,414 76967b6932
2026-09-27 23:09 #9038 1,401,685 +0 0bbc35b877
2026-09-27 23:30 #8961 1,405,341 +3,656 6f65ada723
2026-09-28 02:09 #9044 1,408,052 +2,711 0c76f2d983
2026-09-28 03:45 #9049 1,412,038 +3,986 acf85c552d
2026-09-28 03:57 #8991 1,411,960 -78 6cbef33449
2026-09-28 04:17 #9052 1,412,059 +99 d83d692b9f
2026-09-28 05:37 #9058 1,412,783 +724 9c66cb9de7
2026-09-28 06:11 #9083 1,413,444 +661 ece60b0320
2026-09-28 08:01 #9054 1,413,444 +0 b692551040
2026-09-28 08:24 #9075 1,413,444 +0 bc67110eca
2026-09-28 11:04 #9062 1,414,006 +562 8fb1692f90
2026-09-28 11:28 #9105 1,414,341 +335 fe427efeed
2026-09-28 14:18 #9114 1,416,389 +2,048 863dc58dc3
2026-09-28 15:52 #9120 1,416,408 +19 8321aa2010
2026-09-28 16:37 #9132 1,419,123 +2,715 3eed4f9529
2026-09-28 17:07 #9118 1,351,309 -67,814 ea4f66aa1f
2026-09-28 17:31 #9130 1,351,355 +46 045c2ddfc3
2026-09-28 17:43 #9128 1,351,927 +572 e22d52cfff
2026-09-28 18:19 #9138 1,351,927 +0 669f132fc0
2026-09-28 20:18 #9110 1,358,428 +6,501 473e8f3582
2026-09-29 02:34 #9148 1,358,424 -4 d69d696acb
2026-09-29 04:30 #9145 1,358,707 +283 1da16f782c
2026-09-29 05:48 #9155 1,358,707 +0 9c8dcc5d00
2026-09-29 06:09 #9158 1,359,503 +796 4423d4974e
2026-09-29 06:27 #9164 1,360,492 +989 8219f59ce5
2026-09-29 07:03 #9169 1,360,588 +96 934217ace5
2026-09-29 07:40 #9171 1,370,403 +9,815 de133a361e
2026-09-29 09:11 #9179 1,371,763 +1,360 3a02dbbaa1
2026-09-29 12:02 #9191 1,371,765 +2 a31f7271ac
2026-09-29 13:37 #9197 1,371,765 +0 79ab21eb77
2026-09-29 16:46 #9204 1,372,533 +768 d75b98f0a0
2026-09-29 17:01 #9186 1,372,533 +0 c0b84b2351
2026-09-29 18:00 #9215 1,372,533 +0 9cc59fd9c1
2026-09-29 18:13 #9212 1,372,533 +0 952b27feb1
2026-09-29 18:37 #9217 1,373,639 +1,106 d1ee37cfbb
2026-09-29 19:18 #9220 1,373,639 +0 77731aaf24
2026-09-29 19:29 #9205 1,373,822 +183 ad50233e1b
2026-09-29 20:34 #9224 1,374,222 +400 d8b85db774
2026-09-29 20:59 #9226 1,375,835 +1,613 1332e9c322
2026-09-29 22:10 #9231 1,375,835 +0 d1317056eb
2026-09-30 01:57 #9237 1,375,906 +71 48c89d64a5
2026-09-30 02:38 #7676 1,378,889 +2,983 b85a983328
2026-09-30 03:12 #9209 1,382,847 +3,958 7ad1634ec7
2026-09-30 05:25 #9249 1,383,239 +392 6a7d87cd3f
2026-09-30 06:17 #9254 1,384,786 +1,547 72ebb1682a
2026-09-30 08:21 #9266 1,388,245 +3,459 de1636bd5a
2026-09-30 09:14 #9277 1,389,224 +979 6808871798
2026-09-30 10:24 #9280 1,389,224 +0 f0f97f811d
2026-09-30 17:04 #9298 1,389,408 +184 7750a354b3
2026-09-30 17:29 #9300 1,389,406 -2 6d00338958
2026-09-30 18:31 #9305 1,389,406 +0 c5d4972f53
2026-09-30 19:38 #9309 1,389,429 +23 9784cd10ae
2026-09-30 20:33 #9303 1,389,429 +0 4d365a0092
2026-09-30 20:34 #9296 1,389,417 -12 095298a981
2026-09-30 20:34 #9297 1,389,469 +52 fae4c428c7
2026-09-30 21:27 #9318 1,389,469 +0 c215e07ccc
2026-09-30 21:50 #9311 1,389,935 +466 e9ca727388
2026-09-30 22:46 #9328 1,389,935 +0 8968816584
2026-09-30 23:34 #9329 1,390,009 +74 52e8d5dd4a
2026-10-01 01:44 #9340 1,389,935 -74 b3289447b0
2026-10-01 02:47 #9339 1,389,935 +0 588f58c803
2026-10-01 03:24 #9341 1,390,235 +300 fdfc504727
2026-10-01 04:48 #9342 1,393,996 +3,761 c28d1f7add
2026-10-01 05:09 #9352 1,394,034 +38 365bea7155
2026-10-01 05:28 #9355 1,394,138 +104 49f8598966
2026-10-01 09:06 #9358 1,394,705 +567 671db02f46
2026-10-01 11:15 #9373 1,394,765 +60 cfa4a98f00
2026-10-01 11:57 #9343 1,394,839 +74 d29563d25d
2026-10-01 12:38 #9375 1,394,866 +27 db10e35953
2026-10-01 14:20 #9380 1,394,866 +0 46643fbb7a
2026-10-01 16:35 #9382 1,394,841 -25 9ab137a29c
2026-10-01 18:32 #9243 1,395,077 +236 d84db06fc5
2026-10-02 00:04 #9405 1,395,077 +0 5f07e6b6d2
2026-10-02 00:55 #9410 1,395,077 +0 bcc854a49e
2026-10-02 08:59 #9428 1,395,078 +1 61086739c3
2026-10-02 17:14 #9407 1,395,078 +0 f649e69ba5
2026-10-02 18:29 #9446 1,395,078 +0 00dee2d2df
2026-10-02 21:44 #9395 1,395,624 +546 f7eb995eae
2026-10-03 00:05 #9393 1,397,901 +2,277 1ad36bf98c
2026-10-03 01:00 #9455 1,397,899 -2 0fc7986dc2
2026-10-03 02:03 #9457 1,397,899 +0 867752cba2
2026-10-03 06:56 #9222 1,453,623 +55,724 14fcbfc610
2026-10-03 08:23 #9483 1,453,623 +0 0e448db7e1
2026-10-03 09:26 #9488 1,453,623 +0 294a165e32
2026-10-03 12:43 #9500 1,453,392 -231 12b986ebcc
2026-10-03 14:04 #9331 1,457,077 +3,685 81d1271d6d
2026-10-03 14:36 #9478 1,457,063 -14 31cd7ce713
2026-10-03 16:35 #9502 1,458,169 +1,106 d5126a2846
2026-10-03 17:45 #9491 1,458,769 +600 f96e400316
2026-10-03 18:27 #9510 1,458,902 +133 4fef77bd3f
2026-10-03 20:44 #9517 1,458,902 +0 be8d09de1b
2026-10-03 21:29 #9467 1,458,902 +0 2beda8edbb
2026-10-03 22:47 #9519 1,458,902 +0 2afeed86cf
2026-10-04 00:35 #9513 1,458,902 +0 dfa74a25ec
2026-10-04 01:10 #9506 1,460,040 +1,138 889da3244f
2026-10-04 01:39 #9520 1,451,704 -8,336 1c0bf9ef1c
2026-10-04 02:07 #9524 1,451,838 +134 8a70e68ff0
2026-10-04 02:41 #9435 1,451,847 +9 f94bc8e420
2026-10-04 03:10 #8878 1,451,878 +31 f985c78318
2026-10-04 03:39 #8872 1,452,145 +267 7acb14729e
2026-10-04 04:05 #9528 1,452,145 +0 eb69269495
2026-10-04 04:59 #9535 1,452,145 +0 f98d51e9f7
2026-10-04 08:11 #8869 1,453,135 +990 ab90e15a13
2026-10-04 08:35 #9539 1,453,135 +0 0db57dace5
2026-10-04 09:44 #9545 1,453,135 +0 d8b8907519
2026-10-04 11:08 #9540 1,455,775 +2,640 da95b61190
2026-10-04 13:02 #9559 1,455,775 +0 77e8d821e7
2026-10-04 13:38 #9554 1,455,905 +130 36bb52c1e5
2026-10-04 16:10 #9574 1,455,905 +0 091728d274
2026-10-04 17:30 #9526 1,447,634 -8,271 b34616062b
2026-10-04 17:59 #9541 1,447,634 +0 18d0487c42
2026-10-04 22:19 #9595 1,447,634 +0 e2789d24c5
2026-10-04 23:06 #9598 1,447,634 +0 7fae60c130
2026-10-04 23:54 #9592 1,448,320 +686 b9463e692f
2026-10-05 02:36 #9609 1,448,321 +1 555a86a282
2026-10-05 03:18 #9615 1,448,321 +0 a8019016f4
2026-10-06 04:20 #9639 1,448,321 +0 455dee623c
2026-10-06 11:49 #9669 1,448,323 +2 f7d44c6e12
2026-10-06 13:24 #9672 1,448,323 +0 3f87c883c0
2026-10-06 14:39 #9671 1,451,856 +3,533 a7447b5b1c
2026-10-06 16:00 #9642 1,485,554 +33,698 d5a02755a8
2026-10-06 16:36 #9649 1,483,025 -2,529 6e0fc2132a
2026-10-06 18:23 #9655 1,489,889 +6,864 9c168a46aa
2026-10-06 19:24 #9681 1,489,889 +0 8df5ebe75a
2026-10-06 20:07 #9654 1,493,121 +3,232 22a1c9ff24
2026-10-06 23:57 #9688 1,499,440 +6,319 d55d034850
2026-10-07 04:18 #9697 1,499,440 +0 0877669098
2026-10-07 08:35 #9662 1,500,329 +889 54fa6211bd
2026-10-07 09:07 #9664 1,500,853 +524 181c9c0952
2026-10-07 09:45 #9691 1,512,673 +11,820 5987e12d95
2026-10-07 10:22 #9706 1,512,673 +0 59d23b5c1d
2026-10-07 14:03 #9708 1,512,673 +0 826e150cbd
2026-10-07 15:54 #9709 1,512,673 +0 7a9c646371
2026-10-07 17:58 #9707 1,513,105 +432 9a0b2f6170
2026-10-07 22:30 #9718 1,514,343 +1,238 200c84d7e0
2026-10-07 22:59 #9730 1,514,343 +0 f3f04a7f0c
2026-10-08 00:35 #9702 1,514,355 +12 c04544a951
2026-10-08 03:17 #9650 1,514,446 +91 c6625e6d87
2026-10-08 04:36 #9606 1,514,695 +249 ab8116998c
2026-10-08 05:40 #9602 1,514,864 +169 58871422c0
2026-10-08 06:39 #8092 1,517,469 +2,605 969bfbd1af
2026-10-08 08:13 #9744 1,518,304 +835 d9a704bc4e
2026-10-08 10:21 #9736 1,518,304 +0 c52da6db60
2026-10-08 13:14 #9757 1,518,304 +0 8a61674a40
2026-10-08 13:46 #9758 1,518,304 +0 20fbde626f
2026-10-08 16:01 #9765 1,518,304 +0 bb11c19029
2026-10-08 16:56 #9750 1,519,908 +1,604 fe3db35ecb
2026-10-08 19:14 #9772 1,519,908 +0 4ceba97345
2026-10-08 19:51 #9776 1,519,908 +0 f9181a90b5
2026-10-08 21:29 #9739 1,522,950 +3,042 007deee7d3
2026-10-08 22:13 #9782 1,524,244 +1,294 29680a0ace
2026-10-08 22:53 #9783 1,527,609 +3,365 a47fe9860f
2026-10-09 00:33 #9779 1,528,083 +474 0339104d6c
2026-10-09 04:06 #9795 1,528,083 +0 2e73a787b7
2026-10-09 05:34 #9798 1,528,084 +1 adb672532d
2026-10-09 06:37 #9802 1,528,201 +117 6fe9f0bf83
2026-10-09 07:17 #9806 1,528,201 +0 ae4ddd2b34
2026-10-09 09:22 #9801 1,528,201 +0 b752f68bd9
2026-10-09 13:17 #9813 1,528,201 +0 5a1a127b58
2026-10-09 16:45 #9825 1,528,201 +0 b2b18aada6
2026-10-09 17:16 #9828 1,528,201 +0 cdde1c7808
2026-10-10 04:50 #9841 1,528,254 +53 98c61cb6e8
2026-10-10 06:52 #9845 1,528,337 +83 762839e555
2026-10-10 18:49 #9876 1,528,337 +0 99806464df
2026-10-10 21:25 #9871 1,528,372 +35 c334a6ab07
2026-10-10 23:49 #9868 1,528,372 +0 0acefdc6e5
2026-10-11 01:21 #9881 1,528,440 +68 e06f62f183

Draft delivery

Draft PR: #9914. Head: 834f68f69ed268f509a133e8568fa871c7ab2bfd. Only the two scoped files changed. Focused budget test: 1 pass / 0 fail / 2 expectations, exit 0 (Bun 1.4.2, neutral cwd; root preload dependency setup limitation disclosed in the PR). Direct static artifact purity: 0 forbidden imports on all five artifacts. Remote comparison at handoff: ahead 1, behind 0; base dev. Main bundle blob unchanged, 1,528,440 bytes. GitHub CI queued at handoff; no broad local gate or build run.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions