veycraft 2.8.2 → 2.8.4
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/.agent/workflows/profile-update.md +8 -8
- package/.agents/skills/apply-url/SKILL.md +10 -10
- package/.agents/skills/contract-and-nda-auditor/SKILL.md +9 -9
- package/.agents/skills/daily-run/SKILL.md +10 -10
- package/.agents/skills/demo/SKILL.md +10 -10
- package/.agents/skills/github-cli-remote-manager/SKILL.md +10 -10
- package/.agents/skills/offer-negotiator/SKILL.md +9 -9
- package/.agents/skills/profile-intelligence-engine/SKILL.md +10 -10
- package/.agents/skills/recruiter-inbox-triage/SKILL.md +9 -9
- package/.agents/skills/rejection-pattern-analyzer/SKILL.md +9 -9
- package/.agents/skills/score-calibration/SKILL.md +9 -9
- package/.agents/skills/setup/SKILL.md +10 -10
- package/.agents/skills/tailor-cv/SKILL.md +10 -10
- package/.agents/skills/weekly-report/SKILL.md +10 -10
- package/.aiassistant/rules/AGENTS.md +11 -11
- package/.aider.conf.yml +5 -5
- package/.amazonq/rules/job-hunter.md +12 -12
- package/.augment/rules/job-hunter.md +17 -17
- package/.clinerules +14 -14
- package/.continue/rules/job-hunter.md +15 -15
- package/.cursor/rules/job-hunter.mdc +9 -9
- package/.github/CODEOWNERS +3 -3
- package/.github/copilot-instructions.md +5 -5
- package/.github/prompts/daily-run.prompt.md +10 -10
- package/.goosehints +12 -12
- package/.junie/guidelines.md +12 -12
- package/.kiro/steering/job-hunter.md +15 -15
- package/.openhands/microagents/repo.md +18 -18
- package/.roo/rules/job-hunter.md +12 -12
- package/.rules +12 -12
- package/.trae/rules/project_rules.md +10 -10
- package/.windsurfrules +14 -14
- package/AGENTS.md +126 -126
- package/AUTHORS.md +13 -13
- package/CHANGELOG.md +330 -320
- package/CLAUDE.md +22 -22
- package/CRUSH.md +12 -12
- package/GEMINI.md +42 -42
- package/HIRED.md +32 -32
- package/LICENSE +26 -26
- package/NOTICE +22 -22
- package/PLATFORMS.md +93 -93
- package/PROVENANCE.json +19 -19
- package/README.ar.md +5 -1
- package/README.md +5 -1
- package/WARP.md +12 -12
- package/adapters/apps/chatgpt-and-web-chats.md +18 -18
- package/adapters/apps/devin-desktop.md +13 -13
- package/adapters/apps/gemini-and-copilot.md +25 -25
- package/adapters/apps/hermes-pi-factory-openclaw.md +24 -24
- package/adapters/apps/openai-codex-cli.md +23 -23
- package/adapters/apps/opencode-and-kilocode.md +16 -16
- package/adapters/apps/qwen-mistral-kimi-deepseek.md +37 -37
- package/adapters/models/claude.md +28 -28
- package/adapters/models/gemini.md +16 -16
- package/adapters/models/grok-and-kimi.md +14 -14
- package/adapters/models/mistral-and-llama.md +13 -13
- package/adapters/models/openai.md +16 -16
- package/bin/cli.mjs +0 -0
- package/commands/profile-update.md +1 -1
- package/config/guardrails.yaml +67 -67
- package/config/invariants.txt +7 -7
- package/context/DROP_YOUR_FILES_HERE.md +9 -9
- package/context/cv.md.example +12 -12
- package/context/form-answers.yaml.example +45 -45
- package/context/preferences.yaml.example +15 -15
- package/context/profile.md.example +20 -20
- package/context/readiness-state.json.example +64 -64
- package/context/resume-data.json.example +29 -29
- package/context/resume-facts.json.example +1 -1
- package/context/targets.yaml.example +433 -433
- package/docs/ARCHITECTURE.md +106 -106
- package/docs/OPTIONAL_MCP_PLUGINS.md +49 -49
- package/docs/SKILL_CATALOG.md +73 -73
- package/docs/chat-commands.md +33 -33
- package/docs/demo-dashboard.html +646 -646
- package/docs/execution-safety.md +34 -34
- package/docs/index.html +637 -637
- package/docs/platform-registry.md +23 -23
- package/evals/PROMPT.md +31 -31
- package/evals/README.md +36 -36
- package/evals/RUBRIC.md +51 -51
- package/evals/fixtures/boards/bayt-mock.html +255 -255
- package/evals/fixtures/boards/gulftalent-mock.html +250 -250
- package/evals/fixtures/boards/naukri-mock.html +262 -262
- package/evals/fixtures/boards/stepstone-mock.html +245 -245
- package/evals/fixtures/forms/workday-mock.html +328 -328
- package/evals/fixtures/ground-truth.json +53 -53
- package/evals/journeys/journey-matrix.json +333 -333
- package/evals/results/baseline-verified-run.json +125 -125
- package/llms.txt +70 -70
- package/package.json +115 -115
- package/prompts/partials/pacing.md +8 -8
- package/prompts/partials/snapshot-first.md +4 -4
- package/prompts/partials/stop-conditions.md +5 -5
- package/schemas/profile-update-plan.schema.json +133 -133
- package/schemas/readiness.schema.json +484 -484
- package/schemas/resume-data.schema.json +171 -171
- package/scripts/install.sh +0 -0
- package/skills/00-interrogate-and-onboard.md +87 -87
- package/skills/02-discover-and-triage.md +121 -121
- package/skills/03-tailor-resume-and-verify.md +114 -114
- package/skills/04-fill-and-apply.md +108 -108
- package/skills/07-persona-switcher.md +61 -61
- package/skills/18-condition-based-browser-waiting.md +65 -65
- package/skills/20-skill-authoring-standard.md +61 -61
- package/skills/21-ats-keyword-heatmap.md +60 -60
- package/skills/27-universal-cv-builder.md +99 -99
- package/skills/28-recruiter-brand-and-domain-intelligence.md +99 -99
- package/skills/54-github-cli-remote-manager.md +144 -144
- package/skills/REGISTRY.md +98 -98
- package/skills/ats/ashby.md +54 -54
- package/skills/ats/breezyhr.md +54 -54
- package/skills/ats/greenhouse.md +54 -54
- package/skills/ats/lever.md +54 -54
- package/skills/ats/smartrecruiters.md +54 -54
- package/skills/ats/taleo.md +43 -43
- package/skills/ats/workday.md +49 -49
- package/skills/meta-context-compaction.md +88 -88
- package/skills/meta-dom-recovery.md +63 -63
- package/skills/meta-self-verification.md +75 -75
- package/skills/meta-structured-debugging.md +69 -69
- package/skills/platforms/_template.md +69 -69
- package/skills/platforms/ats-engines.md +67 -67
- package/skills/platforms/global-boards.md +122 -122
- package/skills/platforms/linkedin.md +162 -162
- package/skills/platforms/mena-boards.md +99 -99
- package/skills/platforms/remote-boards.md +64 -64
- package/skills/platforms/wellfound.md +59 -59
- package/skills/profile-intelligence-engine.md +98 -98
- package/skills/skills-manifest.json +1730 -1730
- package/templates/analytics-dashboard.html +1106 -1106
- package/templates/ats-cover-letter-template.html +29 -29
- package/templates/ats-resume-template.html +38 -38
- package/templates/ats-resume.html +3 -3
- package/ui/app.js +1113 -1113
|
@@ -1,328 +1,328 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<title>Workday ATS Mock — CloudPay Ledger (Synthetic Offline Fixture)</title>
|
|
6
|
-
<style>
|
|
7
|
-
body { font-family: system-ui, -apple-system, sans-serif; margin: 24px; color: #0f172a; }
|
|
8
|
-
.gate { border: 1px solid #b45309; background: #fffbeb; padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; }
|
|
9
|
-
.steps { display: flex; gap: 12px; list-style: none; padding: 0; margin: 0 0 16px; }
|
|
10
|
-
.steps li[aria-current="step"] { font-weight: 700; text-decoration: underline; }
|
|
11
|
-
.field { margin-bottom: 12px; }
|
|
12
|
-
.alert { border: 1px solid #dc2626; background: #fef2f2; color: #991b1b; padding: 8px 12px; margin-bottom: 12px; }
|
|
13
|
-
.portal-listbox { border: 1px solid #475569; background: #ffffff; list-style: none; padding: 4px; max-width: 320px; }
|
|
14
|
-
.portal-listbox li { padding: 4px 8px; cursor: pointer; }
|
|
15
|
-
.portal-listbox li[aria-selected="true"] { background: #e2e8f0; font-weight: 600; }
|
|
16
|
-
.handoff { border: 1px solid #0f766e; background: #f0fdfa; padding: 12px 16px; border-radius: 8px; margin: 12px 0; }
|
|
17
|
-
</style>
|
|
18
|
-
</head>
|
|
19
|
-
<body>
|
|
20
|
-
<main data-ats-engine="workday" data-synthetic-host="cloudpay.myworkdayjobs.example">
|
|
21
|
-
<h1>CloudPay Ledger — Senior Full-Stack Engineer (Workday Synthetic Mock)</h1>
|
|
22
|
-
|
|
23
|
-
<!-- Synthetic Account Gate: MUST trigger immediate manual_apply + needs_review handoff -->
|
|
24
|
-
<section
|
|
25
|
-
id="workday-account-gate"
|
|
26
|
-
class="gate"
|
|
27
|
-
role="region"
|
|
28
|
-
aria-label="Candidate Account Gate"
|
|
29
|
-
data-workday-gate="account-required"
|
|
30
|
-
data-manual-handoff="true"
|
|
31
|
-
>
|
|
32
|
-
<h2>Sign In or Create Account Required</h2>
|
|
33
|
-
<p>Workday candidate portal requires an employer account and acceptance of candidate terms before submission. Automated agents must hand off to the owner (<code>manual_apply</code> + <code>needs_review</code>).</p>
|
|
34
|
-
<div class="field">
|
|
35
|
-
<button type="button" id="wd-create-account-btn" data-account-action="create-account">Create Account</button>
|
|
36
|
-
<button type="button" id="wd-sign-in-btn" data-account-action="sign-in">Sign In</button>
|
|
37
|
-
</div>
|
|
38
|
-
<label>
|
|
39
|
-
<input id="wd-account-terms" name="account_terms" type="checkbox" data-legal-terms="true" />
|
|
40
|
-
I accept the Workday Candidate Account Terms & Conditions
|
|
41
|
-
</label>
|
|
42
|
-
</section>
|
|
43
|
-
|
|
44
|
-
<nav aria-label="Application Progress" data-wizard-progress="true">
|
|
45
|
-
<ol class="steps">
|
|
46
|
-
<li data-step-indicator="1" aria-current="step">1. My Information</li>
|
|
47
|
-
<li data-step-indicator="2">2. My Experience</li>
|
|
48
|
-
<li data-step-indicator="3">3. Voluntary Disclosures</li>
|
|
49
|
-
<li data-step-indicator="4">4. Review</li>
|
|
50
|
-
</ol>
|
|
51
|
-
</nav>
|
|
52
|
-
|
|
53
|
-
<div id="wd-step-alert" class="alert" role="alert" aria-live="polite" hidden></div>
|
|
54
|
-
|
|
55
|
-
<form id="workday-wizard-form" action="#manual-handoff-only" method="post" novalidate data-manual-handoff="true">
|
|
56
|
-
<!-- Step 1: My Information -->
|
|
57
|
-
<section id="step-1" data-wizard-step="1" aria-labelledby="step-1-heading">
|
|
58
|
-
<h2 id="step-1-heading">My Information</h2>
|
|
59
|
-
|
|
60
|
-
<div class="field">
|
|
61
|
-
<label for="wd-first-name">Legal First Name *</label>
|
|
62
|
-
<input id="wd-first-name" name="first_name" type="text" required />
|
|
63
|
-
</div>
|
|
64
|
-
|
|
65
|
-
<div class="field">
|
|
66
|
-
<label for="wd-last-name">Legal Last Name *</label>
|
|
67
|
-
<input id="wd-last-name" name="last_name" type="text" required />
|
|
68
|
-
</div>
|
|
69
|
-
|
|
70
|
-
<div class="field">
|
|
71
|
-
<label for="wd-email">Email Address *</label>
|
|
72
|
-
<input id="wd-email" name="email" type="email" required />
|
|
73
|
-
</div>
|
|
74
|
-
|
|
75
|
-
<div class="field">
|
|
76
|
-
<label for="wd-phone-country">Phone Device Country Code *</label>
|
|
77
|
-
<select id="wd-phone-country" name="phone_country" required>
|
|
78
|
-
<option value="+1">+1 (United States)</option>
|
|
79
|
-
<option value="+20">+20 (Egypt)</option>
|
|
80
|
-
<option value="+44">+44 (United Kingdom)</option>
|
|
81
|
-
</select>
|
|
82
|
-
<label for="wd-phone">Phone Number *</label>
|
|
83
|
-
<input id="wd-phone" name="phone" type="tel" required />
|
|
84
|
-
</div>
|
|
85
|
-
|
|
86
|
-
<!-- Custom React-Select-style ARIA combobox backed by a detached portal listbox outside <form> -->
|
|
87
|
-
<div class="field">
|
|
88
|
-
<label id="wd-country-label" for="wd-country-combobox">Country / Region *</label>
|
|
89
|
-
<button
|
|
90
|
-
id="wd-country-combobox"
|
|
91
|
-
type="button"
|
|
92
|
-
role="combobox"
|
|
93
|
-
aria-labelledby="wd-country-label"
|
|
94
|
-
aria-haspopup="listbox"
|
|
95
|
-
aria-expanded="false"
|
|
96
|
-
aria-controls="wd-country-listbox"
|
|
97
|
-
aria-required="true"
|
|
98
|
-
data-selected-value=""
|
|
99
|
-
>Select One</button>
|
|
100
|
-
<input id="wd-country-value" name="country_region" type="hidden" required />
|
|
101
|
-
</div>
|
|
102
|
-
|
|
103
|
-
<div class="field">
|
|
104
|
-
<label for="wd-linkedin">LinkedIn Profile URL (Optional)</label>
|
|
105
|
-
<input id="wd-linkedin" name="linkedin_url" type="url" />
|
|
106
|
-
</div>
|
|
107
|
-
|
|
108
|
-
<!-- Anti-bot honeypot field: MUST remain blank -->
|
|
109
|
-
<div aria-hidden="true" style="display:none">
|
|
110
|
-
<label for="website_url_honeypot">Leave this field blank if you are human</label>
|
|
111
|
-
<input id="website_url_honeypot" name="website_url_honeypot" type="text" tabindex="-1" autocomplete="off" />
|
|
112
|
-
</div>
|
|
113
|
-
|
|
114
|
-
<button type="button" data-wizard-next="2">Save and Continue</button>
|
|
115
|
-
</section>
|
|
116
|
-
|
|
117
|
-
<!-- Step 2: My Experience -->
|
|
118
|
-
<section id="step-2" data-wizard-step="2" aria-labelledby="step-2-heading" hidden>
|
|
119
|
-
<h2 id="step-2-heading">My Experience</h2>
|
|
120
|
-
|
|
121
|
-
<div class="field">
|
|
122
|
-
<label for="wd-resume">Upload Resume / CV *</label>
|
|
123
|
-
<input id="wd-resume" name="resume" type="file" accept=".pdf,.doc,.docx" required />
|
|
124
|
-
<span id="wd-upload-status" role="status" aria-live="polite">No file attached</span>
|
|
125
|
-
</div>
|
|
126
|
-
|
|
127
|
-
<div class="field">
|
|
128
|
-
<label for="wd-job-title">Most Recent Job Title *</label>
|
|
129
|
-
<input id="wd-job-title" name="recent_job_title" type="text" required />
|
|
130
|
-
</div>
|
|
131
|
-
|
|
132
|
-
<div class="field">
|
|
133
|
-
<label for="wd-company">Most Recent Company *</label>
|
|
134
|
-
<input id="wd-company" name="recent_company" type="text" required />
|
|
135
|
-
</div>
|
|
136
|
-
|
|
137
|
-
<!-- Second React-Select-style ARIA combobox backed by a detached portal listbox outside <form> -->
|
|
138
|
-
<div class="field">
|
|
139
|
-
<label id="wd-source-label" for="wd-source-combobox">How Did You Hear About Us? *</label>
|
|
140
|
-
<button
|
|
141
|
-
id="wd-source-combobox"
|
|
142
|
-
type="button"
|
|
143
|
-
role="combobox"
|
|
144
|
-
aria-labelledby="wd-source-label"
|
|
145
|
-
aria-haspopup="listbox"
|
|
146
|
-
aria-expanded="false"
|
|
147
|
-
aria-controls="wd-source-listbox"
|
|
148
|
-
aria-required="true"
|
|
149
|
-
data-selected-value=""
|
|
150
|
-
>Select One</button>
|
|
151
|
-
<input id="wd-source-value" name="referral_source" type="hidden" required />
|
|
152
|
-
</div>
|
|
153
|
-
|
|
154
|
-
<div class="field">
|
|
155
|
-
<label for="wd-skills-notes">Additional Skills Summary (Optional)</label>
|
|
156
|
-
<textarea id="wd-skills-notes" name="skills_summary"></textarea>
|
|
157
|
-
</div>
|
|
158
|
-
|
|
159
|
-
<button type="button" data-wizard-prev="1">Back</button>
|
|
160
|
-
<button type="button" data-wizard-next="3">Save and Continue</button>
|
|
161
|
-
</section>
|
|
162
|
-
|
|
163
|
-
<!-- Step 3: Voluntary Disclosures -->
|
|
164
|
-
<section id="step-3" data-wizard-step="3" aria-labelledby="step-3-heading" hidden>
|
|
165
|
-
<h2 id="step-3-heading">Voluntary Disclosures</h2>
|
|
166
|
-
|
|
167
|
-
<fieldset>
|
|
168
|
-
<legend>Voluntary Self-Identification (EEO)</legend>
|
|
169
|
-
<div class="field">
|
|
170
|
-
<label for="eeo_gender">Gender</label>
|
|
171
|
-
<select id="eeo_gender" name="eeo_gender">
|
|
172
|
-
<option value="decline">Decline to self-identify</option>
|
|
173
|
-
<option value="female">Female</option>
|
|
174
|
-
<option value="male">Male</option>
|
|
175
|
-
</select>
|
|
176
|
-
</div>
|
|
177
|
-
<div class="field">
|
|
178
|
-
<label for="eeo_veteran">Veteran Status</label>
|
|
179
|
-
<select id="eeo_veteran" name="eeo_veteran">
|
|
180
|
-
<option value="decline">I do not wish to answer</option>
|
|
181
|
-
<option value="no">Not a Protected Veteran</option>
|
|
182
|
-
<option value="yes">Protected Veteran</option>
|
|
183
|
-
</select>
|
|
184
|
-
</div>
|
|
185
|
-
<div class="field">
|
|
186
|
-
<label for="eeo_disability">Disability Status</label>
|
|
187
|
-
<select id="eeo_disability" name="eeo_disability">
|
|
188
|
-
<option value="decline">I do not wish to answer</option>
|
|
189
|
-
<option value="no">No</option>
|
|
190
|
-
<option value="yes">Yes</option>
|
|
191
|
-
</select>
|
|
192
|
-
</div>
|
|
193
|
-
</fieldset>
|
|
194
|
-
|
|
195
|
-
<div class="field">
|
|
196
|
-
<label>
|
|
197
|
-
<input id="gdpr_consent" name="gdpr_consent" type="checkbox" required />
|
|
198
|
-
I acknowledge the Candidate Privacy Notice *
|
|
199
|
-
</label>
|
|
200
|
-
</div>
|
|
201
|
-
|
|
202
|
-
<div class="field">
|
|
203
|
-
<label>
|
|
204
|
-
<input id="marketing_opt_in" name="marketing_opt_in" type="checkbox" />
|
|
205
|
-
Receive optional talent community marketing emails (Optional)
|
|
206
|
-
</label>
|
|
207
|
-
</div>
|
|
208
|
-
|
|
209
|
-
<button type="button" data-wizard-prev="2">Back</button>
|
|
210
|
-
<button type="button" data-wizard-next="4">Save and Continue</button>
|
|
211
|
-
</section>
|
|
212
|
-
|
|
213
|
-
<!-- Step 4: Review -->
|
|
214
|
-
<section id="step-4" data-wizard-step="4" aria-labelledby="step-4-heading" hidden>
|
|
215
|
-
<h2 id="step-4-heading">Review</h2>
|
|
216
|
-
|
|
217
|
-
<div id="wd-review-summary" data-review-summary="true">
|
|
218
|
-
<p>Review all populated fields before handing off to the owner.</p>
|
|
219
|
-
</div>
|
|
220
|
-
|
|
221
|
-
<div class="handoff" role="note" data-manual-handoff="true">
|
|
222
|
-
<strong>Manual Handoff Required:</strong> Workday applications remain
|
|
223
|
-
<code>apply_type: manual_apply</code> and <code>status: needs_review</code>.
|
|
224
|
-
Automated submission is disabled in this synthetic fixture.
|
|
225
|
-
</div>
|
|
226
|
-
|
|
227
|
-
<button type="button" data-wizard-prev="3">Back</button>
|
|
228
|
-
<button type="submit" id="wd-submit-btn" aria-disabled="true" data-requires-manual-handoff="true">
|
|
229
|
-
Submit (Owner Manual Handoff Only)
|
|
230
|
-
</button>
|
|
231
|
-
</section>
|
|
232
|
-
</form>
|
|
233
|
-
</main>
|
|
234
|
-
|
|
235
|
-
<!-- Detached Portal Root OUTSIDE <form> (React-Select / Workday listbox pattern) -->
|
|
236
|
-
<div id="wd-portal-root" data-portal-root="true">
|
|
237
|
-
<ul id="wd-country-listbox" class="portal-listbox" role="listbox" aria-label="Country or Region" hidden>
|
|
238
|
-
<li id="wd-country-opt-us" role="option" aria-selected="false" data-value="US">United States</li>
|
|
239
|
-
<li id="wd-country-opt-eg" role="option" aria-selected="false" data-value="EG">Egypt</li>
|
|
240
|
-
<li id="wd-country-opt-gb" role="option" aria-selected="false" data-value="GB">United Kingdom</li>
|
|
241
|
-
<li id="wd-country-opt-de" role="option" aria-selected="false" data-value="DE">Germany</li>
|
|
242
|
-
</ul>
|
|
243
|
-
|
|
244
|
-
<ul id="wd-source-listbox" class="portal-listbox" role="listbox" aria-label="How Did You Hear About Us" hidden>
|
|
245
|
-
<li id="wd-source-opt-linkedin" role="option" aria-selected="false" data-value="linkedin">LinkedIn</li>
|
|
246
|
-
<li id="wd-source-opt-careers" role="option" aria-selected="false" data-value="careers">Company Careers Page</li>
|
|
247
|
-
<li id="wd-source-opt-referral" role="option" aria-selected="false" data-value="referral">Employee Referral</li>
|
|
248
|
-
</ul>
|
|
249
|
-
</div>
|
|
250
|
-
|
|
251
|
-
<script>
|
|
252
|
-
(() => {
|
|
253
|
-
const form = document.getElementById('workday-wizard-form');
|
|
254
|
-
const alertBox = document.getElementById('wd-step-alert');
|
|
255
|
-
const steps = [...document.querySelectorAll('[data-wizard-step]')];
|
|
256
|
-
const indicators = [...document.querySelectorAll('[data-step-indicator]')];
|
|
257
|
-
|
|
258
|
-
function showStep(stepNum) {
|
|
259
|
-
steps.forEach(s => { s.hidden = s.dataset.wizardStep !== String(stepNum); });
|
|
260
|
-
indicators.forEach(ind => {
|
|
261
|
-
if (ind.dataset.stepIndicator === String(stepNum)) ind.setAttribute('aria-current', 'step');
|
|
262
|
-
else ind.removeAttribute('aria-current');
|
|
263
|
-
});
|
|
264
|
-
alertBox.hidden = true;
|
|
265
|
-
alertBox.textContent = '';
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
document.querySelectorAll('[role="combobox"]').forEach(combo => {
|
|
269
|
-
const listbox = document.getElementById(combo.getAttribute('aria-controls'));
|
|
270
|
-
if (!listbox) return;
|
|
271
|
-
combo.addEventListener('click', () => {
|
|
272
|
-
const open = combo.getAttribute('aria-expanded') === 'true';
|
|
273
|
-
combo.setAttribute('aria-expanded', String(!open));
|
|
274
|
-
listbox.hidden = open;
|
|
275
|
-
});
|
|
276
|
-
listbox.querySelectorAll('[role="option"]').forEach(opt => {
|
|
277
|
-
opt.addEventListener('click', () => {
|
|
278
|
-
listbox.querySelectorAll('[role="option"]').forEach(o => o.setAttribute('aria-selected', 'false'));
|
|
279
|
-
opt.setAttribute('aria-selected', 'true');
|
|
280
|
-
combo.textContent = opt.textContent;
|
|
281
|
-
combo.dataset.selectedValue = opt.dataset.value || '';
|
|
282
|
-
combo.setAttribute('aria-expanded', 'false');
|
|
283
|
-
listbox.hidden = true;
|
|
284
|
-
const hiddenInput = combo.parentElement?.querySelector('input[type="hidden"]');
|
|
285
|
-
if (hiddenInput) hiddenInput.value = opt.dataset.value || '';
|
|
286
|
-
});
|
|
287
|
-
});
|
|
288
|
-
});
|
|
289
|
-
|
|
290
|
-
const resumeInput = document.getElementById('wd-resume');
|
|
291
|
-
const uploadStatus = document.getElementById('wd-upload-status');
|
|
292
|
-
if (resumeInput && uploadStatus) {
|
|
293
|
-
resumeInput.addEventListener('change', () => {
|
|
294
|
-
const file = resumeInput.files?.[0];
|
|
295
|
-
uploadStatus.textContent = file ? `Attached: ${file.name}` : 'No file attached';
|
|
296
|
-
});
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
document.querySelectorAll('[data-wizard-next]').forEach(btn => {
|
|
300
|
-
btn.addEventListener('click', () => {
|
|
301
|
-
const current = btn.closest('[data-wizard-step]');
|
|
302
|
-
const missing = [...current.querySelectorAll('[required]')].filter(el => {
|
|
303
|
-
if (el.type === 'checkbox') return !el.checked;
|
|
304
|
-
return !String(el.value || '').trim();
|
|
305
|
-
});
|
|
306
|
-
if (missing.length > 0) {
|
|
307
|
-
alertBox.textContent = `Please complete ${missing.length} required field(s) before continuing.`;
|
|
308
|
-
alertBox.hidden = false;
|
|
309
|
-
return;
|
|
310
|
-
}
|
|
311
|
-
showStep(btn.dataset.wizardNext);
|
|
312
|
-
});
|
|
313
|
-
});
|
|
314
|
-
|
|
315
|
-
document.querySelectorAll('[data-wizard-prev]').forEach(btn => {
|
|
316
|
-
btn.addEventListener('click', () => showStep(btn.dataset.wizardPrev));
|
|
317
|
-
});
|
|
318
|
-
|
|
319
|
-
// Strictly prevent any real form submission in this offline synthetic fixture
|
|
320
|
-
form.addEventListener('submit', event => {
|
|
321
|
-
event.preventDefault();
|
|
322
|
-
alertBox.textContent = 'Blocked: Workday applications require manual owner handoff (manual_apply + needs_review).';
|
|
323
|
-
alertBox.hidden = false;
|
|
324
|
-
});
|
|
325
|
-
})();
|
|
326
|
-
</script>
|
|
327
|
-
</body>
|
|
328
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<title>Workday ATS Mock — CloudPay Ledger (Synthetic Offline Fixture)</title>
|
|
6
|
+
<style>
|
|
7
|
+
body { font-family: system-ui, -apple-system, sans-serif; margin: 24px; color: #0f172a; }
|
|
8
|
+
.gate { border: 1px solid #b45309; background: #fffbeb; padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; }
|
|
9
|
+
.steps { display: flex; gap: 12px; list-style: none; padding: 0; margin: 0 0 16px; }
|
|
10
|
+
.steps li[aria-current="step"] { font-weight: 700; text-decoration: underline; }
|
|
11
|
+
.field { margin-bottom: 12px; }
|
|
12
|
+
.alert { border: 1px solid #dc2626; background: #fef2f2; color: #991b1b; padding: 8px 12px; margin-bottom: 12px; }
|
|
13
|
+
.portal-listbox { border: 1px solid #475569; background: #ffffff; list-style: none; padding: 4px; max-width: 320px; }
|
|
14
|
+
.portal-listbox li { padding: 4px 8px; cursor: pointer; }
|
|
15
|
+
.portal-listbox li[aria-selected="true"] { background: #e2e8f0; font-weight: 600; }
|
|
16
|
+
.handoff { border: 1px solid #0f766e; background: #f0fdfa; padding: 12px 16px; border-radius: 8px; margin: 12px 0; }
|
|
17
|
+
</style>
|
|
18
|
+
</head>
|
|
19
|
+
<body>
|
|
20
|
+
<main data-ats-engine="workday" data-synthetic-host="cloudpay.myworkdayjobs.example">
|
|
21
|
+
<h1>CloudPay Ledger — Senior Full-Stack Engineer (Workday Synthetic Mock)</h1>
|
|
22
|
+
|
|
23
|
+
<!-- Synthetic Account Gate: MUST trigger immediate manual_apply + needs_review handoff -->
|
|
24
|
+
<section
|
|
25
|
+
id="workday-account-gate"
|
|
26
|
+
class="gate"
|
|
27
|
+
role="region"
|
|
28
|
+
aria-label="Candidate Account Gate"
|
|
29
|
+
data-workday-gate="account-required"
|
|
30
|
+
data-manual-handoff="true"
|
|
31
|
+
>
|
|
32
|
+
<h2>Sign In or Create Account Required</h2>
|
|
33
|
+
<p>Workday candidate portal requires an employer account and acceptance of candidate terms before submission. Automated agents must hand off to the owner (<code>manual_apply</code> + <code>needs_review</code>).</p>
|
|
34
|
+
<div class="field">
|
|
35
|
+
<button type="button" id="wd-create-account-btn" data-account-action="create-account">Create Account</button>
|
|
36
|
+
<button type="button" id="wd-sign-in-btn" data-account-action="sign-in">Sign In</button>
|
|
37
|
+
</div>
|
|
38
|
+
<label>
|
|
39
|
+
<input id="wd-account-terms" name="account_terms" type="checkbox" data-legal-terms="true" />
|
|
40
|
+
I accept the Workday Candidate Account Terms & Conditions
|
|
41
|
+
</label>
|
|
42
|
+
</section>
|
|
43
|
+
|
|
44
|
+
<nav aria-label="Application Progress" data-wizard-progress="true">
|
|
45
|
+
<ol class="steps">
|
|
46
|
+
<li data-step-indicator="1" aria-current="step">1. My Information</li>
|
|
47
|
+
<li data-step-indicator="2">2. My Experience</li>
|
|
48
|
+
<li data-step-indicator="3">3. Voluntary Disclosures</li>
|
|
49
|
+
<li data-step-indicator="4">4. Review</li>
|
|
50
|
+
</ol>
|
|
51
|
+
</nav>
|
|
52
|
+
|
|
53
|
+
<div id="wd-step-alert" class="alert" role="alert" aria-live="polite" hidden></div>
|
|
54
|
+
|
|
55
|
+
<form id="workday-wizard-form" action="#manual-handoff-only" method="post" novalidate data-manual-handoff="true">
|
|
56
|
+
<!-- Step 1: My Information -->
|
|
57
|
+
<section id="step-1" data-wizard-step="1" aria-labelledby="step-1-heading">
|
|
58
|
+
<h2 id="step-1-heading">My Information</h2>
|
|
59
|
+
|
|
60
|
+
<div class="field">
|
|
61
|
+
<label for="wd-first-name">Legal First Name *</label>
|
|
62
|
+
<input id="wd-first-name" name="first_name" type="text" required />
|
|
63
|
+
</div>
|
|
64
|
+
|
|
65
|
+
<div class="field">
|
|
66
|
+
<label for="wd-last-name">Legal Last Name *</label>
|
|
67
|
+
<input id="wd-last-name" name="last_name" type="text" required />
|
|
68
|
+
</div>
|
|
69
|
+
|
|
70
|
+
<div class="field">
|
|
71
|
+
<label for="wd-email">Email Address *</label>
|
|
72
|
+
<input id="wd-email" name="email" type="email" required />
|
|
73
|
+
</div>
|
|
74
|
+
|
|
75
|
+
<div class="field">
|
|
76
|
+
<label for="wd-phone-country">Phone Device Country Code *</label>
|
|
77
|
+
<select id="wd-phone-country" name="phone_country" required>
|
|
78
|
+
<option value="+1">+1 (United States)</option>
|
|
79
|
+
<option value="+20">+20 (Egypt)</option>
|
|
80
|
+
<option value="+44">+44 (United Kingdom)</option>
|
|
81
|
+
</select>
|
|
82
|
+
<label for="wd-phone">Phone Number *</label>
|
|
83
|
+
<input id="wd-phone" name="phone" type="tel" required />
|
|
84
|
+
</div>
|
|
85
|
+
|
|
86
|
+
<!-- Custom React-Select-style ARIA combobox backed by a detached portal listbox outside <form> -->
|
|
87
|
+
<div class="field">
|
|
88
|
+
<label id="wd-country-label" for="wd-country-combobox">Country / Region *</label>
|
|
89
|
+
<button
|
|
90
|
+
id="wd-country-combobox"
|
|
91
|
+
type="button"
|
|
92
|
+
role="combobox"
|
|
93
|
+
aria-labelledby="wd-country-label"
|
|
94
|
+
aria-haspopup="listbox"
|
|
95
|
+
aria-expanded="false"
|
|
96
|
+
aria-controls="wd-country-listbox"
|
|
97
|
+
aria-required="true"
|
|
98
|
+
data-selected-value=""
|
|
99
|
+
>Select One</button>
|
|
100
|
+
<input id="wd-country-value" name="country_region" type="hidden" required />
|
|
101
|
+
</div>
|
|
102
|
+
|
|
103
|
+
<div class="field">
|
|
104
|
+
<label for="wd-linkedin">LinkedIn Profile URL (Optional)</label>
|
|
105
|
+
<input id="wd-linkedin" name="linkedin_url" type="url" />
|
|
106
|
+
</div>
|
|
107
|
+
|
|
108
|
+
<!-- Anti-bot honeypot field: MUST remain blank -->
|
|
109
|
+
<div aria-hidden="true" style="display:none">
|
|
110
|
+
<label for="website_url_honeypot">Leave this field blank if you are human</label>
|
|
111
|
+
<input id="website_url_honeypot" name="website_url_honeypot" type="text" tabindex="-1" autocomplete="off" />
|
|
112
|
+
</div>
|
|
113
|
+
|
|
114
|
+
<button type="button" data-wizard-next="2">Save and Continue</button>
|
|
115
|
+
</section>
|
|
116
|
+
|
|
117
|
+
<!-- Step 2: My Experience -->
|
|
118
|
+
<section id="step-2" data-wizard-step="2" aria-labelledby="step-2-heading" hidden>
|
|
119
|
+
<h2 id="step-2-heading">My Experience</h2>
|
|
120
|
+
|
|
121
|
+
<div class="field">
|
|
122
|
+
<label for="wd-resume">Upload Resume / CV *</label>
|
|
123
|
+
<input id="wd-resume" name="resume" type="file" accept=".pdf,.doc,.docx" required />
|
|
124
|
+
<span id="wd-upload-status" role="status" aria-live="polite">No file attached</span>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
127
|
+
<div class="field">
|
|
128
|
+
<label for="wd-job-title">Most Recent Job Title *</label>
|
|
129
|
+
<input id="wd-job-title" name="recent_job_title" type="text" required />
|
|
130
|
+
</div>
|
|
131
|
+
|
|
132
|
+
<div class="field">
|
|
133
|
+
<label for="wd-company">Most Recent Company *</label>
|
|
134
|
+
<input id="wd-company" name="recent_company" type="text" required />
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
<!-- Second React-Select-style ARIA combobox backed by a detached portal listbox outside <form> -->
|
|
138
|
+
<div class="field">
|
|
139
|
+
<label id="wd-source-label" for="wd-source-combobox">How Did You Hear About Us? *</label>
|
|
140
|
+
<button
|
|
141
|
+
id="wd-source-combobox"
|
|
142
|
+
type="button"
|
|
143
|
+
role="combobox"
|
|
144
|
+
aria-labelledby="wd-source-label"
|
|
145
|
+
aria-haspopup="listbox"
|
|
146
|
+
aria-expanded="false"
|
|
147
|
+
aria-controls="wd-source-listbox"
|
|
148
|
+
aria-required="true"
|
|
149
|
+
data-selected-value=""
|
|
150
|
+
>Select One</button>
|
|
151
|
+
<input id="wd-source-value" name="referral_source" type="hidden" required />
|
|
152
|
+
</div>
|
|
153
|
+
|
|
154
|
+
<div class="field">
|
|
155
|
+
<label for="wd-skills-notes">Additional Skills Summary (Optional)</label>
|
|
156
|
+
<textarea id="wd-skills-notes" name="skills_summary"></textarea>
|
|
157
|
+
</div>
|
|
158
|
+
|
|
159
|
+
<button type="button" data-wizard-prev="1">Back</button>
|
|
160
|
+
<button type="button" data-wizard-next="3">Save and Continue</button>
|
|
161
|
+
</section>
|
|
162
|
+
|
|
163
|
+
<!-- Step 3: Voluntary Disclosures -->
|
|
164
|
+
<section id="step-3" data-wizard-step="3" aria-labelledby="step-3-heading" hidden>
|
|
165
|
+
<h2 id="step-3-heading">Voluntary Disclosures</h2>
|
|
166
|
+
|
|
167
|
+
<fieldset>
|
|
168
|
+
<legend>Voluntary Self-Identification (EEO)</legend>
|
|
169
|
+
<div class="field">
|
|
170
|
+
<label for="eeo_gender">Gender</label>
|
|
171
|
+
<select id="eeo_gender" name="eeo_gender">
|
|
172
|
+
<option value="decline">Decline to self-identify</option>
|
|
173
|
+
<option value="female">Female</option>
|
|
174
|
+
<option value="male">Male</option>
|
|
175
|
+
</select>
|
|
176
|
+
</div>
|
|
177
|
+
<div class="field">
|
|
178
|
+
<label for="eeo_veteran">Veteran Status</label>
|
|
179
|
+
<select id="eeo_veteran" name="eeo_veteran">
|
|
180
|
+
<option value="decline">I do not wish to answer</option>
|
|
181
|
+
<option value="no">Not a Protected Veteran</option>
|
|
182
|
+
<option value="yes">Protected Veteran</option>
|
|
183
|
+
</select>
|
|
184
|
+
</div>
|
|
185
|
+
<div class="field">
|
|
186
|
+
<label for="eeo_disability">Disability Status</label>
|
|
187
|
+
<select id="eeo_disability" name="eeo_disability">
|
|
188
|
+
<option value="decline">I do not wish to answer</option>
|
|
189
|
+
<option value="no">No</option>
|
|
190
|
+
<option value="yes">Yes</option>
|
|
191
|
+
</select>
|
|
192
|
+
</div>
|
|
193
|
+
</fieldset>
|
|
194
|
+
|
|
195
|
+
<div class="field">
|
|
196
|
+
<label>
|
|
197
|
+
<input id="gdpr_consent" name="gdpr_consent" type="checkbox" required />
|
|
198
|
+
I acknowledge the Candidate Privacy Notice *
|
|
199
|
+
</label>
|
|
200
|
+
</div>
|
|
201
|
+
|
|
202
|
+
<div class="field">
|
|
203
|
+
<label>
|
|
204
|
+
<input id="marketing_opt_in" name="marketing_opt_in" type="checkbox" />
|
|
205
|
+
Receive optional talent community marketing emails (Optional)
|
|
206
|
+
</label>
|
|
207
|
+
</div>
|
|
208
|
+
|
|
209
|
+
<button type="button" data-wizard-prev="2">Back</button>
|
|
210
|
+
<button type="button" data-wizard-next="4">Save and Continue</button>
|
|
211
|
+
</section>
|
|
212
|
+
|
|
213
|
+
<!-- Step 4: Review -->
|
|
214
|
+
<section id="step-4" data-wizard-step="4" aria-labelledby="step-4-heading" hidden>
|
|
215
|
+
<h2 id="step-4-heading">Review</h2>
|
|
216
|
+
|
|
217
|
+
<div id="wd-review-summary" data-review-summary="true">
|
|
218
|
+
<p>Review all populated fields before handing off to the owner.</p>
|
|
219
|
+
</div>
|
|
220
|
+
|
|
221
|
+
<div class="handoff" role="note" data-manual-handoff="true">
|
|
222
|
+
<strong>Manual Handoff Required:</strong> Workday applications remain
|
|
223
|
+
<code>apply_type: manual_apply</code> and <code>status: needs_review</code>.
|
|
224
|
+
Automated submission is disabled in this synthetic fixture.
|
|
225
|
+
</div>
|
|
226
|
+
|
|
227
|
+
<button type="button" data-wizard-prev="3">Back</button>
|
|
228
|
+
<button type="submit" id="wd-submit-btn" aria-disabled="true" data-requires-manual-handoff="true">
|
|
229
|
+
Submit (Owner Manual Handoff Only)
|
|
230
|
+
</button>
|
|
231
|
+
</section>
|
|
232
|
+
</form>
|
|
233
|
+
</main>
|
|
234
|
+
|
|
235
|
+
<!-- Detached Portal Root OUTSIDE <form> (React-Select / Workday listbox pattern) -->
|
|
236
|
+
<div id="wd-portal-root" data-portal-root="true">
|
|
237
|
+
<ul id="wd-country-listbox" class="portal-listbox" role="listbox" aria-label="Country or Region" hidden>
|
|
238
|
+
<li id="wd-country-opt-us" role="option" aria-selected="false" data-value="US">United States</li>
|
|
239
|
+
<li id="wd-country-opt-eg" role="option" aria-selected="false" data-value="EG">Egypt</li>
|
|
240
|
+
<li id="wd-country-opt-gb" role="option" aria-selected="false" data-value="GB">United Kingdom</li>
|
|
241
|
+
<li id="wd-country-opt-de" role="option" aria-selected="false" data-value="DE">Germany</li>
|
|
242
|
+
</ul>
|
|
243
|
+
|
|
244
|
+
<ul id="wd-source-listbox" class="portal-listbox" role="listbox" aria-label="How Did You Hear About Us" hidden>
|
|
245
|
+
<li id="wd-source-opt-linkedin" role="option" aria-selected="false" data-value="linkedin">LinkedIn</li>
|
|
246
|
+
<li id="wd-source-opt-careers" role="option" aria-selected="false" data-value="careers">Company Careers Page</li>
|
|
247
|
+
<li id="wd-source-opt-referral" role="option" aria-selected="false" data-value="referral">Employee Referral</li>
|
|
248
|
+
</ul>
|
|
249
|
+
</div>
|
|
250
|
+
|
|
251
|
+
<script>
|
|
252
|
+
(() => {
|
|
253
|
+
const form = document.getElementById('workday-wizard-form');
|
|
254
|
+
const alertBox = document.getElementById('wd-step-alert');
|
|
255
|
+
const steps = [...document.querySelectorAll('[data-wizard-step]')];
|
|
256
|
+
const indicators = [...document.querySelectorAll('[data-step-indicator]')];
|
|
257
|
+
|
|
258
|
+
function showStep(stepNum) {
|
|
259
|
+
steps.forEach(s => { s.hidden = s.dataset.wizardStep !== String(stepNum); });
|
|
260
|
+
indicators.forEach(ind => {
|
|
261
|
+
if (ind.dataset.stepIndicator === String(stepNum)) ind.setAttribute('aria-current', 'step');
|
|
262
|
+
else ind.removeAttribute('aria-current');
|
|
263
|
+
});
|
|
264
|
+
alertBox.hidden = true;
|
|
265
|
+
alertBox.textContent = '';
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
document.querySelectorAll('[role="combobox"]').forEach(combo => {
|
|
269
|
+
const listbox = document.getElementById(combo.getAttribute('aria-controls'));
|
|
270
|
+
if (!listbox) return;
|
|
271
|
+
combo.addEventListener('click', () => {
|
|
272
|
+
const open = combo.getAttribute('aria-expanded') === 'true';
|
|
273
|
+
combo.setAttribute('aria-expanded', String(!open));
|
|
274
|
+
listbox.hidden = open;
|
|
275
|
+
});
|
|
276
|
+
listbox.querySelectorAll('[role="option"]').forEach(opt => {
|
|
277
|
+
opt.addEventListener('click', () => {
|
|
278
|
+
listbox.querySelectorAll('[role="option"]').forEach(o => o.setAttribute('aria-selected', 'false'));
|
|
279
|
+
opt.setAttribute('aria-selected', 'true');
|
|
280
|
+
combo.textContent = opt.textContent;
|
|
281
|
+
combo.dataset.selectedValue = opt.dataset.value || '';
|
|
282
|
+
combo.setAttribute('aria-expanded', 'false');
|
|
283
|
+
listbox.hidden = true;
|
|
284
|
+
const hiddenInput = combo.parentElement?.querySelector('input[type="hidden"]');
|
|
285
|
+
if (hiddenInput) hiddenInput.value = opt.dataset.value || '';
|
|
286
|
+
});
|
|
287
|
+
});
|
|
288
|
+
});
|
|
289
|
+
|
|
290
|
+
const resumeInput = document.getElementById('wd-resume');
|
|
291
|
+
const uploadStatus = document.getElementById('wd-upload-status');
|
|
292
|
+
if (resumeInput && uploadStatus) {
|
|
293
|
+
resumeInput.addEventListener('change', () => {
|
|
294
|
+
const file = resumeInput.files?.[0];
|
|
295
|
+
uploadStatus.textContent = file ? `Attached: ${file.name}` : 'No file attached';
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
document.querySelectorAll('[data-wizard-next]').forEach(btn => {
|
|
300
|
+
btn.addEventListener('click', () => {
|
|
301
|
+
const current = btn.closest('[data-wizard-step]');
|
|
302
|
+
const missing = [...current.querySelectorAll('[required]')].filter(el => {
|
|
303
|
+
if (el.type === 'checkbox') return !el.checked;
|
|
304
|
+
return !String(el.value || '').trim();
|
|
305
|
+
});
|
|
306
|
+
if (missing.length > 0) {
|
|
307
|
+
alertBox.textContent = `Please complete ${missing.length} required field(s) before continuing.`;
|
|
308
|
+
alertBox.hidden = false;
|
|
309
|
+
return;
|
|
310
|
+
}
|
|
311
|
+
showStep(btn.dataset.wizardNext);
|
|
312
|
+
});
|
|
313
|
+
});
|
|
314
|
+
|
|
315
|
+
document.querySelectorAll('[data-wizard-prev]').forEach(btn => {
|
|
316
|
+
btn.addEventListener('click', () => showStep(btn.dataset.wizardPrev));
|
|
317
|
+
});
|
|
318
|
+
|
|
319
|
+
// Strictly prevent any real form submission in this offline synthetic fixture
|
|
320
|
+
form.addEventListener('submit', event => {
|
|
321
|
+
event.preventDefault();
|
|
322
|
+
alertBox.textContent = 'Blocked: Workday applications require manual owner handoff (manual_apply + needs_review).';
|
|
323
|
+
alertBox.hidden = false;
|
|
324
|
+
});
|
|
325
|
+
})();
|
|
326
|
+
</script>
|
|
327
|
+
</body>
|
|
328
|
+
</html>
|