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,63 +1,63 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: meta-dom-recovery
|
|
3
|
-
version: "1.0.0"
|
|
4
|
-
description: Load when a browser step fails because the page changed — stale element ref after a modal or step transition, element missing from the snapshot, focus trapped in an iframe, cookie/overlay blocking clicks, or a lazy-loaded list that needs scrolling — to recover safely with fresh snapshots instead of guessing.
|
|
5
|
-
triggers:
|
|
6
|
-
- self-healing-navigation
|
|
7
|
-
- stale or unknown element ref error
|
|
8
|
-
- expected button/field not in snapshot
|
|
9
|
-
- list shows fewer jobs than expected
|
|
10
|
-
requires_mcp:
|
|
11
|
-
- playwright
|
|
12
|
-
preconditions:
|
|
13
|
-
- the failure is a page-structure problem, not a CAPTCHA, 2FA, warning or rate-limit banner (those abort the run)
|
|
14
|
-
- fewer than 3 consecutive errors so far in this run
|
|
15
|
-
requires_skills: []
|
|
16
|
-
verification:
|
|
17
|
-
- the recovered element was found in a NEW snapshot by role + accessible name, not by a reused ref
|
|
18
|
-
- recovery used at most 2 attempts per element; further failures were counted as one error
|
|
19
|
-
- no script injection, CSS selector, unhidden input or security bypass was used
|
|
20
|
-
---
|
|
21
|
-
# Self-healing navigation
|
|
22
|
-
|
|
23
|
-
## When to Use & Preconditions
|
|
24
|
-
|
|
25
|
-
Use when a click/type/upload fails or a needed element cannot be found and the page is otherwise normal. Do NOT use it to get past CAPTCHA, 2FA, account warnings, rate limits or login walls — those follow `AGENTS.md` stop rules or `skills/04-fill-and-apply.md` Trap 5.
|
|
26
|
-
|
|
27
|
-
- **Load when:** self-healing-navigation; stale or unknown element ref error; expected button/field not in snapshot; list shows fewer jobs than expected.
|
|
28
|
-
- **Preconditions (stop if any is false):**
|
|
29
|
-
- the failure is a page-structure problem, not a security challenge
|
|
30
|
-
- fewer than 3 consecutive errors so far in this run
|
|
31
|
-
- **Requires skills:** none. **MCP:** playwright.
|
|
32
|
-
|
|
33
|
-
## Deterministic Step-by-Step Execution
|
|
34
|
-
|
|
35
|
-
Always: wait 3–9 s between actions, take a fresh `browser_snapshot` before every retry, locate elements by role + accessible name (+ nearby label text), never by CSS selector or a ref from an older snapshot. Maximum 2 recovery attempts per element; then it counts as ONE error toward the 3-consecutive-errors stop.
|
|
36
|
-
|
|
37
|
-
1. **Stale ref after a modal/step transition** (error mentions an unknown/stale ref, or the click did nothing): refs are only valid for the snapshot that produced them. Wait 2–4 s for the transition, snapshot again, find the element by role + name in the new tree, act once.
|
|
38
|
-
2. **Element not in the snapshot:**
|
|
39
|
-
a. It may be below the fold: scroll the relevant container in small steps (about one screen), snapshot after each, at most 5 steps.
|
|
40
|
-
b. It may be collapsed: look for "See more", "Show more", "More options", an accordion or a "Next" step; expand it, then snapshot.
|
|
41
|
-
c. It may live in an iframe: check the snapshot for an iframe/frame node; Playwright MCP exposes same-origin and many cross-origin frame contents with their own refs. Use those refs. If the frame content is absent (blocked cross-origin widget), hand off to the owner per `skills/04-fill-and-apply.md` Trap 3.
|
|
42
|
-
d. Still absent → the UI changed. Record `ui_drift: <page>, expected "<label>"` in the run's steps and route this job to `needs_review` with a screenshot. Do not hunt with guesses.
|
|
43
|
-
3. **Overlay or cookie banner blocks clicks:** close it with a clearly labelled control. Prefer "Reject non-essential" / "Necessary only" / "Close". Never accept marketing consent or sign up for newsletters to dismiss a banner. If no neutral option exists, ask the owner.
|
|
44
|
-
4. **Focus stuck (typing goes nowhere, dropdown keeps closing):** click the field's label or the field itself by ref from a fresh snapshot, then type. For autocomplete, type, wait 2 s, snapshot the listbox, click the matching option (`skills/04-fill-and-apply.md` Trap 4).
|
|
45
|
-
5. **Lazy-loaded job lists:** loop — snapshot, collect new stable job IDs, scroll a small step, wait 3–9 s. Stop when `max_results` is reached, or when two consecutive scrolls add no new IDs, or after 10 scrolls. Prefer a visible "Next page"/"Load more" control over endless scrolling.
|
|
46
|
-
6. **Page navigated unexpectedly** (new tab, redirect): list tabs, select the right one, snapshot, confirm the URL/hostname before acting (`skills/04-fill-and-apply.md`).
|
|
47
|
-
7. **After recovery** continue the original step exactly where it stopped. If the recovery changed anything already filled in a form (re-render, reload), re-check every field before continuing.
|
|
48
|
-
|
|
49
|
-
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
50
|
-
|
|
51
|
-
### Anti-patterns
|
|
52
|
-
- ❌ Reusing ref `e123` from before the modal opened → ✅ new snapshot, find by role + name.
|
|
53
|
-
- ❌ Running `browser_evaluate` to click a hidden button or unhide a file input → ✅ use the visible control or hand off.
|
|
54
|
-
- ❌ Scrolling the whole page in one jump and snapshotting once → ✅ small steps, a snapshot per step, bounded loop.
|
|
55
|
-
- ❌ Clicking "Accept all cookies" because it is the biggest button → ✅ choose a necessary-only/close option or ask.
|
|
56
|
-
- ❌ Retrying the same failing click 6 times → ✅ two attempts, then count an error and move on.
|
|
57
|
-
|
|
58
|
-
### Self-verification check (before reporting this step complete)
|
|
59
|
-
- [ ] the recovered element was found in a NEW snapshot by role + accessible name, not by a reused ref
|
|
60
|
-
- [ ] recovery used at most 2 attempts per element; further failures were counted as one error
|
|
61
|
-
- [ ] no script injection, CSS selector, unhidden input or security bypass was used
|
|
62
|
-
|
|
63
|
-
If the element could not be recovered, the job is needs_review with a screenshot and a `ui_drift` note — not a silent skip.
|
|
1
|
+
---
|
|
2
|
+
name: meta-dom-recovery
|
|
3
|
+
version: "1.0.0"
|
|
4
|
+
description: Load when a browser step fails because the page changed — stale element ref after a modal or step transition, element missing from the snapshot, focus trapped in an iframe, cookie/overlay blocking clicks, or a lazy-loaded list that needs scrolling — to recover safely with fresh snapshots instead of guessing.
|
|
5
|
+
triggers:
|
|
6
|
+
- self-healing-navigation
|
|
7
|
+
- stale or unknown element ref error
|
|
8
|
+
- expected button/field not in snapshot
|
|
9
|
+
- list shows fewer jobs than expected
|
|
10
|
+
requires_mcp:
|
|
11
|
+
- playwright
|
|
12
|
+
preconditions:
|
|
13
|
+
- the failure is a page-structure problem, not a CAPTCHA, 2FA, warning or rate-limit banner (those abort the run)
|
|
14
|
+
- fewer than 3 consecutive errors so far in this run
|
|
15
|
+
requires_skills: []
|
|
16
|
+
verification:
|
|
17
|
+
- the recovered element was found in a NEW snapshot by role + accessible name, not by a reused ref
|
|
18
|
+
- recovery used at most 2 attempts per element; further failures were counted as one error
|
|
19
|
+
- no script injection, CSS selector, unhidden input or security bypass was used
|
|
20
|
+
---
|
|
21
|
+
# Self-healing navigation
|
|
22
|
+
|
|
23
|
+
## When to Use & Preconditions
|
|
24
|
+
|
|
25
|
+
Use when a click/type/upload fails or a needed element cannot be found and the page is otherwise normal. Do NOT use it to get past CAPTCHA, 2FA, account warnings, rate limits or login walls — those follow `AGENTS.md` stop rules or `skills/04-fill-and-apply.md` Trap 5.
|
|
26
|
+
|
|
27
|
+
- **Load when:** self-healing-navigation; stale or unknown element ref error; expected button/field not in snapshot; list shows fewer jobs than expected.
|
|
28
|
+
- **Preconditions (stop if any is false):**
|
|
29
|
+
- the failure is a page-structure problem, not a security challenge
|
|
30
|
+
- fewer than 3 consecutive errors so far in this run
|
|
31
|
+
- **Requires skills:** none. **MCP:** playwright.
|
|
32
|
+
|
|
33
|
+
## Deterministic Step-by-Step Execution
|
|
34
|
+
|
|
35
|
+
Always: wait 3–9 s between actions, take a fresh `browser_snapshot` before every retry, locate elements by role + accessible name (+ nearby label text), never by CSS selector or a ref from an older snapshot. Maximum 2 recovery attempts per element; then it counts as ONE error toward the 3-consecutive-errors stop.
|
|
36
|
+
|
|
37
|
+
1. **Stale ref after a modal/step transition** (error mentions an unknown/stale ref, or the click did nothing): refs are only valid for the snapshot that produced them. Wait 2–4 s for the transition, snapshot again, find the element by role + name in the new tree, act once.
|
|
38
|
+
2. **Element not in the snapshot:**
|
|
39
|
+
a. It may be below the fold: scroll the relevant container in small steps (about one screen), snapshot after each, at most 5 steps.
|
|
40
|
+
b. It may be collapsed: look for "See more", "Show more", "More options", an accordion or a "Next" step; expand it, then snapshot.
|
|
41
|
+
c. It may live in an iframe: check the snapshot for an iframe/frame node; Playwright MCP exposes same-origin and many cross-origin frame contents with their own refs. Use those refs. If the frame content is absent (blocked cross-origin widget), hand off to the owner per `skills/04-fill-and-apply.md` Trap 3.
|
|
42
|
+
d. Still absent → the UI changed. Record `ui_drift: <page>, expected "<label>"` in the run's steps and route this job to `needs_review` with a screenshot. Do not hunt with guesses.
|
|
43
|
+
3. **Overlay or cookie banner blocks clicks:** close it with a clearly labelled control. Prefer "Reject non-essential" / "Necessary only" / "Close". Never accept marketing consent or sign up for newsletters to dismiss a banner. If no neutral option exists, ask the owner.
|
|
44
|
+
4. **Focus stuck (typing goes nowhere, dropdown keeps closing):** click the field's label or the field itself by ref from a fresh snapshot, then type. For autocomplete, type, wait 2 s, snapshot the listbox, click the matching option (`skills/04-fill-and-apply.md` Trap 4).
|
|
45
|
+
5. **Lazy-loaded job lists:** loop — snapshot, collect new stable job IDs, scroll a small step, wait 3–9 s. Stop when `max_results` is reached, or when two consecutive scrolls add no new IDs, or after 10 scrolls. Prefer a visible "Next page"/"Load more" control over endless scrolling.
|
|
46
|
+
6. **Page navigated unexpectedly** (new tab, redirect): list tabs, select the right one, snapshot, confirm the URL/hostname before acting (`skills/04-fill-and-apply.md`).
|
|
47
|
+
7. **After recovery** continue the original step exactly where it stopped. If the recovery changed anything already filled in a form (re-render, reload), re-check every field before continuing.
|
|
48
|
+
|
|
49
|
+
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
50
|
+
|
|
51
|
+
### Anti-patterns
|
|
52
|
+
- ❌ Reusing ref `e123` from before the modal opened → ✅ new snapshot, find by role + name.
|
|
53
|
+
- ❌ Running `browser_evaluate` to click a hidden button or unhide a file input → ✅ use the visible control or hand off.
|
|
54
|
+
- ❌ Scrolling the whole page in one jump and snapshotting once → ✅ small steps, a snapshot per step, bounded loop.
|
|
55
|
+
- ❌ Clicking "Accept all cookies" because it is the biggest button → ✅ choose a necessary-only/close option or ask.
|
|
56
|
+
- ❌ Retrying the same failing click 6 times → ✅ two attempts, then count an error and move on.
|
|
57
|
+
|
|
58
|
+
### Self-verification check (before reporting this step complete)
|
|
59
|
+
- [ ] the recovered element was found in a NEW snapshot by role + accessible name, not by a reused ref
|
|
60
|
+
- [ ] recovery used at most 2 attempts per element; further failures were counted as one error
|
|
61
|
+
- [ ] no script injection, CSS selector, unhidden input or security bypass was used
|
|
62
|
+
|
|
63
|
+
If the element could not be recovered, the job is needs_review with a screenshot and a `ui_drift` note — not a silent skip.
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: meta-self-verification
|
|
3
|
-
version: "1.0.0"
|
|
4
|
-
description: Load when the agent is about to report any outcome as done (application submitted, file created/edited/uploaded, profile updated, post published, record logged or synced); forbids claiming success without concrete post-action evidence (file re-read, command output, or fresh browser_snapshot) and logs that proof.
|
|
5
|
-
triggers:
|
|
6
|
-
- verify-before-complete
|
|
7
|
-
- right after writing or editing a deliverable file
|
|
8
|
-
- right after a Submit / Save / Post / Send click
|
|
9
|
-
- before writing status applied or reporting success in chat
|
|
10
|
-
requires_mcp:
|
|
11
|
-
- none
|
|
12
|
-
optional_mcp:
|
|
13
|
-
- playwright
|
|
14
|
-
- notion
|
|
15
|
-
preconditions:
|
|
16
|
-
- the action being verified has actually been attempted in this session
|
|
17
|
-
- a fresh file re-read, command output, or browser_snapshot can be taken now
|
|
18
|
-
requires_skills:
|
|
19
|
-
- log-and-insights
|
|
20
|
-
verification:
|
|
21
|
-
- created or modified files were re-read to confirm existence, formatting, and zero remaining placeholders
|
|
22
|
-
- a quoted confirmation string or state observed AFTER any live browser/Notion action is stored in logs/applications-log.json notes (naming the same company/role or profile section)
|
|
23
|
-
- claims without post-action evidence were reported as unverified/needs_review, not as done
|
|
24
|
-
---
|
|
25
|
-
# Verify before complete
|
|
26
|
-
|
|
27
|
-
## When to Use & Preconditions
|
|
28
|
-
|
|
29
|
-
Use every time you are about to say, write or log that something succeeded ("created", "edited", "applied", "uploaded", "updated", "logged"). `"I wrote the file"` or `"I clicked Submit"` is an action; reporting completion requires post-action proof. Do not use it to decide WHETHER to submit — that is `skills/04-fill-and-apply.md`.
|
|
30
|
-
|
|
31
|
-
- **Load when:** verify-before-complete; right after writing/editing a deliverable file; right after a Submit / Save / Post / Send click; before writing status applied or reporting success in chat.
|
|
32
|
-
- **Preconditions (stop if any is false):**
|
|
33
|
-
- the action being verified has actually been attempted in this session
|
|
34
|
-
- a fresh file re-read, command output, or `browser_snapshot` can be taken now
|
|
35
|
-
- **Requires skills:** `log-and-insights`. **MCP:** none (`playwright` and `notion` optional when verifying browser or Notion actions).
|
|
36
|
-
|
|
37
|
-
## Deterministic Step-by-Step Execution
|
|
38
|
-
|
|
39
|
-
1. **Observe fresh AFTER the action.** For local files, re-read the saved file (or run `node ./bin/cli.mjs verify <path>`) after writing. For browser actions, wait 3–9 s after the click and take a NEW `browser_snapshot`. Never reuse a pre-action snapshot or assume a write succeeded.
|
|
40
|
-
2. **Match the claim to its required evidence.** Only the evidence in this table counts:
|
|
41
|
-
|
|
42
|
-
| Claim | Required evidence (observed after the action) | Not evidence |
|
|
43
|
-
|---|---|---|
|
|
44
|
-
| File created / CV edited | Re-reading the target file confirms existence, non-empty content, `0` `{{...}}` placeholders, intact formatting, and verified facts (valid `%PDF-` if `.pdf`; never renamed fake `.docx`) | Calling write/edit without re-reading output |
|
|
45
|
-
| Application submitted | Confirmation text such as "Application submitted", "Thank you for applying", "We received your application", an "Applied" badge/state on this job, or a confirmation URL — on a page that still identifies this company/role | The Submit button disappeared; the modal closed; a spinner stopped; no error shown |
|
|
46
|
-
| File uploaded | The form shows the exact expected filename in the correct slot (resume vs cover letter) | The file chooser closed; "upload complete" without a filename |
|
|
47
|
-
| Profile section updated | Re-opened/reloaded public/profile view in a fresh `browser_snapshot` shows text identical to the `APPROVE`-approved text | Text inside the edit modal; a "Saved" toast alone |
|
|
48
|
-
| Post published | Post visible on the feed/profile with identical text, plus its URL | The editor closed |
|
|
49
|
-
| Message sent | Message bubble in the thread with identical text and the right recipient | The Send button greyed out |
|
|
50
|
-
| Record logged | Re-reading `logs/applications-log.json` shows valid JSON with the new status and unique `job_id` | Intending to write it later |
|
|
51
|
-
| Notion synced | Structured receipt applied via `veycraft career sync apply-receipt` (operation-bound `mcp_evidence` + validated read-back matching key/database/properties) recorded as `synced` in `logs/sync-state.json` (structured evidence, not cryptographic proof) | No error printed, unverified MCP response, or local edit without verified `logs/sync-state.json` state |
|
|
52
|
-
|
|
53
|
-
3. **Check identity.** The evidence must name the same company and role (or same profile section/post text). A generic "Thanks!" page on a different employer domain is not proof.
|
|
54
|
-
4. **Record the proof.** Append to the SAME entry's `notes` in `logs/applications-log.json`: `receipt: "<quoted text, max 160 chars>" | url: <final URL> | observed_at: <ISO time>`. Save a screenshot to `logs/screenshots/<safe-job-id>-receipt.png` when one can be taken without personal data in view.
|
|
55
|
-
5. **Decide the status from the evidence only.**
|
|
56
|
-
- Evidence found → `applied`, `applied_at` set, `submission_uncertain: false`.
|
|
57
|
-
- No evidence, or ambiguous (timeout, blank page, network error) → keep `needs_review` with `submission_uncertain: true`; never click Submit again; tell the owner exactly what was and was not seen.
|
|
58
|
-
- Validation errors visible instead → nothing was submitted; go to `skills/meta-structured-debugging.md`.
|
|
59
|
-
6. **Report in chat with the same words as the evidence:** "Submitted — the page showed 'Thank you for applying to Acme' (screenshot saved)", or "Clicked Submit, but no confirmation appeared; marked for your review".
|
|
60
|
-
|
|
61
|
-
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
62
|
-
|
|
63
|
-
### Anti-patterns
|
|
64
|
-
- ❌ "The modal closed, so it was submitted" → ✅ a closed modal is not a receipt; look for confirmation text or the Applied state.
|
|
65
|
-
- ❌ Checking the snapshot taken just before clicking Submit → ✅ always a new snapshot after the wait.
|
|
66
|
-
- ❌ Clicking Submit again because no confirmation appeared → ✅ keep submission_uncertain and ask the owner; a second click can create a duplicate application.
|
|
67
|
-
- ❌ Writing "Profile updated" after typing into the edit field → ✅ re-open the profile and compare the persisted text.
|
|
68
|
-
- ❌ Logging `applied` and planning to "verify later" → ✅ the status is decided only after the evidence is observed.
|
|
69
|
-
|
|
70
|
-
### Self-verification check (before reporting this step complete)
|
|
71
|
-
- [ ] a quoted confirmation string or state observed AFTER the action is stored in the journal notes
|
|
72
|
-
- [ ] the evidence names the same company/role (or profile section/post text) as the action
|
|
73
|
-
- [ ] claims without evidence were reported as unverified/needs_review, not as done
|
|
74
|
-
|
|
75
|
-
If any box cannot be ticked, the outcome is "unverified" — say so plainly.
|
|
1
|
+
---
|
|
2
|
+
name: meta-self-verification
|
|
3
|
+
version: "1.0.0"
|
|
4
|
+
description: Load when the agent is about to report any outcome as done (application submitted, file created/edited/uploaded, profile updated, post published, record logged or synced); forbids claiming success without concrete post-action evidence (file re-read, command output, or fresh browser_snapshot) and logs that proof.
|
|
5
|
+
triggers:
|
|
6
|
+
- verify-before-complete
|
|
7
|
+
- right after writing or editing a deliverable file
|
|
8
|
+
- right after a Submit / Save / Post / Send click
|
|
9
|
+
- before writing status applied or reporting success in chat
|
|
10
|
+
requires_mcp:
|
|
11
|
+
- none
|
|
12
|
+
optional_mcp:
|
|
13
|
+
- playwright
|
|
14
|
+
- notion
|
|
15
|
+
preconditions:
|
|
16
|
+
- the action being verified has actually been attempted in this session
|
|
17
|
+
- a fresh file re-read, command output, or browser_snapshot can be taken now
|
|
18
|
+
requires_skills:
|
|
19
|
+
- log-and-insights
|
|
20
|
+
verification:
|
|
21
|
+
- created or modified files were re-read to confirm existence, formatting, and zero remaining placeholders
|
|
22
|
+
- a quoted confirmation string or state observed AFTER any live browser/Notion action is stored in logs/applications-log.json notes (naming the same company/role or profile section)
|
|
23
|
+
- claims without post-action evidence were reported as unverified/needs_review, not as done
|
|
24
|
+
---
|
|
25
|
+
# Verify before complete
|
|
26
|
+
|
|
27
|
+
## When to Use & Preconditions
|
|
28
|
+
|
|
29
|
+
Use every time you are about to say, write or log that something succeeded ("created", "edited", "applied", "uploaded", "updated", "logged"). `"I wrote the file"` or `"I clicked Submit"` is an action; reporting completion requires post-action proof. Do not use it to decide WHETHER to submit — that is `skills/04-fill-and-apply.md`.
|
|
30
|
+
|
|
31
|
+
- **Load when:** verify-before-complete; right after writing/editing a deliverable file; right after a Submit / Save / Post / Send click; before writing status applied or reporting success in chat.
|
|
32
|
+
- **Preconditions (stop if any is false):**
|
|
33
|
+
- the action being verified has actually been attempted in this session
|
|
34
|
+
- a fresh file re-read, command output, or `browser_snapshot` can be taken now
|
|
35
|
+
- **Requires skills:** `log-and-insights`. **MCP:** none (`playwright` and `notion` optional when verifying browser or Notion actions).
|
|
36
|
+
|
|
37
|
+
## Deterministic Step-by-Step Execution
|
|
38
|
+
|
|
39
|
+
1. **Observe fresh AFTER the action.** For local files, re-read the saved file (or run `node ./bin/cli.mjs verify <path>`) after writing. For browser actions, wait 3–9 s after the click and take a NEW `browser_snapshot`. Never reuse a pre-action snapshot or assume a write succeeded.
|
|
40
|
+
2. **Match the claim to its required evidence.** Only the evidence in this table counts:
|
|
41
|
+
|
|
42
|
+
| Claim | Required evidence (observed after the action) | Not evidence |
|
|
43
|
+
|---|---|---|
|
|
44
|
+
| File created / CV edited | Re-reading the target file confirms existence, non-empty content, `0` `{{...}}` placeholders, intact formatting, and verified facts (valid `%PDF-` if `.pdf`; never renamed fake `.docx`) | Calling write/edit without re-reading output |
|
|
45
|
+
| Application submitted | Confirmation text such as "Application submitted", "Thank you for applying", "We received your application", an "Applied" badge/state on this job, or a confirmation URL — on a page that still identifies this company/role | The Submit button disappeared; the modal closed; a spinner stopped; no error shown |
|
|
46
|
+
| File uploaded | The form shows the exact expected filename in the correct slot (resume vs cover letter) | The file chooser closed; "upload complete" without a filename |
|
|
47
|
+
| Profile section updated | Re-opened/reloaded public/profile view in a fresh `browser_snapshot` shows text identical to the `APPROVE`-approved text | Text inside the edit modal; a "Saved" toast alone |
|
|
48
|
+
| Post published | Post visible on the feed/profile with identical text, plus its URL | The editor closed |
|
|
49
|
+
| Message sent | Message bubble in the thread with identical text and the right recipient | The Send button greyed out |
|
|
50
|
+
| Record logged | Re-reading `logs/applications-log.json` shows valid JSON with the new status and unique `job_id` | Intending to write it later |
|
|
51
|
+
| Notion synced | Structured receipt applied via `veycraft career sync apply-receipt` (operation-bound `mcp_evidence` + validated read-back matching key/database/properties) recorded as `synced` in `logs/sync-state.json` (structured evidence, not cryptographic proof) | No error printed, unverified MCP response, or local edit without verified `logs/sync-state.json` state |
|
|
52
|
+
|
|
53
|
+
3. **Check identity.** The evidence must name the same company and role (or same profile section/post text). A generic "Thanks!" page on a different employer domain is not proof.
|
|
54
|
+
4. **Record the proof.** Append to the SAME entry's `notes` in `logs/applications-log.json`: `receipt: "<quoted text, max 160 chars>" | url: <final URL> | observed_at: <ISO time>`. Save a screenshot to `logs/screenshots/<safe-job-id>-receipt.png` when one can be taken without personal data in view.
|
|
55
|
+
5. **Decide the status from the evidence only.**
|
|
56
|
+
- Evidence found → `applied`, `applied_at` set, `submission_uncertain: false`.
|
|
57
|
+
- No evidence, or ambiguous (timeout, blank page, network error) → keep `needs_review` with `submission_uncertain: true`; never click Submit again; tell the owner exactly what was and was not seen.
|
|
58
|
+
- Validation errors visible instead → nothing was submitted; go to `skills/meta-structured-debugging.md`.
|
|
59
|
+
6. **Report in chat with the same words as the evidence:** "Submitted — the page showed 'Thank you for applying to Acme' (screenshot saved)", or "Clicked Submit, but no confirmation appeared; marked for your review".
|
|
60
|
+
|
|
61
|
+
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
62
|
+
|
|
63
|
+
### Anti-patterns
|
|
64
|
+
- ❌ "The modal closed, so it was submitted" → ✅ a closed modal is not a receipt; look for confirmation text or the Applied state.
|
|
65
|
+
- ❌ Checking the snapshot taken just before clicking Submit → ✅ always a new snapshot after the wait.
|
|
66
|
+
- ❌ Clicking Submit again because no confirmation appeared → ✅ keep submission_uncertain and ask the owner; a second click can create a duplicate application.
|
|
67
|
+
- ❌ Writing "Profile updated" after typing into the edit field → ✅ re-open the profile and compare the persisted text.
|
|
68
|
+
- ❌ Logging `applied` and planning to "verify later" → ✅ the status is decided only after the evidence is observed.
|
|
69
|
+
|
|
70
|
+
### Self-verification check (before reporting this step complete)
|
|
71
|
+
- [ ] a quoted confirmation string or state observed AFTER the action is stored in the journal notes
|
|
72
|
+
- [ ] the evidence names the same company/role (or profile section/post text) as the action
|
|
73
|
+
- [ ] claims without evidence were reported as unverified/needs_review, not as done
|
|
74
|
+
|
|
75
|
+
If any box cannot be ticked, the outcome is "unverified" — say so plainly.
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: meta-structured-debugging
|
|
3
|
-
version: "1.0.0"
|
|
4
|
-
description: Load when an application form refuses to advance or submit (Next/Submit does nothing, inline errors appear, upload stays pending); diagnoses the root cause from the accessibility tree and fixes it only with verified facts.
|
|
5
|
-
triggers:
|
|
6
|
-
- diagnose-automation-failure
|
|
7
|
-
- form shows validation errors after Next/Submit
|
|
8
|
-
- Submit click produced no navigation and no confirmation
|
|
9
|
-
requires_mcp:
|
|
10
|
-
- playwright
|
|
11
|
-
preconditions:
|
|
12
|
-
- the form is still visible (evidence that nothing was submitted)
|
|
13
|
-
- no CAPTCHA, 2FA, warning or rate-limit banner is present (those abort the run)
|
|
14
|
-
requires_skills:
|
|
15
|
-
- fill-and-apply
|
|
16
|
-
- meta-self-verification
|
|
17
|
-
verification:
|
|
18
|
-
- the diagnosis (cause, field label, quoted error text) is written to logs/applications-log.json notes
|
|
19
|
-
- every fix used a verified fact; unknown facts became open_questions with needs_review
|
|
20
|
-
- after a changed answer, approval was requested again before any new Submit click
|
|
21
|
-
---
|
|
22
|
-
# Diagnose automation failure
|
|
23
|
-
|
|
24
|
-
## When to Use & Preconditions
|
|
25
|
-
|
|
26
|
-
Use when the form is still on screen after Next/Submit and something blocks progress. If the page changed to a blank screen, a spinner that never ends or a timeout, the outcome is UNCERTAIN — do not use this skill to retry; keep `submission_uncertain` and follow `skills/meta-self-verification.md`.
|
|
27
|
-
|
|
28
|
-
- **Load when:** diagnose-automation-failure; form shows validation errors after Next/Submit; Submit click produced no navigation and no confirmation.
|
|
29
|
-
- **Preconditions (stop if any is false):**
|
|
30
|
-
- the form is still visible (evidence that nothing was submitted)
|
|
31
|
-
- no CAPTCHA, 2FA, warning or rate-limit banner is present
|
|
32
|
-
- **Requires skills:** `fill-and-apply`, `meta-self-verification`. **MCP:** playwright.
|
|
33
|
-
|
|
34
|
-
## Deterministic Step-by-Step Execution
|
|
35
|
-
|
|
36
|
-
1. **Snapshot and collect symptoms.** Take a fresh `browser_snapshot`. List every node with role `alert`, `aria-invalid="true"`, text containing "required", "invalid", "please", "must", "error", "fix", or an error summary at the top/bottom of the form. Record each as `{field label, exact error text}`.
|
|
37
|
-
2. **Classify each symptom** (first match wins):
|
|
38
|
-
|
|
39
|
-
| Cause | Typical evidence | Fix |
|
|
40
|
-
|---|---|---|
|
|
41
|
-
| Required field empty | "This field is required", asterisk field with no value | Fill from verified facts; unknown → `open_questions` |
|
|
42
|
-
| Format rejected | phone, date, email, URL, postcode, salary errors | Reformat the SAME verified value (split country code, `MM/YYYY`, `https://` prefix, digits only) |
|
|
43
|
-
| Autocomplete not selected | typed city/school/company still shows as plain text | Type, wait 2 s, snapshot listbox, click the matching option (`skills/04-fill-and-apply.md` Trap 4) |
|
|
44
|
-
| Required checkbox/consent unticked | privacy/terms consent error | Tick only if `gdpr_privacy_consent: true` or owner verified this consent; else `open_questions` |
|
|
45
|
-
| Upload not finished / wrong type / too large | spinner on file, "unsupported format", size error | Wait 4 s and re-snapshot; verify PDF <= 200 KB; never upload another person's file |
|
|
46
|
-
| Character limit | counter over limit | Shorten the grounded answer; show it again if approval is required |
|
|
47
|
-
| Hidden step not completed | error on another tab/step of the form | Navigate back to that step, fix, return |
|
|
48
|
-
| Duplicate application | "You have already applied" | Stop; log `skipped` with the quoted text |
|
|
49
|
-
| Unknown / custom widget | no readable error, nothing changes | Screenshot, `needs_review`, ask the owner |
|
|
50
|
-
|
|
51
|
-
3. **Fix one cause at a time**, pacing 3–9 s per action and re-snapshotting after each fix. Never invent a value to satisfy a validator (no fake phone, no "N/A" in required legal fields, no ticking consent the owner did not give).
|
|
52
|
-
4. **Re-approve if anything changed.** Any changed answer, file, or consent invalidates an earlier `APPROVE` (`skills/04-fill-and-apply.md`). Always show the updated Live DOM Read-Back Table and wait for a fresh explicit `APPROVE` before any live Submit click.
|
|
53
|
-
5. **Retry budget.** At most 2 fix-and-retry cycles per form. The reservation entry stays `needs_review` / `submission_uncertain: true` until `skills/meta-self-verification.md` observes a receipt.
|
|
54
|
-
6. **Record the diagnosis** in the job's `notes` in `logs/applications-log.json`: `diagnosis: <cause> | field: "<label>" | error: "<quoted text>" | fix: <what changed or open question>`.
|
|
55
|
-
7. **Give up cleanly.** After 2 cycles, or if the cause is unknown: screenshot `logs/screenshots/<safe-job-id>.png`, leave the tab open, set `needs_review` with the diagnosis, count one error toward the 3-consecutive-errors stop, and move to the next job.
|
|
56
|
-
|
|
57
|
-
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
58
|
-
|
|
59
|
-
### Anti-patterns
|
|
60
|
-
- ❌ Clicking Submit repeatedly hoping it works → ✅ read the error text in the snapshot first.
|
|
61
|
-
- ❌ Typing "0000000000" to satisfy a phone validator → ✅ reformat the verified number or ask.
|
|
62
|
-
- ❌ Ticking "I agree to be contacted about other roles" to clear an error on a different checkbox → ✅ fix only the field the error names.
|
|
63
|
-
- ❌ Treating a timeout as a validation failure and resubmitting → ✅ uncertain outcomes are never retried.
|
|
64
|
-
- ❌ Submitting after changing an answer without new approval → ✅ re-run `skills/04-fill-and-apply.md` approval gate.
|
|
65
|
-
|
|
66
|
-
### Self-verification check (before reporting this step complete)
|
|
67
|
-
- [ ] the diagnosis (cause, field label, quoted error text) is written to the job's journal notes
|
|
68
|
-
- [ ] every fix used a verified fact; unknown facts became open_questions with needs_review
|
|
69
|
-
- [ ] after a changed answer, approval was requested again before any new Submit click
|
|
1
|
+
---
|
|
2
|
+
name: meta-structured-debugging
|
|
3
|
+
version: "1.0.0"
|
|
4
|
+
description: Load when an application form refuses to advance or submit (Next/Submit does nothing, inline errors appear, upload stays pending); diagnoses the root cause from the accessibility tree and fixes it only with verified facts.
|
|
5
|
+
triggers:
|
|
6
|
+
- diagnose-automation-failure
|
|
7
|
+
- form shows validation errors after Next/Submit
|
|
8
|
+
- Submit click produced no navigation and no confirmation
|
|
9
|
+
requires_mcp:
|
|
10
|
+
- playwright
|
|
11
|
+
preconditions:
|
|
12
|
+
- the form is still visible (evidence that nothing was submitted)
|
|
13
|
+
- no CAPTCHA, 2FA, warning or rate-limit banner is present (those abort the run)
|
|
14
|
+
requires_skills:
|
|
15
|
+
- fill-and-apply
|
|
16
|
+
- meta-self-verification
|
|
17
|
+
verification:
|
|
18
|
+
- the diagnosis (cause, field label, quoted error text) is written to logs/applications-log.json notes
|
|
19
|
+
- every fix used a verified fact; unknown facts became open_questions with needs_review
|
|
20
|
+
- after a changed answer, approval was requested again before any new Submit click
|
|
21
|
+
---
|
|
22
|
+
# Diagnose automation failure
|
|
23
|
+
|
|
24
|
+
## When to Use & Preconditions
|
|
25
|
+
|
|
26
|
+
Use when the form is still on screen after Next/Submit and something blocks progress. If the page changed to a blank screen, a spinner that never ends or a timeout, the outcome is UNCERTAIN — do not use this skill to retry; keep `submission_uncertain` and follow `skills/meta-self-verification.md`.
|
|
27
|
+
|
|
28
|
+
- **Load when:** diagnose-automation-failure; form shows validation errors after Next/Submit; Submit click produced no navigation and no confirmation.
|
|
29
|
+
- **Preconditions (stop if any is false):**
|
|
30
|
+
- the form is still visible (evidence that nothing was submitted)
|
|
31
|
+
- no CAPTCHA, 2FA, warning or rate-limit banner is present
|
|
32
|
+
- **Requires skills:** `fill-and-apply`, `meta-self-verification`. **MCP:** playwright.
|
|
33
|
+
|
|
34
|
+
## Deterministic Step-by-Step Execution
|
|
35
|
+
|
|
36
|
+
1. **Snapshot and collect symptoms.** Take a fresh `browser_snapshot`. List every node with role `alert`, `aria-invalid="true"`, text containing "required", "invalid", "please", "must", "error", "fix", or an error summary at the top/bottom of the form. Record each as `{field label, exact error text}`.
|
|
37
|
+
2. **Classify each symptom** (first match wins):
|
|
38
|
+
|
|
39
|
+
| Cause | Typical evidence | Fix |
|
|
40
|
+
|---|---|---|
|
|
41
|
+
| Required field empty | "This field is required", asterisk field with no value | Fill from verified facts; unknown → `open_questions` |
|
|
42
|
+
| Format rejected | phone, date, email, URL, postcode, salary errors | Reformat the SAME verified value (split country code, `MM/YYYY`, `https://` prefix, digits only) |
|
|
43
|
+
| Autocomplete not selected | typed city/school/company still shows as plain text | Type, wait 2 s, snapshot listbox, click the matching option (`skills/04-fill-and-apply.md` Trap 4) |
|
|
44
|
+
| Required checkbox/consent unticked | privacy/terms consent error | Tick only if `gdpr_privacy_consent: true` or owner verified this consent; else `open_questions` |
|
|
45
|
+
| Upload not finished / wrong type / too large | spinner on file, "unsupported format", size error | Wait 4 s and re-snapshot; verify PDF <= 200 KB; never upload another person's file |
|
|
46
|
+
| Character limit | counter over limit | Shorten the grounded answer; show it again if approval is required |
|
|
47
|
+
| Hidden step not completed | error on another tab/step of the form | Navigate back to that step, fix, return |
|
|
48
|
+
| Duplicate application | "You have already applied" | Stop; log `skipped` with the quoted text |
|
|
49
|
+
| Unknown / custom widget | no readable error, nothing changes | Screenshot, `needs_review`, ask the owner |
|
|
50
|
+
|
|
51
|
+
3. **Fix one cause at a time**, pacing 3–9 s per action and re-snapshotting after each fix. Never invent a value to satisfy a validator (no fake phone, no "N/A" in required legal fields, no ticking consent the owner did not give).
|
|
52
|
+
4. **Re-approve if anything changed.** Any changed answer, file, or consent invalidates an earlier `APPROVE` (`skills/04-fill-and-apply.md`). Always show the updated Live DOM Read-Back Table and wait for a fresh explicit `APPROVE` before any live Submit click.
|
|
53
|
+
5. **Retry budget.** At most 2 fix-and-retry cycles per form. The reservation entry stays `needs_review` / `submission_uncertain: true` until `skills/meta-self-verification.md` observes a receipt.
|
|
54
|
+
6. **Record the diagnosis** in the job's `notes` in `logs/applications-log.json`: `diagnosis: <cause> | field: "<label>" | error: "<quoted text>" | fix: <what changed or open question>`.
|
|
55
|
+
7. **Give up cleanly.** After 2 cycles, or if the cause is unknown: screenshot `logs/screenshots/<safe-job-id>.png`, leave the tab open, set `needs_review` with the diagnosis, count one error toward the 3-consecutive-errors stop, and move to the next job.
|
|
56
|
+
|
|
57
|
+
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
58
|
+
|
|
59
|
+
### Anti-patterns
|
|
60
|
+
- ❌ Clicking Submit repeatedly hoping it works → ✅ read the error text in the snapshot first.
|
|
61
|
+
- ❌ Typing "0000000000" to satisfy a phone validator → ✅ reformat the verified number or ask.
|
|
62
|
+
- ❌ Ticking "I agree to be contacted about other roles" to clear an error on a different checkbox → ✅ fix only the field the error names.
|
|
63
|
+
- ❌ Treating a timeout as a validation failure and resubmitting → ✅ uncertain outcomes are never retried.
|
|
64
|
+
- ❌ Submitting after changing an answer without new approval → ✅ re-run `skills/04-fill-and-apply.md` approval gate.
|
|
65
|
+
|
|
66
|
+
### Self-verification check (before reporting this step complete)
|
|
67
|
+
- [ ] the diagnosis (cause, field label, quoted error text) is written to the job's journal notes
|
|
68
|
+
- [ ] every fix used a verified fact; unknown facts became open_questions with needs_review
|
|
69
|
+
- [ ] after a changed answer, approval was requested again before any new Submit click
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: platform-key
|
|
3
|
-
version: "1.2.0"
|
|
4
|
-
last_verified: "2026-11-18"
|
|
5
|
-
description: Load when an enabled target has platform PLATFORM and jobs must be discovered, read in full and routed to the right apply flow.
|
|
6
|
-
triggers:
|
|
7
|
-
- target.platform == PLATFORM
|
|
8
|
-
requires_mcp:
|
|
9
|
-
- playwright
|
|
10
|
-
preconditions:
|
|
11
|
-
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
12
|
-
- PLATFORM target enabled with a real URL
|
|
13
|
-
requires_skills:
|
|
14
|
-
- discover-and-triage
|
|
15
|
-
verification:
|
|
16
|
-
- each job has a stable PLATFORM:<posting id> or is routed to review
|
|
17
|
-
- full description captured before scoring
|
|
18
|
-
- apply flow chosen from the observed button with a snapshot
|
|
19
|
-
---
|
|
20
|
-
# PLATFORM playbook
|
|
21
|
-
|
|
22
|
-
## When to Use & Preconditions
|
|
23
|
-
|
|
24
|
-
Community template: fill every section with verified, live-tested details before enabling the target.
|
|
25
|
-
|
|
26
|
-
- **Load when:** target.platform == PLATFORM.
|
|
27
|
-
- **Preconditions (stop if any is false):**
|
|
28
|
-
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
29
|
-
- PLATFORM target enabled with a real URL
|
|
30
|
-
- **Requires skills:** `discover-and-triage`. **MCP:** playwright.
|
|
31
|
-
|
|
32
|
-
## Deterministic Step-by-Step Execution
|
|
33
|
-
|
|
34
|
-
Live-tested: UNVERIFIED (replace only with genuine date, tool version and authorized evidence).
|
|
35
|
-
|
|
36
|
-
### Scope and identity
|
|
37
|
-
- Registry key / exact HTTPS hostname(s): fill in real values.
|
|
38
|
-
- Permitted automation/terms and limitations: document; never bypass security.
|
|
39
|
-
- Stable posting ID/canonical URL extraction from snapshot/actual link: specify; unknown → review.
|
|
40
|
-
- Auth requirement and observable named-account indicator: specify; public browsing only if target.auth_required:false.
|
|
41
|
-
|
|
42
|
-
### Search and reading
|
|
43
|
-
1. Enter confirmed role/location using current accessible labels/refs. Describe this board's distinctive filters and how to verify applied state, not fixed CSS selectors.
|
|
44
|
-
2. Open full JD, capture company/title/location/date/restrictions and stable identity; unknown remains unknown. Read for at least 10 seconds, score truthful fit and honor bounded results.
|
|
45
|
-
3. Check journal ID plus canonical ATS URL; preserve identity across redirects. Use 3–9s waits, active hours and cooldown.
|
|
46
|
-
|
|
47
|
-
### Form and hand-off
|
|
48
|
-
1. State whether Apply opens a draft, redirects, sends email or may submit in one click. Possible irreversible action requires final gate before click.
|
|
49
|
-
2. Fresh snapshot per step; exact verified per-job PDF; factual/legal unknowns → open_questions/screenshot/open tab/chat question. Motivation follows 04-fill-and-apply.md.
|
|
50
|
-
3. Recognized ATS → dispatcher; Workday/Taleo/unsupported/account creation → manual_apply + needs_review.
|
|
51
|
-
4. Dry run no Submit. Real gate, local reservation, cap/dedup checks and receipt verification. Uncertainty never retries; security challenge/warning aborts whole run.
|
|
52
|
-
5. Local JSON first, optional Notion second. No secrets or private evidence in PRs.
|
|
53
|
-
|
|
54
|
-
### Contribution checklist
|
|
55
|
-
Add registry; docs-only boards use other with cap 0. Automatic submission needs contract key, disabled target example, explicit cap and meaningful safety tests. Document auth expiry, form changes, upload failure, missing facts and irreversible-label ambiguity. Never claim universal compatibility or anti-ban protection.
|
|
56
|
-
|
|
57
|
-
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
58
|
-
|
|
59
|
-
### Anti-patterns
|
|
60
|
-
- ❌ Claiming live-tested without evidence → ✅ keep UNVERIFIED.
|
|
61
|
-
- ❌ Enabling automatic submission without a reviewed adapter → ✅ cap 0.
|
|
62
|
-
- ❌ Using CSS selectors → ✅ roles, names and refs only.
|
|
63
|
-
|
|
64
|
-
### Self-verification check (before reporting this step complete)
|
|
65
|
-
- [ ] each job has a stable PLATFORM:<posting id> or is routed to review
|
|
66
|
-
- [ ] full description captured before scoring
|
|
67
|
-
- [ ] apply flow chosen from the observed button with a snapshot
|
|
68
|
-
|
|
69
|
-
Evidence comes from a fresh snapshot, a file read or a command exit code observed after the action (skills/meta-self-verification.md). If any box cannot be ticked, report the step as unverified or needs_review — never as done.
|
|
1
|
+
---
|
|
2
|
+
name: platform-key
|
|
3
|
+
version: "1.2.0"
|
|
4
|
+
last_verified: "2026-11-18"
|
|
5
|
+
description: Load when an enabled target has platform PLATFORM and jobs must be discovered, read in full and routed to the right apply flow.
|
|
6
|
+
triggers:
|
|
7
|
+
- target.platform == PLATFORM
|
|
8
|
+
requires_mcp:
|
|
9
|
+
- playwright
|
|
10
|
+
preconditions:
|
|
11
|
+
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
12
|
+
- PLATFORM target enabled with a real URL
|
|
13
|
+
requires_skills:
|
|
14
|
+
- discover-and-triage
|
|
15
|
+
verification:
|
|
16
|
+
- each job has a stable PLATFORM:<posting id> or is routed to review
|
|
17
|
+
- full description captured before scoring
|
|
18
|
+
- apply flow chosen from the observed button with a snapshot
|
|
19
|
+
---
|
|
20
|
+
# PLATFORM playbook
|
|
21
|
+
|
|
22
|
+
## When to Use & Preconditions
|
|
23
|
+
|
|
24
|
+
Community template: fill every section with verified, live-tested details before enabling the target.
|
|
25
|
+
|
|
26
|
+
- **Load when:** target.platform == PLATFORM.
|
|
27
|
+
- **Preconditions (stop if any is false):**
|
|
28
|
+
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
29
|
+
- PLATFORM target enabled with a real URL
|
|
30
|
+
- **Requires skills:** `discover-and-triage`. **MCP:** playwright.
|
|
31
|
+
|
|
32
|
+
## Deterministic Step-by-Step Execution
|
|
33
|
+
|
|
34
|
+
Live-tested: UNVERIFIED (replace only with genuine date, tool version and authorized evidence).
|
|
35
|
+
|
|
36
|
+
### Scope and identity
|
|
37
|
+
- Registry key / exact HTTPS hostname(s): fill in real values.
|
|
38
|
+
- Permitted automation/terms and limitations: document; never bypass security.
|
|
39
|
+
- Stable posting ID/canonical URL extraction from snapshot/actual link: specify; unknown → review.
|
|
40
|
+
- Auth requirement and observable named-account indicator: specify; public browsing only if target.auth_required:false.
|
|
41
|
+
|
|
42
|
+
### Search and reading
|
|
43
|
+
1. Enter confirmed role/location using current accessible labels/refs. Describe this board's distinctive filters and how to verify applied state, not fixed CSS selectors.
|
|
44
|
+
2. Open full JD, capture company/title/location/date/restrictions and stable identity; unknown remains unknown. Read for at least 10 seconds, score truthful fit and honor bounded results.
|
|
45
|
+
3. Check journal ID plus canonical ATS URL; preserve identity across redirects. Use 3–9s waits, active hours and cooldown.
|
|
46
|
+
|
|
47
|
+
### Form and hand-off
|
|
48
|
+
1. State whether Apply opens a draft, redirects, sends email or may submit in one click. Possible irreversible action requires final gate before click.
|
|
49
|
+
2. Fresh snapshot per step; exact verified per-job PDF; factual/legal unknowns → open_questions/screenshot/open tab/chat question. Motivation follows 04-fill-and-apply.md.
|
|
50
|
+
3. Recognized ATS → dispatcher; Workday/Taleo/unsupported/account creation → manual_apply + needs_review.
|
|
51
|
+
4. Dry run no Submit. Real gate, local reservation, cap/dedup checks and receipt verification. Uncertainty never retries; security challenge/warning aborts whole run.
|
|
52
|
+
5. Local JSON first, optional Notion second. No secrets or private evidence in PRs.
|
|
53
|
+
|
|
54
|
+
### Contribution checklist
|
|
55
|
+
Add registry; docs-only boards use other with cap 0. Automatic submission needs contract key, disabled target example, explicit cap and meaningful safety tests. Document auth expiry, form changes, upload failure, missing facts and irreversible-label ambiguity. Never claim universal compatibility or anti-ban protection.
|
|
56
|
+
|
|
57
|
+
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
58
|
+
|
|
59
|
+
### Anti-patterns
|
|
60
|
+
- ❌ Claiming live-tested without evidence → ✅ keep UNVERIFIED.
|
|
61
|
+
- ❌ Enabling automatic submission without a reviewed adapter → ✅ cap 0.
|
|
62
|
+
- ❌ Using CSS selectors → ✅ roles, names and refs only.
|
|
63
|
+
|
|
64
|
+
### Self-verification check (before reporting this step complete)
|
|
65
|
+
- [ ] each job has a stable PLATFORM:<posting id> or is routed to review
|
|
66
|
+
- [ ] full description captured before scoring
|
|
67
|
+
- [ ] apply flow chosen from the observed button with a snapshot
|
|
68
|
+
|
|
69
|
+
Evidence comes from a fresh snapshot, a file read or a command exit code observed after the action (skills/meta-self-verification.md). If any box cannot be ticked, report the step as unverified or needs_review — never as done.
|