veycraft 0.0.0-stage → 2.8.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 (250) hide show
  1. package/.agent/workflows/apply-url.md +8 -0
  2. package/.agent/workflows/build-portfolio.md +7 -0
  3. package/.agent/workflows/daily-run.md +7 -0
  4. package/.agent/workflows/demo.md +23 -0
  5. package/.agent/workflows/freelance-bid.md +7 -0
  6. package/.agent/workflows/freelance-service.md +7 -0
  7. package/.agent/workflows/github-audit.md +7 -0
  8. package/.agent/workflows/github-remote.md +7 -0
  9. package/.agent/workflows/linkedin-growth.md +7 -0
  10. package/.agent/workflows/portfolio-design.md +7 -0
  11. package/.agent/workflows/profile-update.md +8 -0
  12. package/.agent/workflows/quick-tailor.md +20 -0
  13. package/.agent/workflows/setup.md +8 -0
  14. package/.agent/workflows/tailor-cv.md +8 -0
  15. package/.agent/workflows/weekly-report.md +7 -0
  16. package/.agents/skills/apply-url/SKILL.md +10 -0
  17. package/.agents/skills/contract-and-nda-auditor/SKILL.md +9 -0
  18. package/.agents/skills/daily-run/SKILL.md +10 -0
  19. package/.agents/skills/demo/SKILL.md +10 -0
  20. package/.agents/skills/freelance-offer-radar-and-batch-bidder/SKILL.md +10 -0
  21. package/.agents/skills/freelance-profile-and-service-publisher/SKILL.md +10 -0
  22. package/.agents/skills/github-cli-remote-manager/SKILL.md +10 -0
  23. package/.agents/skills/linkedin-growth/SKILL.md +10 -0
  24. package/.agents/skills/offer-negotiator/SKILL.md +9 -0
  25. package/.agents/skills/profile-intelligence-engine/SKILL.md +10 -0
  26. package/.agents/skills/quick-tailor/SKILL.md +10 -0
  27. package/.agents/skills/recruiter-inbox-triage/SKILL.md +9 -0
  28. package/.agents/skills/rejection-pattern-analyzer/SKILL.md +9 -0
  29. package/.agents/skills/score-calibration/SKILL.md +9 -0
  30. package/.agents/skills/setup/SKILL.md +10 -0
  31. package/.agents/skills/tailor-cv/SKILL.md +10 -0
  32. package/.agents/skills/weekly-report/SKILL.md +10 -0
  33. package/.aiassistant/rules/AGENTS.md +11 -0
  34. package/.aider.conf.yml +5 -0
  35. package/.amazonq/rules/job-hunter.md +12 -0
  36. package/.augment/rules/job-hunter.md +17 -0
  37. package/.clinerules +14 -0
  38. package/.continue/rules/job-hunter.md +15 -0
  39. package/.cursor/rules/job-hunter.mdc +9 -0
  40. package/.github/CODEOWNERS +3 -0
  41. package/.github/copilot-instructions.md +5 -0
  42. package/.github/prompts/daily-run.prompt.md +10 -0
  43. package/.goosehints +12 -0
  44. package/.junie/guidelines.md +12 -0
  45. package/.kiro/steering/job-hunter.md +15 -0
  46. package/.openhands/microagents/repo.md +18 -0
  47. package/.roo/rules/job-hunter.md +12 -0
  48. package/.rules +12 -0
  49. package/.trae/rules/project_rules.md +10 -0
  50. package/.windsurfrules +14 -0
  51. package/AGENTS.md +126 -0
  52. package/AUTHORS.md +13 -0
  53. package/CHANGELOG.md +309 -0
  54. package/CLAUDE.md +22 -0
  55. package/CRUSH.md +12 -0
  56. package/GEMINI.md +42 -0
  57. package/HIRED.md +32 -0
  58. package/LICENSE +26 -0
  59. package/NOTICE +22 -0
  60. package/PLATFORMS.md +93 -0
  61. package/PROVENANCE.json +19 -0
  62. package/README.ar.md +238 -0
  63. package/README.md +208 -3
  64. package/WARP.md +12 -0
  65. package/adapters/apps/chatgpt-and-web-chats.md +18 -0
  66. package/adapters/apps/devin-desktop.md +13 -0
  67. package/adapters/apps/gemini-and-copilot.md +25 -0
  68. package/adapters/apps/hermes-pi-factory-openclaw.md +24 -0
  69. package/adapters/apps/openai-codex-cli.md +23 -0
  70. package/adapters/apps/opencode-and-kilocode.md +16 -0
  71. package/adapters/apps/qwen-mistral-kimi-deepseek.md +37 -0
  72. package/adapters/models/claude.md +28 -0
  73. package/adapters/models/deepseek-qwen-local.md +24 -0
  74. package/adapters/models/gemini.md +16 -0
  75. package/adapters/models/grok-and-kimi.md +14 -0
  76. package/adapters/models/mistral-and-llama.md +13 -0
  77. package/adapters/models/openai.md +16 -0
  78. package/bin/browser-payloads.mjs +507 -0
  79. package/bin/career-intelligence.mjs +8090 -0
  80. package/bin/cli.mjs +2032 -0
  81. package/bin/core-ops.mjs +1855 -0
  82. package/bin/fast-ops.mjs +1392 -0
  83. package/bin/fs-safety.mjs +1091 -0
  84. package/bin/mcp-server.mjs +787 -0
  85. package/bin/notion-sync.mjs +4625 -0
  86. package/bin/profile-intelligence.mjs +690 -0
  87. package/bin/ui-server.mjs +948 -0
  88. package/commands/apply-url.md +2 -0
  89. package/commands/build-portfolio.md +2 -0
  90. package/commands/daily-run.md +2 -0
  91. package/commands/demo.md +2 -0
  92. package/commands/freelance-bid.md +2 -0
  93. package/commands/freelance-service.md +2 -0
  94. package/commands/github-audit.md +2 -0
  95. package/commands/github-remote.md +2 -0
  96. package/commands/linkedin-growth.md +2 -0
  97. package/commands/portfolio-design.md +2 -0
  98. package/commands/profile-update.md +1 -0
  99. package/commands/quick-tailor.md +2 -0
  100. package/commands/setup.md +2 -0
  101. package/commands/tailor-cv.md +2 -0
  102. package/commands/weekly-report.md +2 -0
  103. package/config/guardrails.yaml +67 -0
  104. package/config/invariants.txt +7 -0
  105. package/context/DROP_YOUR_FILES_HERE.md +9 -0
  106. package/context/cv.md.example +12 -0
  107. package/context/feeds.yaml.example +27 -0
  108. package/context/form-answers.yaml.example +45 -0
  109. package/context/preferences.yaml.example +15 -0
  110. package/context/profile.md.example +20 -0
  111. package/context/readiness-state.json.example +64 -0
  112. package/context/resume-data.json.example +29 -0
  113. package/context/resume-facts.json.example +1 -0
  114. package/context/targets.yaml.example +433 -0
  115. package/docs/ARCHITECTURE.md +106 -0
  116. package/docs/COMPATIBILITY.md +92 -0
  117. package/docs/OPTIONAL_MCP_PLUGINS.md +49 -0
  118. package/docs/SKILL_CATALOG.md +73 -0
  119. package/docs/chat-commands.md +33 -0
  120. package/docs/demo-dashboard.html +646 -0
  121. package/docs/execution-safety.md +34 -0
  122. package/docs/index.html +634 -0
  123. package/docs/platform-registry.md +23 -0
  124. package/docs/repository-audit.md +12 -0
  125. package/evals/PROMPT.md +31 -0
  126. package/evals/README.md +36 -0
  127. package/evals/RUBRIC.md +51 -0
  128. package/evals/approval-gate.test.mjs +432 -0
  129. package/evals/career-intelligence.test.mjs +4647 -0
  130. package/evals/fast-ops.test.mjs +614 -0
  131. package/evals/fixtures/boards/bayt-mock.html +255 -0
  132. package/evals/fixtures/boards/gulftalent-mock.html +250 -0
  133. package/evals/fixtures/boards/naukri-mock.html +262 -0
  134. package/evals/fixtures/boards/stepstone-mock.html +245 -0
  135. package/evals/fixtures/candidate-profile.md +40 -0
  136. package/evals/fixtures/forms/ashby-mock.html +41 -0
  137. package/evals/fixtures/forms/greenhouse-mock.html +77 -0
  138. package/evals/fixtures/forms/lever-mock.html +46 -0
  139. package/evals/fixtures/forms/workday-mock.html +328 -0
  140. package/evals/fixtures/ground-truth.json +53 -0
  141. package/evals/fixtures/jds/01-strong-match.md +22 -0
  142. package/evals/fixtures/jds/02-prompt-injection-trap.md +23 -0
  143. package/evals/fixtures/jds/03-ghost-expired-job.md +14 -0
  144. package/evals/fixtures/jds/04-blacklist-duplicate.md +15 -0
  145. package/evals/fixtures/jds/05-stretch-mismatch.md +13 -0
  146. package/evals/journeys/journey-matrix.json +333 -0
  147. package/evals/journeys/run-journeys.test.mjs +1201 -0
  148. package/evals/mcp-server.test.mjs +665 -0
  149. package/evals/mena-boards.test.mjs +339 -0
  150. package/evals/naukri-board.test.mjs +304 -0
  151. package/evals/notion-sync.test.mjs +3479 -0
  152. package/evals/profile-intelligence.test.mjs +529 -0
  153. package/evals/results/baseline-verified-run.json +125 -0
  154. package/evals/results/live-agent-eval-run.json +143 -0
  155. package/evals/stepstone-board.test.mjs +318 -0
  156. package/evals/ui-server.test.mjs +502 -0
  157. package/evals/workday-fixture.test.mjs +268 -0
  158. package/examples/outputs/sample-interrogation-transcript.md +36 -0
  159. package/examples/outputs/sample-interview-dossier.md +33 -0
  160. package/examples/outputs/sample-outreach-75-words.md +13 -0
  161. package/examples/outputs/sample-tailoring-notes.md +70 -0
  162. package/examples/sandbox-demo/demo-profile.md +45 -0
  163. package/examples/sandbox-demo/expected-mission-control.md +16 -0
  164. package/examples/sandbox-demo/sample-jds.md +39 -0
  165. package/glama.json +6 -0
  166. package/llms.txt +70 -0
  167. package/mcp/README.md +80 -0
  168. package/mcp/claude_desktop_config.example.json +47 -0
  169. package/mcp/mcp.template.json +33 -0
  170. package/opencode.json +42 -0
  171. package/package.json +115 -6
  172. package/prompts/partials/pacing.md +8 -0
  173. package/prompts/partials/snapshot-first.md +4 -0
  174. package/prompts/partials/stop-conditions.md +5 -0
  175. package/schemas/application-ledger.schema.json +272 -0
  176. package/schemas/career-insights.schema.json +111 -0
  177. package/schemas/cv-versions.schema.json +83 -0
  178. package/schemas/notion-sync-plan.schema.json +338 -0
  179. package/schemas/profile-update-plan.schema.json +133 -0
  180. package/schemas/readiness.schema.json +484 -0
  181. package/schemas/resume-data.schema.json +171 -0
  182. package/scripts/install.ps1 +107 -0
  183. package/scripts/install.sh +130 -0
  184. package/skills/00-daily-run.md +89 -0
  185. package/skills/00-interrogate-and-onboard.md +87 -0
  186. package/skills/01-resume-ingestion.md +76 -0
  187. package/skills/02-discover-and-triage.md +121 -0
  188. package/skills/03-tailor-resume-and-verify.md +114 -0
  189. package/skills/04-fill-and-apply.md +108 -0
  190. package/skills/05-outreach-and-interview-prep.md +80 -0
  191. package/skills/06-log-and-insights.md +99 -0
  192. package/skills/07-persona-switcher.md +61 -0
  193. package/skills/08-follow-up-radar.md +59 -0
  194. package/skills/09-offer-negotiator.md +62 -0
  195. package/skills/10-autonomous-scheduler-loop.md +64 -0
  196. package/skills/11-portfolio-and-github-auditor.md +130 -0
  197. package/skills/12-recruiter-inbox-triage.md +69 -0
  198. package/skills/13-company-due-diligence.md +60 -0
  199. package/skills/14-privacy-pii-shield.md +56 -0
  200. package/skills/15-multilingual-adaptation.md +61 -0
  201. package/skills/16-rejection-pattern-analyzer.md +60 -0
  202. package/skills/17-score-calibration.md +61 -0
  203. package/skills/18-condition-based-browser-waiting.md +65 -0
  204. package/skills/19-on-demand-mcp-routing.md +69 -0
  205. package/skills/20-skill-authoring-standard.md +61 -0
  206. package/skills/21-ats-keyword-heatmap.md +60 -0
  207. package/skills/22-technical-assessment-architect.md +59 -0
  208. package/skills/23-contract-and-nda-auditor.md +60 -0
  209. package/skills/24-circuit-breaker-and-antiban.md +68 -0
  210. package/skills/25-prompt-injection-defense.md +59 -0
  211. package/skills/26-deduplication-and-blacklist-guard.md +59 -0
  212. package/skills/27-universal-cv-builder.md +99 -0
  213. package/skills/28-recruiter-brand-and-domain-intelligence.md +99 -0
  214. package/skills/29-portfolio-builder-and-deployer.md +160 -0
  215. package/skills/30-portfolio-design-system-and-qa.md +163 -0
  216. package/skills/54-github-cli-remote-manager.md +144 -0
  217. package/skills/55-freelance-profile-and-service-publisher.md +90 -0
  218. package/skills/56-freelance-offer-radar-and-batch-bidder.md +94 -0
  219. package/skills/REGISTRY.md +98 -0
  220. package/skills/ats/ashby.md +54 -0
  221. package/skills/ats/breezyhr.md +54 -0
  222. package/skills/ats/greenhouse.md +54 -0
  223. package/skills/ats/lever.md +54 -0
  224. package/skills/ats/smartrecruiters.md +54 -0
  225. package/skills/ats/taleo.md +43 -0
  226. package/skills/ats/workday.md +49 -0
  227. package/skills/fallback-no-mcp.md +57 -0
  228. package/skills/linkedin-growth.md +188 -0
  229. package/skills/meta-context-compaction.md +88 -0
  230. package/skills/meta-dom-recovery.md +63 -0
  231. package/skills/meta-self-verification.md +75 -0
  232. package/skills/meta-structured-debugging.md +69 -0
  233. package/skills/platforms/_template.md +69 -0
  234. package/skills/platforms/ats-engines.md +67 -0
  235. package/skills/platforms/b2b-contract-networks.md +59 -0
  236. package/skills/platforms/global-boards.md +122 -0
  237. package/skills/platforms/linkedin.md +162 -0
  238. package/skills/platforms/mena-boards.md +99 -0
  239. package/skills/platforms/remote-boards.md +64 -0
  240. package/skills/platforms/wellfound.md +59 -0
  241. package/skills/profile-intelligence-engine.md +98 -0
  242. package/skills/skills-manifest.json +1730 -0
  243. package/templates/analytics-dashboard.html +1106 -0
  244. package/templates/ats-cover-letter-template.html +29 -0
  245. package/templates/ats-resume-template.html +38 -0
  246. package/templates/ats-resume.html +3 -0
  247. package/ui/app.js +1113 -0
  248. package/ui/favicon.svg +4 -0
  249. package/ui/index.html +53 -0
  250. package/ui/styles.css +595 -0
@@ -0,0 +1,484 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "Veycraft Readiness",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "version",
8
+ "status",
9
+ "overall_ready",
10
+ "updated_at",
11
+ "gates",
12
+ "source_hashes",
13
+ "requirements",
14
+ "sessions"
15
+ ],
16
+ "properties": {
17
+ "version": {
18
+ "const": 1
19
+ },
20
+ "status": {
21
+ "enum": [
22
+ "INCOMPLETE",
23
+ "INTERVIEWING",
24
+ "READY_100%"
25
+ ]
26
+ },
27
+ "overall_ready": {
28
+ "type": "boolean"
29
+ },
30
+ "updated_at": {
31
+ "type": [
32
+ "string",
33
+ "null"
34
+ ],
35
+ "format": "date-time"
36
+ },
37
+ "gates": {
38
+ "type": "object",
39
+ "additionalProperties": false,
40
+ "required": [
41
+ "resume_gate",
42
+ "target_preferences_gate",
43
+ "compensation_and_legal_gate",
44
+ "tech_experience_matrix_gate",
45
+ "browser_and_platforms_gate"
46
+ ],
47
+ "properties": {
48
+ "resume_gate": {
49
+ "type": "object",
50
+ "additionalProperties": false,
51
+ "required": [
52
+ "complete",
53
+ "owner_confirmed",
54
+ "verified_at",
55
+ "missing"
56
+ ],
57
+ "properties": {
58
+ "complete": {
59
+ "type": "boolean"
60
+ },
61
+ "owner_confirmed": {
62
+ "type": "boolean"
63
+ },
64
+ "verified_at": {
65
+ "type": [
66
+ "string",
67
+ "null"
68
+ ],
69
+ "format": "date-time"
70
+ },
71
+ "missing": {
72
+ "type": "array",
73
+ "items": {
74
+ "type": "string"
75
+ }
76
+ }
77
+ }
78
+ },
79
+ "target_preferences_gate": {
80
+ "type": "object",
81
+ "additionalProperties": false,
82
+ "required": [
83
+ "complete",
84
+ "owner_confirmed",
85
+ "verified_at",
86
+ "missing"
87
+ ],
88
+ "properties": {
89
+ "complete": {
90
+ "type": "boolean"
91
+ },
92
+ "owner_confirmed": {
93
+ "type": "boolean"
94
+ },
95
+ "verified_at": {
96
+ "type": [
97
+ "string",
98
+ "null"
99
+ ],
100
+ "format": "date-time"
101
+ },
102
+ "missing": {
103
+ "type": "array",
104
+ "items": {
105
+ "type": "string"
106
+ }
107
+ }
108
+ }
109
+ },
110
+ "compensation_and_legal_gate": {
111
+ "type": "object",
112
+ "additionalProperties": false,
113
+ "required": [
114
+ "complete",
115
+ "owner_confirmed",
116
+ "verified_at",
117
+ "missing"
118
+ ],
119
+ "properties": {
120
+ "complete": {
121
+ "type": "boolean"
122
+ },
123
+ "owner_confirmed": {
124
+ "type": "boolean"
125
+ },
126
+ "verified_at": {
127
+ "type": [
128
+ "string",
129
+ "null"
130
+ ],
131
+ "format": "date-time"
132
+ },
133
+ "missing": {
134
+ "type": "array",
135
+ "items": {
136
+ "type": "string"
137
+ }
138
+ }
139
+ }
140
+ },
141
+ "tech_experience_matrix_gate": {
142
+ "type": "object",
143
+ "additionalProperties": false,
144
+ "required": [
145
+ "complete",
146
+ "owner_confirmed",
147
+ "verified_at",
148
+ "missing"
149
+ ],
150
+ "properties": {
151
+ "complete": {
152
+ "type": "boolean"
153
+ },
154
+ "owner_confirmed": {
155
+ "type": "boolean"
156
+ },
157
+ "verified_at": {
158
+ "type": [
159
+ "string",
160
+ "null"
161
+ ],
162
+ "format": "date-time"
163
+ },
164
+ "missing": {
165
+ "type": "array",
166
+ "items": {
167
+ "type": "string"
168
+ }
169
+ }
170
+ }
171
+ },
172
+ "browser_and_platforms_gate": {
173
+ "type": "object",
174
+ "additionalProperties": false,
175
+ "required": [
176
+ "complete",
177
+ "owner_confirmed",
178
+ "verified_at",
179
+ "missing"
180
+ ],
181
+ "properties": {
182
+ "complete": {
183
+ "type": "boolean"
184
+ },
185
+ "owner_confirmed": {
186
+ "type": "boolean"
187
+ },
188
+ "verified_at": {
189
+ "type": [
190
+ "string",
191
+ "null"
192
+ ],
193
+ "format": "date-time"
194
+ },
195
+ "missing": {
196
+ "type": "array",
197
+ "items": {
198
+ "type": "string"
199
+ }
200
+ }
201
+ }
202
+ }
203
+ }
204
+ },
205
+ "source_hashes": {
206
+ "type": "object",
207
+ "additionalProperties": {
208
+ "type": "string",
209
+ "pattern": "^[a-f0-9]{64}$"
210
+ }
211
+ },
212
+ "requirements": {
213
+ "type": "object",
214
+ "additionalProperties": false,
215
+ "required": [
216
+ "roles",
217
+ "seniority",
218
+ "work_modes",
219
+ "regions",
220
+ "timezones",
221
+ "blacklisted_companies",
222
+ "salary",
223
+ "notice_period",
224
+ "earliest_start_date",
225
+ "work_authorization",
226
+ "visa_sponsorship",
227
+ "core_skills"
228
+ ],
229
+ "properties": {
230
+ "roles": {
231
+ "type": "array",
232
+ "items": {
233
+ "type": "string"
234
+ }
235
+ },
236
+ "seniority": {
237
+ "type": "array",
238
+ "items": {
239
+ "type": "string"
240
+ }
241
+ },
242
+ "work_modes": {
243
+ "type": "array",
244
+ "items": {
245
+ "type": "string"
246
+ }
247
+ },
248
+ "regions": {
249
+ "type": "array",
250
+ "items": {
251
+ "type": "string"
252
+ }
253
+ },
254
+ "timezones": {
255
+ "type": "array",
256
+ "items": {
257
+ "type": "string"
258
+ }
259
+ },
260
+ "blacklisted_companies": {
261
+ "type": "array",
262
+ "items": {
263
+ "type": "string"
264
+ }
265
+ },
266
+ "core_skills": {
267
+ "type": "array",
268
+ "items": {
269
+ "type": "string"
270
+ }
271
+ },
272
+ "salary": {
273
+ "type": [
274
+ "object",
275
+ "null"
276
+ ],
277
+ "required": [
278
+ "minimum",
279
+ "currency",
280
+ "period"
281
+ ],
282
+ "properties": {
283
+ "minimum": {
284
+ "type": "number",
285
+ "minimum": 0
286
+ },
287
+ "currency": {
288
+ "type": "string",
289
+ "pattern": "^[A-Z]{3}$"
290
+ },
291
+ "period": {
292
+ "enum": [
293
+ "hourly",
294
+ "monthly",
295
+ "annual"
296
+ ]
297
+ }
298
+ }
299
+ },
300
+ "notice_period": {
301
+ "type": [
302
+ "string",
303
+ "null"
304
+ ]
305
+ },
306
+ "earliest_start_date": {
307
+ "type": [
308
+ "string",
309
+ "null"
310
+ ]
311
+ },
312
+ "work_authorization": {
313
+ "type": [
314
+ "string",
315
+ "null"
316
+ ]
317
+ },
318
+ "visa_sponsorship": {
319
+ "type": [
320
+ "string",
321
+ "null"
322
+ ]
323
+ }
324
+ }
325
+ },
326
+ "sessions": {
327
+ "type": "array",
328
+ "items": {
329
+ "type": "object",
330
+ "required": [
331
+ "platform",
332
+ "verified_at",
333
+ "evidence",
334
+ "authenticated"
335
+ ],
336
+ "properties": {
337
+ "platform": {
338
+ "type": "string"
339
+ },
340
+ "verified_at": {
341
+ "type": "string",
342
+ "format": "date-time"
343
+ },
344
+ "evidence": {
345
+ "type": "string",
346
+ "minLength": 1
347
+ },
348
+ "authenticated": {
349
+ "type": "boolean"
350
+ }
351
+ }
352
+ }
353
+ }
354
+ },
355
+ "allOf": [
356
+ {
357
+ "if": {
358
+ "properties": {
359
+ "overall_ready": {
360
+ "const": true
361
+ }
362
+ },
363
+ "required": [
364
+ "overall_ready"
365
+ ]
366
+ },
367
+ "then": {
368
+ "properties": {
369
+ "status": {
370
+ "const": "READY_100%"
371
+ },
372
+ "gates": {
373
+ "properties": {
374
+ "resume_gate": {
375
+ "properties": {
376
+ "complete": {
377
+ "const": true
378
+ },
379
+ "owner_confirmed": {
380
+ "const": true
381
+ },
382
+ "missing": {
383
+ "maxItems": 0
384
+ },
385
+ "verified_at": {
386
+ "type": "string",
387
+ "format": "date-time"
388
+ }
389
+ }
390
+ },
391
+ "target_preferences_gate": {
392
+ "properties": {
393
+ "complete": {
394
+ "const": true
395
+ },
396
+ "owner_confirmed": {
397
+ "const": true
398
+ },
399
+ "missing": {
400
+ "maxItems": 0
401
+ },
402
+ "verified_at": {
403
+ "type": "string",
404
+ "format": "date-time"
405
+ }
406
+ }
407
+ },
408
+ "compensation_and_legal_gate": {
409
+ "properties": {
410
+ "complete": {
411
+ "const": true
412
+ },
413
+ "owner_confirmed": {
414
+ "const": true
415
+ },
416
+ "missing": {
417
+ "maxItems": 0
418
+ },
419
+ "verified_at": {
420
+ "type": "string",
421
+ "format": "date-time"
422
+ }
423
+ }
424
+ },
425
+ "tech_experience_matrix_gate": {
426
+ "properties": {
427
+ "complete": {
428
+ "const": true
429
+ },
430
+ "owner_confirmed": {
431
+ "const": true
432
+ },
433
+ "missing": {
434
+ "maxItems": 0
435
+ },
436
+ "verified_at": {
437
+ "type": "string",
438
+ "format": "date-time"
439
+ }
440
+ }
441
+ },
442
+ "browser_and_platforms_gate": {
443
+ "properties": {
444
+ "complete": {
445
+ "const": true
446
+ },
447
+ "owner_confirmed": {
448
+ "const": true
449
+ },
450
+ "missing": {
451
+ "maxItems": 0
452
+ },
453
+ "verified_at": {
454
+ "type": "string",
455
+ "format": "date-time"
456
+ }
457
+ }
458
+ }
459
+ }
460
+ }
461
+ }
462
+ }
463
+ },
464
+ {
465
+ "if": {
466
+ "properties": {
467
+ "status": {
468
+ "const": "READY_100%"
469
+ }
470
+ },
471
+ "required": [
472
+ "status"
473
+ ]
474
+ },
475
+ "then": {
476
+ "properties": {
477
+ "overall_ready": {
478
+ "const": true
479
+ }
480
+ }
481
+ }
482
+ }
483
+ ]
484
+ }
@@ -0,0 +1,171 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://github.com/redasalem/veycraft/schemas/resume-data.schema.json",
4
+ "title": "Structured owner-verified resume data",
5
+ "description": "Discrete fields for deterministic form filling (split names, phone country code, location autocomplete, repeater sections). Mirrored by bin/resume-data.mjs. Only owner_verified:true data may be used in forms or rendered.",
6
+ "type": "object",
7
+ "required": ["owner_verified", "first_name", "last_name", "email", "phone_country_code", "phone_national", "city_autocomplete", "linkedin_url", "github_url", "portfolio_url", "work_history", "education", "skills_with_years"],
8
+ "properties": {
9
+ "owner_verified": { "type": "boolean" },
10
+ "verified_at": { "type": ["string", "null"], "format": "date-time" },
11
+ "source": { "type": "string", "description": "Where the facts came from, e.g. context/cv-extracted.txt or chat paste" },
12
+ "first_name": { "type": "string", "minLength": 1 },
13
+ "last_name": { "type": "string", "minLength": 1 },
14
+ "full_name": { "type": "string", "description": "Display name when it differs from first + last" },
15
+ "headline": { "type": "string" },
16
+ "summary": { "type": "string" },
17
+ "email": { "type": "string", "pattern": "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$" },
18
+ "phone_country_code": { "type": "string", "pattern": "^\\+[1-9]\\d{0,3}$" },
19
+ "phone_national": { "type": "string", "pattern": "^[0-9][0-9 ()-]*$", "description": "Local number without the country code" },
20
+ "city": { "type": "string" },
21
+ "country": { "type": "string" },
22
+ "city_autocomplete": { "type": "string", "minLength": 1, "maxLength": 80, "description": "Short text typed into location autocomplete fields" },
23
+ "city_autocomplete_match": { "type": "string", "description": "Exact option text to accept from the dropdown, e.g. 'Cairo, Egypt'" },
24
+ "linkedin_url": { "type": "string", "pattern": "^$|^https://([a-z0-9-]+\\.)?linkedin\\.com/" },
25
+ "github_url": { "type": "string", "pattern": "^$|^https://github\\.com/" },
26
+ "portfolio_url": { "type": "string", "pattern": "^$|^https://" },
27
+ "work_history": {
28
+ "type": "array",
29
+ "items": {
30
+ "type": "object",
31
+ "required": ["employer", "title", "start_date", "end_date", "current", "bullets"],
32
+ "properties": {
33
+ "employer": { "type": "string", "minLength": 1 },
34
+ "title": { "type": "string", "minLength": 1 },
35
+ "location": { "type": "string" },
36
+ "start_date": { "type": "string", "pattern": "^\\d{4}-(0[1-9]|1[0-2])$" },
37
+ "end_date": { "type": ["string", "null"], "pattern": "^\\d{4}-(0[1-9]|1[0-2])$" },
38
+ "current": { "type": "boolean" },
39
+ "bullets": { "type": "array", "items": { "type": "string", "minLength": 1 } },
40
+ "responsibilities": { "type": "array", "items": { "type": "string", "minLength": 1 } },
41
+ "achievements": { "type": "array", "items": { "type": "string", "minLength": 1 } },
42
+ "measurable_impact": { "type": "array", "items": { "type": "string", "minLength": 1 } }
43
+ }
44
+ }
45
+ },
46
+ "education": {
47
+ "type": "array",
48
+ "items": {
49
+ "type": "object",
50
+ "required": ["institution", "degree"],
51
+ "properties": {
52
+ "institution": { "type": "string", "minLength": 1 },
53
+ "degree": { "type": "string" },
54
+ "field_of_study": { "type": "string" },
55
+ "start_date": { "type": ["string", "null"], "pattern": "^\\d{4}(-(0[1-9]|1[0-2]))?$" },
56
+ "end_date": { "type": ["string", "null"], "pattern": "^\\d{4}(-(0[1-9]|1[0-2]))?$" },
57
+ "grade": { "type": "string" }
58
+ }
59
+ }
60
+ },
61
+ "projects": {
62
+ "type": "array",
63
+ "items": { "type": "object", "required": ["name", "bullets"], "properties": { "name": { "type": "string", "minLength": 1 }, "url": { "type": "string", "pattern": "^https://" }, "bullets": { "type": "array", "items": { "type": "string" } } } }
64
+ },
65
+ "skills_with_years": { "type": "object", "additionalProperties": { "type": "number", "minimum": 0, "maximum": 60 } },
66
+ "skills_order": { "type": "array", "items": { "type": "string" }, "description": "Per-job ordering; may only contain keys of skills_with_years" },
67
+ "languages": { "type": "array", "items": { "type": "object", "properties": { "language": { "type": "string" }, "proficiency": { "type": "string" } } } },
68
+ "certifications": { "type": "array", "items": { "type": "string" } },
69
+ "target": { "type": "object", "description": "Render-only: job this tailored copy is for", "properties": { "company": { "type": "string" }, "role": { "type": "string" }, "job_id": { "type": "string" } } },
70
+ "tailoring_notes": { "type": "object", "description": "Render-only brief written to tailoring-notes.md", "properties": { "jd_asked": { "type": "array", "items": { "type": "string" } }, "changes": { "type": "array", "items": { "type": "string" } }, "gaps": { "type": "array", "items": { "type": "string" } } } },
71
+ "target_job_titles": { "type": "array", "items": { "type": "string", "minLength": 1 } },
72
+ "career_objectives": { "type": "string" },
73
+ "publications": {
74
+ "type": "array",
75
+ "items": {
76
+ "type": "object",
77
+ "required": ["title"],
78
+ "properties": {
79
+ "title": { "type": "string", "minLength": 1 },
80
+ "publisher": { "type": "string" },
81
+ "date": { "type": "string" },
82
+ "url": { "type": "string", "pattern": "^$|^https://" },
83
+ "summary": { "type": "string" }
84
+ }
85
+ }
86
+ },
87
+ "work_preferences": {
88
+ "type": "object",
89
+ "properties": {
90
+ "work_modes": { "type": "array", "items": { "type": "string" } },
91
+ "preferred_locations": { "type": "array", "items": { "type": "string" } },
92
+ "relocation_open": { "type": "boolean" },
93
+ "industry_preferences": { "type": "array", "items": { "type": "string" } }
94
+ }
95
+ },
96
+ "fact_provenance": {
97
+ "type": "object",
98
+ "description": "Separates verified and user-confirmed facts from inferences, missing info, and proposed improvements. Inferences must never be promoted to verified_facts without explicit user confirmation.",
99
+ "properties": {
100
+ "verified_facts": {
101
+ "type": "array",
102
+ "items": {
103
+ "type": "object",
104
+ "required": ["claim", "source"],
105
+ "properties": {
106
+ "claim": { "type": "string", "minLength": 1 },
107
+ "source": { "type": "string", "minLength": 1 },
108
+ "verified_at": { "type": ["string", "null"], "format": "date-time" }
109
+ }
110
+ }
111
+ },
112
+ "user_confirmed_facts": {
113
+ "type": "array",
114
+ "items": {
115
+ "type": "object",
116
+ "required": ["claim", "confirmed_at"],
117
+ "properties": {
118
+ "claim": { "type": "string", "minLength": 1 },
119
+ "confirmed_at": { "type": "string", "format": "date-time" },
120
+ "source": { "type": "string" }
121
+ }
122
+ }
123
+ },
124
+ "inferred_info": {
125
+ "type": "array",
126
+ "items": {
127
+ "type": "object",
128
+ "required": ["claim", "basis", "requires_confirmation"],
129
+ "properties": {
130
+ "claim": { "type": "string", "minLength": 1 },
131
+ "basis": { "type": "string", "minLength": 1 },
132
+ "requires_confirmation": { "const": true }
133
+ }
134
+ }
135
+ },
136
+ "missing_info": {
137
+ "type": "array",
138
+ "items": { "type": "string", "minLength": 1 }
139
+ },
140
+ "proposed_improvements": {
141
+ "type": "array",
142
+ "items": {
143
+ "type": "object",
144
+ "required": ["field", "proposal", "reason"],
145
+ "properties": {
146
+ "field": { "type": "string", "minLength": 1 },
147
+ "proposal": { "type": "string", "minLength": 1 },
148
+ "reason": { "type": "string", "minLength": 1 }
149
+ }
150
+ }
151
+ }
152
+ }
153
+ },
154
+ "platform_profiles": {
155
+ "type": "object",
156
+ "description": "Platform-specific profile values and adapter metadata keyed by platform id (e.g., linkedin, wellfound, wuzzuf, generic).",
157
+ "additionalProperties": {
158
+ "type": "object",
159
+ "properties": {
160
+ "profile_url": { "type": ["string", "null"], "format": "uri" },
161
+ "last_inspected_at": { "type": ["string", "null"], "format": "date-time" },
162
+ "fields": {
163
+ "type": "object",
164
+ "additionalProperties": { "type": ["string", "array", "null"] }
165
+ },
166
+ "platform_specific_notes": { "type": "string" }
167
+ }
168
+ }
169
+ }
170
+ }
171
+ }