chore: publish from main

This commit is contained in:
github-actions[bot]
2026-08-14 01:24:17 +00:00
parent 87df1e1d41
commit 38af5bcb89
6 changed files with 29 additions and 11 deletions
@@ -4,8 +4,9 @@ Use JSON only when the user, CI, or another tool needs a structured artifact. Ke
## Required fields
- `version`: integer `1`.
- `version`: integer `2` for new receipts. Version `1` remains accepted for compatibility.
- `status`: `verified`, `partial`, or `blocked`.
- `evidenceSource`: `executed-now`, `supplied`, or `mixed` (required in version `2`).
- `problem`: concise defect and intended behavior.
- `baseline`: object with `command`, `result`, and `evidence`.
- `rootCause`: object with `summary` and at least one evidence item for `verified`.
@@ -37,4 +38,4 @@ For `blocked`:
- Require at least one gap naming the external blocking condition.
- Leave unperformed work empty or mark it `not-run`; do not speculate about the result.
Validate against [receipt.schema.json](receipt.schema.json), run `node scripts/validate-receipt.mjs <file>` from the skill directory, or pipe JSON to `node scripts/validate-receipt.mjs - --json`.
Validate against [receipt.schema.json](receipt.schema.json), run `node scripts/validate-receipt.mjs <file>` from the skill directory, pipe JSON to `node scripts/validate-receipt.mjs - --json`, or use `bug-receipt check <file>` when the package CLI is installed.
@@ -7,8 +7,9 @@
"additionalProperties": false,
"required": ["version", "status", "problem", "baseline", "rootCause", "changes", "verification", "gaps"],
"properties": {
"version": { "const": 1 },
"version": { "enum": [1, 2] },
"status": { "enum": ["verified", "partial", "blocked"] },
"evidenceSource": { "enum": ["executed-now", "supplied", "mixed"] },
"problem": { "$ref": "#/$defs/nonEmptyString" },
"baseline": {
"type": "object",
@@ -71,6 +72,13 @@
"nonEmptyString": { "type": "string", "minLength": 1, "pattern": "\\S" }
},
"allOf": [
{
"if": { "properties": { "version": { "const": 2 } }, "required": ["version"] },
"then": {
"properties": { "evidenceSource": { "enum": ["executed-now", "supplied", "mixed"] } },
"required": ["evidenceSource"]
}
},
{
"if": { "properties": { "status": { "const": "verified" } }, "required": ["status"] },
"then": {