safestar 1.1.0 → 1.2.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.
- package/package.json +1 -1
- package/readme.md +7 -1
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
## Why SafeStar?
|
|
16
|
+
<img src="https://github.com/user-attachments/assets/62a87419-ddaa-4fc0-bb50-90e2c5bf2dfd">
|
|
17
|
+
|
|
16
18
|
|
|
17
19
|
You updated a prompt. Tests pass. You deploy. Three days later, users complain the bot is "acting weird."
|
|
18
20
|
|
|
@@ -24,6 +26,7 @@ You updated a prompt. Tests pass. You deploy. Three days later, users complain t
|
|
|
24
26
|
- 🚨 **Fail the build** if behavior drifts beyond tolerance
|
|
25
27
|
|
|
26
28
|
No SaaS. No external dependencies. Works with any CLI command.
|
|
29
|
+
<img src="https://github.com/user-attachments/assets/f3a14fec-93f6-42c3-b8e2-35af6b701b5f">
|
|
27
30
|
|
|
28
31
|
---
|
|
29
32
|
|
|
@@ -63,6 +66,7 @@ checks:
|
|
|
63
66
|
```
|
|
64
67
|
|
|
65
68
|
> **Note:** SafeStar passes the prompt via `process.env.PROMPT` (or equivalent in your language).
|
|
69
|
+
<img src="https://github.com/user-attachments/assets/8ccd918e-4331-4f2c-981e-c7c9535865f0">
|
|
66
70
|
|
|
67
71
|
### 2. Run & Baseline
|
|
68
72
|
|
|
@@ -75,6 +79,7 @@ Happy with the output? Lock it as your gold standard:
|
|
|
75
79
|
```bash
|
|
76
80
|
npx safestar baseline refund_bot_test
|
|
77
81
|
```
|
|
82
|
+
<img src="https://github.com/user-attachments/assets/2021ff79-e094-470e-be19-8490d8d3ae6b">
|
|
78
83
|
|
|
79
84
|
### 3. Diff in CI/CD
|
|
80
85
|
|
|
@@ -97,6 +102,7 @@ Violations:
|
|
|
97
102
|
```
|
|
98
103
|
|
|
99
104
|
---
|
|
105
|
+
<img src="https://github.com/user-attachments/assets/c2c6bbe6-0971-43d3-9845-0a5f0bdd0092">
|
|
100
106
|
|
|
101
107
|
## Checks Reference
|
|
102
108
|
|
|
@@ -156,4 +162,4 @@ jobs:
|
|
|
156
162
|
|
|
157
163
|
## License
|
|
158
164
|
|
|
159
|
-
ISC
|
|
165
|
+
ISC
|