You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/daily-formal-spec-verifier.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,6 +174,13 @@ Use existing types, functions, and interfaces from the codebase where possible (
174
174
175
175
Create exactly one issue using the `create_issue` safe output.
176
176
177
+
### Output Contract (Required)
178
+
179
+
1. Draft the title and body locally first if needed, but emit exactly one final `create_issue` safe output only after the full payload is complete.
180
+
2. Do **not** use `bash`, `cli-proxy`, or the `safeoutputs` CLI to create the issue or inspect the tool schema. Emit the safe output directly with `title` and `body` arguments.
181
+
3. Never retry `create_issue` with empty, placeholder, or partial arguments.
182
+
4. If the quality checks below cannot be met, emit `report_incomplete` directly as a safe output instead of `create_issue`.
183
+
177
184
### Issue format
178
185
179
186
Title: `[formal-spec] <SpecFileName> — Formal model & test suite — <YYYY-MM-DD>`
@@ -239,7 +246,7 @@ Before emitting `create_issue`, verify the body:
239
246
- The generated test file compiles without errors (review for syntax mistakes).
240
247
- Is at least 1200 characters long.
241
248
242
-
If these checks cannot be met, emit `report_incomplete` instead of `create_issue`.
249
+
If these checks cannot be met, emit `report_incomplete`directly as a safe output instead of `create_issue`.
requiredContract:="Draft the title and body locally first if needed, but emit exactly one final `create_issue` safe output only after the full payload is complete."
341
+
if!strings.Contains(workflow, requiredContract) {
342
+
t.Fatal("Expected daily-formal-spec-verifier workflow to require a single final create_issue safe output")
343
+
}
344
+
345
+
noShellGuidance:="Do **not** use `bash`, `cli-proxy`, or the `safeoutputs` CLI to create the issue or inspect the tool schema. Emit the safe output directly with `title` and `body` arguments."
346
+
if!strings.Contains(workflow, noShellGuidance) {
347
+
t.Fatal("Expected daily-formal-spec-verifier workflow to forbid bash/CLI safe-output invocation")
348
+
}
349
+
350
+
reportIncompleteGuidance:="If the quality checks below cannot be met, emit `report_incomplete` directly as a safe output instead of `create_issue`."
0 commit comments