@lmzhen/dsh-evolution-feedback 0.32.4 → 0.32.6
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 +6 -20
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,27 +1,13 @@
|
|
|
1
1
|
# @lmzhen/dsh-evolution-feedback
|
|
2
2
|
|
|
3
|
-
Feedback-
|
|
4
|
-
FEEDBACK-OWNED `feedback_score`/`feedback_warn` pair.
|
|
3
|
+
Feedback aggregation service for skill and session ratings. The family currently has no in-family producer: an embedding host must call `record(target, rating, note?, kind?)` with a real target and a `positive` or `negative` rating.
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
Skill feedback writes the feedback-owned `feedback_score` and `feedback_warn` fields on the usage record. Curator lifecycle decisions read their union with the curator-owned quality warning; session feedback does not feed that skill-quality channel.
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
- **Prompt prefix / KV cache:** unchanged by this package: family-level rules single-sourced in `packages/README.md` §"Model-visible prompt prefix and the KV cache".
|
|
10
|
-
- **Mount it?** yes — the `evolution-feedback` row, `evolution-host`/`evolution-all`/`evolution-preset`.
|
|
7
|
+
## Persistence and configuration
|
|
11
8
|
|
|
12
|
-
|
|
9
|
+
`$DSH_HOME/evolution/events.json` is the source of truth. `feedback.json` is a rebuildable boot cache, not the authoritative store. Appends are optimistic in memory and rolled back with a warning if the event append fails.
|
|
13
10
|
|
|
14
|
-
|
|
15
|
-
- `path`: boot-cache path; `''` means `$DSH_HOME/evolution/feedback.json` (the event log is not affected).
|
|
11
|
+
`qualityWarnThreshold` defaults to -0.25 and accepts values from -1 to 1. `path` overrides only the boot-cache location; it does not relocate the event log.
|
|
16
12
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
- Lifecycle and scope views read `quality_warn || feedback_warn`, so negative feedback shortens the stale window even though the curator recomputes `quality_warn`.
|
|
20
|
-
|
|
21
|
-
**Runtime invariant:** No companion is published. The platform auto-assembles nothing and the family mounts no `<pkg>/invariant` cordis row, so a companion here would never execute (v37 S2.1 / I-3).
|
|
22
|
-
|
|
23
|
-
## Notes and history
|
|
24
|
-
|
|
25
|
-
- Persists through the IO seam; quality propagation into skill usage requires BOTH the `skillUsage` service and a mounted IO backend: with no `evolutionIo` the push returns before touching the persistent usage sidecar (S4.6), so an optimistic in-memory score never lands there unconfirmed.
|
|
26
|
-
- The in-memory-wins window of a log refold is the IN-FLIGHT append window only, counted PER TARGET (two appends for one target in flight at once both stay protected, and the no-io path never enters it): a settled target folds from the log truth, so another process sharing `DSH_HOME` is not overwritten by this process's stale record (S1.4).
|
|
27
|
-
- P1-1 (v15): feedback writes the FEEDBACK-OWNED `feedback_score`/`feedback_warn` usage fields.
|
|
13
|
+
There is no built-in command or panel. Without an external producer, installing this package alone does not create feedback data.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-evolution-feedback",
|
|
3
3
|
"description": "Feedback-to-quality scoring for self-evolution (community build)",
|
|
4
|
-
"version": "0.32.
|
|
4
|
+
"version": "0.32.6",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@deepseek-ai/schemastery": "^3.18.5",
|
|
30
|
-
"@lmzhen/dsh-evolution-core": "^0.32.
|
|
30
|
+
"@lmzhen/dsh-evolution-core": "^0.32.6"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@deepseek-ai/cordis": "^4.0.5",
|
|
34
|
-
"@lmzhen/dsh-evolution-io": "^0.32.
|
|
35
|
-
"@lmzhen/dsh-skill-usage": "^0.32.
|
|
34
|
+
"@lmzhen/dsh-evolution-io": "^0.32.6",
|
|
35
|
+
"@lmzhen/dsh-skill-usage": "^0.32.6"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@lmzhen/dsh-evolution-io": "^0.32.
|
|
39
|
-
"@lmzhen/dsh-evolution-io-node": "^0.32.
|
|
40
|
-
"@lmzhen/dsh-skill-usage": "^0.32.
|
|
38
|
+
"@lmzhen/dsh-evolution-io": "^0.32.6",
|
|
39
|
+
"@lmzhen/dsh-evolution-io-node": "^0.32.6",
|
|
40
|
+
"@lmzhen/dsh-skill-usage": "^0.32.6"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
43
|
"dsh": ">=0.2.1-rc.2 <0.2.2-0"
|