Skip to content

Commit 5955fc1

Browse files
committed
Enforce shared OpenCLI fixture provenance on every Java line
1 parent a384a5b commit 5955fc1

2 files changed

Lines changed: 62 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
java-version: '21'
3737
cache: maven
3838

39+
- name: Verify shared contract fixtures and source lock
40+
working-directory: src/test/resources/opencli-contracts/v1
41+
run: sha256sum --strict -c SHA256SUMS
42+
3943
- name: Verify pinned structured help samples
4044
working-directory: src/test/resources/opencli-contracts/v1/structured-help-1.8.8
4145
run: sha256sum --strict -c SHA256SUMS
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"schemaVersion": 1,
3+
"observedAt": "2026-09-21",
4+
"scope": "Synthetic offline argv vectors; not captures from OpenCLI or websites.",
5+
"source": {
6+
"kind": "specification",
7+
"requirements": [
8+
"OC-ARGV-001",
9+
"OC-ARGV-002",
10+
"OC-ARGV-004",
11+
"OC-ARGV-005"
12+
],
13+
"ref": "d0c8056990f7a47fcc202acffa387ba066bcfc67",
14+
"path": "openspec/changes/harden-opencli-argv-contract/specs/opencli-argv-contract/spec.md"
15+
},
16+
"files": [
17+
{
18+
"path": "argv.tsv",
19+
"sha256": "e7e6dd57e81e24e92a7cb0de0e1204f95025f80310f5dc34d820aa7419636f78",
20+
"vectors": 6,
21+
"encoding": "case-id then tab-separated base64 UTF-8 tokens; preserve trailing empty fields"
22+
}
23+
],
24+
"branches": [
25+
{
26+
"branch": "feature/1.0.x",
27+
"base": "abba809f11dae68437c39d2ea5a2f4cf8798c0ef",
28+
"java": 8,
29+
"jackson": 2,
30+
"mavenMajor": 3
31+
},
32+
{
33+
"branch": "feature/2.0.x",
34+
"base": "d0c8056990f7a47fcc202acffa387ba066bcfc67",
35+
"java": 17,
36+
"jackson": 2,
37+
"mavenMajor": 3,
38+
"canonical": true
39+
},
40+
{
41+
"branch": "feature/3.0.x",
42+
"base": "6e38904bdfcae90ec617e8d29bf3d8cf2f002893",
43+
"java": 21,
44+
"jackson": 3,
45+
"mavenMajor": 4
46+
}
47+
],
48+
"allowedDifferences": [
49+
"JDK baseline",
50+
"Jackson imports/decoder internals",
51+
"Maven wrapper/POM schema"
52+
],
53+
"forbiddenDifferences": [
54+
"raw token contents/order/count",
55+
"null validation",
56+
"observable semantics of shared vectors"
57+
]
58+
}

0 commit comments

Comments
 (0)