veycraft 2.8.1 → 2.8.3
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 +325 -309
- 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 +266 -238
- package/README.md +233 -208
- 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 -634
- 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
package/skills/ats/lever.md
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: lever
|
|
3
|
-
version: "1.1.0"
|
|
4
|
-
description: Load when an application's final HTTPS hostname is jobs.lever.co (Lever) and the hosted form must be filled, reviewed and submitted safely.
|
|
5
|
-
triggers:
|
|
6
|
-
- final hostname jobs.lever.co
|
|
7
|
-
- fill-and-apply routes to lever
|
|
8
|
-
requires_mcp:
|
|
9
|
-
- playwright
|
|
10
|
-
preconditions:
|
|
11
|
-
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
12
|
-
- employer and role on the ATS page match the posting
|
|
13
|
-
requires_skills:
|
|
14
|
-
- fill-and-apply
|
|
15
|
-
verification:
|
|
16
|
-
- lever:<id> or ATS URL stored in notes for duplicate checks
|
|
17
|
-
- resume upload verified by filename after the auto-parse wait
|
|
18
|
-
- receipt text/URL observed after submit, else needs_review
|
|
19
|
-
---
|
|
20
|
-
# Lever ATS playbook
|
|
21
|
-
|
|
22
|
-
## When to Use & Preconditions
|
|
23
|
-
|
|
24
|
-
Use only on Lever-hosted forms.
|
|
25
|
-
|
|
26
|
-
- **Load when:** final hostname jobs.lever.co; fill-and-apply routes to lever.
|
|
27
|
-
- **Preconditions (stop if any is false):**
|
|
28
|
-
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
29
|
-
- employer and role on the ATS page match the posting
|
|
30
|
-
- **Requires skills:** `fill-and-apply`. **MCP:** playwright.
|
|
31
|
-
|
|
32
|
-
## Deterministic Step-by-Step Execution
|
|
33
|
-
|
|
34
|
-
1. Confirm final HTTPS hostname is jobs.lever.co, matching the employer and the posting; lookalike/mismatched domains go to review. Use owner-approved board URLs, never submit to these template homepages.
|
|
35
|
-
2. Open an owner-provided employer board, snapshot role links and location/workplace filters. Job UUID is in /company/<uuid>. Apply for this job opens the hosted form; inspect file chooser and required consent.
|
|
36
|
-
3. Capture employer, role, location, full requirements and stable lever:id. For redirects retain original discovery job_id; store ATS URL in notes to avoid duplicate submissions across boards.
|
|
37
|
-
4. Snapshot form before each interaction; use labels/roles/refs with random 3–9 second pacing. Upload through 04-fill-and-apply.md. Verify resume filename and only owner-approved contact/legal answers.
|
|
38
|
-
5. Unknown required field, account requirement, CAPTCHA, 2FA or inaccessible upload is NOT a reason to invent answers or inject DOM code. Unknown field -> review; CAPTCHA/2FA -> abort entire run.
|
|
39
|
-
6. Next/Continue can be irreversible: inspect accessible text. Before any submitting action reserve journal, validate and re-read caps/deduplication. dry_run stops before submit. Verify confirmation URL/text and receipt before updating applied; uncertain -> needs_review.
|
|
40
|
-
7. Use 06-log-and-insights.md for local-first write and Notion upsert. Never retry a timed-out submission automatically.
|
|
41
|
-
|
|
42
|
-
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
43
|
-
|
|
44
|
-
### Anti-patterns
|
|
45
|
-
- ❌ Filling fields before the resume auto-parse finishes → ✅ upload first, wait, re-snapshot.
|
|
46
|
-
- ❌ Treating "Next" as harmless → ✅ read its accessible text; it may submit.
|
|
47
|
-
- ❌ Injecting DOM code to reach a hidden input → ✅ use the visible upload control or hand off.
|
|
48
|
-
|
|
49
|
-
### Self-verification check (before reporting this step complete)
|
|
50
|
-
- [ ] lever:<id> or ATS URL stored in notes for duplicate checks
|
|
51
|
-
- [ ] resume upload verified by filename after the auto-parse wait
|
|
52
|
-
- [ ] receipt text/URL observed after submit, else needs_review
|
|
53
|
-
|
|
54
|
-
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: lever
|
|
3
|
+
version: "1.1.0"
|
|
4
|
+
description: Load when an application's final HTTPS hostname is jobs.lever.co (Lever) and the hosted form must be filled, reviewed and submitted safely.
|
|
5
|
+
triggers:
|
|
6
|
+
- final hostname jobs.lever.co
|
|
7
|
+
- fill-and-apply routes to lever
|
|
8
|
+
requires_mcp:
|
|
9
|
+
- playwright
|
|
10
|
+
preconditions:
|
|
11
|
+
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
12
|
+
- employer and role on the ATS page match the posting
|
|
13
|
+
requires_skills:
|
|
14
|
+
- fill-and-apply
|
|
15
|
+
verification:
|
|
16
|
+
- lever:<id> or ATS URL stored in notes for duplicate checks
|
|
17
|
+
- resume upload verified by filename after the auto-parse wait
|
|
18
|
+
- receipt text/URL observed after submit, else needs_review
|
|
19
|
+
---
|
|
20
|
+
# Lever ATS playbook
|
|
21
|
+
|
|
22
|
+
## When to Use & Preconditions
|
|
23
|
+
|
|
24
|
+
Use only on Lever-hosted forms.
|
|
25
|
+
|
|
26
|
+
- **Load when:** final hostname jobs.lever.co; fill-and-apply routes to lever.
|
|
27
|
+
- **Preconditions (stop if any is false):**
|
|
28
|
+
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
29
|
+
- employer and role on the ATS page match the posting
|
|
30
|
+
- **Requires skills:** `fill-and-apply`. **MCP:** playwright.
|
|
31
|
+
|
|
32
|
+
## Deterministic Step-by-Step Execution
|
|
33
|
+
|
|
34
|
+
1. Confirm final HTTPS hostname is jobs.lever.co, matching the employer and the posting; lookalike/mismatched domains go to review. Use owner-approved board URLs, never submit to these template homepages.
|
|
35
|
+
2. Open an owner-provided employer board, snapshot role links and location/workplace filters. Job UUID is in /company/<uuid>. Apply for this job opens the hosted form; inspect file chooser and required consent.
|
|
36
|
+
3. Capture employer, role, location, full requirements and stable lever:id. For redirects retain original discovery job_id; store ATS URL in notes to avoid duplicate submissions across boards.
|
|
37
|
+
4. Snapshot form before each interaction; use labels/roles/refs with random 3–9 second pacing. Upload through 04-fill-and-apply.md. Verify resume filename and only owner-approved contact/legal answers.
|
|
38
|
+
5. Unknown required field, account requirement, CAPTCHA, 2FA or inaccessible upload is NOT a reason to invent answers or inject DOM code. Unknown field -> review; CAPTCHA/2FA -> abort entire run.
|
|
39
|
+
6. Next/Continue can be irreversible: inspect accessible text. Before any submitting action reserve journal, validate and re-read caps/deduplication. dry_run stops before submit. Verify confirmation URL/text and receipt before updating applied; uncertain -> needs_review.
|
|
40
|
+
7. Use 06-log-and-insights.md for local-first write and Notion upsert. Never retry a timed-out submission automatically.
|
|
41
|
+
|
|
42
|
+
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
43
|
+
|
|
44
|
+
### Anti-patterns
|
|
45
|
+
- ❌ Filling fields before the resume auto-parse finishes → ✅ upload first, wait, re-snapshot.
|
|
46
|
+
- ❌ Treating "Next" as harmless → ✅ read its accessible text; it may submit.
|
|
47
|
+
- ❌ Injecting DOM code to reach a hidden input → ✅ use the visible upload control or hand off.
|
|
48
|
+
|
|
49
|
+
### Self-verification check (before reporting this step complete)
|
|
50
|
+
- [ ] lever:<id> or ATS URL stored in notes for duplicate checks
|
|
51
|
+
- [ ] resume upload verified by filename after the auto-parse wait
|
|
52
|
+
- [ ] receipt text/URL observed after submit, else needs_review
|
|
53
|
+
|
|
54
|
+
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,54 +1,54 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: smartrecruiters
|
|
3
|
-
version: "1.1.0"
|
|
4
|
-
description: Load when an application's final HTTPS hostname is jobs.smartrecruiters.com (SmartRecruiters) and the hosted form must be filled, reviewed and submitted safely.
|
|
5
|
-
triggers:
|
|
6
|
-
- final hostname jobs.smartrecruiters.com
|
|
7
|
-
- fill-and-apply routes to smartrecruiters
|
|
8
|
-
requires_mcp:
|
|
9
|
-
- playwright
|
|
10
|
-
preconditions:
|
|
11
|
-
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
12
|
-
- employer and role on the ATS page match the posting
|
|
13
|
-
requires_skills:
|
|
14
|
-
- fill-and-apply
|
|
15
|
-
verification:
|
|
16
|
-
- smartrecruiters:<id> or ATS URL stored in notes for duplicate checks
|
|
17
|
-
- resume upload verified by filename after the auto-parse wait
|
|
18
|
-
- receipt text/URL observed after submit, else needs_review
|
|
19
|
-
---
|
|
20
|
-
# SmartRecruiters ATS playbook
|
|
21
|
-
|
|
22
|
-
## When to Use & Preconditions
|
|
23
|
-
|
|
24
|
-
Use only on SmartRecruiters-hosted forms.
|
|
25
|
-
|
|
26
|
-
- **Load when:** final hostname jobs.smartrecruiters.com; fill-and-apply routes to smartrecruiters.
|
|
27
|
-
- **Preconditions (stop if any is false):**
|
|
28
|
-
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
29
|
-
- employer and role on the ATS page match the posting
|
|
30
|
-
- **Requires skills:** `fill-and-apply`. **MCP:** playwright.
|
|
31
|
-
|
|
32
|
-
## Deterministic Step-by-Step Execution
|
|
33
|
-
|
|
34
|
-
1. Confirm final HTTPS hostname is jobs.smartrecruiters.com, matching the employer and the posting; lookalike/mismatched domains go to review. Use owner-approved board URLs, never submit to these template homepages.
|
|
35
|
-
2. Open company role link and numeric posting ID. I am interested may open a modal/application flow. Continue without account only if offered explicitly; no social sign-in or new account creation.
|
|
36
|
-
3. Capture employer, role, location, full requirements and stable smartrecruiters:id. For redirects retain original discovery job_id; store ATS URL in notes to avoid duplicate submissions across boards.
|
|
37
|
-
4. Snapshot form before each interaction; use labels/roles/refs with random 3–9 second pacing. Upload through 04-fill-and-apply.md. Verify resume filename and only owner-approved contact/legal answers.
|
|
38
|
-
5. Unknown required field, account requirement, CAPTCHA, 2FA or inaccessible upload is NOT a reason to invent answers or inject DOM code. Unknown field -> review; CAPTCHA/2FA -> abort entire run.
|
|
39
|
-
6. Next/Continue can be irreversible: inspect accessible text. Before any submitting action reserve journal, validate and re-read caps/deduplication. dry_run stops before submit. Verify confirmation URL/text and receipt before updating applied; uncertain -> needs_review.
|
|
40
|
-
7. Use 06-log-and-insights.md for local-first write and Notion upsert. Never retry a timed-out submission automatically.
|
|
41
|
-
|
|
42
|
-
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
43
|
-
|
|
44
|
-
### Anti-patterns
|
|
45
|
-
- ❌ Filling fields before the resume auto-parse finishes → ✅ upload first, wait, re-snapshot.
|
|
46
|
-
- ❌ Treating "Next" as harmless → ✅ read its accessible text; it may submit.
|
|
47
|
-
- ❌ Injecting DOM code to reach a hidden input → ✅ use the visible upload control or hand off.
|
|
48
|
-
|
|
49
|
-
### Self-verification check (before reporting this step complete)
|
|
50
|
-
- [ ] smartrecruiters:<id> or ATS URL stored in notes for duplicate checks
|
|
51
|
-
- [ ] resume upload verified by filename after the auto-parse wait
|
|
52
|
-
- [ ] receipt text/URL observed after submit, else needs_review
|
|
53
|
-
|
|
54
|
-
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: smartrecruiters
|
|
3
|
+
version: "1.1.0"
|
|
4
|
+
description: Load when an application's final HTTPS hostname is jobs.smartrecruiters.com (SmartRecruiters) and the hosted form must be filled, reviewed and submitted safely.
|
|
5
|
+
triggers:
|
|
6
|
+
- final hostname jobs.smartrecruiters.com
|
|
7
|
+
- fill-and-apply routes to smartrecruiters
|
|
8
|
+
requires_mcp:
|
|
9
|
+
- playwright
|
|
10
|
+
preconditions:
|
|
11
|
+
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
12
|
+
- employer and role on the ATS page match the posting
|
|
13
|
+
requires_skills:
|
|
14
|
+
- fill-and-apply
|
|
15
|
+
verification:
|
|
16
|
+
- smartrecruiters:<id> or ATS URL stored in notes for duplicate checks
|
|
17
|
+
- resume upload verified by filename after the auto-parse wait
|
|
18
|
+
- receipt text/URL observed after submit, else needs_review
|
|
19
|
+
---
|
|
20
|
+
# SmartRecruiters ATS playbook
|
|
21
|
+
|
|
22
|
+
## When to Use & Preconditions
|
|
23
|
+
|
|
24
|
+
Use only on SmartRecruiters-hosted forms.
|
|
25
|
+
|
|
26
|
+
- **Load when:** final hostname jobs.smartrecruiters.com; fill-and-apply routes to smartrecruiters.
|
|
27
|
+
- **Preconditions (stop if any is false):**
|
|
28
|
+
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
29
|
+
- employer and role on the ATS page match the posting
|
|
30
|
+
- **Requires skills:** `fill-and-apply`. **MCP:** playwright.
|
|
31
|
+
|
|
32
|
+
## Deterministic Step-by-Step Execution
|
|
33
|
+
|
|
34
|
+
1. Confirm final HTTPS hostname is jobs.smartrecruiters.com, matching the employer and the posting; lookalike/mismatched domains go to review. Use owner-approved board URLs, never submit to these template homepages.
|
|
35
|
+
2. Open company role link and numeric posting ID. I am interested may open a modal/application flow. Continue without account only if offered explicitly; no social sign-in or new account creation.
|
|
36
|
+
3. Capture employer, role, location, full requirements and stable smartrecruiters:id. For redirects retain original discovery job_id; store ATS URL in notes to avoid duplicate submissions across boards.
|
|
37
|
+
4. Snapshot form before each interaction; use labels/roles/refs with random 3–9 second pacing. Upload through 04-fill-and-apply.md. Verify resume filename and only owner-approved contact/legal answers.
|
|
38
|
+
5. Unknown required field, account requirement, CAPTCHA, 2FA or inaccessible upload is NOT a reason to invent answers or inject DOM code. Unknown field -> review; CAPTCHA/2FA -> abort entire run.
|
|
39
|
+
6. Next/Continue can be irreversible: inspect accessible text. Before any submitting action reserve journal, validate and re-read caps/deduplication. dry_run stops before submit. Verify confirmation URL/text and receipt before updating applied; uncertain -> needs_review.
|
|
40
|
+
7. Use 06-log-and-insights.md for local-first write and Notion upsert. Never retry a timed-out submission automatically.
|
|
41
|
+
|
|
42
|
+
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
43
|
+
|
|
44
|
+
### Anti-patterns
|
|
45
|
+
- ❌ Filling fields before the resume auto-parse finishes → ✅ upload first, wait, re-snapshot.
|
|
46
|
+
- ❌ Treating "Next" as harmless → ✅ read its accessible text; it may submit.
|
|
47
|
+
- ❌ Injecting DOM code to reach a hidden input → ✅ use the visible upload control or hand off.
|
|
48
|
+
|
|
49
|
+
### Self-verification check (before reporting this step complete)
|
|
50
|
+
- [ ] smartrecruiters:<id> or ATS URL stored in notes for duplicate checks
|
|
51
|
+
- [ ] resume upload verified by filename after the auto-parse wait
|
|
52
|
+
- [ ] receipt text/URL observed after submit, else needs_review
|
|
53
|
+
|
|
54
|
+
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.
|
package/skills/ats/taleo.md
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: taleo
|
|
3
|
-
version: "1.1.0"
|
|
4
|
-
description: Load when an application lands on Taleo (taleo.net / oraclecloud.com); these account-gated portals are always manual_apply + needs_review.
|
|
5
|
-
triggers:
|
|
6
|
-
- Taleo hostname detected
|
|
7
|
-
requires_mcp:
|
|
8
|
-
- playwright
|
|
9
|
-
preconditions:
|
|
10
|
-
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
11
|
-
requires_skills:
|
|
12
|
-
- log-and-insights
|
|
13
|
-
verification:
|
|
14
|
-
- apply_type manual_apply and status needs_review logged with the canonical posting ID
|
|
15
|
-
- no account created, no terms accepted, no Submit clicked
|
|
16
|
-
---
|
|
17
|
-
# Taleo — manual only
|
|
18
|
-
|
|
19
|
-
## When to Use & Preconditions
|
|
20
|
-
|
|
21
|
-
Use to hand Taleo jobs to the owner.
|
|
22
|
-
|
|
23
|
-
- **Load when:** Taleo hostname detected.
|
|
24
|
-
- **Preconditions (stop if any is false):**
|
|
25
|
-
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
26
|
-
- **Requires skills:** `log-and-insights`. **MCP:** playwright.
|
|
27
|
-
|
|
28
|
-
## Deterministic Step-by-Step Execution
|
|
29
|
-
|
|
30
|
-
Detect myworkdayjobs.com/myworkdaysite.com or taleo.net/oraclecloud.com respectively. Snapshot posting and preserve canonical ID. Set apply_type:manual_apply, status:needs_review, reason: complex/account-gated portal. Do not create accounts, accept new legal terms or click Submit automatically. CAPTCHA/2FA/login walls abort the whole run. Log locally and sync to Notion.
|
|
31
|
-
|
|
32
|
-
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
33
|
-
|
|
34
|
-
### Anti-patterns
|
|
35
|
-
- ❌ Creating a portal account to continue → ✅ never.
|
|
36
|
-
- ❌ Accepting new legal terms → ✅ owner only.
|
|
37
|
-
- ❌ Retrying through another login path → ✅ hand off.
|
|
38
|
-
|
|
39
|
-
### Self-verification check (before reporting this step complete)
|
|
40
|
-
- [ ] apply_type manual_apply and status needs_review logged with the canonical posting ID
|
|
41
|
-
- [ ] no account created, no terms accepted, no Submit clicked
|
|
42
|
-
|
|
43
|
-
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: taleo
|
|
3
|
+
version: "1.1.0"
|
|
4
|
+
description: Load when an application lands on Taleo (taleo.net / oraclecloud.com); these account-gated portals are always manual_apply + needs_review.
|
|
5
|
+
triggers:
|
|
6
|
+
- Taleo hostname detected
|
|
7
|
+
requires_mcp:
|
|
8
|
+
- playwright
|
|
9
|
+
preconditions:
|
|
10
|
+
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
11
|
+
requires_skills:
|
|
12
|
+
- log-and-insights
|
|
13
|
+
verification:
|
|
14
|
+
- apply_type manual_apply and status needs_review logged with the canonical posting ID
|
|
15
|
+
- no account created, no terms accepted, no Submit clicked
|
|
16
|
+
---
|
|
17
|
+
# Taleo — manual only
|
|
18
|
+
|
|
19
|
+
## When to Use & Preconditions
|
|
20
|
+
|
|
21
|
+
Use to hand Taleo jobs to the owner.
|
|
22
|
+
|
|
23
|
+
- **Load when:** Taleo hostname detected.
|
|
24
|
+
- **Preconditions (stop if any is false):**
|
|
25
|
+
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
26
|
+
- **Requires skills:** `log-and-insights`. **MCP:** playwright.
|
|
27
|
+
|
|
28
|
+
## Deterministic Step-by-Step Execution
|
|
29
|
+
|
|
30
|
+
Detect myworkdayjobs.com/myworkdaysite.com or taleo.net/oraclecloud.com respectively. Snapshot posting and preserve canonical ID. Set apply_type:manual_apply, status:needs_review, reason: complex/account-gated portal. Do not create accounts, accept new legal terms or click Submit automatically. CAPTCHA/2FA/login walls abort the whole run. Log locally and sync to Notion.
|
|
31
|
+
|
|
32
|
+
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
33
|
+
|
|
34
|
+
### Anti-patterns
|
|
35
|
+
- ❌ Creating a portal account to continue → ✅ never.
|
|
36
|
+
- ❌ Accepting new legal terms → ✅ owner only.
|
|
37
|
+
- ❌ Retrying through another login path → ✅ hand off.
|
|
38
|
+
|
|
39
|
+
### Self-verification check (before reporting this step complete)
|
|
40
|
+
- [ ] apply_type manual_apply and status needs_review logged with the canonical posting ID
|
|
41
|
+
- [ ] no account created, no terms accepted, no Submit clicked
|
|
42
|
+
|
|
43
|
+
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.
|
package/skills/ats/workday.md
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: workday
|
|
3
|
-
version: "1.1.0"
|
|
4
|
-
description: Load when an application lands on Workday (myworkdayjobs.com / myworkdaysite.com); these account-gated portals are always manual_apply + needs_review.
|
|
5
|
-
triggers:
|
|
6
|
-
- Workday hostname detected
|
|
7
|
-
requires_mcp:
|
|
8
|
-
- playwright
|
|
9
|
-
preconditions:
|
|
10
|
-
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
11
|
-
requires_skills:
|
|
12
|
-
- log-and-insights
|
|
13
|
-
verification:
|
|
14
|
-
- apply_type manual_apply and status needs_review logged with the canonical posting ID
|
|
15
|
-
- no account created, no terms accepted, no Submit clicked
|
|
16
|
-
---
|
|
17
|
-
# Workday — manual only
|
|
18
|
-
|
|
19
|
-
## When to Use & Preconditions
|
|
20
|
-
|
|
21
|
-
Use to hand Workday jobs to the owner.
|
|
22
|
-
|
|
23
|
-
- **Load when:** Workday hostname detected.
|
|
24
|
-
- **Preconditions (stop if any is false):**
|
|
25
|
-
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
26
|
-
- **Requires skills:** `log-and-insights`. **MCP:** playwright.
|
|
27
|
-
|
|
28
|
-
## Deterministic Step-by-Step Execution
|
|
29
|
-
|
|
30
|
-
Detect `myworkdayjobs.com` / `myworkdaysite.com` or `taleo.net` / `oraclecloud.com` respectively. Snapshot posting and preserve canonical ID. Always set `apply_type: manual_apply`, `status: needs_review`, reason: `complex/account-gated portal`. Do not create accounts, sign in automatically, accept new legal terms, or click Submit automatically. CAPTCHA/2FA/login walls abort the whole run. Log locally and sync to Notion.
|
|
31
|
-
|
|
32
|
-
### Account-Gate Detection & Read-Only / Pre-Handoff Snapshot Rules
|
|
33
|
-
The rules below apply strictly to **read-only inspection, pre-handoff verification, and offline synthetic regression testing** (`evals/fixtures/forms/workday-mock.html`) — they **never** override the mandatory `manual_apply` + `needs_review` handoff policy:
|
|
34
|
-
1. **Account Gate First (Immediate Handoff):** If `browser_snapshot` shows a `Sign In` / `Create Account` gate or candidate account terms checkbox, stop automation immediately, log `apply_type: manual_apply` + `status: needs_review`, keep the tab open, and deliver the tailored resume path plus copy-paste answers to the owner.
|
|
35
|
-
2. **ARIA Combobox & Detached Portal Listbox Verification (`skills/18-condition-based-browser-waiting.md`):** On React-Select / Workday custom dropdowns, verify `role="combobox"` carries `aria-expanded="true"` after activation and wait for the detached `role="listbox"` portal (mounted outside `<form>` at document root) and its `role="option"` entries to render in a fresh `browser_snapshot` before resolving any option ref.
|
|
36
|
-
3. **Wizard Step Validation & Error Recovery:** Across multi-step Workday wizards (`My Information` -> `My Experience` -> `Voluntary Disclosures` -> `Review`), verify `aria-current="step"` advances cleanly and inspect any `role="alert"` step-validation error banner before retrying or escalating to `needs_review`. Never touch hidden honeypot inputs (`website_url_honeypot`).
|
|
37
|
-
|
|
38
|
-
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
39
|
-
|
|
40
|
-
### Anti-patterns
|
|
41
|
-
- ❌ Creating a portal account to continue → ✅ never.
|
|
42
|
-
- ❌ Accepting new legal terms → ✅ owner only.
|
|
43
|
-
- ❌ Retrying through another login path → ✅ hand off.
|
|
44
|
-
|
|
45
|
-
### Self-verification check (before reporting this step complete)
|
|
46
|
-
- [ ] apply_type manual_apply and status needs_review logged with the canonical posting ID
|
|
47
|
-
- [ ] no account created, no terms accepted, no Submit clicked
|
|
48
|
-
|
|
49
|
-
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: workday
|
|
3
|
+
version: "1.1.0"
|
|
4
|
+
description: Load when an application lands on Workday (myworkdayjobs.com / myworkdaysite.com); these account-gated portals are always manual_apply + needs_review.
|
|
5
|
+
triggers:
|
|
6
|
+
- Workday hostname detected
|
|
7
|
+
requires_mcp:
|
|
8
|
+
- playwright
|
|
9
|
+
preconditions:
|
|
10
|
+
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
11
|
+
requires_skills:
|
|
12
|
+
- log-and-insights
|
|
13
|
+
verification:
|
|
14
|
+
- apply_type manual_apply and status needs_review logged with the canonical posting ID
|
|
15
|
+
- no account created, no terms accepted, no Submit clicked
|
|
16
|
+
---
|
|
17
|
+
# Workday — manual only
|
|
18
|
+
|
|
19
|
+
## When to Use & Preconditions
|
|
20
|
+
|
|
21
|
+
Use to hand Workday jobs to the owner.
|
|
22
|
+
|
|
23
|
+
- **Load when:** Workday hostname detected.
|
|
24
|
+
- **Preconditions (stop if any is false):**
|
|
25
|
+
- readiness gates passed, auth verified via Playwright MCP, and context loaded
|
|
26
|
+
- **Requires skills:** `log-and-insights`. **MCP:** playwright.
|
|
27
|
+
|
|
28
|
+
## Deterministic Step-by-Step Execution
|
|
29
|
+
|
|
30
|
+
Detect `myworkdayjobs.com` / `myworkdaysite.com` or `taleo.net` / `oraclecloud.com` respectively. Snapshot posting and preserve canonical ID. Always set `apply_type: manual_apply`, `status: needs_review`, reason: `complex/account-gated portal`. Do not create accounts, sign in automatically, accept new legal terms, or click Submit automatically. CAPTCHA/2FA/login walls abort the whole run. Log locally and sync to Notion.
|
|
31
|
+
|
|
32
|
+
### Account-Gate Detection & Read-Only / Pre-Handoff Snapshot Rules
|
|
33
|
+
The rules below apply strictly to **read-only inspection, pre-handoff verification, and offline synthetic regression testing** (`evals/fixtures/forms/workday-mock.html`) — they **never** override the mandatory `manual_apply` + `needs_review` handoff policy:
|
|
34
|
+
1. **Account Gate First (Immediate Handoff):** If `browser_snapshot` shows a `Sign In` / `Create Account` gate or candidate account terms checkbox, stop automation immediately, log `apply_type: manual_apply` + `status: needs_review`, keep the tab open, and deliver the tailored resume path plus copy-paste answers to the owner.
|
|
35
|
+
2. **ARIA Combobox & Detached Portal Listbox Verification (`skills/18-condition-based-browser-waiting.md`):** On React-Select / Workday custom dropdowns, verify `role="combobox"` carries `aria-expanded="true"` after activation and wait for the detached `role="listbox"` portal (mounted outside `<form>` at document root) and its `role="option"` entries to render in a fresh `browser_snapshot` before resolving any option ref.
|
|
36
|
+
3. **Wizard Step Validation & Error Recovery:** Across multi-step Workday wizards (`My Information` -> `My Experience` -> `Voluntary Disclosures` -> `Review`), verify `aria-current="step"` advances cleanly and inspect any `role="alert"` step-validation error banner before retrying or escalating to `needs_review`. Never touch hidden honeypot inputs (`website_url_honeypot`).
|
|
37
|
+
|
|
38
|
+
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
39
|
+
|
|
40
|
+
### Anti-patterns
|
|
41
|
+
- ❌ Creating a portal account to continue → ✅ never.
|
|
42
|
+
- ❌ Accepting new legal terms → ✅ owner only.
|
|
43
|
+
- ❌ Retrying through another login path → ✅ hand off.
|
|
44
|
+
|
|
45
|
+
### Self-verification check (before reporting this step complete)
|
|
46
|
+
- [ ] apply_type manual_apply and status needs_review logged with the canonical posting ID
|
|
47
|
+
- [ ] no account created, no terms accepted, no Submit clicked
|
|
48
|
+
|
|
49
|
+
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,88 +1,88 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: meta-context-compaction
|
|
3
|
-
version: "1.0.0"
|
|
4
|
-
description: Load when a long run has processed 3-5 applications since the last checkpoint, the conversation is getting long, or a new session must resume an interrupted run; writes and re-reads logs/runs/current-session-checkpoint.json so rules and progress survive context loss.
|
|
5
|
-
triggers:
|
|
6
|
-
- long-run-memory-compaction
|
|
7
|
-
- every 3-5 applications or 15 jobs processed
|
|
8
|
-
- resuming a run in a new chat/session
|
|
9
|
-
requires_mcp:
|
|
10
|
-
- none
|
|
11
|
-
preconditions:
|
|
12
|
-
- an active daily run in progress (or a checkpoint file to resume from)
|
|
13
|
-
requires_skills:
|
|
14
|
-
- log-and-insights
|
|
15
|
-
verification:
|
|
16
|
-
- logs/runs/current-session-checkpoint.json is valid JSON matching the checkpoint structure
|
|
17
|
-
- checkpoint counts agree with logs/applications-log.json for this run_id
|
|
18
|
-
- after compaction AGENTS.md hard guardrails and only the next phase's skill were re-read
|
|
19
|
-
---
|
|
20
|
-
# Long-run memory compaction
|
|
21
|
-
|
|
22
|
-
## When to Use & Preconditions
|
|
23
|
-
|
|
24
|
-
Use during long daily runs so the agent does not forget caps, approvals or which jobs are done, and when a run must resume after the chat was reset. The journal (`logs/applications-log.json`) is always the source of truth; the checkpoint is a compact cache and never authorizes anything.
|
|
25
|
-
|
|
26
|
-
- **Load when:** long-run-memory-compaction; every 3–5 applications or 15 jobs processed; resuming a run in a new chat/session.
|
|
27
|
-
- **Preconditions (stop if any is false):**
|
|
28
|
-
- an active daily run in progress (or a checkpoint file to resume from)
|
|
29
|
-
- **Requires skills:** `log-and-insights`. **MCP:** none.
|
|
30
|
-
|
|
31
|
-
## Deterministic Step-by-Step Execution
|
|
32
|
-
|
|
33
|
-
### A. Write a checkpoint
|
|
34
|
-
1. Finish the current atomic step first (never checkpoint between a reservation and its receipt check).
|
|
35
|
-
2. Run `node ./bin/cli.mjs career run-checkpoint [--run-id <YYYY-MM-DD>] [--phase <phase>] [--next-action "<txt>"] [--awaiting-job-id <id> --awaiting-question "<q>"] [--clear-awaiting-job-id <id>] [--consecutive-errors <n>] [--notes "<txt>"] [--json]` (which acquires `logs/.ledger.lock`, derives authoritative counts and caps from `logs/applications-log.json` and `logs/skipped-jobs.json`, reconciles `queue` and `processed_job_ids`, enforces `submission_authorized: false`, auto-aborts on `consecutive_errors >= 3`, and atomically writes `logs/runs/current-session-checkpoint.json` + `logs/runs/YYYY-MM-DD.json`):
|
|
36
|
-
|
|
37
|
-
```json
|
|
38
|
-
{
|
|
39
|
-
"kind": "session_checkpoint",
|
|
40
|
-
"version": 1,
|
|
41
|
-
"run_id": "2026-11-18",
|
|
42
|
-
"updated_at": "2026-11-18T10:42:00Z",
|
|
43
|
-
"phase": "applying",
|
|
44
|
-
"workflow_mode": "batch_review_first",
|
|
45
|
-
"dry_run": true,
|
|
46
|
-
"approval_mode": "approve_before_submit",
|
|
47
|
-
"submission_authorized": false,
|
|
48
|
-
"approval_expired_on_resume": false,
|
|
49
|
-
"caps": { "effective_daily_cap": 5, "applied_today": 2, "reserved_unresolved": 0, "per_platform_applied": { "linkedin": 2 } },
|
|
50
|
-
"processed_job_ids": ["linkedin:4012", "linkedin:4013"],
|
|
51
|
-
"queue": ["greenhouse:acme-77"],
|
|
52
|
-
"awaiting_owner": [{ "job_id": "linkedin:4015", "question": "Notice period in weeks?" }],
|
|
53
|
-
"batch_selection": "APPLY 1,3",
|
|
54
|
-
"consecutive_errors": 0,
|
|
55
|
-
"next_action": "Open greenhouse:acme-77 from its folder logs/resumes/acme-backend-greenhouse-acme-77/",
|
|
56
|
-
"notes": ""
|
|
57
|
-
}
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
- `phase`: one of `readiness`, `discovery`, `triage`, `awaiting_owner`, `applying`, `logging`, `reporting`, `finished`, `aborted`.
|
|
61
|
-
- Never store tokens, cookies, passwords, form answers, salary or contact data.
|
|
62
|
-
3. Verify `logs/runs/current-session-checkpoint.json` via `node ./bin/cli.mjs verify logs/runs/current-session-checkpoint.json` (or re-read it to confirm valid JSON).
|
|
63
|
-
4. **Compact:** in your own working memory keep only: the checkpoint, `config/invariants.txt` (`<500` bytes), `AGENTS.md` hard guardrails, and the `skills/REGISTRY.md` row for the next phase. Re-read `config/invariants.txt`, `AGENTS.md` "Hard guardrails", and the single skill needed next (progressive disclosure). Drop earlier job descriptions and snapshots from consideration.
|
|
64
|
-
|
|
65
|
-
### B. Resume from a checkpoint (new session or after memory loss)
|
|
66
|
-
1. Read `AGENTS.md`, `skills/REGISTRY.md`, then run `node ./bin/cli.mjs career run-resume [--run-id <YYYY-MM-DD>] [--json]` (or inspect `logs/runs/current-session-checkpoint.json`).
|
|
67
|
-
2. If `phase` is `finished` or `aborted`, `career run-resume` refuses to reopen the closed run; start a new run normally via `veycraft career run-start`.
|
|
68
|
-
3. `career run-resume` re-derives counts, caps, and queue state from `logs/applications-log.json` and `logs/skipped-jobs.json` (the ledger always wins and moves any already-handled job out of `queue` into `processed_job_ids`).
|
|
69
|
-
4. Re-verify auth (`skills/00-daily-run.md` step 1) and recompute the effective cap; time may have passed.
|
|
70
|
-
5. Any approval given before the interruption is EXPIRED (`approval_expired_on_resume: true`, `submission_authorized: false`, `skills/04-fill-and-apply.md`). `batch_selection` survives only within the same `run_id` and only for jobs still in `queue`; re-check each `job_id` in the journal before opening it.
|
|
71
|
-
6. Continue from `next_action` (or inspect `node ./bin/cli.mjs career next [--json]`).
|
|
72
|
-
|
|
73
|
-
### C. End of run
|
|
74
|
-
Run `node ./bin/cli.mjs career run-finish [--run-id <YYYY-MM-DD>] --status <completed|aborted>` to set `phase` to `finished` (or `aborted`) and clear `queue: []`. Do not delete the file; the next run overwrites it.
|
|
75
|
-
|
|
76
|
-
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
77
|
-
|
|
78
|
-
### Anti-patterns
|
|
79
|
-
- ❌ Trusting the checkpoint's `applied_today` over `logs/applications-log.json` → ✅ the journal always wins.
|
|
80
|
-
- ❌ Saving session cookies or form answers in the checkpoint → ✅ store IDs, counts, and `next_action` only.
|
|
81
|
-
- ❌ Resuming and submitting with an `APPROVE` given before the reset → ✅ show the summary again and wait.
|
|
82
|
-
- ❌ Checkpointing right after the Submit click, before checking the receipt → ✅ finish `skills/meta-self-verification.md` first.
|
|
83
|
-
- ❌ Reloading every playbook after compaction → ✅ `AGENTS.md` guardrails + the one skill for the next phase.
|
|
84
|
-
|
|
85
|
-
### Self-verification check (before reporting this step complete)
|
|
86
|
-
- [ ] `logs/runs/current-session-checkpoint.json` is valid JSON matching the checkpoint structure
|
|
87
|
-
- [ ] checkpoint counts agree with `logs/applications-log.json` for this `run_id`
|
|
88
|
-
- [ ] after compaction `AGENTS.md` hard guardrails and only the next phase's skill were re-read
|
|
1
|
+
---
|
|
2
|
+
name: meta-context-compaction
|
|
3
|
+
version: "1.0.0"
|
|
4
|
+
description: Load when a long run has processed 3-5 applications since the last checkpoint, the conversation is getting long, or a new session must resume an interrupted run; writes and re-reads logs/runs/current-session-checkpoint.json so rules and progress survive context loss.
|
|
5
|
+
triggers:
|
|
6
|
+
- long-run-memory-compaction
|
|
7
|
+
- every 3-5 applications or 15 jobs processed
|
|
8
|
+
- resuming a run in a new chat/session
|
|
9
|
+
requires_mcp:
|
|
10
|
+
- none
|
|
11
|
+
preconditions:
|
|
12
|
+
- an active daily run in progress (or a checkpoint file to resume from)
|
|
13
|
+
requires_skills:
|
|
14
|
+
- log-and-insights
|
|
15
|
+
verification:
|
|
16
|
+
- logs/runs/current-session-checkpoint.json is valid JSON matching the checkpoint structure
|
|
17
|
+
- checkpoint counts agree with logs/applications-log.json for this run_id
|
|
18
|
+
- after compaction AGENTS.md hard guardrails and only the next phase's skill were re-read
|
|
19
|
+
---
|
|
20
|
+
# Long-run memory compaction
|
|
21
|
+
|
|
22
|
+
## When to Use & Preconditions
|
|
23
|
+
|
|
24
|
+
Use during long daily runs so the agent does not forget caps, approvals or which jobs are done, and when a run must resume after the chat was reset. The journal (`logs/applications-log.json`) is always the source of truth; the checkpoint is a compact cache and never authorizes anything.
|
|
25
|
+
|
|
26
|
+
- **Load when:** long-run-memory-compaction; every 3–5 applications or 15 jobs processed; resuming a run in a new chat/session.
|
|
27
|
+
- **Preconditions (stop if any is false):**
|
|
28
|
+
- an active daily run in progress (or a checkpoint file to resume from)
|
|
29
|
+
- **Requires skills:** `log-and-insights`. **MCP:** none.
|
|
30
|
+
|
|
31
|
+
## Deterministic Step-by-Step Execution
|
|
32
|
+
|
|
33
|
+
### A. Write a checkpoint
|
|
34
|
+
1. Finish the current atomic step first (never checkpoint between a reservation and its receipt check).
|
|
35
|
+
2. Run `node ./bin/cli.mjs career run-checkpoint [--run-id <YYYY-MM-DD>] [--phase <phase>] [--next-action "<txt>"] [--awaiting-job-id <id> --awaiting-question "<q>"] [--clear-awaiting-job-id <id>] [--consecutive-errors <n>] [--notes "<txt>"] [--json]` (which acquires `logs/.ledger.lock`, derives authoritative counts and caps from `logs/applications-log.json` and `logs/skipped-jobs.json`, reconciles `queue` and `processed_job_ids`, enforces `submission_authorized: false`, auto-aborts on `consecutive_errors >= 3`, and atomically writes `logs/runs/current-session-checkpoint.json` + `logs/runs/YYYY-MM-DD.json`):
|
|
36
|
+
|
|
37
|
+
```json
|
|
38
|
+
{
|
|
39
|
+
"kind": "session_checkpoint",
|
|
40
|
+
"version": 1,
|
|
41
|
+
"run_id": "2026-11-18",
|
|
42
|
+
"updated_at": "2026-11-18T10:42:00Z",
|
|
43
|
+
"phase": "applying",
|
|
44
|
+
"workflow_mode": "batch_review_first",
|
|
45
|
+
"dry_run": true,
|
|
46
|
+
"approval_mode": "approve_before_submit",
|
|
47
|
+
"submission_authorized": false,
|
|
48
|
+
"approval_expired_on_resume": false,
|
|
49
|
+
"caps": { "effective_daily_cap": 5, "applied_today": 2, "reserved_unresolved": 0, "per_platform_applied": { "linkedin": 2 } },
|
|
50
|
+
"processed_job_ids": ["linkedin:4012", "linkedin:4013"],
|
|
51
|
+
"queue": ["greenhouse:acme-77"],
|
|
52
|
+
"awaiting_owner": [{ "job_id": "linkedin:4015", "question": "Notice period in weeks?" }],
|
|
53
|
+
"batch_selection": "APPLY 1,3",
|
|
54
|
+
"consecutive_errors": 0,
|
|
55
|
+
"next_action": "Open greenhouse:acme-77 from its folder logs/resumes/acme-backend-greenhouse-acme-77/",
|
|
56
|
+
"notes": ""
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
- `phase`: one of `readiness`, `discovery`, `triage`, `awaiting_owner`, `applying`, `logging`, `reporting`, `finished`, `aborted`.
|
|
61
|
+
- Never store tokens, cookies, passwords, form answers, salary or contact data.
|
|
62
|
+
3. Verify `logs/runs/current-session-checkpoint.json` via `node ./bin/cli.mjs verify logs/runs/current-session-checkpoint.json` (or re-read it to confirm valid JSON).
|
|
63
|
+
4. **Compact:** in your own working memory keep only: the checkpoint, `config/invariants.txt` (`<500` bytes), `AGENTS.md` hard guardrails, and the `skills/REGISTRY.md` row for the next phase. Re-read `config/invariants.txt`, `AGENTS.md` "Hard guardrails", and the single skill needed next (progressive disclosure). Drop earlier job descriptions and snapshots from consideration.
|
|
64
|
+
|
|
65
|
+
### B. Resume from a checkpoint (new session or after memory loss)
|
|
66
|
+
1. Read `AGENTS.md`, `skills/REGISTRY.md`, then run `node ./bin/cli.mjs career run-resume [--run-id <YYYY-MM-DD>] [--json]` (or inspect `logs/runs/current-session-checkpoint.json`).
|
|
67
|
+
2. If `phase` is `finished` or `aborted`, `career run-resume` refuses to reopen the closed run; start a new run normally via `veycraft career run-start`.
|
|
68
|
+
3. `career run-resume` re-derives counts, caps, and queue state from `logs/applications-log.json` and `logs/skipped-jobs.json` (the ledger always wins and moves any already-handled job out of `queue` into `processed_job_ids`).
|
|
69
|
+
4. Re-verify auth (`skills/00-daily-run.md` step 1) and recompute the effective cap; time may have passed.
|
|
70
|
+
5. Any approval given before the interruption is EXPIRED (`approval_expired_on_resume: true`, `submission_authorized: false`, `skills/04-fill-and-apply.md`). `batch_selection` survives only within the same `run_id` and only for jobs still in `queue`; re-check each `job_id` in the journal before opening it.
|
|
71
|
+
6. Continue from `next_action` (or inspect `node ./bin/cli.mjs career next [--json]`).
|
|
72
|
+
|
|
73
|
+
### C. End of run
|
|
74
|
+
Run `node ./bin/cli.mjs career run-finish [--run-id <YYYY-MM-DD>] --status <completed|aborted>` to set `phase` to `finished` (or `aborted`) and clear `queue: []`. Do not delete the file; the next run overwrites it.
|
|
75
|
+
|
|
76
|
+
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
77
|
+
|
|
78
|
+
### Anti-patterns
|
|
79
|
+
- ❌ Trusting the checkpoint's `applied_today` over `logs/applications-log.json` → ✅ the journal always wins.
|
|
80
|
+
- ❌ Saving session cookies or form answers in the checkpoint → ✅ store IDs, counts, and `next_action` only.
|
|
81
|
+
- ❌ Resuming and submitting with an `APPROVE` given before the reset → ✅ show the summary again and wait.
|
|
82
|
+
- ❌ Checkpointing right after the Submit click, before checking the receipt → ✅ finish `skills/meta-self-verification.md` first.
|
|
83
|
+
- ❌ Reloading every playbook after compaction → ✅ `AGENTS.md` guardrails + the one skill for the next phase.
|
|
84
|
+
|
|
85
|
+
### Self-verification check (before reporting this step complete)
|
|
86
|
+
- [ ] `logs/runs/current-session-checkpoint.json` is valid JSON matching the checkpoint structure
|
|
87
|
+
- [ ] checkpoint counts agree with `logs/applications-log.json` for this `run_id`
|
|
88
|
+
- [ ] after compaction `AGENTS.md` hard guardrails and only the next phase's skill were re-read
|