forked from Dicklesworthstone/pi_agent_rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcli-surface-diff.json
More file actions
98 lines (98 loc) · 3.05 KB
/
cli-surface-diff.json
File metadata and controls
98 lines (98 loc) · 3.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "CLI Surface Diff Schema",
"description": "Schema for comparing CLI surface between pi-mono and Rust Pi",
"type": "object",
"properties": {
"schema": {
"type": "string",
"const": "pi.cli_surface_diff.v1"
},
"generated_at": {
"type": "string",
"format": "date-time"
},
"pi_mono_baseline": {
"type": "object",
"properties": {
"commit": { "type": "string" },
"version": { "type": "string" }
},
"required": ["commit", "version"]
},
"rust_pi_version": {
"type": "object",
"properties": {
"commit": { "type": "string" },
"version": { "type": "string" }
},
"required": ["commit", "version"]
},
"flags": {
"type": "array",
"items": {
"$ref": "#/definitions/FlagDiff"
}
},
"subcommands": {
"type": "array",
"items": {
"$ref": "#/definitions/SubcommandDiff"
}
},
"summary": {
"type": "object",
"properties": {
"total_flags": { "type": "integer" },
"identical": { "type": "integer" },
"divergent": { "type": "integer" },
"missing_in_rust": { "type": "integer" },
"missing_in_mono": { "type": "integer" },
"intentionally_removed": { "type": "integer" }
},
"required": ["total_flags", "identical", "divergent", "missing_in_rust", "missing_in_mono", "intentionally_removed"]
}
},
"required": ["schema", "generated_at", "pi_mono_baseline", "rust_pi_version", "flags", "subcommands", "summary"],
"definitions": {
"FlagDiff": {
"type": "object",
"properties": {
"name": { "type": "string" },
"short": { "type": ["string", "null"] },
"takes_value": { "type": "boolean" },
"optional_value": { "type": "boolean" },
"default_value": { "type": ["string", "null"] },
"env_var": { "type": ["string", "null"] },
"description": { "type": ["string", "null"] },
"classification": {
"type": "string",
"enum": ["identical", "divergent", "missing_in_rust", "missing_in_mono", "intentionally_removed"]
},
"action": {
"type": "string",
"enum": ["MATCH", "IMPLEMENT", "RETIRE", "DOCUMENT_AS_INTENTIONAL"]
},
"notes": { "type": ["string", "null"] }
},
"required": ["name", "takes_value", "classification", "action"]
},
"SubcommandDiff": {
"type": "object",
"properties": {
"name": { "type": "string" },
"description": { "type": ["string", "null"] },
"classification": {
"type": "string",
"enum": ["identical", "divergent", "missing_in_rust", "missing_in_mono", "intentionally_removed"]
},
"action": {
"type": "string",
"enum": ["MATCH", "IMPLEMENT", "RETIRE", "DOCUMENT_AS_INTENTIONAL"]
},
"notes": { "type": ["string", "null"] }
},
"required": ["name", "classification", "action"]
}
}
}