openpencil/packages
Fini af5df76da4 test(pen-core): builder performance floor (85 cases)
42 builders × 2 budget checks + 1 full-batch check:

1. Average over 100 runs < 5ms per builder (post-warm-up). Generous
   enough to absorb CI noise; tight enough to catch a regression
   that adds a synchronous font round-trip, icon lookup, or N²
   layout pre-pass.
2. Cold first call < 50ms per builder (JIT amortization allowance).
3. Full 42-builder batch < 100ms — simulates a realistic "AI emits
   a whole screen" where the orchestrator builds 40+ trees in a
   single streaming turn. Stuttering > 100ms would be visible.

Background: element tools fire inside streaming AI generation, so
every builder sits on the hot path. A builder slipping from O(n)
to O(n²) wouldn't fail correctness tests but would ruin the
streaming experience. This floor catches that early.

If a builder legitimately needs more budget (e.g. a real-time
vector-graphics computation), bump the constant explicitly and
document why in the commit — the explicit bump is the deliberate
signal the budget has shifted.
2026-04-22 02:03:03 +08:00
..
agent-native@e1f90cab96 chore(agent): bump agent-native to v0.4.0 release 2026-04-17 19:04:15 +08:00
pen-acp chore(release): bump to v0.7.4 2026-04-17 19:20:19 +08:00
pen-ai-skills fix(ai-skills): add tab-underline to elements.md roles list 2026-04-22 00:37:38 +08:00
pen-core test(pen-core): builder performance floor (85 cases) 2026-04-22 02:03:03 +08:00
pen-engine chore(release): bump to v0.7.4 2026-04-17 19:20:19 +08:00
pen-figma chore(release): bump to v0.7.4 2026-04-17 19:20:19 +08:00
pen-mcp test(pen-mcp): element-tool registry parity drift guard (10 cases) 2026-04-22 02:01:49 +08:00
pen-react chore(release): bump to v0.7.4 2026-04-17 19:20:19 +08:00
pen-renderer chore(release): bump to v0.7.4 2026-04-17 19:20:19 +08:00
pen-sdk chore(release): bump to v0.7.4 2026-04-17 19:20:19 +08:00
pen-types fix(core): design.md lives on PenDocument — kill cross-document leak 2026-04-20 00:37:31 +08:00
CLAUDE.md V0.7.0 (#95) 2026-04-11 23:25:13 +08:00