super-ux 0.58.3 → 0.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,43 @@
1
+ ## 0.59.0 — a frame carries its ids into Dev Mode, and the token tiers have one home
2
+
3
+ From a 2026-10-08 read of Figma's MCP guidance (structure your file, code to
4
+ canvas, Code Connect) and the Plugin API. Every quoted rule now cites its page
5
+ and the date it was read, in a new Sources section of `figma-integration.md`.
6
+
7
+ - **Annotations.** At design-loop step 5 each frame gets a native Figma
8
+ annotation naming its scenario id, its state and the `PRN-NN` heuristics it
9
+ was built against, so the chain's ids reach Dev Mode with the frame.
10
+ - **Ready for dev.** After the art-direction approval each frame's annotation
11
+ gains the scenario's home and the code path, and the frame is marked
12
+ `READY_FOR_DEV` through `use_figma`. The Plugin API declares `devStatus`
13
+ writable; the MCP's documentation does not say every plan and seat accepts
14
+ the write, so the property is read back, and a refusal falls back to a
15
+ stated convention (an annotation line and a `Ready for dev` section) that is
16
+ never reported as the status itself.
17
+ - **Resize before the critique.** Each frame is resized across the screen's
18
+ declared `Axes: viewport` widths and the result is recorded in the critique.
19
+ The narrow-width check BP-134 runs on the build now runs on the frame first.
20
+ - **Improve mode captures what ships.** `generate_figma_design` captures the
21
+ live web screens into the surface's recorded file, on a `Captured · <date>`
22
+ page, and never into a new file or drafts. Figma's own default is a new
23
+ file when the URL is not a Design file, so the URL is checked first.
24
+ - **Token tiers are sheleg-design's.** `figma-structure.md`, BP-095 and
25
+ `visual-identity.md` restated a tier model that sheleg-design's
26
+ `FIGMA_BRIDGE.md` contradicted. All three now link that file's
27
+ `#token-tiers` section and name no count.
28
+ - **Code Connect upkeep.** Core components carry a Code Connect mapping made
29
+ with `/figma-code-connect`, and a change to a mapped component's API updates
30
+ the mapping in the same change.
31
+ - **Routing words.** `ux-flows` advertises "add a screen" / "добавь экран" and
32
+ "mockups" / "макеты"; `copywriting` advertises "App Store description" /
33
+ "описание для App Store". Both trigger lists now start within the first 300
34
+ characters, because a host that cuts a long description loses what comes
35
+ last. Three trigger eval cases cover them, one of them a git hook that must
36
+ not route here.
37
+ - **A validator guard for all of it.** `validate_figma_practices` holds the
38
+ anchors, refuses a token tier model stated in any shipped text, and refuses a
39
+ bare "hook" trigger. Each refusal was watched failing on a planted defect.
40
+
1
41
  ## 0.58.3 — copywriting answers "video hook", not every hook
2
42
 
3
43
  0.57.0 taught `copywriting` short-video hooks and advertised the bare trigger
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-ux",
3
- "version": "0.58.3",
3
+ "version": "0.59.0",
4
4
  "scripts": {
5
5
  "test": "python3 test/validate.py && python3 test/brand_lint_test.py && python3 test/display_copy_test.py && python3 test/ux_lint_test.py && python3 docs/ux/lint.py && python3 docs/brand/lint.py && node test/installer_test.js && npm run test:audit",
6
6
  "test:audit": "for t in test/audit_regressions/*.py; do python3 \"$t\" || exit 1; done"