@pzy560117/opentest 0.1.0 → 0.1.1

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.1.1",
3
3
  "skills": [
4
4
  "opentest/SKILL.md",
5
5
  "opentest/scripts/opentest-state.sh",
@@ -58,6 +58,12 @@ result_is_archivable() {
58
58
  [ "$result" = "pass" ] || [ "$result" = "risk-accepted" ]
59
59
  }
60
60
 
61
+ result_is_verify_exit() {
62
+ local result
63
+ result=$(yaml_field verification_result)
64
+ [ "$result" = "pass" ] || [ "$result" = "risk-accepted" ] || [ "$result" = "fail" ]
65
+ }
66
+
61
67
  guard_plan() {
62
68
  check_path "plan exists" "$(yaml_field plan)"
63
69
  check_path "matrix exists" "$(yaml_field matrix)"
@@ -93,7 +99,7 @@ guard_accept() {
93
99
 
94
100
  guard_verify() {
95
101
  check_path "verification report exists" "$(yaml_field verification_report)"
96
- check_result "verification result is archivable" result_is_archivable
102
+ check_result "verification result is pass, risk-accepted, or fail" result_is_verify_exit
97
103
  }
98
104
 
99
105
  guard_heal() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pzy560117/opentest",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "OpenTest quality evidence lifecycle skills for Codex",
5
5
  "keywords": [
6
6
  "opentest",