openxiangda-skill-kit 2.0.0-alpha.61 → 2.0.0-alpha.62

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openxiangda-skill-kit",
3
- "version": "2.0.0-alpha.61",
3
+ "version": "2.0.0-alpha.62",
4
4
  "description": "Validation and deterministic packaging for OpenXiangda 2.0 AI skills.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -62,6 +62,14 @@ calculate replacement counters in application code. Course selection is a
62
62
  locked `record-assert` plus a bounded `increment`; replay must reach the
63
63
  platform idempotency receipt even after the course becomes full.
64
64
 
65
+ An idempotency key and the complete command payload are one immutable pair.
66
+ Never put `new Date()`, `Date.now()`, `randomUUID()` or another changing value
67
+ inside a controller while constructing the transaction. If a business time is
68
+ part of the record, declare it as a required operation request field; the
69
+ caller creates it once together with the idempotency key and reuses both on
70
+ every retry. Platform-created record timestamps remain the source of truth
71
+ when no separate business time is required.
72
+
65
73
  When declaring a lower-level transaction directly, use only the current
66
74
  contract:
67
75