@reviewsensei/cli-darwin-arm64 0.5.0 → 0.6.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.
Files changed (23) hide show
  1. package/bin/_internal/base_library.zip +0 -0
  2. package/bin/_internal/review_sensei/schemas/blocker-admission.schema.json +97 -0
  3. package/bin/_internal/review_sensei/schemas/convergence-sequence-report.schema.json +72 -0
  4. package/bin/_internal/review_sensei/schemas/later-finding-classification.schema.json +81 -0
  5. package/bin/_internal/review_sensei/schemas/observed-convergence-report.schema.json +93 -0
  6. package/bin/_internal/review_sensei/schemas/review-convergence-policy.schema.json +49 -0
  7. package/bin/_internal/review_sensei/schemas/review-result.schema.json +3 -0
  8. package/bin/_internal/review_sensei/schemas/review-round-decision.schema.json +58 -0
  9. package/bin/_internal/review_sensei/schemas/review-transaction.schema.json +71 -0
  10. package/bin/_internal/review_sensei/schemas/run-outcome.schema.json +1 -1
  11. package/bin/_internal/review_sensei/schemas/session-record.schema.json +312 -0
  12. package/bin/_internal/review_sensei/schemas/verification-scope.schema.json +80 -0
  13. package/bin/_internal/{review_sensei-0.5.0.dist-info → review_sensei-0.6.6.dist-info}/METADATA +23 -41
  14. package/bin/_internal/{review_sensei-0.5.0.dist-info → review_sensei-0.6.6.dist-info}/RECORD +58 -32
  15. package/bin/review-sensei +0 -0
  16. package/package.json +1 -1
  17. /package/bin/_internal/{review_sensei-0.5.0.dist-info → review_sensei-0.6.6.dist-info}/INSTALLER +0 -0
  18. /package/bin/_internal/{review_sensei-0.5.0.dist-info → review_sensei-0.6.6.dist-info}/REQUESTED +0 -0
  19. /package/bin/_internal/{review_sensei-0.5.0.dist-info → review_sensei-0.6.6.dist-info}/WHEEL +0 -0
  20. /package/bin/_internal/{review_sensei-0.5.0.dist-info → review_sensei-0.6.6.dist-info}/direct_url.json +0 -0
  21. /package/bin/_internal/{review_sensei-0.5.0.dist-info → review_sensei-0.6.6.dist-info}/entry_points.txt +0 -0
  22. /package/bin/_internal/{review_sensei-0.5.0.dist-info → review_sensei-0.6.6.dist-info}/licenses/LICENSE +0 -0
  23. /package/bin/_internal/{review_sensei-0.5.0.dist-info → review_sensei-0.6.6.dist-info}/top_level.txt +0 -0
Binary file
@@ -0,0 +1,97 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://reviewsensei.dev/schemas/v1/blocker-admission.schema.json",
4
+ "title": "ReviewSensei blocker admission decision v1",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schema_version",
9
+ "mode",
10
+ "proposed_blocking",
11
+ "effective_blocking",
12
+ "needs_human",
13
+ "withholds_automatic_approval",
14
+ "automatic_github_review_events",
15
+ "inline_advisory_threads",
16
+ "disposition",
17
+ "severity_reason",
18
+ "evidence_reason",
19
+ "scope_reason",
20
+ "admission_reason"
21
+ ],
22
+ "properties": {
23
+ "schema_version": {"const": "1.0"},
24
+ "mode": {
25
+ "type": "string",
26
+ "enum": ["legacy", "advisory", "merge-focused", "strict"]
27
+ },
28
+ "proposed_blocking": {"type": ["boolean", "null"]},
29
+ "effective_blocking": {"type": "boolean"},
30
+ "needs_human": {"type": "boolean"},
31
+ "withholds_automatic_approval": {"type": "boolean"},
32
+ "automatic_github_review_events": {"type": "boolean"},
33
+ "inline_advisory_threads": {"type": "boolean"},
34
+ "disposition": {
35
+ "type": "string",
36
+ "enum": [
37
+ "block",
38
+ "advisory",
39
+ "human-adjudication",
40
+ "suppressed-duplicate",
41
+ "honored-disposition"
42
+ ]
43
+ },
44
+ "severity_reason": {
45
+ "type": "string",
46
+ "enum": [
47
+ "legacy-explicit-blocking",
48
+ "legacy-severity-fallback",
49
+ "material-high-critical",
50
+ "named-mandatory-rule",
51
+ "below-material-threshold",
52
+ "preference-or-optional",
53
+ "not-applicable"
54
+ ]
55
+ },
56
+ "evidence_reason": {
57
+ "type": "string",
58
+ "enum": [
59
+ "legacy-unverified",
60
+ "validated-evidence-and-failure-condition",
61
+ "independent-analyzer-or-test-artifact",
62
+ "insufficient-evidence",
63
+ "json-or-line-validity-only",
64
+ "model-confidence-or-agreement-only",
65
+ "not-applicable"
66
+ ]
67
+ },
68
+ "scope_reason": {
69
+ "type": "string",
70
+ "enum": [
71
+ "legacy-unscoped",
72
+ "pr-attributed",
73
+ "fix-introduced-regression",
74
+ "documented-exception",
75
+ "pre-existing-unaffected",
76
+ "already-reviewed-optional",
77
+ "unattributed",
78
+ "not-applicable"
79
+ ]
80
+ },
81
+ "admission_reason": {
82
+ "type": "string",
83
+ "enum": [
84
+ "legacy-classification",
85
+ "admitted-blocker",
86
+ "new-regression",
87
+ "substantiated-missed-defect",
88
+ "duplicate-of-existing",
89
+ "authorized-disposition-still-valid",
90
+ "contradictory-evidence-needs-human",
91
+ "classification-needs-human",
92
+ "weak-high-impact-needs-human",
93
+ "not-admitted-advisory"
94
+ ]
95
+ }
96
+ }
97
+ }
@@ -0,0 +1,72 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://reviewsensei.dev/schemas/v1/convergence-sequence-report.schema.json",
4
+ "title": "ReviewSensei convergence sequence evaluation report v1",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schema_version",
9
+ "mode",
10
+ "steps",
11
+ "completed_initial_reviews",
12
+ "completed_verification_rounds",
13
+ "handoffs",
14
+ "no_progress_events",
15
+ "cap_created_approval",
16
+ "limitations"
17
+ ],
18
+ "properties": {
19
+ "schema_version": {"const": "1.0"},
20
+ "mode": {
21
+ "type": "string",
22
+ "enum": ["legacy", "advisory", "merge-focused", "strict"]
23
+ },
24
+ "steps": {
25
+ "type": "array",
26
+ "maxItems": 32,
27
+ "items": {
28
+ "type": "object",
29
+ "additionalProperties": false,
30
+ "required": [
31
+ "label",
32
+ "admit",
33
+ "handoff",
34
+ "handoff_reason",
35
+ "may_emit_approve",
36
+ "no_progress",
37
+ "round_kind"
38
+ ],
39
+ "properties": {
40
+ "label": {"type": "string", "minLength": 1, "maxLength": 128},
41
+ "admit": {"type": "boolean"},
42
+ "handoff": {"type": "boolean"},
43
+ "handoff_reason": {
44
+ "type": ["string", "null"],
45
+ "enum": [
46
+ "round-budget-exhausted",
47
+ "failed-attempt-budget-exhausted",
48
+ "no-progress",
49
+ "incomplete-coverage",
50
+ "unreviewed-head",
51
+ "paused",
52
+ null
53
+ ]
54
+ },
55
+ "may_emit_approve": {"type": "boolean"},
56
+ "no_progress": {"type": "boolean"},
57
+ "round_kind": {"type": "string", "enum": ["initial", "verification", "none"]}
58
+ }
59
+ }
60
+ },
61
+ "completed_initial_reviews": {"type": "integer", "minimum": 0, "maximum": 32},
62
+ "completed_verification_rounds": {"type": "integer", "minimum": 0, "maximum": 32},
63
+ "handoffs": {"type": "integer", "minimum": 0, "maximum": 32},
64
+ "no_progress_events": {"type": "integer", "minimum": 0, "maximum": 32},
65
+ "cap_created_approval": {"type": "boolean"},
66
+ "limitations": {
67
+ "type": "array",
68
+ "maxItems": 8,
69
+ "items": {"type": "string", "minLength": 1, "maxLength": 256}
70
+ }
71
+ }
72
+ }
@@ -0,0 +1,81 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://reviewsensei.dev/schemas/v1/later-finding-classification.schema.json",
4
+ "title": "ReviewSensei later-finding classification v1",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schema_version",
9
+ "fingerprint",
10
+ "classification",
11
+ "is_late_relative_to_baseline",
12
+ "late_reason",
13
+ "is_duplicate",
14
+ "causal_parent",
15
+ "lineage_reason",
16
+ "attribution"
17
+ ],
18
+ "properties": {
19
+ "schema_version": { "const": "1.0" },
20
+ "fingerprint": {
21
+ "type": "string",
22
+ "pattern": "^[a-f0-9]{64}$"
23
+ },
24
+ "classification": {
25
+ "type": "string",
26
+ "enum": [
27
+ "continuing-concern",
28
+ "reworded-or-moved",
29
+ "verified-fixed",
30
+ "omitted-uncertain",
31
+ "new-regression",
32
+ "substantiated-missed-defect",
33
+ "already-reviewed-optional",
34
+ "pre-existing",
35
+ "needs-human",
36
+ "new-on-initial-pass"
37
+ ]
38
+ },
39
+ "is_late_relative_to_baseline": { "type": "boolean" },
40
+ "late_reason": {
41
+ "type": ["string", "null"],
42
+ "enum": [
43
+ "new-regression",
44
+ "substantiated-missed-defect",
45
+ "human-adjudication",
46
+ null
47
+ ]
48
+ },
49
+ "is_duplicate": { "type": "boolean" },
50
+ "causal_parent": {
51
+ "anyOf": [
52
+ { "type": "string", "pattern": "^[a-f0-9]{64}$" },
53
+ { "type": "null" }
54
+ ]
55
+ },
56
+ "lineage_reason": {
57
+ "type": "string",
58
+ "enum": [
59
+ "none",
60
+ "same-concern",
61
+ "reworded-or-moved",
62
+ "fix-introduced-on-changed-path",
63
+ "fix-introduced-on-related-path",
64
+ "missed-on-already-reviewed-path",
65
+ "unattributed",
66
+ "ambiguous-identity"
67
+ ]
68
+ },
69
+ "attribution": {
70
+ "type": "string",
71
+ "enum": [
72
+ "pr-change",
73
+ "fix-regression",
74
+ "documented-exception",
75
+ "pre-existing",
76
+ "already-reviewed-optional",
77
+ "unattributed"
78
+ ]
79
+ }
80
+ }
81
+ }
@@ -0,0 +1,93 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://reviewsensei.dev/schemas/v1/observed-convergence-report.schema.json",
4
+ "title": "ReviewSensei observed convergence evidence report v1",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": ["schema_version", "mode", "events", "baseline_events", "command_events", "finding_metrics", "execution_metrics", "shadow_isolated", "evidence_identity", "approval_events", "cap_created_approval", "cutover_status", "unmet_criteria", "limitations"],
8
+ "properties": {
9
+ "schema_version": {"const": "1.0"},
10
+ "mode": {"type": "string", "enum": ["advisory", "merge-focused", "strict"]},
11
+ "events": {
12
+ "type": "array",
13
+ "minItems": 1,
14
+ "maxItems": 32,
15
+ "items": {
16
+ "type": "object",
17
+ "additionalProperties": false,
18
+ "required": ["label", "provider_calls", "baseline_loaded", "publication_status", "handoff_reason", "approval_events"],
19
+ "allOf": [
20
+ {
21
+ "if": {
22
+ "properties": {"publication_status": {"const": "handoff"}},
23
+ "required": ["publication_status"]
24
+ },
25
+ "else": {"properties": {"handoff_reason": {"type": "null"}}}
26
+ }
27
+ ],
28
+ "properties": {
29
+ "label": {"type": "string", "minLength": 1, "maxLength": 128},
30
+ "provider_calls": {"type": "integer", "minimum": 0, "maximum": 32},
31
+ "baseline_loaded": {"type": "boolean"},
32
+ "publication_status": {"type": "string", "enum": ["published", "handoff", "disabled", "already_published"]},
33
+ "handoff_reason": {
34
+ "anyOf": [
35
+ {"type": "string", "minLength": 1, "maxLength": 128},
36
+ {"type": "null"}
37
+ ]
38
+ },
39
+ "approval_events": {"type": "integer", "minimum": 0, "maximum": 32}
40
+ }
41
+ }
42
+ },
43
+ "baseline_events": {"type": "integer", "minimum": 0, "maximum": 32},
44
+ "command_events": {"type": "array", "minItems": 2, "maxItems": 8, "items": {"type": "string", "minLength": 1, "maxLength": 128}},
45
+ "finding_metrics": {
46
+ "type": "object",
47
+ "additionalProperties": false,
48
+ "required": ["expected_material_findings", "observed_material_findings", "matched_material_findings", "missed_material_findings", "unjustified_late_blockers", "blocker_precision", "seeded_material_regressions_detected", "duplicate_findings", "reopened_findings", "contradictions"],
49
+ "properties": {
50
+ "expected_material_findings": {"type": "integer", "minimum": 0, "maximum": 512},
51
+ "observed_material_findings": {"type": "integer", "minimum": 0, "maximum": 512},
52
+ "matched_material_findings": {"type": "integer", "minimum": 0, "maximum": 512},
53
+ "missed_material_findings": {"type": "integer", "minimum": 0, "maximum": 512},
54
+ "unjustified_late_blockers": {"type": "integer", "minimum": 0, "maximum": 512},
55
+ "blocker_precision": {"type": ["number", "null"], "minimum": 0, "maximum": 1},
56
+ "seeded_material_regressions_detected": {"type": "integer", "minimum": 0, "maximum": 512},
57
+ "duplicate_findings": {"type": "integer", "minimum": 0, "maximum": 512},
58
+ "reopened_findings": {"type": "integer", "minimum": 0, "maximum": 512},
59
+ "contradictions": {"type": "integer", "minimum": 0, "maximum": 512}
60
+ }
61
+ },
62
+ "execution_metrics": {
63
+ "type": "object",
64
+ "additionalProperties": false,
65
+ "required": ["completed_rounds", "handoffs", "provider_calls", "failed_attempts"],
66
+ "properties": {
67
+ "completed_rounds": {"type": "integer", "minimum": 0, "maximum": 32},
68
+ "handoffs": {"type": "integer", "minimum": 0, "maximum": 32},
69
+ "provider_calls": {"type": "integer", "minimum": 0, "maximum": 512},
70
+ "failed_attempts": {"type": "integer", "minimum": 0, "maximum": 32}
71
+ }
72
+ },
73
+ "shadow_isolated": {"type": "boolean"},
74
+ "evidence_identity": {
75
+ "type": "object",
76
+ "additionalProperties": false,
77
+ "required": ["source_identity", "package_identity", "workflow_identity", "configuration_digest", "fixture_identity", "command"],
78
+ "properties": {
79
+ "source_identity": {"type": "string", "minLength": 1, "maxLength": 256},
80
+ "package_identity": {"type": "string", "minLength": 1, "maxLength": 256},
81
+ "workflow_identity": {"type": "string", "minLength": 1, "maxLength": 256},
82
+ "configuration_digest": {"type": "string", "minLength": 1, "maxLength": 256},
83
+ "fixture_identity": {"type": "string", "minLength": 1, "maxLength": 256},
84
+ "command": {"type": "string", "minLength": 1, "maxLength": 256}
85
+ }
86
+ },
87
+ "approval_events": {"type": ["integer", "null"], "minimum": 0, "maximum": 32},
88
+ "cap_created_approval": {"type": ["boolean", "null"]},
89
+ "cutover_status": {"type": "string", "enum": ["passed", "not_ready"]},
90
+ "unmet_criteria": {"type": "array", "maxItems": 16, "items": {"type": "string", "minLength": 1, "maxLength": 256}},
91
+ "limitations": {"type": "array", "minItems": 1, "maxItems": 8, "items": {"type": "string", "minLength": 1, "maxLength": 256}}
92
+ }
93
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://reviewsensei.dev/schemas/v1/review-convergence-policy.schema.json",
4
+ "title": "ReviewSensei review-convergence policy v1",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schema_version",
9
+ "mode",
10
+ "enforcement",
11
+ "max_completed_initial_reviews",
12
+ "max_completed_verification_rounds",
13
+ "max_failed_attempts",
14
+ "automatic_github_review_events",
15
+ "inline_advisory_threads"
16
+ ],
17
+ "properties": {
18
+ "schema_version": {"const": "1.0"},
19
+ "mode": {
20
+ "type": "string",
21
+ "enum": ["legacy", "advisory", "merge-focused", "strict"]
22
+ },
23
+ "enforcement": {
24
+ "type": "string",
25
+ "enum": ["display-only", "publication"]
26
+ },
27
+ "max_completed_initial_reviews": {
28
+ "type": "integer",
29
+ "minimum": 1,
30
+ "maximum": 8
31
+ },
32
+ "max_completed_verification_rounds": {
33
+ "type": "integer",
34
+ "minimum": 0,
35
+ "maximum": 8
36
+ },
37
+ "max_failed_attempts": {
38
+ "type": "integer",
39
+ "minimum": 1,
40
+ "maximum": 32
41
+ },
42
+ "automatic_github_review_events": {"type": "boolean"},
43
+ "inline_advisory_threads": {"type": "boolean"},
44
+ "policy_digest": {
45
+ "type": "string",
46
+ "pattern": "^[a-f0-9]{64}$"
47
+ }
48
+ }
49
+ }
@@ -76,6 +76,9 @@
76
76
  "coverage": {
77
77
  "$ref": "https://reviewsensei.dev/schemas/v1/coverage-manifest.schema.json"
78
78
  },
79
+ "transaction": {
80
+ "$ref": "https://reviewsensei.dev/schemas/v1/review-transaction.schema.json"
81
+ },
79
82
  "model": {
80
83
  "anyOf": [
81
84
  {"type": "string", "minLength": 1},
@@ -0,0 +1,58 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://reviewsensei.dev/schemas/v1/review-round-decision.schema.json",
4
+ "title": "ReviewSensei review-round admission decision v1",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schema_version",
9
+ "mode",
10
+ "admit",
11
+ "count_as_completed_round",
12
+ "round_kind",
13
+ "remaining_initial_reviews",
14
+ "remaining_verification_rounds",
15
+ "handoff",
16
+ "handoff_reason",
17
+ "may_emit_approve",
18
+ "cap_creates_approval"
19
+ ],
20
+ "properties": {
21
+ "schema_version": {"const": "1.0"},
22
+ "mode": {
23
+ "type": "string",
24
+ "enum": ["legacy", "advisory", "merge-focused", "strict"]
25
+ },
26
+ "admit": {"type": "boolean"},
27
+ "count_as_completed_round": {"type": "boolean"},
28
+ "round_kind": {
29
+ "type": "string",
30
+ "enum": ["initial", "verification", "none"]
31
+ },
32
+ "remaining_initial_reviews": {
33
+ "type": "integer",
34
+ "minimum": 0,
35
+ "maximum": 8
36
+ },
37
+ "remaining_verification_rounds": {
38
+ "type": "integer",
39
+ "minimum": 0,
40
+ "maximum": 8
41
+ },
42
+ "handoff": {"type": "boolean"},
43
+ "handoff_reason": {
44
+ "type": ["string", "null"],
45
+ "enum": [
46
+ "round-budget-exhausted",
47
+ "failed-attempt-budget-exhausted",
48
+ "no-progress",
49
+ "incomplete-coverage",
50
+ "unreviewed-head",
51
+ "paused",
52
+ null
53
+ ]
54
+ },
55
+ "may_emit_approve": {"type": "boolean"},
56
+ "cap_creates_approval": {"type": "boolean", "const": false}
57
+ }
58
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://reviewsensei.dev/schemas/v1/review-transaction.schema.json",
4
+ "title": "ReviewSensei logical review transaction v1",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "transaction_id",
9
+ "repository",
10
+ "pull_request",
11
+ "base_sha",
12
+ "head_sha",
13
+ "policy_digest",
14
+ "configuration_digest",
15
+ "evidence_digest",
16
+ "reservation_id",
17
+ "generation",
18
+ "phase"
19
+ ],
20
+ "properties": {
21
+ "transaction_id": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
22
+ "repository": {"type": "string", "minLength": 1, "maxLength": 140},
23
+ "pull_request": {"type": "integer", "minimum": 1, "maximum": 2147483647},
24
+ "base_sha": {"type": "string", "pattern": "^[a-f0-9]{40}$"},
25
+ "head_sha": {"type": "string", "pattern": "^[a-f0-9]{40}$"},
26
+ "policy_digest": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
27
+ "configuration_digest": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
28
+ "evidence_digest": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
29
+ "reservation_id": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
30
+ "generation": {"type": "integer", "minimum": 1, "maximum": 2147483647},
31
+ "phase": {
32
+ "type": "string",
33
+ "enum": [
34
+ "analysis",
35
+ "analysis_failed",
36
+ "publication_pending",
37
+ "publication_failed",
38
+ "publication_succeeded",
39
+ "publication_suppressed"
40
+ ]
41
+ },
42
+ "result_sha256": {"type": "string", "pattern": "^[a-f0-9]{64}$"}
43
+ },
44
+ "allOf": [
45
+ {
46
+ "if": {
47
+ "required": ["phase"],
48
+ "properties": {
49
+ "phase": {"enum": ["analysis", "analysis_failed"]}
50
+ }
51
+ },
52
+ "then": {"not": {"required": ["result_sha256"]}}
53
+ },
54
+ {
55
+ "if": {
56
+ "required": ["phase"],
57
+ "properties": {
58
+ "phase": {
59
+ "enum": [
60
+ "publication_pending",
61
+ "publication_failed",
62
+ "publication_succeeded",
63
+ "publication_suppressed"
64
+ ]
65
+ }
66
+ }
67
+ },
68
+ "then": {"required": ["result_sha256"]}
69
+ }
70
+ ]
71
+ }
@@ -6,7 +6,7 @@
6
6
  "required": ["schema_version", "status", "stage_summary", "provider_calls", "retry_attempts", "prompt_bytes", "response_bytes", "elapsed_ms", "diagnostic"],
7
7
  "properties": {
8
8
  "schema_version": {"const": "1.0"},
9
- "status": {"enum": ["reviewed", "partial", "skipped_stale", "skipped_policy", "provider_failed", "budget_exhausted", "publication_failed", "already_published"]},
9
+ "status": {"enum": ["reviewed", "partial", "skipped_stale", "skipped_policy", "provider_failed", "budget_exhausted", "publication_failed", "already_published", "action_required"]},
10
10
  "repository": {"type": ["string", "null"], "maxLength": 256},
11
11
  "pull_request_number": {"type": ["integer", "null"], "minimum": 1},
12
12
  "base_sha": {"type": ["string", "null"], "pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"},