@happyvertical/smrt-vitest 0.51.36 → 0.51.38

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/README.md CHANGED
@@ -83,6 +83,18 @@ settings on vite 8.
83
83
 
84
84
  The manifest is generated once at vitest startup. Restart vitest after adding new `@smrt()` classes or fields.
85
85
 
86
+ ### Generated Artifact Coherence
87
+
88
+ Test startup refreshes the canonical `.smrt/manifest.json` and its paired
89
+ `.smrt/smrt-knowledge.json` together. When `smrtPlugin()` is present, the
90
+ Vitest plugin uses its current agent-surface declarations and effective
91
+ knowledge configuration, including inline plugin options. A standalone
92
+ Vitest configuration preserves prior agent-surface source hashes when it
93
+ cannot rescan them, so changed declarations remain stale rather than being
94
+ incorrectly marked fresh. The monorepo build cache restores this pair with the
95
+ generated server registration entry, so `pnpm build`, `pnpm test`, and a
96
+ cached `pnpm build` leave one coherent artifact snapshot.
97
+
86
98
  ### Pool and Isolation
87
99
 
88
100
  Measured on a 333-file, 3,259-test unit suite, 16 cores (#2897, follow-up to #2893):