@rvdbreemen/adr-kit-opencode 0.52.0 → 0.53.0

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 (83) hide show
  1. package/.claude-plugin/plugin.json +29 -29
  2. package/README.md +865 -850
  3. package/bin/adr +0 -0
  4. package/bin/adr-audit +0 -0
  5. package/bin/adr-context +0 -0
  6. package/bin/adr-discover +0 -0
  7. package/bin/adr-doctor +0 -0
  8. package/bin/adr-generate-scripts +0 -0
  9. package/bin/adr-grill-signal +0 -0
  10. package/bin/adr-guardian +0 -0
  11. package/bin/adr-index +0 -0
  12. package/bin/adr-judge +0 -0
  13. package/bin/adr-judge-precommit +0 -0
  14. package/bin/adr-lint +0 -0
  15. package/bin/adr-mcp +96 -4
  16. package/bin/adr-migrate +0 -0
  17. package/bin/adr-quality +0 -0
  18. package/bin/adr-readiness +0 -0
  19. package/bin/adr-readiness-ci +0 -0
  20. package/bin/adr-related +0 -0
  21. package/bin/adr-renumber +254 -254
  22. package/bin/adr-retire +0 -0
  23. package/bin/adr-settings +0 -0
  24. package/bin/adr-status +0 -0
  25. package/bin/adr-suggest +0 -0
  26. package/bin/adr-watch +0 -0
  27. package/bin/adr_doctor_probes.py +2 -0
  28. package/bin/bump-version +0 -0
  29. package/clients/workflows.json +229 -229
  30. package/hooks/__init__.py +1 -1
  31. package/hooks/adapters/__init__.py +13 -13
  32. package/hooks/adapters/claude.py +27 -27
  33. package/hooks/adapters/codex.py +26 -26
  34. package/hooks/adapters/copilot.py +11 -11
  35. package/hooks/adr-hook.py +128 -128
  36. package/hooks/adr_hook_core.py +843 -843
  37. package/hooks/adr_pr_guard.py +367 -367
  38. package/instructions/ADR-guide.md +101 -48
  39. package/instructions/adr.coding.md +82 -82
  40. package/instructions/adr.review.md +182 -182
  41. package/opencode/plugin.ts +1 -4
  42. package/package.json +5 -2
  43. package/schemas/adr-context-probes.schema.json +56 -56
  44. package/schemas/adr-enforcement.schema.json +57 -57
  45. package/schemas/adr-frontmatter.schema.json +144 -144
  46. package/schemas/adr-index.schema.json +276 -276
  47. package/schemas/adr-kit-config.schema.json +371 -371
  48. package/schemas/adr-readiness.schema.json +41 -41
  49. package/schemas/client-capabilities.schema.json +503 -503
  50. package/schemas/client-certification.schema.json +101 -101
  51. package/schemas/doctor-output.schema.json +92 -92
  52. package/skills/adr/SKILL.md +780 -780
  53. package/skills/audit/SKILL.md +103 -103
  54. package/skills/context/SKILL.md +77 -77
  55. package/skills/grill/SKILL.md +84 -84
  56. package/skills/grill/agents/openai.yaml +4 -4
  57. package/skills/guardian/SKILL.md +316 -316
  58. package/skills/init/SKILL.md +499 -499
  59. package/skills/install-hooks/SKILL.md +154 -154
  60. package/skills/judge/SKILL.md +168 -168
  61. package/skills/lint/SKILL.md +321 -321
  62. package/skills/migrate/SKILL.md +313 -313
  63. package/skills/related/SKILL.md +62 -62
  64. package/skills/retire/SKILL.md +41 -41
  65. package/skills/review/SKILL.md +167 -167
  66. package/skills/settings/SKILL.md +73 -73
  67. package/skills/setup/SKILL.md +128 -128
  68. package/skills/supersede/SKILL.md +136 -136
  69. package/skills/upgrade/SKILL.md +273 -273
  70. package/templates/adr-kit-guide.md +354 -354
  71. package/templates/adr-template.canonical.md +115 -115
  72. package/templates/adr-template.madr.md +131 -131
  73. package/templates/adr-template.md +131 -131
  74. package/templates/adr-template.nygard.md +111 -111
  75. package/templates/cc-settings/guardian-hook-entry.json +9 -9
  76. package/templates/githooks/pre-commit +1 -1
  77. package/templates/github-workflows/adr-audit.yml +58 -58
  78. package/templates/github-workflows/adr-guardian-audit.yml +133 -133
  79. package/templates/github-workflows/adr-index-check.yml +30 -30
  80. package/templates/github-workflows/adr-judge.yml +31 -31
  81. package/templates/github-workflows/adr-readiness.yml +18 -18
  82. package/templates/validate_adr_template.py +38 -38
  83. package/templates/validate_adr_template.sh +74 -74
@@ -1,144 +1,144 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://rvdbreemen.github.io/adr-kit/schemas/adr-frontmatter.schema.json",
4
- "title": "adr-kit canonical ADR frontmatter",
5
- "type": "object",
6
- "additionalProperties": true,
7
- "required": [
8
- "id",
9
- "title",
10
- "status",
11
- "date",
12
- "binding",
13
- "gate",
14
- "documents_shipped",
15
- "verified_in",
16
- "supersedes",
17
- "superseded_by"
18
- ],
19
- "properties": {
20
- "id": {
21
- "type": "string",
22
- "pattern": "^ADR-[0-9]{3,4}$",
23
- "description": "Canonical ADR identifier."
24
- },
25
- "title": {
26
- "type": "string",
27
- "minLength": 1,
28
- "description": "Human title without the ADR id prefix."
29
- },
30
- "status": {
31
- "type": "string",
32
- "enum": [
33
- "Proposed",
34
- "Accepted",
35
- "Deprecated",
36
- "Superseded",
37
- "Amended",
38
- "Rejected"
39
- ],
40
- "description": "Current lifecycle status."
41
- },
42
- "date": {
43
- "type": [
44
- "string",
45
- "null"
46
- ],
47
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
48
- "description": "Date from the status line when known."
49
- },
50
- "binding": {
51
- "type": "boolean",
52
- "description": "True when the ADR constrains future implementation."
53
- },
54
- "gate": {
55
- "type": [
56
- "string",
57
- "null"
58
- ],
59
- "minLength": 1,
60
- "description": "Named consuming-repo verification gate, if any."
61
- },
62
- "documents_shipped": {
63
- "type": "boolean",
64
- "description": "True when this ADR documents behavior already shipped before authoring."
65
- },
66
- "verified_in": {
67
- "type": "array",
68
- "items": {
69
- "type": "string",
70
- "minLength": 1
71
- },
72
- "description": "Local evidence pointers such as file paths, symbols, tests, or commits."
73
- },
74
- "supersedes": {
75
- "type": "array",
76
- "items": {
77
- "type": "string",
78
- "pattern": "^ADR-[0-9]{3,4}$"
79
- },
80
- "description": "ADR ids this ADR supersedes."
81
- },
82
- "superseded_by": {
83
- "type": [
84
- "string",
85
- "null"
86
- ],
87
- "pattern": "^ADR-[0-9]{3,4}$",
88
- "description": "Successor ADR id when this ADR is superseded."
89
- },
90
- "related": {
91
- "type": "array",
92
- "items": {
93
- "type": "string",
94
- "pattern": "^ADR-[0-9]{3,4}$"
95
- },
96
- "description": "ADR ids this ADR is related to, written on both sides by `bin/adr relate`. Symmetric: if A lists B, B lists A."
97
- },
98
- "format": {
99
- "type": "string",
100
- "enum": [
101
- "madr",
102
- "nygard",
103
- "canonical"
104
- ],
105
- "description": "Optional ADR body profile discriminator. Legacy records may omit it and are detected from headings."
106
- },
107
- "topics": {
108
- "$ref": "#/$defs/retrievalStrings",
109
- "description": "Optional deterministic topic terms for selective ADR retrieval."
110
- },
111
- "aliases": {
112
- "$ref": "#/$defs/retrievalStrings",
113
- "description": "Optional alternative names and phrases for selective ADR retrieval."
114
- },
115
- "components": {
116
- "$ref": "#/$defs/retrievalStrings",
117
- "description": "Optional architectural components named by this decision."
118
- },
119
- "symbols": {
120
- "$ref": "#/$defs/retrievalStrings",
121
- "description": "Optional code symbols named by this decision."
122
- },
123
- "context_scope": {
124
- "type": "string",
125
- "enum": [
126
- "global",
127
- "selective"
128
- ],
129
- "description": "Whether the ADR is baseline context or requires positive selective evidence."
130
- }
131
- },
132
- "$defs": {
133
- "retrievalStrings": {
134
- "type": "array",
135
- "maxItems": 32,
136
- "uniqueItems": true,
137
- "items": {
138
- "type": "string",
139
- "minLength": 1,
140
- "maxLength": 120
141
- }
142
- }
143
- }
144
- }
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://rvdbreemen.github.io/adr-kit/schemas/adr-frontmatter.schema.json",
4
+ "title": "adr-kit canonical ADR frontmatter",
5
+ "type": "object",
6
+ "additionalProperties": true,
7
+ "required": [
8
+ "id",
9
+ "title",
10
+ "status",
11
+ "date",
12
+ "binding",
13
+ "gate",
14
+ "documents_shipped",
15
+ "verified_in",
16
+ "supersedes",
17
+ "superseded_by"
18
+ ],
19
+ "properties": {
20
+ "id": {
21
+ "type": "string",
22
+ "pattern": "^ADR-[0-9]{3,4}$",
23
+ "description": "Canonical ADR identifier."
24
+ },
25
+ "title": {
26
+ "type": "string",
27
+ "minLength": 1,
28
+ "description": "Human title without the ADR id prefix."
29
+ },
30
+ "status": {
31
+ "type": "string",
32
+ "enum": [
33
+ "Proposed",
34
+ "Accepted",
35
+ "Deprecated",
36
+ "Superseded",
37
+ "Amended",
38
+ "Rejected"
39
+ ],
40
+ "description": "Current lifecycle status."
41
+ },
42
+ "date": {
43
+ "type": [
44
+ "string",
45
+ "null"
46
+ ],
47
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
48
+ "description": "Date from the status line when known."
49
+ },
50
+ "binding": {
51
+ "type": "boolean",
52
+ "description": "True when the ADR constrains future implementation."
53
+ },
54
+ "gate": {
55
+ "type": [
56
+ "string",
57
+ "null"
58
+ ],
59
+ "minLength": 1,
60
+ "description": "Named consuming-repo verification gate, if any."
61
+ },
62
+ "documents_shipped": {
63
+ "type": "boolean",
64
+ "description": "True when this ADR documents behavior already shipped before authoring."
65
+ },
66
+ "verified_in": {
67
+ "type": "array",
68
+ "items": {
69
+ "type": "string",
70
+ "minLength": 1
71
+ },
72
+ "description": "Local evidence pointers such as file paths, symbols, tests, or commits."
73
+ },
74
+ "supersedes": {
75
+ "type": "array",
76
+ "items": {
77
+ "type": "string",
78
+ "pattern": "^ADR-[0-9]{3,4}$"
79
+ },
80
+ "description": "ADR ids this ADR supersedes."
81
+ },
82
+ "superseded_by": {
83
+ "type": [
84
+ "string",
85
+ "null"
86
+ ],
87
+ "pattern": "^ADR-[0-9]{3,4}$",
88
+ "description": "Successor ADR id when this ADR is superseded."
89
+ },
90
+ "related": {
91
+ "type": "array",
92
+ "items": {
93
+ "type": "string",
94
+ "pattern": "^ADR-[0-9]{3,4}$"
95
+ },
96
+ "description": "ADR ids this ADR is related to, written on both sides by `bin/adr relate`. Symmetric: if A lists B, B lists A."
97
+ },
98
+ "format": {
99
+ "type": "string",
100
+ "enum": [
101
+ "madr",
102
+ "nygard",
103
+ "canonical"
104
+ ],
105
+ "description": "Optional ADR body profile discriminator. Legacy records may omit it and are detected from headings."
106
+ },
107
+ "topics": {
108
+ "$ref": "#/$defs/retrievalStrings",
109
+ "description": "Optional deterministic topic terms for selective ADR retrieval."
110
+ },
111
+ "aliases": {
112
+ "$ref": "#/$defs/retrievalStrings",
113
+ "description": "Optional alternative names and phrases for selective ADR retrieval."
114
+ },
115
+ "components": {
116
+ "$ref": "#/$defs/retrievalStrings",
117
+ "description": "Optional architectural components named by this decision."
118
+ },
119
+ "symbols": {
120
+ "$ref": "#/$defs/retrievalStrings",
121
+ "description": "Optional code symbols named by this decision."
122
+ },
123
+ "context_scope": {
124
+ "type": "string",
125
+ "enum": [
126
+ "global",
127
+ "selective"
128
+ ],
129
+ "description": "Whether the ADR is baseline context or requires positive selective evidence."
130
+ }
131
+ },
132
+ "$defs": {
133
+ "retrievalStrings": {
134
+ "type": "array",
135
+ "maxItems": 32,
136
+ "uniqueItems": true,
137
+ "items": {
138
+ "type": "string",
139
+ "minLength": 1,
140
+ "maxLength": 120
141
+ }
142
+ }
143
+ }
144
+ }