Commit 81afc66
committed
fix(cli): emit
Three follow-ons measured while building the pin for this card:
- the `plugin` template emitted an `initialize` method. `Plugin` carries an
index signature, so the excess property was accepted but got no contextual
type: the scaffold failed its own `strict` type-check with TS7006, and the
kernel loader refuses a plugin without `init` outright. It emits `init` now,
and the kernel protocol docs lose the warning that told readers to rename it.
- `test/create-plugin-docs-parity.test.ts` holds the template's emitted file set
equal to the tree each of the three plugin doc pages prints. Both sides are
derived, so a template that grows a file reddens every page that does not say
so. The three pages are declared as cross-package test inputs and mirrored
into turbo.json; `check-ci-filter-parity`'s rollback pin records them by name.
- `scripts/create-scaffold-smoke.sh` avoids `mapfile`, which does not exist on
the bash 3.2 floor `check:bash32-floor` holds.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D47qPfEWVPmhguWgBZCi5Ninit, hold the docs to the template, and pin the scaffold on CI1 parent 842c116 commit 81afc66
4 files changed
Lines changed: 42 additions & 14 deletions
File tree
- .changeset
- content/docs/protocol/kernel
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
20 | 27 | | |
21 | 28 | | |
22 | 29 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
407 | 405 | | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
408 | 409 | | |
409 | 410 | | |
410 | 411 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
676 | 676 | | |
677 | 677 | | |
678 | 678 | | |
679 | | - | |
680 | | - | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
681 | 685 | | |
682 | 686 | | |
683 | 687 | | |
684 | 688 | | |
685 | | - | |
686 | | - | |
| 689 | + | |
| 690 | + | |
687 | 691 | | |
688 | 692 | | |
689 | 693 | | |
| |||
709 | 713 | | |
710 | 714 | | |
711 | 715 | | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
712 | 726 | | |
713 | 727 | | |
714 | 728 | | |
| |||
780 | 794 | | |
781 | 795 | | |
782 | 796 | | |
783 | | - | |
| 797 | + | |
784 | 798 | | |
785 | 799 | | |
786 | 800 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
112 | 118 | | |
113 | 119 | | |
114 | 120 | | |
| |||
0 commit comments