jorgex-stack 1.3.2 → 1.4.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.
package/README.md CHANGED
@@ -49,7 +49,7 @@ For development from a clone, run the same commands through `pnpm cli <command>`
49
49
 
50
50
  Every command supports `--dry-run`, `--yes`, and `--target-dir <dir>` for testing without touching the real config. Writes create automatic backups and verify idempotency; merges into user config are surgical (marked markdown sections, JSON/TOML upserts), so user-owned content is never touched.
51
51
 
52
- Runtime defaults are documented in [docs/references/permissions.md](docs/references/permissions.md) for permissions and [docs/references/models.md](docs/references/models.md) for the Sol primary default, field-level ownership and independent subagent routing. OpenCode remains provider-agnostic for subagents; its primary defaults to the OpenAI OAuth model `openai/gpt-5.6-sol` unless the user replaces it.
52
+ Runtime defaults are documented in [docs/references/permissions.md](docs/references/permissions.md) for permissions and [docs/references/models.md](docs/references/models.md) for the Sol primary default, field-level ownership and independent subagent routing. The quality policy and `jorgex.quality.receipt` contract are documented in [docs/references/quality-receipt.md](docs/references/quality-receipt.md). OpenCode remains provider-agnostic for subagents; its primary defaults to the OpenAI OAuth model `openai/gpt-5.6-sol` unless the user replaces it.
53
53
 
54
54
  ### Modes: Human and Programmatic
55
55
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jorgex-stack",
3
- "version": "1.3.2",
3
+ "version": "1.4.0",
4
4
  "description": "Harness multi-agente portable: instala la config JorgeX (agentes, skills, hooks, Engram, MCPs) en Claude Code, Codex CLI, OpenCode y Pi",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -0,0 +1,164 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "JorgeX quality receipt v1",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": ["namespace", "version", "authority", "identity", "commands", "results"],
7
+ "properties": {
8
+ "namespace": {
9
+ "type": "string",
10
+ "const": "jorgex.quality.receipt"
11
+ },
12
+ "version": {
13
+ "type": "integer",
14
+ "const": 1
15
+ },
16
+ "authority": {
17
+ "type": "string",
18
+ "enum": ["local", "enforced"]
19
+ },
20
+ "identity": {
21
+ "type": "object",
22
+ "additionalProperties": false,
23
+ "required": ["profile", "baseSha", "headSha", "policyDigest"],
24
+ "properties": {
25
+ "profile": {
26
+ "type": "string",
27
+ "enum": ["routine", "elevated", "high", "release"]
28
+ },
29
+ "baseSha": {
30
+ "type": "string",
31
+ "pattern": "^[0-9a-fA-F]{40}$"
32
+ },
33
+ "headSha": {
34
+ "type": "string",
35
+ "pattern": "^[0-9a-fA-F]{40}$"
36
+ },
37
+ "policyDigest": {
38
+ "type": "string",
39
+ "pattern": "^[0-9a-fA-F]{64}$"
40
+ }
41
+ }
42
+ },
43
+ "commands": {
44
+ "type": "array",
45
+ "items": {
46
+ "type": "object",
47
+ "additionalProperties": false,
48
+ "required": [
49
+ "commandId",
50
+ "executable",
51
+ "argv",
52
+ "exitCode",
53
+ "durationMs",
54
+ "excerpt",
55
+ "outputDigest"
56
+ ],
57
+ "properties": {
58
+ "commandId": {
59
+ "type": "string",
60
+ "pattern": "\\S"
61
+ },
62
+ "executable": {
63
+ "type": "string",
64
+ "pattern": "\\S"
65
+ },
66
+ "argv": {
67
+ "type": "array",
68
+ "items": {
69
+ "type": "string"
70
+ }
71
+ },
72
+ "exitCode": {
73
+ "type": "integer"
74
+ },
75
+ "durationMs": {
76
+ "type": "number",
77
+ "minimum": 0
78
+ },
79
+ "excerpt": {
80
+ "type": "string",
81
+ "maxLength": 512
82
+ },
83
+ "outputDigest": {
84
+ "type": "string",
85
+ "pattern": "^[0-9a-fA-F]{64}$"
86
+ }
87
+ }
88
+ }
89
+ },
90
+ "results": {
91
+ "type": "array",
92
+ "items": {
93
+ "type": "object",
94
+ "additionalProperties": false,
95
+ "required": ["controlId", "status"],
96
+ "properties": {
97
+ "controlId": {
98
+ "type": "string",
99
+ "pattern": "\\S"
100
+ },
101
+ "status": {
102
+ "type": "string",
103
+ "enum": ["pass", "fail", "incomplete", "not-applicable"]
104
+ },
105
+ "evidence": {
106
+ "type": "string"
107
+ },
108
+ "reason": {
109
+ "type": "string"
110
+ }
111
+ },
112
+ "if": {
113
+ "properties": {
114
+ "status": {
115
+ "const": "pass"
116
+ }
117
+ }
118
+ },
119
+ "then": {
120
+ "required": ["evidence"],
121
+ "properties": {
122
+ "evidence": {
123
+ "pattern": "\\S"
124
+ }
125
+ }
126
+ }
127
+ }
128
+ },
129
+ "provenance": {
130
+ "type": "object",
131
+ "additionalProperties": false,
132
+ "required": ["issuer", "executionId", "evidenceLocator", "evidenceDigest"],
133
+ "properties": {
134
+ "issuer": {
135
+ "type": "string",
136
+ "pattern": "\\S"
137
+ },
138
+ "executionId": {
139
+ "type": "string",
140
+ "pattern": "\\S"
141
+ },
142
+ "evidenceLocator": {
143
+ "type": "string",
144
+ "format": "uri",
145
+ "pattern": "^https?://\\S+$"
146
+ },
147
+ "evidenceDigest": {
148
+ "type": "string",
149
+ "pattern": "^[0-9a-fA-F]{64}$"
150
+ }
151
+ }
152
+ }
153
+ },
154
+ "if": {
155
+ "properties": {
156
+ "authority": {
157
+ "const": "enforced"
158
+ }
159
+ }
160
+ },
161
+ "then": {
162
+ "required": ["provenance"]
163
+ }
164
+ }