veycraft 0.0.0-stage → 2.8.1

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,268 @@
1
+ import test from 'node:test';
2
+ import assert from 'node:assert/strict';
3
+ import fs from 'node:fs';
4
+ import os from 'node:os';
5
+ import path from 'node:path';
6
+ import { spawnSync } from 'node:child_process';
7
+ import { fileURLToPath } from 'node:url';
8
+
9
+ const ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
10
+ const CLI = [
11
+ process.env.JHO_CLI_PATH,
12
+ path.join(ROOT, 'bin', 'cli.mjs'),
13
+ path.join(os.homedir(), '.veycraft', 'bin', 'cli.mjs'),
14
+ path.join(os.homedir(), '.job-hunter-os', 'bin', 'cli.mjs'),
15
+ ].find(p => p && fs.existsSync(p));
16
+ assert.ok(CLI, 'Could not locate bin/cli.mjs');
17
+
18
+ const FORMS_DIR = path.join(ROOT, 'evals', 'fixtures', 'forms');
19
+ const WORKDAY_PATH = path.join(FORMS_DIR, 'workday-mock.html');
20
+ const WORKDAY_HTML = fs.readFileSync(WORKDAY_PATH, 'utf8');
21
+ const WORKDAY_SKILL = fs.readFileSync(path.join(ROOT, 'skills', 'ats', 'workday.md'), 'utf8');
22
+ const ATS_ENGINES_SKILL = fs.readFileSync(path.join(ROOT, 'skills', 'platforms', 'ats-engines.md'), 'utf8');
23
+
24
+ function extractTagAttributes(tagText) {
25
+ const attrs = {};
26
+ for (const m of tagText.matchAll(/([a-zA-Z0-9_:-]+)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s>]+)))?/g)) {
27
+ const name = m[1].toLowerCase();
28
+ attrs[name] = m[2] ?? m[3] ?? m[4] ?? '';
29
+ }
30
+ return attrs;
31
+ }
32
+
33
+ function getElementsByTag(html, tagName) {
34
+ const re = new RegExp(`<${tagName}\\b[^>]*>`, 'gi');
35
+ return [...html.matchAll(re)].map(m => ({ raw: m[0], index: m.index, attrs: extractTagAttributes(m[0]) }));
36
+ }
37
+
38
+ function getSectionInnerHtml(html, id) {
39
+ const re = new RegExp(`<section\\b[^>]*id="${id}"[^>]*>([\\s\\S]*?)<\\/section>`, 'i');
40
+ const m = html.match(re);
41
+ return m ? m[1] : null;
42
+ }
43
+
44
+ test('1. Dynamic ATS form fixture discovery & shared offline safety invariants', () => {
45
+ const htmlFiles = fs.readdirSync(FORMS_DIR).filter(f => f.endsWith('.html')).sort();
46
+ assert.ok(htmlFiles.length >= 4, `Expected at least 4 ATS mock fixtures, found ${htmlFiles.length}`);
47
+ assert.ok(htmlFiles.includes('workday-mock.html'), 'workday-mock.html must exist in evals/fixtures/forms/');
48
+
49
+ for (const file of htmlFiles) {
50
+ const html = fs.readFileSync(path.join(FORMS_DIR, file), 'utf8');
51
+ // Offline-only: zero external script, stylesheet, image, or remote form action URLs
52
+ assert.doesNotMatch(html, /<(?:script|link|img|iframe)\b[^>]*\b(?:src|href)\s*=\s*["']https?:\/\//i, `${file} must not load remote assets`);
53
+ assert.doesNotMatch(html, /<form\b[^>]*\baction\s*=\s*["']https?:\/\//i, `${file} must not submit to a remote URL`);
54
+ assert.match(html, /type="file"/i, `${file} must include a CV upload file input`);
55
+ assert.match(html, /name="website_url_honeypot"/i, `${file} must include website_url_honeypot`);
56
+ assert.match(html, /Decline to self-identify/i, `${file} must provide neutral EEO opt-out option`);
57
+ }
58
+ });
59
+
60
+ test('2. Workday 4-step wizard structure, ordered steps, navigation & validation alert', () => {
61
+ const expectedSteps = [
62
+ ['1', 'step-1', 'My Information'],
63
+ ['2', 'step-2', 'My Experience'],
64
+ ['3', 'step-3', 'Voluntary Disclosures'],
65
+ ['4', 'step-4', 'Review'],
66
+ ];
67
+
68
+ // Progress indicator list has all 4 steps in exact order with Step 1 active
69
+ const progressMatch = WORKDAY_HTML.match(/<nav\b[^>]*aria-label="Application Progress"[^>]*>([\s\S]*?)<\/nav>/i);
70
+ assert.ok(progressMatch, 'Missing Application Progress navigation landmark');
71
+ let prevIdx = -1;
72
+ for (const [num, , label] of expectedSteps) {
73
+ const stepRe = new RegExp(`<li\\b[^>]*data-step-indicator="${num}"[^>]*>[^<]*${label}[^<]*<\\/li>`, 'i');
74
+ const m = progressMatch[1].match(stepRe);
75
+ assert.ok(m, `Missing progress indicator for step ${num} (${label})`);
76
+ assert.ok(m.index > prevIdx, `Step ${num} (${label}) is out of order`);
77
+ prevIdx = m.index;
78
+ }
79
+ assert.match(progressMatch[1], /data-step-indicator="1"[^>]*aria-current="step"/i, 'Step 1 must carry aria-current="step"');
80
+
81
+ // Four wizard <section> blocks inside <form> with navigation controls
82
+ const formMatch = WORKDAY_HTML.match(/<form\b[^>]*id="workday-wizard-form"[^>]*>([\s\S]*?)<\/form>/i);
83
+ assert.ok(formMatch, 'Missing #workday-wizard-form');
84
+ const formInner = formMatch[1];
85
+
86
+ for (const [num, id, label] of expectedSteps) {
87
+ const secInner = getSectionInnerHtml(formInner, id);
88
+ assert.ok(secInner, `Missing wizard section #${id} inside form`);
89
+ assert.match(secInner, new RegExp(`<h2\\b[^>]*>${label}<\\/h2>`, 'i'), `Section #${id} must declare heading "${label}"`);
90
+ if (num !== '4') {
91
+ assert.match(secInner, new RegExp(`data-wizard-next="${Number(num) + 1}"`), `Step ${num} must provide Next navigation to step ${Number(num) + 1}`);
92
+ }
93
+ if (num !== '1') {
94
+ assert.match(secInner, new RegExp(`data-wizard-prev="${Number(num) - 1}"`), `Step ${num} must provide Back navigation to step ${Number(num) - 1}`);
95
+ }
96
+ }
97
+
98
+ // Step validation alert landmark
99
+ assert.match(WORKDAY_HTML, /<div\b[^>]*id="wd-step-alert"[^>]*role="alert"[^>]*aria-live="polite"/i, 'Missing accessible step validation alert container');
100
+ });
101
+
102
+ test('3. React-Select-style ARIA comboboxes & detached portal listboxes strictly outside </form>', () => {
103
+ const formCloseIndex = WORKDAY_HTML.search(/<\/form>/i);
104
+ assert.ok(formCloseIndex > 0, 'Missing </form> closing tag');
105
+
106
+ const comboboxes = getElementsByTag(WORKDAY_HTML, 'button').filter(el => el.attrs.role === 'combobox');
107
+ assert.ok(comboboxes.length >= 2, `Expected >= 2 ARIA combobox triggers, found ${comboboxes.length}`);
108
+
109
+ const portalMatch = WORKDAY_HTML.match(/<div\b[^>]*id="wd-portal-root"[^>]*data-portal-root="true"[^>]*>([\s\S]*?)<\/div>/i);
110
+ assert.ok(portalMatch, 'Missing detached #wd-portal-root container');
111
+ assert.ok(portalMatch.index > formCloseIndex, 'Detached portal root MUST be mounted outside </form>');
112
+
113
+ for (const combo of comboboxes) {
114
+ assert.equal(combo.attrs['aria-haspopup'], 'listbox', `Combobox ${combo.attrs.id} must set aria-haspopup="listbox"`);
115
+ assert.ok(
116
+ combo.attrs['aria-expanded'] === 'false' || combo.attrs['aria-expanded'] === 'true',
117
+ `Combobox ${combo.attrs.id} must declare boolean aria-expanded`,
118
+ );
119
+ const controlsId = combo.attrs['aria-controls'];
120
+ assert.ok(controlsId, `Combobox ${combo.attrs.id} must declare aria-controls`);
121
+ assert.ok(combo.index < formCloseIndex, `Combobox ${combo.attrs.id} should live inside the form`);
122
+
123
+ const lbRe = new RegExp(`<ul\\b[^>]*id="${controlsId}"[^>]*role="listbox"[^>]*>([\\s\\S]*?)<\\/ul>`, 'i');
124
+ const lbMatch = portalMatch[1].match(lbRe);
125
+ assert.ok(lbMatch, `Portal listbox #${controlsId} must exist inside detached #wd-portal-root outside </form>`);
126
+
127
+ const options = getElementsByTag(lbMatch[1], 'li').filter(li => li.attrs.role === 'option');
128
+ assert.ok(options.length >= 3, `Listbox #${controlsId} must provide >= 3 role="option" items`);
129
+ for (const opt of options) {
130
+ assert.ok(
131
+ opt.attrs['aria-selected'] === 'false' || opt.attrs['aria-selected'] === 'true',
132
+ `Option ${opt.attrs.id} in #${controlsId} must set aria-selected`,
133
+ );
134
+ assert.ok(opt.attrs['data-value'], `Option ${opt.attrs.id} in #${controlsId} must carry a non-empty data-value`);
135
+ }
136
+ }
137
+ });
138
+
139
+ test('4. Required vs. optional fields, CV file upload & hidden honeypot attributes', () => {
140
+ const inputs = getElementsByTag(WORKDAY_HTML, 'input');
141
+ const byName = new Map(inputs.map(el => [el.attrs.name, el]));
142
+
143
+ // Required inputs
144
+ for (const reqName of ['first_name', 'last_name', 'email', 'phone', 'resume', 'recent_job_title', 'recent_company', 'gdpr_consent']) {
145
+ const el = byName.get(reqName);
146
+ assert.ok(el, `Missing expected required input[name="${reqName}"]`);
147
+ assert.ok(Object.prototype.hasOwnProperty.call(el.attrs, 'required'), `Input "${reqName}" must be marked required`);
148
+ }
149
+
150
+ // Optional inputs MUST NOT carry required
151
+ for (const optName of ['linkedin_url', 'marketing_opt_in']) {
152
+ const el = byName.get(optName);
153
+ assert.ok(el, `Missing expected optional input[name="${optName}"]`);
154
+ assert.ok(!Object.prototype.hasOwnProperty.call(el.attrs, 'required'), `Optional input "${optName}" must not be marked required`);
155
+ }
156
+ const skillsTextarea = getElementsByTag(WORKDAY_HTML, 'textarea').find(t => t.attrs.name === 'skills_summary');
157
+ assert.ok(skillsTextarea, 'Missing optional textarea[name="skills_summary"]');
158
+ assert.ok(!Object.prototype.hasOwnProperty.call(skillsTextarea.attrs, 'required'), 'skills_summary must remain optional');
159
+
160
+ // CV upload control + upload status badge
161
+ const resumeInput = byName.get('resume');
162
+ assert.equal(resumeInput.attrs.type, 'file');
163
+ assert.match(resumeInput.attrs.accept || '', /\.pdf/i);
164
+ assert.match(WORKDAY_HTML, /id="wd-upload-status"[^>]*role="status"/i, 'Missing upload status live region');
165
+
166
+ // Hidden honeypot attributes
167
+ const honeypotWrapper = WORKDAY_HTML.match(/<div\b[^>]*aria-hidden="true"[^>]*style="[^"]*display\s*:\s*none[^"]*"[^>]*>([\s\S]*?)<\/div>/i);
168
+ assert.ok(honeypotWrapper, 'Honeypot wrapper must set aria-hidden="true" and display:none');
169
+ const honeypotInput = getElementsByTag(honeypotWrapper[1], 'input').find(el => el.attrs.name === 'website_url_honeypot');
170
+ assert.ok(honeypotInput, 'website_url_honeypot input must live inside hidden honeypot wrapper');
171
+ assert.equal(honeypotInput.attrs.tabindex, '-1');
172
+ assert.equal(honeypotInput.attrs.autocomplete, 'off');
173
+ assert.ok(!Object.prototype.hasOwnProperty.call(honeypotInput.attrs, 'required'), 'Honeypot must never be marked required');
174
+ });
175
+
176
+ test('5. Account-gate detection, manual-handoff markers & local-only inline script safety', () => {
177
+ // Synthetic host (never real myworkdayjobs.com)
178
+ assert.doesNotMatch(WORKDAY_HTML, /https?:\/\/[^"'\s]*myworkdayjobs\.com/i, 'Fixture must never reference a real Workday URL');
179
+ assert.match(WORKDAY_HTML, /data-synthetic-host="cloudpay\.myworkdayjobs\.example"/i);
180
+
181
+ // Account gate landmark
182
+ const gateInner = getSectionInnerHtml(WORKDAY_HTML, 'workday-account-gate');
183
+ assert.ok(gateInner, 'Missing #workday-account-gate section');
184
+ assert.match(WORKDAY_HTML, /id="workday-account-gate"[^>]*data-workday-gate="account-required"/i);
185
+ assert.match(gateInner, /data-account-action="create-account"/i);
186
+ assert.match(gateInner, /data-account-action="sign-in"/i);
187
+ assert.match(gateInner, /data-legal-terms="true"/i);
188
+
189
+ // Final Review step manual-handoff enforcement
190
+ const reviewInner = getSectionInnerHtml(WORKDAY_HTML, 'step-4');
191
+ assert.ok(reviewInner, 'Missing #step-4 Review section');
192
+ assert.match(reviewInner, /data-review-summary="true"/i);
193
+ assert.match(reviewInner, /data-manual-handoff="true"/i);
194
+ assert.match(reviewInner, /type="submit"[^>]*aria-disabled="true"[^>]*data-requires-manual-handoff="true"/i);
195
+
196
+ // Inline script must prevent default submit and never perform network calls
197
+ const scriptMatch = WORKDAY_HTML.match(/<script>([\s\S]*?)<\/script>/i);
198
+ assert.ok(scriptMatch, 'Expected minimal inline script for offline deterministic testing');
199
+ const js = scriptMatch[1];
200
+ assert.match(js, /event\.preventDefault\(\)/, 'Submit handler must call event.preventDefault()');
201
+ assert.doesNotMatch(js, /\b(?:fetch|XMLHttpRequest|sendBeacon|WebSocket|window\.open)\b/, 'Fixture JS must never make network calls or open popups');
202
+ });
203
+
204
+ test('6. Workday skill & ATS-engine policy invariants and frontmatter contract', () => {
205
+ // Mandatory manual_apply + needs_review policy in both skills/ats/workday.md and skills/platforms/ats-engines.md
206
+ for (const [label, text] of [
207
+ ['skills/ats/workday.md', WORKDAY_SKILL],
208
+ ['skills/platforms/ats-engines.md', ATS_ENGINES_SKILL],
209
+ ]) {
210
+ assert.match(text, /manual_apply/i, `${label} must enforce manual_apply`);
211
+ assert.match(text, /needs_review/i, `${label} must enforce needs_review`);
212
+ assert.match(text, /aria-expanded/i, `${label} must document aria-expanded snapshot wait condition`);
213
+ assert.match(text, /listbox/i, `${label} must document portal listbox snapshot wait condition`);
214
+ assert.match(text, /role="alert"|step-validation/i, `${label} must document step-validation error recovery`);
215
+
216
+ // 8 required YAML frontmatter keys + 3 mandatory H2 sections + zero invisible Unicode/BiDi
217
+ assert.ok(text.startsWith('---'), `${label} missing YAML frontmatter`);
218
+ const fmEnd = text.indexOf('\n---', 3);
219
+ assert.ok(fmEnd > 0, `${label} unterminated frontmatter`);
220
+ const fm = text.slice(3, fmEnd);
221
+ for (const key of ['name', 'version', 'description', 'triggers', 'requires_mcp', 'preconditions', 'requires_skills', 'verification']) {
222
+ assert.match(fm, new RegExp(`^${key}:`, 'm'), `${label} missing frontmatter key: ${key}`);
223
+ }
224
+ for (const heading of [
225
+ '## When to Use & Preconditions',
226
+ '## Deterministic Step-by-Step Execution',
227
+ '## Anti-Patterns (What NEVER To Do) & Self-Verification Check',
228
+ ]) {
229
+ assert.ok(text.includes(heading), `${label} missing mandatory heading: ${heading}`);
230
+ }
231
+ for (let i = 0; i < text.length; i++) {
232
+ const cp = text.codePointAt(i);
233
+ assert.ok(
234
+ !(cp >= 0xE0000 && cp <= 0xE007F) && !(cp >= 0x202A && cp <= 0x202E) && !(cp >= 0x2066 && cp <= 0x2069),
235
+ `${label} contains invisible Unicode/BiDi char U+${cp.toString(16)}`,
236
+ );
237
+ }
238
+ }
239
+
240
+ // Workday skill explicitly prohibits account creation, legal terms acceptance, and auto-submission
241
+ assert.match(WORKDAY_SKILL, /no account created|do not create accounts/i);
242
+ assert.match(WORKDAY_SKILL, /no terms accepted|accept new legal terms/i);
243
+ assert.match(WORKDAY_SKILL, /no Submit clicked|click Submit automatically/i);
244
+ assert.match(WORKDAY_SKILL, /read-only inspection|pre-handoff|synthetic/i, 'Workday snapshot guidance must remain scoped to read-only/pre-handoff/synthetic testing');
245
+ });
246
+
247
+ test('7. Dynamic proof output includes Workday without label clipping & preserves EVAL-01..20', () => {
248
+ const tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'veycraft-workday-proof-'));
249
+ try {
250
+ const env = { ...process.env, HOME: tmp, USERPROFILE: tmp, NO_COLOR: '1' };
251
+ const proofRes = spawnSync(process.execPath, [CLI, 'proof'], { cwd: tmp, env, encoding: 'utf8' });
252
+ assert.equal(proofRes.status, 0, proofRes.stdout + proofRes.stderr);
253
+
254
+ const svg = fs.readFileSync(path.join(tmp, 'logs', 'exports', 'proof-card.svg'), 'utf8');
255
+ const md = fs.readFileSync(path.join(tmp, 'logs', 'exports', 'proof-card.md'), 'utf8');
256
+
257
+ assert.match(svg, /Ashby · Greenhouse · Lever · Workday/);
258
+ assert.match(md, /Workday/);
259
+ assert.match(svg, />20\/20</, 'EVAL-01..20 baseline count must remain 20/20');
260
+
261
+ // Verify responsive font-size prevents clipping inside the 182px fourth metric card
262
+ const labelMatch = svg.match(/<text\b[^>]*font-size="([0-9.]+)"[^>]*>Ashby · Greenhouse · Lever · Workday<\/text>/);
263
+ assert.ok(labelMatch, 'Missing dynamic ATS fixture label text element in proof-card.svg');
264
+ assert.ok(Number(labelMatch[1]) <= 9.5, `Expected responsive font-size <= 9.5 to prevent clipping, got ${labelMatch[1]}`);
265
+ } finally {
266
+ fs.rmSync(tmp, { recursive: true, force: true });
267
+ }
268
+ });
@@ -0,0 +1,36 @@
1
+ # Readiness Interrogation Transcript (Sample Output)
2
+
3
+ > **User:** `/daily-run`
4
+ >
5
+ > **Agent:** Applications are hard-blocked until all 5 readiness gates pass against verified files in `context/`:
6
+ > - ❌ **Gate 1 · CV & Profile:** `context/profile.md` still contains `.example` placeholder text.
7
+ > - ❌ **Gate 2 · Target Strategy:** `context/preferences.yaml` has no owner-confirmed roles or regions.
8
+ > - ❌ **Gate 3 · Terms & Legal:** `context/form-answers.yaml` has `owner_verified: false`.
9
+ > - ❌ **Gate 4 · Skills Matrix:** Exact hands-on years are unconfirmed.
10
+ > - ❌ **Gate 5 · Platforms:** No target in `context/targets.yaml` is enabled (`enabled: true`).
11
+ >
12
+ > Let's resolve this in quick 4-question batches. **Batch 1:**
13
+ > 1. Share or paste your real CV (or drop `assets/resume.pdf`).
14
+ > 2. What target roles and seniority are you aiming for?
15
+ > 3. What work modes (`Remote` / `Hybrid` / `Onsite`), allowed regions, and timezone apply?
16
+ > 4. Any blacklisted companies or role keywords to exclude?
17
+ >
18
+ > **User:** *[Pastes CV]* Senior Full-Stack & AI Engineer, Remote worldwide or EMEA (Cairo UTC+2), no company blacklist.
19
+ >
20
+ > **Agent:** Extracted your verified CV facts into a draft Fact Table (zero metrics or dates inferred). **Batch 2:**
21
+ > 1. Minimum acceptable compensation (amount, currency, hourly/monthly/annual)?
22
+ > 2. Notice period and earliest start date (`YYYY-MM-DD`)?
23
+ > 3. Countries where you hold work authorization, and where do you need visa sponsorship?
24
+ > 4. Exact hands-on years for your extracted core skills: TypeScript, React, Node.js, PostgreSQL, Python, Playwright?
25
+ >
26
+ > **User:** 4,500 USD/month gross (or 55 USD/hour B2B), 30 days notice (earliest 2026-12-18), Egypt work authorization / visa sponsorship needed for US/EU onsite; TypeScript 6, React 5, Node.js 5, PostgreSQL 5, Python 3, Playwright 2.
27
+ >
28
+ > **Agent:** Saved your confirmed answers to `context/profile.md`, `context/cv.md`, `context/resume-data.json`, `context/preferences.yaml`, and `context/form-answers.yaml` (`owner_verified: true`). **Final Batch:**
29
+ > 1. Confirm EEO & GDPR defaults (`Decline to self-identify` / `Prefer not to say`, `referral_source: LinkedIn`, `gdpr_privacy_consent: true`)?
30
+ > 2. Which platforms in `context/targets.yaml` should I enable?
31
+ > 3. May I open Playwright MCP (`./browser-profile`) in headed mode so you can sign in privately?
32
+ >
33
+ > **User:** Defaults look good. Enable Greenhouse and LinkedIn, and I have signed in via the browser window.
34
+ >
35
+ > **Agent:** All 5 gates ✅.
36
+ > **Mission Briefing:** Senior Full-Stack & AI Engineer (Remote EMEA/Worldwide), Greenhouse + LinkedIn, Days 1–3 warm-up cap **5/day**, min score **7**, **`dry_run: ON`**. Confirm to launch?
@@ -0,0 +1,33 @@
1
+ # Interview Prep & Archived JD Dossier (Sample Output)
2
+
3
+ - **Company:** CloudScale Payments
4
+ - **Role:** Senior Full-Stack & AI Engineer
5
+ - **job_id:** `greenhouse:cloudscale-4012`
6
+ - **Canonical URL:** `https://boards.greenhouse.io/cloudscale/jobs/4012`
7
+ - **Status:** `applied` (`2026-11-18T11:20:00Z`) · **Match Score:** `9.2 / 10` · **Health:** `🟢 Healthy`
8
+ - **Resume Sent:** `logs/resumes/cloudscale-senior-fullstack-ai-greenhouse-4012/resume.pdf`
9
+
10
+ ---
11
+
12
+ ## 1. Archived Full Job Description
13
+ > We are looking for a Senior Full-Stack & AI Engineer to build reliable TypeScript/Node.js backend services, React developer consoles, and MCP-powered internal agent workflows. Must have 4+ years with TypeScript, React, Node.js, and PostgreSQL, plus hands-on experience building browser automation or LLM tool-calling pipelines. Automated testing with Playwright and CI/CD ownership are core to the role.
14
+
15
+ ---
16
+
17
+ ## 2. Tailored CV Emphasis & Evidence Map
18
+ - **Foregrounded Work:**
19
+ - NilePay Sandbox: TypeScript/Node.js webhook settlement services (180k daily events) with PostgreSQL idempotency keys.
20
+ - NilePay Sandbox: Checkout API p95 latency reduction (`420ms -> 165ms`) via batched SQL joins and Redis caching.
21
+ - NilePay Sandbox: Playwright end-to-end suite (45 flows) in GitHub Actions.
22
+ - Project: **AgentEval MCP** (Markdown evaluation harness for Playwright MCP tool calling).
23
+ - **Skill Gaps (Not Claimed):** None on core requirements.
24
+
25
+ ---
26
+
27
+ ## 3. Top 5 Likely Technical & Behavioral Interview Questions
28
+ 1. **PostgreSQL Idempotency at Scale:** Walk through how you structured idempotency keys for 180k daily webhook events at NilePay and how you handled concurrent duplicate retries.
29
+ - *Grounded cue:* Reference exact transaction/unique-constraint handling you implemented; avoid guessing unverified throughput ceilings.
30
+ 2. **Latency Debugging (`420ms -> 165ms`):** How did you profile the N+1 checkout bottleneck before choosing batched SQL joins and Redis caching, and how did you prevent cache staleness?
31
+ 3. **MCP Tool-Calling Reliability:** Based on **AgentEval MCP**, how do you keep browser-driving LLM agents deterministic when page DOMs shift or modal transitions invalidate element refs?
32
+ 4. **Playwright CI Flakiness:** How did you keep 45 merchant onboarding E2E tests fast and non-flaky inside GitHub Actions?
33
+ 5. **Cross-Stack Ownership:** Tell us about a time a backend schema migration affected the React tenant console in DeltaCloud and how you rolled it out without tenant downtime.
@@ -0,0 +1,13 @@
1
+ # Hiring Manager Outreach Draft (Sample Output)
2
+
3
+ - **Company:** CloudScale Payments
4
+ - **Role:** Senior Full-Stack & AI Engineer (`greenhouse:cloudscale-4012`)
5
+ - **Observed Contact:** Tariq Mansour — Engineering Manager, Core Platform (`https://www.linkedin.com/in/tariq-mansour-sandbox`, observed on job posting `"Meet the hiring team"`)
6
+ - **Word Count:** `56 / 75 words`
7
+ - **Status:** `DRAFT_ONLY — requires explicit owner approve before sending`
8
+
9
+ ---
10
+
11
+ ## Message Text
12
+
13
+ Hi Tariq, I just applied for the Senior Full-Stack & AI Engineer role at CloudScale Payments. I have spent the last five years building TypeScript and PostgreSQL payment APIs (including cutting checkout p95 latency from 420ms to 165ms) and maintaining Playwright MCP evaluation harnesses. Happy to share context on how our webhook idempotency architecture translates to your team.
@@ -0,0 +1,70 @@
1
+ # Tailoring Notes (Sample Output - Synthetic)
2
+
3
+ > Synthetic only. Uses sandbox fixtures (`examples/sandbox-demo/demo-profile.md`, `examples/sandbox-demo/sample-jds.md`).
4
+ > No real candidate PII. Copy this shape into `logs/resumes/<slug>/tailoring-notes.md`.
5
+
6
+ - **Candidate:** Samira Haddad (Synthetic Sandbox Profile)
7
+ - **Company:** CloudScale Payments
8
+ - **Role:** Senior Full-Stack & AI Engineer
9
+ - **job_id:** `greenhouse:cloudscale-4012`
10
+ - **Domain Archetype:** Software, Data, Cloud & AI Engineering (`skills/28-recruiter-brand-and-domain-intelligence.md`)
11
+ - **Mode:** `dry_run` (no Submit)
12
+ - **Match score:** `9.2 / 10` (`92%`) · **Tier:** A
13
+
14
+ ## JD Asked (Top Requirements)
15
+
16
+ - TypeScript and Node.js backend services (4+ years required)
17
+ - PostgreSQL and reliable webhook/event processing
18
+ - Automated testing with Playwright and CI/CD ownership
19
+ - React developer consoles
20
+ - Browser automation or LLM/MCP tool-calling pipelines
21
+
22
+ ## What Changed on the CV
23
+
24
+ - Rewrote Summary to answer the Buyer Pain Point directly using verified TypeScript, Node.js, PostgreSQL, React, and Playwright experience.
25
+ - Reordered NilePay Sandbox bullets using the Proof Density Hierarchy: checkout p95 latency reduction (`420ms` to `165ms`) and `180k` daily webhook settlement events first.
26
+ - Surfaced the verified `AgentEval MCP` open-source project and `45` Playwright merchant onboarding flows in GitHub Actions; did **not** claim Kubernetes or Terraform.
27
+
28
+ ## Evidence Map
29
+
30
+ | CV Claim | Verified Source |
31
+ |----------|-----------------|
32
+ | Reduced checkout API p95 latency from `420ms` to `165ms` | `examples/sandbox-demo/demo-profile.md` · NilePay Sandbox (`2023-02` to `Present`) |
33
+ | Built TypeScript and Node.js webhook settlement services processing `180k` daily events with PostgreSQL idempotency keys | `examples/sandbox-demo/demo-profile.md` · NilePay Sandbox (`2023-02` to `Present`) |
34
+ | Designed Playwright end-to-end test suite covering `45` merchant onboarding flows in GitHub Actions | `examples/sandbox-demo/demo-profile.md` · NilePay Sandbox (`2023-02` to `Present`) |
35
+ | Shipped React and TypeScript analytics dashboards and RBAC for `120` B2B tenant workspaces | `examples/sandbox-demo/demo-profile.md` · DeltaCloud Sandbox (`2020-06` to `2023-01`) |
36
+ | Built `AgentEval MCP` Markdown evaluation harness for testing MCP tool-calling accuracy across Playwright browser flows | `examples/sandbox-demo/demo-profile.md` · Verified Projects |
37
+
38
+ ## ATS Keyword Heatmap (Before -> After)
39
+
40
+ | Category | JD Keywords | Base CV (Before) | Tailored CV (After) | Newly Surfaced (Verified) | True Unclaimed Gaps |
41
+ |----------|-------------|------------------|---------------------|---------------------------|---------------------|
42
+ | Core Domain Skills & Methodologies | 5 | 3/5 (60%) | 5/5 (100%) | webhook idempotency, MCP tool-calling | None |
43
+ | Tools, Platforms & Systems | 6 | 4/6 (67%) | 5/6 (83%) | Playwright, GitHub Actions | Kubernetes (0 verified years) |
44
+ | Credentials, Licensure & Compliance | 1 | 1/1 (100%) | 1/1 (100%) | RBAC access controls | None |
45
+ | Business Outcomes & Scope Signals | 3 | 2/3 (67%) | 3/3 (100%) | p95 latency reduction, CI ownership | None |
46
+ | **Overall** | **15** | **10/15 (67%)** | **14/15 (93%)*** | *verified facts only* | **Kubernetes** |
47
+
48
+ \*After count includes only verified candidate facts. Unverified terms remain isolated below.
49
+
50
+ ## True Gaps (Not Claimed in CV)
51
+
52
+ - **Kubernetes / EKS:** Absent from `examples/sandbox-demo/demo-profile.md` (0 verified years); excluded from CV and reserved for honest interview discussion if asked.
53
+ - **Terraform:** Not verified in candidate profile; excluded from CV.
54
+
55
+ ## Same-Family Synonym Decisions
56
+
57
+ | JD Term | Listed As | Verified Base Fact | Interview Risk |
58
+ |---------|-----------|--------------------|----------------|
59
+ | CI/CD ownership | GitHub Actions CI | 4 verified years + 45 automated Playwright onboarding flows in GitHub Actions | Low: review pipeline YAML structure before interview |
60
+
61
+ ## Hiring-Manager Outreach DM (`<= 75` Words) - DRAFT_ONLY
62
+
63
+ ```text
64
+ Hi Tariq, I applied for the Senior Full-Stack & AI Engineer role at CloudScale Payments.
65
+ At NilePay, I built TypeScript and PostgreSQL webhook services handling 180k daily events,
66
+ cut checkout API p95 latency from 420ms to 165ms, and automated 45 merchant flows with
67
+ Playwright in GitHub Actions. Happy to share how my AgentEval MCP work maps to your stack.
68
+ ```
69
+
70
+ Word count: 60 words (`<= 75` cap). Clichés: 0. Prose em-dashes: 0. Status: `DRAFT_ONLY` (requires explicit owner `APPROVE` before Send).
@@ -0,0 +1,45 @@
1
+ # Sandbox Demo Profile (Synthetic — Do Not Use as Real Owner Data)
2
+
3
+ - full_name: Samira Haddad
4
+ - email: `{{CANDIDATE_EMAIL}}` (sandbox: samira.haddad@sandbox.invalid)
5
+ - phone: `{{CANDIDATE_PHONE}}`
6
+ - address: `{{CANDIDATE_ADDRESS}}` (Cairo, Egypt — UTC+2)
7
+ - linkedin: https://www.linkedin.com/in/samira-haddad-sandbox
8
+ - github: https://github.com/samira-haddad-sandbox
9
+ - portfolio: https://samira-haddad.sandbox.invalid
10
+ - years_experience: 6
11
+ - current_title: Senior Full-Stack & AI Engineer
12
+ - target_roles: ["Senior Full-Stack Engineer", "AI Agent Engineer", "Staff Frontend Engineer"]
13
+ - work_modes: ["Remote"]
14
+ - allowed_regions: ["Worldwide", "EMEA", "Egypt"]
15
+ - salary_floor: 4500 USD/month gross (or 55 USD/hour B2B)
16
+ - notice_period: 30 days
17
+ - work_authorization: Egypt citizen; requires visa sponsorship for US/EU onsite roles
18
+ - preferred_cv_language: English
19
+ - voice: crisp, peer-engineer, concrete technical nouns, zero buzzwords
20
+
21
+ ## Verified Skills & Exact Years
22
+ - TypeScript: 6
23
+ - React / Next.js: 5
24
+ - Node.js / PostgreSQL: 5
25
+ - Python / FastAPI: 3
26
+ - LLM Tool Calling / MCP / Playwright: 2
27
+ - Docker / GitHub Actions CI: 4
28
+
29
+ ## Verified Experience
30
+ ### Senior Full-Stack Engineer — NilePay Sandbox (Cairo, Remote)
31
+ 2023-02 – Present
32
+ - Built TypeScript and Node.js webhook settlement services processing 180k daily events with PostgreSQL idempotency keys.
33
+ - Reduced checkout API p95 latency from 420ms to 165ms by replacing N+1 queries with batched SQL joins and Redis caching.
34
+ - Designed an internal Playwright end-to-end test suite covering 45 merchant onboarding flows in GitHub Actions.
35
+
36
+ ### Software Engineer — DeltaCloud Sandbox (Remote)
37
+ 2020-06 – 2023-01
38
+ - Shipped React and TypeScript analytics dashboards and role-based access controls for 120 B2B tenant workspaces.
39
+ - Migrated legacy REST endpoints to typed schemas and automated schema checks in CI.
40
+
41
+ ## Verified Projects
42
+ - **AgentEval MCP:** Open-source Markdown evaluation harness for testing MCP tool-calling accuracy across Playwright browser flows.
43
+
44
+ ## Education
45
+ - BSc Computer Engineering — Cairo University (2015 – 2019)
@@ -0,0 +1,16 @@
1
+ # Expected `/demo` Sandbox Output — Mission Control Table
2
+
3
+ Running `/demo` evaluates [`sample-jds.md`](sample-jds.md) against [`demo-profile.md`](demo-profile.md) using PII masking (`skills/14-privacy-pii-shield.md`), company due diligence (`skills/13-company-due-diligence.md`), ghost detection (`skills/02-discover-and-triage.md`), fact-checking, and anti-AI slop rules (`skills/03-tailor-resume-and-verify.md`):
4
+
5
+ ## Mission Control Briefing
6
+
7
+ | # | Company & Role | Health | Score | Status | What Changed in Tailored CV (or Why Skipped) | Tailored Artifacts |
8
+ |---|---|---|---|---|---|---|
9
+ | 1 | CloudScale Payments — Senior Full-Stack & AI Engineer | 🟢 Healthy | 9.2 | 🟢 Ready | Foregrounded TypeScript/Node.js webhook services (180k daily events), PostgreSQL p95 latency reduction (420ms -> 165ms), Playwright CI, and AgentEval MCP; PII masked (`{{CANDIDATE_PHONE}}`) during drafting | `logs/resumes/cloudscale-senior-fullstack-ai-greenhouse-4012/` |
10
+ | 2 | OrbitMesh Labs — Senior Platform & AI Infrastructure Engineer | 🟡 Caution | 6.6 | 🟡 Stretch | Foregrounded Docker, GitHub Actions CI, Python/FastAPI, and latency optimization. **Gaps (not claimed):** Kubernetes (EKS), Terraform | — (prepares on request) |
11
+ | 3 | LegacyMobile Corp — Principal Native iOS & Swift Engineer | 🔴 Red Flag | 1.5 | 🔴 Skipped | `ghost_or_expired`: Posted 47 days ago (`> 30d`), closed on employer ATS, recent layoff signal, Swift-only stack + SF onsite/no visa | Logged to `logs/skipped-jobs.json` |
12
+
13
+ ### Agent Prompt in Chat
14
+ > I scanned **3 sandbox jobs**: **1** is 🟢 Ready (with fact-checked, AI-slop-free resume & `interview-dossier.md` + `<= 75`-word `outreach-draft.md`), **1** is 🟡 Stretch, and **1** was 🔴 Skipped (`ghost_or_expired` + dealbreaker).
15
+ >
16
+ > *(Sandbox Mode — no real browser submission will occur.)* Reply `APPLY ALL GREEN`, `APPLY 1`, or tell me which CV to inspect or tweak.
@@ -0,0 +1,39 @@
1
+ # Sample Job Descriptions for `/demo` Sandbox Triage
2
+
3
+ ---
4
+
5
+ ## Job 1 — High Match (Tier A)
6
+ - **job_id:** `greenhouse:cloudscale-4012`
7
+ - **Company:** CloudScale Payments (Series B, profitable payments infrastructure, 180 engineers, active engineering blog, no recent layoff reports)
8
+ - **Role:** Senior Full-Stack & AI Engineer
9
+ - **Location:** Remote (EMEA / Worldwide)
10
+ - **Posted:** 3 days ago (`datePosted: 2026-11-15`, active Greenhouse form open)
11
+ - **Compensation:** $5,000–$6,500/month B2B or FTE
12
+ - **URL:** `https://boards.greenhouse.io/cloudscale/jobs/4012`
13
+ - **Description:**
14
+ We are looking for a Senior Full-Stack & AI Engineer to build reliable TypeScript/Node.js backend services, React developer consoles, and MCP-powered internal agent workflows. Must have 4+ years with TypeScript, React, Node.js, and PostgreSQL, plus hands-on experience building browser automation or LLM tool-calling pipelines. Automated testing with Playwright and CI/CD ownership are core to the role.
15
+
16
+ ---
17
+
18
+ ## Job 2 — Stretch Role (Tier B)
19
+ - **job_id:** `lever:orbitmesh-774`
20
+ - **Company:** OrbitMesh Labs (Early-stage startup, 22 employees, recently closed seed round; fast iteration cycle)
21
+ - **Role:** Senior Platform & AI Infrastructure Engineer
22
+ - **Location:** Remote (UTC-1 to UTC+3)
23
+ - **Posted:** 8 days ago (`datePosted: 2026-11-10`, active Lever form open)
24
+ - **Compensation:** $4,800–$6,000/month
25
+ - **URL:** `https://jobs.lever.co/orbitmesh/774`
26
+ - **Description:**
27
+ Build multi-tenant AI agent sandboxes using TypeScript, Python, Docker, and Kubernetes. You will design observability pipelines, optimize API latency, and maintain GitHub Actions deployment workflows. Nice to have: production Kubernetes (EKS) and Terraform operator experience.
28
+
29
+ ---
30
+
31
+ ## Job 3 — Ghost / Mismatch Role (Tier C)
32
+ - **job_id:** `linkedin:ghostmobile-909`
33
+ - **Company:** LegacyMobile Corp (Recent 35% engineering layoff reported; identical listing reposted 4 times)
34
+ - **Role:** Principal Native iOS & Swift Engineer
35
+ - **Location:** San Francisco, CA (Hybrid 4 days/week onsite, no visa sponsorship)
36
+ - **Posted:** 47 days ago (`datePosted: 2026-10-02`, banner: `"No longer accepting applications"` on employer ATS)
37
+ - **URL:** `https://www.linkedin.com/jobs/view/909`
38
+ - **Description:**
39
+ 8+ years of Swift, SwiftUI, CoreData, and Apple Metal graphics engineering required onsite in San Francisco. No visa sponsorship available.
package/glama.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://glama.ai/mcp/schemas/server.json",
3
+ "maintainers": [
4
+ "redasalem"
5
+ ]
6
+ }
package/llms.txt ADDED
@@ -0,0 +1,70 @@
1
+ # Veycraft (`redasalem/veycraft`)
2
+
3
+ > Truthful CV tailoring for the AI agent you already use — local-first, Markdown-first AI career operations framework (56 skills) with a zero-dependency Node.js CLI (`dependencies: {}`, `devDependencies: {}`), fact-checked resume diffs, ATS keyword comparison, explicit True Gaps, and unconditional job-specific human `APPROVE` gates. Works across 25+ AI coding apps & CLIs with optional Playwright MCP and optional Notion MCP.
4
+
5
+ ## Core Entrypoints
6
+
7
+ - [AGENTS.md](AGENTS.md): Canonical rules, progressive disclosure protocol, strict daily-run execution order, and 10 non-negotiable guardrails.
8
+ - [skills/REGISTRY.md](skills/REGISTRY.md): Consolidated 56-skill routing index (triggers, preconditions, verification contracts).
9
+ - [skills/skills-manifest.json](skills/skills-manifest.json): Machine-readable JSON catalog of all 56 consolidated skills.
10
+ - [docs/execution-safety.md](docs/execution-safety.md): Explicit separation of deterministic CLI enforcement (`bin/cli.mjs`) vs. agent workflow requirements (`AGENTS.md`, `skills/*.md`).
11
+ - [evals/README.md](evals/README.md) & [evals/RUBRIC.md](evals/RUBRIC.md): Deterministic CI schema & fixture validator (`npx github:redasalem/veycraft eval --baseline` or `--file <output.json>`).
12
+ - [evals/PROMPT.md](evals/PROMPT.md): Zero-shot reproducible evaluation prompt for external LLMs.
13
+ - [PLATFORMS.md](PLATFORMS.md): Global job board, B2B contract network, regional portal, and employer ATS compatibility matrix.
14
+ - [HIRED.md](HIRED.md): Authentic community outcomes ledger (strictly separated from maintainer origin).
15
+ - [CHANGELOG.md](CHANGELOG.md): Release history (`v1.0.0` through `v1.4.1`).
16
+ - [README.md](README.md) & [README.ar.md](README.ar.md): English & RTL Arabic landing pages, CV tailoring preview, and installation guide.
17
+ - [docs/index.html](docs/index.html) & [docs/demo-dashboard.html](docs/demo-dashboard.html): Static primary CV Tailoring Demo and secondary Application Tracking Dashboard preview.
18
+ - [docs/SKILL_CATALOG.md](docs/SKILL_CATALOG.md), [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md), [docs/COMPATIBILITY.md](docs/COMPATIBILITY.md), [docs/OPTIONAL_MCP_PLUGINS.md](docs/OPTIONAL_MCP_PLUGINS.md): Deep documentation.
19
+
20
+ ## Playbooks & Modular Skills
21
+
22
+ - [Daily Run Orchestrator](skills/00-daily-run.md): Full `/daily-run` and `/apply-url` lifecycle orchestrator.
23
+ - [Readiness Gatekeeper](skills/00-interrogate-and-onboard.md): 5-gate profile audit and batched chat onboarding (`/setup`).
24
+ - [Resume Ingestion](skills/01-resume-ingestion.md): Pure-AI CV extraction and verification into structured JSON/Markdown.
25
+ - [Discover & Triage](skills/02-discover-and-triage.md): Ghost-job filter, 0-10 fit scoring, and Mission Control dashboard table.
26
+ - [Tailor Resume & Verify](skills/03-tailor-resume-and-verify.md): Anti-hallucination evidence mapping, anti-AI-slop humanizer, HTML-to-PDF rendering.
27
+ - [Fill & Apply](skills/04-fill-and-apply.md): Upload-first form filling, EEO/GDPR compliance defaults, and job-bound `APPROVE` safety gate.
28
+ - [Outreach & Interview Prep](skills/05-outreach-and-interview-prep.md): Interview dossier generation and draft-only `<= 75`-word outreach.
29
+ - [Log & Insights](skills/06-log-and-insights.md): Local JSON ledger (`logs/`), optional Notion MCP sync, and `/weekly-report`.
30
+ - [Persona Switcher](skills/07-persona-switcher.md): Multi-track career profiles under `context/personas/`.
31
+ - [Follow-Up Radar](skills/08-follow-up-radar.md): 7-day stale application detector and humanized check-in drafts.
32
+ - [Offer Negotiator](skills/09-offer-negotiator.md): Grounded B2B rate and salary counter-offer drafting (`DRAFT_ONLY`).
33
+ - [Autonomous Scheduler Loop](skills/10-autonomous-scheduler-loop.md): Safe recurring discovery within `active_hours` and warm-up caps.
34
+ - [Portfolio & GitHub Auditor](skills/11-portfolio-and-github-auditor.md): Pre-application audit of pinned repos, READMEs, and live URLs.
35
+ - [Recruiter Inbox Triage](skills/12-recruiter-inbox-triage.md): Classify recruiter replies, update local logs, and draft interview slot replies.
36
+ - [Company Due Diligence](skills/13-company-due-diligence.md): Domain authenticity check, layoff/churn signals, and `GREEN`/`YELLOW`/`RED` badges.
37
+ - [Privacy & PII Shield](skills/14-privacy-pii-shield.md): PII redaction guardrails for screenshots, demos, logs, and git safety.
38
+ - [Multilingual Adaptation](skills/15-multilingual-adaptation.md): Arabic (RTL), German, French, and Spanish resume & outreach localization.
39
+ - [Rejection Pattern Analyzer](skills/16-rejection-pattern-analyzer.md): Detect recurring skill gaps, ATS channel bottlenecks, and stale `>= 14d` outcomes.
40
+ - [Score Calibration](skills/17-score-calibration.md): Calibrate `1-10` match scores against actual interview callbacks.
41
+ - [Condition-Based Browser Waiting](skills/18-condition-based-browser-waiting.md): Replace fixed sleeps with snapshot readiness checks and semantic locators.
42
+ - [On-Demand MCP Routing](skills/19-on-demand-mcp-routing.md): Keep local JSON/Markdown tasks zero-MCP and load Playwright/Notion strictly by phase.
43
+ - [Skill Authoring Standard](skills/20-skill-authoring-standard.md): Contributor contract following `anthropics/skills`, `obra/superpowers`, and `agentskills.io`.
44
+ - [ATS Keyword Heatmap](skills/21-ats-keyword-heatmap.md): Deterministic Before vs. After ATS keyword match percentage verifier.
45
+ - [Technical Assessment Architect](skills/22-technical-assessment-architect.md): Take-home challenge blueprint, edge-case matrix, and code-review defense Q&A.
46
+ - [Contract & NDA Auditor](skills/23-contract-and-nda-auditor.md): Employment contract and B2B MSA/NDA clause auditor with polite redline drafts.
47
+ - [Circuit Breaker & Anti-Ban](skills/24-circuit-breaker-and-antiban.md): Immediate 24-hour platform cooldown on CAPTCHA, Cloudflare/DataDome, 429s, or forced login redirects.
48
+ - [Prompt-Injection Defense](skills/25-prompt-injection-defense.md): Treats scraped JDs as untrusted data, blocks honeypots/injections, and surfaces benign recruiter attention checks.
49
+ - [Deduplication & Blacklist Guard](skills/26-deduplication-and-blacklist-guard.md): Cross-channel `company::role_title` fingerprinting and employer/domain blacklists.
50
+ - [Universal CV Builder](skills/27-universal-cv-builder.md): Universal CV builder and persistent iterative revision SOP for any person or field (with third-party workspace isolation).
51
+ - [Recruiter, Personal Brand & Domain Intelligence](skills/28-recruiter-brand-and-domain-intelligence.md): Cross-cutting Senior HR JD decoder, 6-10s CV scan & truthful risk framing, LinkedIn Recruiter SEO, and dynamic multi-industry adapter.
52
+ - [Portfolio Builder & Multi-Host Deployer](skills/29-portfolio-builder-and-deployer.md): Isolated personalized portfolio website builder (`logs/portfolio/<slug>/`: Vanilla HTML/CSS/JS, Astro, Vite+React, Next.js), pre-publish PII/secret scan, and `APPROVE`-gated CLI deployer (`/build-portfolio`).
53
+ - [Portfolio Design System Studio & QA](skills/30-portfolio-design-system-and-qa.md): Pre-code `DESIGN_PLAN.md` + separated `portfolio-data`, 7 curated WCAG-AA palettes + `Custom` hex derivation, RTL Arabic typography, `tokens.css` lock, 3-layer QA (`node --test`/isolated `vitest` + `375px`/`768px`/`1440px` -> `qa-report.md`), and bounded 3-cycle Self-Healing Loop (`/portfolio-design`).
54
+ - [GitHub CLI Remote Manager](skills/54-github-cli-remote-manager.md): Model-agnostic no-clone GitHub operations via `gh` CLI and REST/GraphQL APIs (`Contents`/`Git Data` commits, `LICENSE`/topics/visibility, PR/issue/Actions ops, and read-back verification; `/github-remote`).
55
+ - [Freelance Profile & Service Publisher](skills/55-freelance-profile-and-service-publisher.md): Universal freelance profile auditor and SEO service/gig publisher with custom cover image generation, live browser fill, and explicit `APPROVE PUBLISH` gate across Upwork, Fiverr, Freelancer, Malt, Mostaql, Khamsat, or custom URLs (`/freelance-service`).
56
+ - [Freelance Offer Radar & Batch Bidder](skills/56-freelance-offer-radar-and-batch-bidder.md): Global open-project scanner, 4-signal filter, `0-100%` Fit Score ranker, concise IP-safe proposal drafter, `APPROVE <numbers>` paced batch submitter, and `tracker/freelance-proposals.md` logger (`/freelance-bid`).
57
+ - [LinkedIn Growth, Recruiter Search & Feed Algorithm Strategist](skills/linkedin-growth.md): Dual-Engine `0-100` LinkedIn Recruiter-SEO profile optimizer (multi-role skills, Likely-to-Respond, 3-stage funnel) and Feed Algorithm strategist (Topical Authority, Dwell Time hooks, Comment-First playbook, Native Format Matrix, Anti-Myth & Anti-Pod guardrails; `DRAFT_ONLY` + `APPROVE` gate).
58
+ - [Profile Intelligence Engine](skills/profile-intelligence-engine.md): Cross-platform Profile Intelligence Engine with schema-validated update plans, batch-fill, and fresh read-back verification.
59
+ - [B2B Contract Networks](skills/platforms/b2b-contract-networks.md): Playbook for Toptal, Braintrust, Lemon.io, Gun.io, Contra, Arc.dev, and Turing.
60
+
61
+ ## Examples & Adapters
62
+
63
+ - [Sandbox Demo Mode](examples/sandbox-demo/expected-mission-control.md): Try `/demo` in 15 seconds with zero personal data.
64
+ - [Sample Interview Dossier](examples/outputs/sample-interview-dossier.md): Real generated prep packet example.
65
+ - [Sample 75-Word Outreach](examples/outputs/sample-outreach-75-words.md): Real anti-slop hiring-manager draft.
66
+ - [Sample Interrogation Transcript](examples/outputs/sample-interrogation-transcript.md): Readiness gate onboarding transcript.
67
+ - [Native Zero-Dependency MCP Server](mcp/README.md): Built-in stdio JSON-RPC 2.0 MCP server (`npx -y veycraft mcp`, `bin/mcp-server.mjs`) exposing 8 strictly offline, read-only tools (`veycraft_doctor`, `veycraft_route`, `veycraft_audit`, `veycraft_verify`, `veycraft_pre_submit`, `veycraft_career_summary`, `veycraft_career_next`, `veycraft_get_skill`) and allowlisted `veycraft://` resources (`manifest`, `registry`, `invariants`, `skill/{name}`) with zero PII exposure.
68
+ - [MCP Bundle Examples](mcp/mcp.template.json): Portable Playwright + optional Notion MCP configuration.
69
+ - [Zero-Dependency CLI](bin/cli.mjs): Cross-platform installer & validator supporting `init`, `audit`, `proof`, `eval`, `pre-submit`, `doctor`, `status`, `dashboard`, `bundle`, `unlock`, `backup`, `login`, `mcp`, `sync-mcp`, and `update`.
70
+ - [Quick Tailoring Workflow](.agent/workflows/quick-tailor.md): Fast-start CV tailoring from 1 CV + 1 JD with human fact confirmation and zero browser login required.