veycraft 0.0.0-stage → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent/workflows/apply-url.md +8 -0
- package/.agent/workflows/build-portfolio.md +7 -0
- package/.agent/workflows/daily-run.md +7 -0
- package/.agent/workflows/demo.md +23 -0
- package/.agent/workflows/freelance-bid.md +7 -0
- package/.agent/workflows/freelance-service.md +7 -0
- package/.agent/workflows/github-audit.md +7 -0
- package/.agent/workflows/github-remote.md +7 -0
- package/.agent/workflows/linkedin-growth.md +7 -0
- package/.agent/workflows/portfolio-design.md +7 -0
- package/.agent/workflows/profile-update.md +8 -0
- package/.agent/workflows/quick-tailor.md +20 -0
- package/.agent/workflows/setup.md +8 -0
- package/.agent/workflows/tailor-cv.md +8 -0
- package/.agent/workflows/weekly-report.md +7 -0
- package/.agents/skills/apply-url/SKILL.md +10 -0
- package/.agents/skills/contract-and-nda-auditor/SKILL.md +9 -0
- package/.agents/skills/daily-run/SKILL.md +10 -0
- package/.agents/skills/demo/SKILL.md +10 -0
- package/.agents/skills/freelance-offer-radar-and-batch-bidder/SKILL.md +10 -0
- package/.agents/skills/freelance-profile-and-service-publisher/SKILL.md +10 -0
- package/.agents/skills/github-cli-remote-manager/SKILL.md +10 -0
- package/.agents/skills/linkedin-growth/SKILL.md +10 -0
- package/.agents/skills/offer-negotiator/SKILL.md +9 -0
- package/.agents/skills/profile-intelligence-engine/SKILL.md +10 -0
- package/.agents/skills/quick-tailor/SKILL.md +10 -0
- package/.agents/skills/recruiter-inbox-triage/SKILL.md +9 -0
- package/.agents/skills/rejection-pattern-analyzer/SKILL.md +9 -0
- package/.agents/skills/score-calibration/SKILL.md +9 -0
- package/.agents/skills/setup/SKILL.md +10 -0
- package/.agents/skills/tailor-cv/SKILL.md +10 -0
- package/.agents/skills/weekly-report/SKILL.md +10 -0
- package/.aiassistant/rules/AGENTS.md +11 -0
- package/.aider.conf.yml +5 -0
- package/.amazonq/rules/job-hunter.md +12 -0
- package/.augment/rules/job-hunter.md +17 -0
- package/.clinerules +14 -0
- package/.continue/rules/job-hunter.md +15 -0
- package/.cursor/rules/job-hunter.mdc +9 -0
- package/.github/CODEOWNERS +3 -0
- package/.github/copilot-instructions.md +5 -0
- package/.github/prompts/daily-run.prompt.md +10 -0
- package/.goosehints +12 -0
- package/.junie/guidelines.md +12 -0
- package/.kiro/steering/job-hunter.md +15 -0
- package/.openhands/microagents/repo.md +18 -0
- package/.roo/rules/job-hunter.md +12 -0
- package/.rules +12 -0
- package/.trae/rules/project_rules.md +10 -0
- package/.windsurfrules +14 -0
- package/AGENTS.md +126 -0
- package/AUTHORS.md +13 -0
- package/CHANGELOG.md +309 -0
- package/CLAUDE.md +22 -0
- package/CRUSH.md +12 -0
- package/GEMINI.md +42 -0
- package/HIRED.md +32 -0
- package/LICENSE +26 -0
- package/NOTICE +22 -0
- package/PLATFORMS.md +93 -0
- package/PROVENANCE.json +19 -0
- package/README.ar.md +238 -0
- package/README.md +208 -3
- package/WARP.md +12 -0
- package/adapters/apps/chatgpt-and-web-chats.md +18 -0
- package/adapters/apps/devin-desktop.md +13 -0
- package/adapters/apps/gemini-and-copilot.md +25 -0
- package/adapters/apps/hermes-pi-factory-openclaw.md +24 -0
- package/adapters/apps/openai-codex-cli.md +23 -0
- package/adapters/apps/opencode-and-kilocode.md +16 -0
- package/adapters/apps/qwen-mistral-kimi-deepseek.md +37 -0
- package/adapters/models/claude.md +28 -0
- package/adapters/models/deepseek-qwen-local.md +24 -0
- package/adapters/models/gemini.md +16 -0
- package/adapters/models/grok-and-kimi.md +14 -0
- package/adapters/models/mistral-and-llama.md +13 -0
- package/adapters/models/openai.md +16 -0
- package/bin/browser-payloads.mjs +507 -0
- package/bin/career-intelligence.mjs +8090 -0
- package/bin/cli.mjs +2032 -0
- package/bin/core-ops.mjs +1855 -0
- package/bin/fast-ops.mjs +1392 -0
- package/bin/fs-safety.mjs +1091 -0
- package/bin/mcp-server.mjs +787 -0
- package/bin/notion-sync.mjs +4625 -0
- package/bin/profile-intelligence.mjs +690 -0
- package/bin/ui-server.mjs +948 -0
- package/commands/apply-url.md +2 -0
- package/commands/build-portfolio.md +2 -0
- package/commands/daily-run.md +2 -0
- package/commands/demo.md +2 -0
- package/commands/freelance-bid.md +2 -0
- package/commands/freelance-service.md +2 -0
- package/commands/github-audit.md +2 -0
- package/commands/github-remote.md +2 -0
- package/commands/linkedin-growth.md +2 -0
- package/commands/portfolio-design.md +2 -0
- package/commands/profile-update.md +1 -0
- package/commands/quick-tailor.md +2 -0
- package/commands/setup.md +2 -0
- package/commands/tailor-cv.md +2 -0
- package/commands/weekly-report.md +2 -0
- package/config/guardrails.yaml +67 -0
- package/config/invariants.txt +7 -0
- package/context/DROP_YOUR_FILES_HERE.md +9 -0
- package/context/cv.md.example +12 -0
- package/context/feeds.yaml.example +27 -0
- package/context/form-answers.yaml.example +45 -0
- package/context/preferences.yaml.example +15 -0
- package/context/profile.md.example +20 -0
- package/context/readiness-state.json.example +64 -0
- package/context/resume-data.json.example +29 -0
- package/context/resume-facts.json.example +1 -0
- package/context/targets.yaml.example +433 -0
- package/docs/ARCHITECTURE.md +106 -0
- package/docs/COMPATIBILITY.md +92 -0
- package/docs/OPTIONAL_MCP_PLUGINS.md +49 -0
- package/docs/SKILL_CATALOG.md +73 -0
- package/docs/chat-commands.md +33 -0
- package/docs/demo-dashboard.html +646 -0
- package/docs/execution-safety.md +34 -0
- package/docs/index.html +634 -0
- package/docs/platform-registry.md +23 -0
- package/docs/repository-audit.md +12 -0
- package/evals/PROMPT.md +31 -0
- package/evals/README.md +36 -0
- package/evals/RUBRIC.md +51 -0
- package/evals/approval-gate.test.mjs +432 -0
- package/evals/career-intelligence.test.mjs +4647 -0
- package/evals/fast-ops.test.mjs +614 -0
- package/evals/fixtures/boards/bayt-mock.html +255 -0
- package/evals/fixtures/boards/gulftalent-mock.html +250 -0
- package/evals/fixtures/boards/naukri-mock.html +262 -0
- package/evals/fixtures/boards/stepstone-mock.html +245 -0
- package/evals/fixtures/candidate-profile.md +40 -0
- package/evals/fixtures/forms/ashby-mock.html +41 -0
- package/evals/fixtures/forms/greenhouse-mock.html +77 -0
- package/evals/fixtures/forms/lever-mock.html +46 -0
- package/evals/fixtures/forms/workday-mock.html +328 -0
- package/evals/fixtures/ground-truth.json +53 -0
- package/evals/fixtures/jds/01-strong-match.md +22 -0
- package/evals/fixtures/jds/02-prompt-injection-trap.md +23 -0
- package/evals/fixtures/jds/03-ghost-expired-job.md +14 -0
- package/evals/fixtures/jds/04-blacklist-duplicate.md +15 -0
- package/evals/fixtures/jds/05-stretch-mismatch.md +13 -0
- package/evals/journeys/journey-matrix.json +333 -0
- package/evals/journeys/run-journeys.test.mjs +1201 -0
- package/evals/mcp-server.test.mjs +665 -0
- package/evals/mena-boards.test.mjs +339 -0
- package/evals/naukri-board.test.mjs +304 -0
- package/evals/notion-sync.test.mjs +3479 -0
- package/evals/profile-intelligence.test.mjs +529 -0
- package/evals/results/baseline-verified-run.json +125 -0
- package/evals/results/live-agent-eval-run.json +143 -0
- package/evals/stepstone-board.test.mjs +318 -0
- package/evals/ui-server.test.mjs +502 -0
- package/evals/workday-fixture.test.mjs +268 -0
- package/examples/outputs/sample-interrogation-transcript.md +36 -0
- package/examples/outputs/sample-interview-dossier.md +33 -0
- package/examples/outputs/sample-outreach-75-words.md +13 -0
- package/examples/outputs/sample-tailoring-notes.md +70 -0
- package/examples/sandbox-demo/demo-profile.md +45 -0
- package/examples/sandbox-demo/expected-mission-control.md +16 -0
- package/examples/sandbox-demo/sample-jds.md +39 -0
- package/glama.json +6 -0
- package/llms.txt +70 -0
- package/mcp/README.md +80 -0
- package/mcp/claude_desktop_config.example.json +47 -0
- package/mcp/mcp.template.json +33 -0
- package/opencode.json +42 -0
- package/package.json +115 -6
- package/prompts/partials/pacing.md +8 -0
- package/prompts/partials/snapshot-first.md +4 -0
- package/prompts/partials/stop-conditions.md +5 -0
- package/schemas/application-ledger.schema.json +272 -0
- package/schemas/career-insights.schema.json +111 -0
- package/schemas/cv-versions.schema.json +83 -0
- package/schemas/notion-sync-plan.schema.json +338 -0
- package/schemas/profile-update-plan.schema.json +133 -0
- package/schemas/readiness.schema.json +484 -0
- package/schemas/resume-data.schema.json +171 -0
- package/scripts/install.ps1 +107 -0
- package/scripts/install.sh +130 -0
- package/skills/00-daily-run.md +89 -0
- package/skills/00-interrogate-and-onboard.md +87 -0
- package/skills/01-resume-ingestion.md +76 -0
- package/skills/02-discover-and-triage.md +121 -0
- package/skills/03-tailor-resume-and-verify.md +114 -0
- package/skills/04-fill-and-apply.md +108 -0
- package/skills/05-outreach-and-interview-prep.md +80 -0
- package/skills/06-log-and-insights.md +99 -0
- package/skills/07-persona-switcher.md +61 -0
- package/skills/08-follow-up-radar.md +59 -0
- package/skills/09-offer-negotiator.md +62 -0
- package/skills/10-autonomous-scheduler-loop.md +64 -0
- package/skills/11-portfolio-and-github-auditor.md +130 -0
- package/skills/12-recruiter-inbox-triage.md +69 -0
- package/skills/13-company-due-diligence.md +60 -0
- package/skills/14-privacy-pii-shield.md +56 -0
- package/skills/15-multilingual-adaptation.md +61 -0
- package/skills/16-rejection-pattern-analyzer.md +60 -0
- package/skills/17-score-calibration.md +61 -0
- package/skills/18-condition-based-browser-waiting.md +65 -0
- package/skills/19-on-demand-mcp-routing.md +69 -0
- package/skills/20-skill-authoring-standard.md +61 -0
- package/skills/21-ats-keyword-heatmap.md +60 -0
- package/skills/22-technical-assessment-architect.md +59 -0
- package/skills/23-contract-and-nda-auditor.md +60 -0
- package/skills/24-circuit-breaker-and-antiban.md +68 -0
- package/skills/25-prompt-injection-defense.md +59 -0
- package/skills/26-deduplication-and-blacklist-guard.md +59 -0
- package/skills/27-universal-cv-builder.md +99 -0
- package/skills/28-recruiter-brand-and-domain-intelligence.md +99 -0
- package/skills/29-portfolio-builder-and-deployer.md +160 -0
- package/skills/30-portfolio-design-system-and-qa.md +163 -0
- package/skills/54-github-cli-remote-manager.md +144 -0
- package/skills/55-freelance-profile-and-service-publisher.md +90 -0
- package/skills/56-freelance-offer-radar-and-batch-bidder.md +94 -0
- package/skills/REGISTRY.md +98 -0
- package/skills/ats/ashby.md +54 -0
- package/skills/ats/breezyhr.md +54 -0
- package/skills/ats/greenhouse.md +54 -0
- package/skills/ats/lever.md +54 -0
- package/skills/ats/smartrecruiters.md +54 -0
- package/skills/ats/taleo.md +43 -0
- package/skills/ats/workday.md +49 -0
- package/skills/fallback-no-mcp.md +57 -0
- package/skills/linkedin-growth.md +188 -0
- package/skills/meta-context-compaction.md +88 -0
- package/skills/meta-dom-recovery.md +63 -0
- package/skills/meta-self-verification.md +75 -0
- package/skills/meta-structured-debugging.md +69 -0
- package/skills/platforms/_template.md +69 -0
- package/skills/platforms/ats-engines.md +67 -0
- package/skills/platforms/b2b-contract-networks.md +59 -0
- package/skills/platforms/global-boards.md +122 -0
- package/skills/platforms/linkedin.md +162 -0
- package/skills/platforms/mena-boards.md +99 -0
- package/skills/platforms/remote-boards.md +64 -0
- package/skills/platforms/wellfound.md +59 -0
- package/skills/profile-intelligence-engine.md +98 -0
- package/skills/skills-manifest.json +1730 -0
- package/templates/analytics-dashboard.html +1106 -0
- package/templates/ats-cover-letter-template.html +29 -0
- package/templates/ats-resume-template.html +38 -0
- package/templates/ats-resume.html +3 -0
- package/ui/app.js +1113 -0
- package/ui/favicon.svg +4 -0
- package/ui/index.html +53 -0
- package/ui/styles.css +595 -0
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: linkedin-growth
|
|
3
|
+
version: "3.1.0"
|
|
4
|
+
description: Load when the owner runs /linkedin-growth or asks (in English or Arabic) to audit or optimize a LinkedIn profile for Recruiter search ranking and credibility signals, align LinkedIn with a CV, diagnose funnel or analytics bottlenecks, build a LinkedIn content/carousel/comment-first strategy, set up a LinkedIn Services Page and inbound freelance client funnel, or draft posts, concise proposals, and <=75-word outreach; defaults to DRAFT_ONLY and permits live updates or publishing only with verified signed-in Playwright auth, explicit APPROVE, and post-action snapshot verification.
|
|
5
|
+
triggers:
|
|
6
|
+
- /linkedin-growth
|
|
7
|
+
- review or audit my LinkedIn profile
|
|
8
|
+
- improve my LinkedIn headline or About section
|
|
9
|
+
- make my LinkedIn profile consistent with my CV
|
|
10
|
+
- optimize my LinkedIn profile for target roles
|
|
11
|
+
- check my LinkedIn rank, analytics, or profile errors
|
|
12
|
+
- LinkedIn algorithm, reach, dwell time, or topical authority strategy
|
|
13
|
+
- LinkedIn comment-first strategy, content pillars, or native PDF carousel
|
|
14
|
+
- set up or optimize my LinkedIn Services page and inbound freelance client funnel
|
|
15
|
+
- write or publish a LinkedIn post, concise client proposal, or personal-brand copy
|
|
16
|
+
- add open-source projects or optimize LinkedIn skills, credibility signals, and Featured section
|
|
17
|
+
- ظبط لينكد إن / عدل لينكد إن / تحسين بروفايل وصفحة خدمات لينكد إن للفريلانس
|
|
18
|
+
requires_mcp:
|
|
19
|
+
- none
|
|
20
|
+
optional_mcp:
|
|
21
|
+
- playwright
|
|
22
|
+
preconditions:
|
|
23
|
+
- verified candidate facts available (context/profile.md + context/cv.md OR session-confirmed CV)
|
|
24
|
+
- accessible LinkedIn profile data (pasted text, LinkedIn Save-to-PDF, screenshot, or read-only signed-in Playwright inspection) and optional target role(s)/JDs or service offering
|
|
25
|
+
- DRAFT_ONLY by default; explicit owner APPROVE required before any live LinkedIn Save, Post, Comment, Proposal, or Send
|
|
26
|
+
requires_skills:
|
|
27
|
+
- tailor-resume-and-verify
|
|
28
|
+
- outreach-and-interview-prep
|
|
29
|
+
- recruiter-brand-and-domain-intelligence
|
|
30
|
+
- circuit-breaker-and-antiban
|
|
31
|
+
- meta-self-verification
|
|
32
|
+
verification:
|
|
33
|
+
- Confirmed Platform Mechanics are separated explicitly from Observed Distribution Heuristics with 0 fabricated algorithm multipliers or fake reach percentages
|
|
34
|
+
- 0-100 Recruiter-SEO scorecard, credibility signals, Services Page taxonomy (<= 10 verified services), and CV-consistency gap table trace strictly to inspected profile sections and verified candidate facts (0 hallucinations, 0 of the 19 canonical banned AI cliches, 0 prose em-dashes)
|
|
35
|
+
- Anti-Pod, Anti-Automation, and genuine-account review ToS guardrails enforced; <=75-word outreach and initial client proposals verified via node ./bin/cli.mjs pre-submit; full audit and drafts saved as DRAFT_ONLY to logs/insights/linkedin-seo-audit-YYYY-MM-DD.md
|
|
36
|
+
- any user-approved live LinkedIn Save, Post, Comment, Proposal, or Send occurred only with verified signed-in auth, explicit APPROVE on exact copy, 3-9s pacing, and fresh post-action browser_snapshot verification
|
|
37
|
+
---
|
|
38
|
+
# Dual-Engine LinkedIn Growth, Recruiter Search, Feed Algorithm & Services Funnel Strategist (`/linkedin-growth`)
|
|
39
|
+
|
|
40
|
+
## When to Use & Preconditions
|
|
41
|
+
|
|
42
|
+
Use when the owner invokes `/linkedin-growth` or naturally asks (in English or Arabic, such as `"optimize linkedin"`, `"LinkedIn Services"`, `"ظبط لينكد إن"`, `"عدل لينكد إن"`) to audit or optimize their LinkedIn profile for inbound Recruiter discovery and trust signals (Engine A), build organic feed authority via posts, carousels, or Comment-First engagement (Engine B), enforce LinkedIn ToS and anti-slop guardrails (Engine C), set up and operate a LinkedIn Services Page inbound freelance client funnel (Engine D), align LinkedIn with their CV, or draft `<= 75`-word outreach and initial proposals. Never edit LinkedIn profiles as a side effect of `/daily-run`.
|
|
43
|
+
|
|
44
|
+
- **Load when:** `/linkedin-growth`; `"review my LinkedIn profile"`; `"optimize linkedin"`; `"improve my LinkedIn headline and About section"`; `"make my profile consistent with my CV"`; `"LinkedIn Services page / freelance clients"`; `"LinkedIn algorithm / dwell time / comment strategy / carousel / topical authority"`; `"ظبط لينكد إن"`; `"عدل لينكد إن"`; `"تجهيز صفحة خدمات لينكد إن"`.
|
|
45
|
+
- **Preconditions (stop if any is false):**
|
|
46
|
+
- verified candidate facts exist (`context/profile.md` + `context/cv.md` OR session-confirmed CV; never force full 5-gate `/setup`)
|
|
47
|
+
- accessible LinkedIn profile data exists (pasted text, LinkedIn `Save to PDF`, screenshot, or verified signed-in Playwright read-only session)
|
|
48
|
+
- `DRAFT_ONLY` is active by default; explicit owner `APPROVE` is required before any live Save, Post, Comment, Proposal, or Send
|
|
49
|
+
- **Requires skills:** `tailor-resume-and-verify`, `outreach-and-interview-prep`, `recruiter-brand-and-domain-intelligence`, `circuit-breaker-and-antiban`, `meta-self-verification`. **MCP:** none (`playwright` optional; never equate Playwright availability with LinkedIn authentication or permission).
|
|
50
|
+
|
|
51
|
+
## Deterministic Step-by-Step Execution
|
|
52
|
+
|
|
53
|
+
### 1. Epistemic Discipline - Confirmed Platform Mechanics vs. Observed Heuristics
|
|
54
|
+
Always label recommendations honestly across two categories so the owner receives real signal rather than growth-hacker folklore:
|
|
55
|
+
|
|
56
|
+
| Category | What Belongs Here | Guidance Rule |
|
|
57
|
+
|---|---|---|
|
|
58
|
+
| **Confirmed Platform Mechanics** | LinkedIn Recruiter indexed fields (`Headline <= 220` chars, `Experience` titles, `Skills` 50-skill cap & Experience-linked skill tags), mobile `About` fold truncation (`~140-210` chars), `Open to Work (Recruiters only)`, location/geo-radius & work-mode filters, and LinkedIn ToS bans on automation/pods | Enforce deterministically as hard structural hygiene and compliance constraints |
|
|
59
|
+
| **Observed Distribution Heuristics** | Topical authority (profile-to-post semantic alignment), dwell time & hook expansion, substantive multi-sentence comment velocity, author reply loops, native format tradeoffs, and external link placement choices | Frame transparently as goal-dependent best practices observed in the wild, never as guaranteed secret formulas |
|
|
60
|
+
|
|
61
|
+
- **Hard Anti-Myth Rule:** **NEVER** fabricate secret algorithm multipliers or fake precision percentages (for example, never claim `"comments = 15x likes"`, `"external links cut reach by 60%"`, or `"post at 8:03 AM Tuesday for 3x reach"`).
|
|
62
|
+
|
|
63
|
+
### 2. Mode 1 - Read-Only Profile Inspection & CV-Consistency Gap Check
|
|
64
|
+
1. Read verified candidate facts from `context/profile.md`, `context/cv.md`, `context/resume-data.json`, and `context/github-projects.md` if present (or ask naturally for the owner's CV if absent). This is the **only** permitted source of employers, dates, titles, credentials, tools, and numeric outcomes.
|
|
65
|
+
2. Collect current LinkedIn sections (`Headline`, `About`, `Experience`, `Featured`, `Skills`, `Open to Work`, plus `Licenses & Certifications`, `Projects`, `Publications`, `Services`) through the cleanest accessible path:
|
|
66
|
+
- Offline: pasted profile text, LinkedIn `Save to PDF`, or screenshots (works 100% without Playwright).
|
|
67
|
+
- Optional Playwright: ONLY when a named signed-in LinkedIn account indicator is confirmed, extract compact section text read-only via `browser_evaluate` (`3-9 s` pacing; trip `skills/24-circuit-breaker-and-antiban.md` immediately on any authwall, CAPTCHA, 2FA, or rate-limit banner and fall back to offline input).
|
|
68
|
+
3. Detect target **Domain Archetype**, **Buyer Pain Points**, and **Recruiter Boolean** targets via `skills/28-recruiter-brand-and-domain-intelligence.md` (Steps 1, 2, and 4). Flag CV-to-LinkedIn date/title/skill contradictions and partition target keywords from `1-5` target JDs into: **Present on LinkedIn**, **Verified-but-Missing (Safe to Surface)**, and **True Gaps (NEVER Claim)**.
|
|
69
|
+
|
|
70
|
+
### 3. Engine A - LinkedIn Recruiter & Search Ranking Optimization (Inbound Discovery)
|
|
71
|
+
1. **Score Current Profile on the Transparent `0-100` Recruiter-SEO Rubric:**
|
|
72
|
+
|
|
73
|
+
| Section | Max Score | Grounded Scoring Breakdown |
|
|
74
|
+
|---|---:|---|
|
|
75
|
+
| **1. Headline (`<= 220` chars)** | **25** | Canonical target role match (`0-10`) + core Recruiter-filter keywords/credentials (`0-10`) + verified concrete impact hook (`0-5`) |
|
|
76
|
+
| **2. About Mobile Fold & Clarity** | **25** | Above-the-fold first `~140-210` chars on mobile / `<= 220` chars desktop hook (`0-8`) + natural verified keyword coverage (`0-10`) + domain clarity & direct CTA (`0-7`) |
|
|
77
|
+
| **3. Experience Bullets & Titles** | **30** | Concrete action + verified numeric/operational outcome (`0-15`) + searchable canonical title & CV parity (`0-10`) + plain human prose with `0` banned cliches/em-dashes (`0-5`) |
|
|
78
|
+
| **4. Featured & Multi-Role Skills** | **20** | Top 3-5 skills linked across multiple Experience roles/Projects within 50-skill cap (`0-10`) + focused `1-3` Featured proof assets (`0-10`) |
|
|
79
|
+
| **Total Recruiter-SEO Score** | **100** | `<60` Needs Rebuild · `60-79` Solid Base · `80-100` Recruiter-Ready |
|
|
80
|
+
|
|
81
|
+
2. **Multi-Role Skills-to-Experience Depth & 50-Skill Cap:**
|
|
82
|
+
- Fix spelling, spacing, and casing bugs across all industries (`Java Script` -> `JavaScript`, `Sales Force` -> `Salesforce`, `Financial Modelling` -> `Financial Modeling`, `HIPPA` -> `HIPAA`) that break Recruiter Boolean queries.
|
|
83
|
+
- Map the candidate's **top 3-5 priority domain skills** across **multiple** verified Experience roles plus Projects and Certifications so LinkedIn Recruiter's `"Years of Experience per Skill"` filter calculates full verified tenure accurately. Curate pinned top skills to match the primary target role.
|
|
84
|
+
3. **Experience Title Weighting & Recruiter Boolean Alignment:**
|
|
85
|
+
- Standard searchable role titles inside **Experience** carry higher Recruiter search weight than About prose. Align quirky internal titles only via truthful confirmed equivalents (`Growth Lead (Performance Marketing)`), never inventing seniority.
|
|
86
|
+
- Mirror `(Primary Title OR Adjacent Title) AND (Core Skill 1 OR Core Skill 2)` consistently across Headline, Current Experience Title, Top Skills, and About fold.
|
|
87
|
+
4. **Activity, Freshness, Responsiveness & Geo-Radius Signals:**
|
|
88
|
+
- Optimize for LinkedIn Recruiter `"Likely to Respond"` and Active Talent spotlights via prompt, polite InMail replies (even when declining), periodic verified profile freshness, following target employers, and accurate **Location + Remote/Hybrid geo-radius** settings alongside `Open to Work (Recruiters only; never force public green banner unless requested)`.
|
|
89
|
+
5. **Mobile Fold, Featured Curation (`1-3` Assets) & 3-Stage Funnel Diagnostics:**
|
|
90
|
+
- Verify the first `~140-210` characters of `About` communicate the Buyer Pain Point + top proof before mobile `"See more"` truncation.
|
|
91
|
+
- Cap `Featured` strictly to **`1-3` high-proof assets** (such as a verified portfolio from `skills/29-portfolio-builder-and-deployer.md`, flagship repository from `skills/11-portfolio-and-github-auditor.md`, or verified case study/publication) to prevent choice paralysis.
|
|
92
|
+
- Diagnose private analytics across the 3-stage inbound funnel (`Search Appearances -> Profile Views -> Inbound Replies`) and emit a **Top-3 Immediate Fix Plan**:
|
|
93
|
+
- Low `Search Appearances` -> fix Headline, Experience titles, multi-role Experience-linked Skills, location/geo-radius, and `Open to Work (Recruiters only)` titles.
|
|
94
|
+
- Good `Search Appearances` but low `Profile Views` -> sharpen Headline differentiator, profile photo/banner clarity, and role relevance.
|
|
95
|
+
- Good `Profile Views` but low `Inbound Replies` -> strengthen mobile About fold (`~140-210` chars), `1-3` Featured proof assets, and Proof Density Hierarchy outcomes in Experience.
|
|
96
|
+
6. **Personal-Brand & Positioning Copywriting (`Buyer Pain Point -> Proof -> Outcome -> Soft CTA`):**
|
|
97
|
+
- Reframe independent, freelance, or solo consulting work as specialist delivery with verified client outcomes, scope, and compliance rigor tailored to the Domain Archetype (`skills/28-recruiter-brand-and-domain-intelligence.md`).
|
|
98
|
+
- Rank bullets strictly by Proof Density Hierarchy (`Quantified Business Outcome > Verified Operational Scope > Shipped Artifact/Deliverable > Credential/Tool`).
|
|
99
|
+
7. **Credibility & Trust Signals Audit (Recruiter & Client Conversion Hygiene):**
|
|
100
|
+
- **Visual First Impression:** Check profile photo clarity (sharp, well-lit, approachable professional framing) and cover banner positioning (clear value proposition or clean domain visual, zero cluttered text).
|
|
101
|
+
- **Custom URL & Identity Verification:** Flag messy numeric LinkedIn URLs (`linkedin.com/in/name-948271a`) for cleanup to a clean custom slug (`/in/your-name`), and recommend enabling LinkedIn's free Identity/Workplace Verification badge when eligible.
|
|
102
|
+
- **Social Proof & Active Credibility:** Audit for `>= 2` concrete, role- or client-specific **Recommendations**, genuine ongoing profile activity (real posts/comments and organic connections so recruiters and clients see an active account), and exact parity across **Licenses & Certifications** and **Projects** against the verified CV.
|
|
103
|
+
|
|
104
|
+
### 4. Engine B - LinkedIn Feed & Distribution Algorithm (Organic Authority & Reach)
|
|
105
|
+
1. **Topical Authority & Profile-to-Post Semantic Alignment:**
|
|
106
|
+
- Lock **`2-3` core domain content pillars** tightly aligned with the author's Headline, About, Experience, and Top Skills so LinkedIn's semantic topic classifier consistently routes posts to target hiring managers, buyers, and peers (avoiding random off-topic dilution).
|
|
107
|
+
2. **Dwell Time & Mobile Hook Mechanics (Observed Heuristic):**
|
|
108
|
+
- Open with a **2-line scroll-stopping hook** above mobile `"See more"` grounded in real tension, concrete numbers, or an operator lesson (zero cheap clickbait).
|
|
109
|
+
- Use crisp 1-2 sentence paragraphs, clean whitespace, and concrete visual/structural anchors so readers spend real time absorbing the post instead of bouncing.
|
|
110
|
+
3. **Comment-First Strategy (`DRAFT_ONLY` Low-Friction Growth Playbook):**
|
|
111
|
+
- Before or alongside publishing original posts, draft **`3-5` substantive, value-adding comments** targeting hiring managers, recruiters, and respected operators in the user's exact niche.
|
|
112
|
+
- Each comment must add multi-sentence domain perspective, a grounded counter-angle, or a verified operational example (never shallow `"Great post!"`, `"Thanks for sharing!"`, or `"CFBR"` filler).
|
|
113
|
+
4. **Meaningful Comment Velocity & Author Reply Loop:**
|
|
114
|
+
- Optimize posts to invite thoughtful practitioner responses rather than passive reactions, and coach the owner to reply substantively to early commenters with clarifying details or follow-up questions that extend the discussion organically.
|
|
115
|
+
5. **Native Format Tradeoffs Matrix (Goal-Driven Heuristic, Never Dogma):**
|
|
116
|
+
|
|
117
|
+
| Format | Best Goal & Use Case | Distribution & Conversion Tradeoff (Heuristic) |
|
|
118
|
+
|---|---|---|
|
|
119
|
+
| **Text-Only** | Sharp operator insights, contrarian field lessons, hiring-manager narratives | Fast to produce; relies heavily on a strong 2-line hook and scannable pacing for dwell time |
|
|
120
|
+
| **Text + Original Visual / Diagram** | Architecture diagrams, before/after benchmarks, workflow visuals, proof charts | Stops feed scroll and anchors credibility when the visual carries real information (avoid stock filler) |
|
|
121
|
+
| **Native PDF Document / Carousel** | Step-by-step frameworks, multi-slide case studies, teardown checklists (`5-10` crisp slides) | Strong dwell time as readers swipe natively inside the feed; keep slides clean and readable on mobile |
|
|
122
|
+
| **Native Video (Short)** | Product/portfolio walkthroughs, concise 45-90s domain explainers with captions | High trust and personality signal; always include burned-in or SRT captions for muted mobile viewing |
|
|
123
|
+
| **External Links** | Driving traffic to portfolio, live repo, application page, or long-form article | Goal-dependent tradeoff: place the link **in-body** when direct click-through conversion matters most, or keep the post native and reference the link via **Featured** or a follow-up comment when prioritizing in-feed reading |
|
|
124
|
+
|
|
125
|
+
6. **4 Domain-Adaptive Authority Post Templates (English, Arabic, or Bilingual):**
|
|
126
|
+
1. **Shipped Work / Initiative Launch:** Buyer problem solved -> execution/architecture highlight -> verified outcome -> link via chosen goal-driven placement.
|
|
127
|
+
2. **Field Problem & Operator Breakdown:** Real bottleneck, audit trap, compliance lesson, or customer friction -> exact resolution -> concrete takeaway.
|
|
128
|
+
3. **Before/After Verified Case Study:** Real verified revenue, retention, turnaround, safety, reliability, or workflow delta from confirmed work.
|
|
129
|
+
4. **Practical Modern Workflow:** Concrete tooling, QA, or AI-assisted workflow lesson grounded in actual practice (zero hype).
|
|
130
|
+
- Keep `0-3` targeted domain hashtags max (only when helpful for searchability; never hashtag spam).
|
|
131
|
+
|
|
132
|
+
### 5. Engine C - Anti-Pod, Anti-Automation, ToS Safety & Anti-AI-Slop Guardrails
|
|
133
|
+
1. **Hard ToS & Anti-Ban Rules (`skills/24-circuit-breaker-and-antiban.md`):**
|
|
134
|
+
- **STRICTLY PROHIBITED:** Engagement pods, comment-exchange groups, mass connection-request blasts, automated DM/commenting bots, browser scraping plugins, and manipulative `"Comment X to get this PDF"` engagement bait.
|
|
135
|
+
- Abort browser automation immediately on any CAPTCHA, 2FA challenge, `/checkpoint/challenge`, `/authwall`, or unusual-activity banner and trip the 24-hour circuit breaker in `logs/circuit-breaker.json`.
|
|
136
|
+
2. **Full 19-Cliche & Anti-Slop Parity (`skills/03-tailor-resume-and-verify.md`):**
|
|
137
|
+
- Enforce `0` occurrences of the **canonical 19-item banned AI-cliche list** (`skills/03-tailor-resume-and-verify.md`) and `0` prose em-dashes (`U+2014`) across all profile rewrites, posts, comments, and DMs.
|
|
138
|
+
- Ban broetry one-line-per-sentence drama, fake humility (`"Humbled and thrilled to announce"`), hollow `"Agree? Thoughts?"` closers, and fabricated viral anecdotes.
|
|
139
|
+
3. **Outreach Word & Invariant Gate (`skills/05-outreach-and-interview-prep.md`):**
|
|
140
|
+
- Cap every LinkedIn DM or connection note strictly at `<= 75` words, re-read `config/invariants.txt`, and validate via `node ./bin/cli.mjs pre-submit --draft <file>` (or `--text "<msg>"`).
|
|
141
|
+
|
|
142
|
+
### 6. Engine D - LinkedIn Services Page & Inbound Freelance Client Funnel
|
|
143
|
+
Use this engine whenever the owner wants inbound freelance, consulting, or B2B project leads through LinkedIn's native **Services Page** (`Providing services` section on profile). Treat all Services edits, proposals, and client messages as `DRAFT_ONLY` by default until explicit `APPROVE`.
|
|
144
|
+
|
|
145
|
+
1. **10-Service Taxonomy Selection (Confirmed Platform Mechanic):**
|
|
146
|
+
- LinkedIn allows selecting up to **`10` Services** from its built-in category taxonomy. Pick strictly grounded services matching verified skills and past deliverables (prioritizing buyer search terms clients type into LinkedIn Services search over generic vanity tags).
|
|
147
|
+
- **Never** add unverified categories just to fill all 10 slots; if only 5-7 categories are verified, keep 5-7 crisp categories and list missing adjacent services transparently under `True Gaps`.
|
|
148
|
+
2. **Services Page Setup (`DRAFT_ONLY` -> `APPROVE`):**
|
|
149
|
+
- **Services `About` (`<= 500` chars):** Concise 3-part structure: (a) specific buyer problem solved, (b) concrete deliverables and verified stack/domain scope, and (c) clear low-friction CTA (`Message me with your scope for a quick fit check`). Zero of the 19 banned AI cliches and zero prose em-dashes.
|
|
150
|
+
- **Work Location & Mode:** Configure accurate `Remote` (`Available to work remotely`) and/or `In-person` city/region scope so local and global buyers match accurately.
|
|
151
|
+
- **Pricing Transparency:** Choose either a truthful verified starting **Hourly rate** or **Contact for pricing** based on the owner's confirmed rate floor (`context/preferences.yaml` or chat confirmation; never invent rates).
|
|
152
|
+
- **Work Samples & Free Incoming Messaging:** Attach only verified, non-NDA work samples/images (from portfolio or public GitHub repos) and enable **`Allow LinkedIn members you aren't connected with to message you for free`** so non-connections can send project briefs without InMail friction.
|
|
153
|
+
3. **Inbound Request Triage (`Direct Requests` vs. `Premium / Marketplace Requests`):**
|
|
154
|
+
- Separate incoming client leads into two queues:
|
|
155
|
+
- **Direct Requests (Priority 1 - Free to Reply):** Buyers who found the owner's profile or Services Page directly and requested a proposal. Respond promptly (ideally within hours) to protect `"Likely to Respond"` and Services ranking visibility.
|
|
156
|
+
- **Premium / Marketplace Broadcast Requests (Priority 2):** Generic multi-provider marketplace blasts or Premium-gated leads. Screen strictly for clear scope, realistic timeline, and verified fit before investing time (never chase low-intent or scam requests).
|
|
157
|
+
4. **Concise Initial Proposal Templates (EN + AR, `<= 75` Words):**
|
|
158
|
+
- Keep the **initial proposal reply** crisp (`<= 75` words, validated via `node ./bin/cli.mjs pre-submit --text "<msg>"`), focused strictly on core technical/domain capabilities and direct fit to the client's brief.
|
|
159
|
+
- **Progressive Scoping Rule:** Reserve detailed project plans, full architecture breakdowns, milestone estimates, and portfolio/work-sample walkthroughs for the **chat/scoping stage after the client accepts or replies** to the initial proposal (avoid dumping walls of text or free consulting upfront).
|
|
160
|
+
- **English Initial Proposal Skeleton (`<= 75` words):**
|
|
161
|
+
`Hi [Name], I saw your request for [specific deliverable]. I specialize in [2-3 verified core capabilities] and recently delivered [1 verified relevant outcome/system]. I can scope the milestones and share relevant work samples once we connect in chat. Would a brief 15-minute call or 3 quick scope questions work to confirm timeline and budget?`
|
|
162
|
+
- **Arabic Initial Proposal Skeleton (`<= 75` words):**
|
|
163
|
+
`أهلاً [الاسم]، اطلعت على طلبك بخصوص [الخدمة/المشروع]. أتخصص في [2-3 مهارات أساسية موثقة] ونفذت مؤخراً [إنجاز أو نظام موثق مرتبط]. بمجرد قبول العرض، نناقش خطة التنفيذ التفصيلية وأشاركك نماذج أعمال مشابهة في المحادثة. هل يناسبك تحديد 3 أسئلة سريعة حول النطاق والجدول الزمني؟`
|
|
164
|
+
5. **Verified Post-Delivery Review Workflow & Ethical Upsell:**
|
|
165
|
+
- **Post-Delivery Review Integrity (ToS Rule):** Request a LinkedIn Service Review **only after real, completed, client-accepted delivery** via LinkedIn's native `Invite to review` link.
|
|
166
|
+
- **Genuine Account Requirement:** Both provider and client accounts must be authentic, active LinkedIn profiles (real profile photo, real connections, real platform activity). **STRICTLY PROHIBITED:** fake client accounts, review-exchange rings, paid/incentivized reviews, or mass review spam.
|
|
167
|
+
- **Ethical Follow-On Upsell:** Only after a smooth, accepted milestone delivery, offer one concise, genuinely helpful next step (such as a monthly maintenance retainer, QA/performance audit phase 2, handover documentation, or optional profile/workflow optimization) framed transparently with zero pressure.
|
|
168
|
+
|
|
169
|
+
### 7. Mode 2 (`DRAFT_ONLY` Default) & Mode 3 (`APPROVE`-Gated Live Mutations & Surface Navigation)
|
|
170
|
+
1. **Mode 2 - `DRAFT_ONLY` Artifact Output:** Present the `0-100` scorecard, Credibility & Trust Signals checklist, CV-consistency gaps, Top-3 Immediate Fix Plan, Before/After section diffs, Services Page setup copy (`<= 10` services + `<= 500`-char Services About + EN/AR initial proposals), post/carousel/Comment-First drafts, and outreach notes in chat; save the complete artifact to `logs/insights/linkedin-seo-audit-YYYY-MM-DD.md` and re-read to confirm formatting and zero placeholders (`skills/meta-self-verification.md`). Support iterative section edits (`EDIT <section>`).
|
|
171
|
+
2. **Mode 3 - User-Approved Live Mutations (Optional):** Execute a live LinkedIn Save, Post, Comment, Proposal, or Send **ONLY** when: (a) the owner explicitly asks for that live action, (b) Playwright MCP is connected with a verified signed-in session for the owner's account, and (c) the owner inspects the exact final copy and replies **`APPROVE`** (`"انشر"` or `"اعتمد"` for Arabic actions). Wait `3-9 s`, reload/re-open the target surface, and verify persisted state via a fresh `browser_snapshot` before reporting done.
|
|
172
|
+
3. **Full LinkedIn Surface Coverage (`Role -> Label -> Text` selectors, `3-9 s` pacing):** Intro/Headline, About, Experience (`details/experience/`), Skills (`details/skills/` + multi-role skill tags), Featured, Open to Work (`Recruiters only`), `Licenses & Certifications`, `Projects` (`details/projects/`), `Publications`, `Services` (`Providing services` page & `Direct Requests` inbox), `Honors`, Recommendations, Post Composer, Strategic Commenting, and `<= 75`-word Outreach DMs.
|
|
173
|
+
|
|
174
|
+
## Anti-Patterns (What NEVER To Do) & Self-Verification Check
|
|
175
|
+
|
|
176
|
+
### Anti-patterns
|
|
177
|
+
- ❌ Claiming fake algorithm multipliers (`"comments = 15x likes"`, `"links lose 60% reach"`) or presenting observed heuristics as confirmed platform laws -> ✅ label **Confirmed Platform Mechanics** vs. **Observed Distribution Heuristics** transparently.
|
|
178
|
+
- ❌ Recommending engagement pods, comment-exchange groups, fake/exchanged Service Reviews, mass DM/comment bots, `"CFBR"` spam, or manipulative `"Comment X for PDF"` bait -> ✅ enforce ToS safety (`skills/24-circuit-breaker-and-antiban.md`), authentic Comment-First engagement, and verified Post-Delivery Review requests between genuine active accounts.
|
|
179
|
+
- ❌ Selecting unverified LinkedIn Services categories to fill all 10 slots, or dumping huge unpaid project plans in the initial proposal -> ✅ ground all `<= 10` services in verified work and keep initial proposals `<= 75` words, moving detailed plans and samples to post-acceptance chat.
|
|
180
|
+
- ❌ Clicking LinkedIn `"Edit"`, `"Save"`, `"Post"`, `"Comment"`, `"Submit proposal"`, or `"Send"` without explicit `APPROVE` on exact final copy, or assuming Playwright availability equals LinkedIn auth -> ✅ default to `DRAFT_ONLY`, verify signed-in auth, and confirm persisted text via fresh `browser_snapshot`.
|
|
181
|
+
- ❌ Stuffing unverified JD keywords, unearned titles, broetry fluff, any of the 19 canonical banned AI cliches, or prose em-dashes (`U+2014`) -> ✅ isolate unverified skills under `True Gaps` and write plain, verifiable domain-native prose.
|
|
182
|
+
|
|
183
|
+
### Self-verification check (before reporting this step complete)
|
|
184
|
+
- [ ] Confirmed Platform Mechanics vs. Observed Distribution Heuristics separated explicitly with `0` fabricated algorithm multipliers or fake percentages
|
|
185
|
+
- [ ] `0-100` Recruiter-SEO scorecard, Credibility & Trust Signals check, multi-role skills check, and CV-consistency gaps grounded strictly in inspected LinkedIn data and verified CV facts (`0` hallucinations, `0` of the 19 canonical banned AI cliches, `0` prose em-dashes)
|
|
186
|
+
- [ ] When Services Page / freelance funnel is in scope: `<= 10` verified Services selected, `<= 500`-char Services About + free-messaging toggle + Direct Requests triage drafted, initial proposal `<= 75` words verified via `node ./bin/cli.mjs pre-submit`, and verified Post-Delivery Review integrity enforced
|
|
187
|
+
- [ ] Anti-Pod/Anti-Automation ToS guardrails enforced; any outreach note `<= 75` words verified via `node ./bin/cli.mjs pre-submit`; full output saved as `DRAFT_ONLY` in `logs/insights/linkedin-seo-audit-YYYY-MM-DD.md` and re-read
|
|
188
|
+
- [ ] any user-approved live Save, Post, Comment, Proposal, or Send executed only with verified signed-in auth, explicit `APPROVE`, `3-9 s` pacing, and fresh post-action `browser_snapshot` verification
|
|
@@ -0,0 +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
|
|
@@ -0,0 +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.
|
|
@@ -0,0 +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.
|
|
@@ -0,0 +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
|
|
@@ -0,0 +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.
|