veycraft 0.0.0-stage → 2.8.0
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
package/mcp/README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# Veycraft MCP Guide — Native Zero-Dependency Server & Optional External Adapters
|
|
2
|
+
|
|
3
|
+
## 1. Native Zero-Dependency Veycraft MCP Server (`npx -y veycraft mcp`)
|
|
4
|
+
|
|
5
|
+
Veycraft ships a built-in, zero-dependency **Model Context Protocol (`stdio`) server** ([`../bin/mcp-server.mjs`](../bin/mcp-server.mjs)) powered by Node.js (`>= 18`) built-in modules only. Any MCP-compatible AI desktop app, coding IDE, or CLI agent can call Veycraft's deterministic safety gates, skill router, CV hygiene auditor, artifact verifier, and local ledger summary directly over `stdio`.
|
|
6
|
+
|
|
7
|
+
### Quick Client Configuration (`mcpServers`)
|
|
8
|
+
|
|
9
|
+
```json
|
|
10
|
+
{
|
|
11
|
+
"mcpServers": {
|
|
12
|
+
"veycraft": {
|
|
13
|
+
"command": "npx",
|
|
14
|
+
"args": ["-y", "veycraft", "mcp"]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
- **One-command IDE registration:** Run `npx veycraft sync-mcp --with-veycraft --dry-run` (or add `--global`) to preview merging `veycraft` alongside Playwright/Notion across `.mcp.json`, Cursor, Gemini, Claude, Antigravity, Windsurf, VS Code (`.vscode/mcp.json`), and Codex (`.codex/config.toml`), then run `npx veycraft sync-mcp --with-veycraft` to apply with automatic `<file>.veycraft.bak` backups.
|
|
21
|
+
- **Windows desktop/IDE clients (`cmd /c` wrapper):** Where an MCP host on Windows does not resolve `npx.cmd` directly, use `"command": "cmd", "args": ["/c", "npx", "-y", "veycraft", "mcp"]` (or point straight to a local clone: `"command": "node", "args": ["C:/path/to/veycraft/bin/cli.mjs", "mcp"]`).
|
|
22
|
+
- **Workspace / home resolution:** Uses the current working directory (or `VEYCRAFT_HOME` / `veycraft mcp --global` for `~/.veycraft`).
|
|
23
|
+
|
|
24
|
+
### Exposed Read-Only Offline Tools (8)
|
|
25
|
+
|
|
26
|
+
All 8 tools advertise `readOnlyHint: true`, `destructiveHint: false`, `idempotentHint: true`, and `openWorldHint: false`, with `additionalProperties: false` input schemas:
|
|
27
|
+
|
|
28
|
+
| Tool | Purpose |
|
|
29
|
+
|---|---|
|
|
30
|
+
| `veycraft_doctor` | Inspect local workspace readiness, provenance, skill count, and URL syntax/SSRF hygiene strictly offline (`offline_mode: true`, zero hook writes, zero `fetch()` calls). |
|
|
31
|
+
| `veycraft_route` | Route a natural-language career request to the minimal Veycraft skill set, readiness rule, required inputs, and offline fallback. |
|
|
32
|
+
| `veycraft_audit` | Run heuristic CV hygiene scoring (`0–100`) on an in-workspace `.md`/`.txt`/`.html`/`.doc`/`.docx` CV (clichés, em-dashes, metrics, page fit, placeholders, SSRF/tokens) without writing `--share` files. |
|
|
33
|
+
| `veycraft_verify` | Verify tailored artifacts or workspace JSON files against unresolved `{{...}}` placeholders, banned AI clichés, and optional `facts_path` ground truth. |
|
|
34
|
+
| `veycraft_pre_submit` | Evaluate deterministic pre-submit guardrails (`dry_run`, daily/platform/warm-up caps, circuit breaker, blacklist, deduplication, and `<= 75`-word draft checks). |
|
|
35
|
+
| `veycraft_career_summary` | Read local `v2` application funnel counts and optional offline period analytics (`"all"`, `"YYYY-Www"`, `"YYYY-MM"`) with `MIN_N = 5` guardrails. |
|
|
36
|
+
| `veycraft_career_next` | Compute deterministic prioritized next-step actions across active runs, `needs_review` items, 7-day follow-ups, and setup blockers. |
|
|
37
|
+
| `veycraft_get_skill` | Read the Markdown playbook for an exact skill registered in [`../skills/skills-manifest.json`](../skills/skills-manifest.json). |
|
|
38
|
+
|
|
39
|
+
### Allowlisted `veycraft://` Resources (Zero PII)
|
|
40
|
+
|
|
41
|
+
| URI / Template | MIME Type | Source |
|
|
42
|
+
|---|---|---|
|
|
43
|
+
| `veycraft://manifest` | `application/json` | [`../skills/skills-manifest.json`](../skills/skills-manifest.json) |
|
|
44
|
+
| `veycraft://registry` | `text/markdown` | [`../skills/REGISTRY.md`](../skills/REGISTRY.md) |
|
|
45
|
+
| `veycraft://invariants` | `text/plain` | [`../config/invariants.txt`](../config/invariants.txt) |
|
|
46
|
+
| `veycraft://skill/{name}` | `text/markdown` | Exact skill playbook resolved via `skills-manifest.json` |
|
|
47
|
+
|
|
48
|
+
> **Offline & Privacy Guarantees:** `veycraft mcp` makes **zero outbound network calls**, performs **zero silent submissions or file mutations**, never exposes `context/`, `logs/`, `.env`, or `browser-profile/` as MCP resources, refuses symlinks/UNC/ADS/`..` traversal, and strictly preserves `dry_run: true` and unconditional human `APPROVE` boundaries.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## 2. Optional External MCP Tools (Playwright & Notion)
|
|
53
|
+
|
|
54
|
+
Fast-start CV tailoring workflows (`/demo` and `/quick-tailor`) and offline CLI tools (`audit`, `proof`, `eval`, `pre-submit`, `mcp`) work without any external MCP server. When you are ready for browser-assisted discovery, PDF export, or Notion sync, the canonical external MCP definition is [`mcp/mcp.template.json`](mcp.template.json) (synced automatically via `veycraft sync-mcp`; see also [`claude_desktop_config.example.json`](claude_desktop_config.example.json)). Paste it into your IDE's MCP configuration with `./browser-profile` pointing to your local clone (or agent folder):
|
|
55
|
+
|
|
56
|
+
```json
|
|
57
|
+
{
|
|
58
|
+
"mcpServers": {
|
|
59
|
+
"playwright": {
|
|
60
|
+
"command": "npx",
|
|
61
|
+
"args": ["-y", "@playwright/mcp@0.0.86", "--caps=pdf", "--user-data-dir=./browser-profile"]
|
|
62
|
+
},
|
|
63
|
+
"notion": {
|
|
64
|
+
"command": "npx",
|
|
65
|
+
"args": ["-y", "@notionhq/notion-mcp-server@2.6.1"],
|
|
66
|
+
"env": {
|
|
67
|
+
"NOTION_TOKEN": "${NOTION_TOKEN}"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
- **Playwright MCP (optional, required only for browser workflows):** Launches Chromium with persistent `./browser-profile` so you log in manually once and keep sessions private on disk. Never commit `browser-profile/`.
|
|
75
|
+
- **Notion MCP (optional):** Off by default (`storage_adapters.notion_mcp: false` in `config/guardrails.yaml`). If you want Notion tracking, set `NOTION_TOKEN` in your IDE's secret/env config, share a parent page with your Notion integration, and record your database IDs in `context/preferences.yaml`. Local JSON under `logs/` is always primary.
|
|
76
|
+
|
|
77
|
+
## Manual login once
|
|
78
|
+
1. Open your project folder in your AI IDE and ask `/setup` to open your chosen boards in headed Playwright MCP.
|
|
79
|
+
2. Enter passwords and complete any 2FA/CAPTCHA privately in the browser window—never share credentials in chat.
|
|
80
|
+
3. Confirm in chat once signed in; the agent snapshots an account indicator and proceeds without storing cookies or passwords.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mcpServers": {
|
|
3
|
+
"veycraft": {
|
|
4
|
+
"command": "npx",
|
|
5
|
+
"args": [
|
|
6
|
+
"-y",
|
|
7
|
+
"veycraft",
|
|
8
|
+
"mcp"
|
|
9
|
+
],
|
|
10
|
+
"env": {
|
|
11
|
+
"NPM_CONFIG_UPDATE_NOTIFIER": "false",
|
|
12
|
+
"NPM_CONFIG_FUND": "false",
|
|
13
|
+
"NPM_CONFIG_AUDIT": "false",
|
|
14
|
+
"NPM_CONFIG_LOGLEVEL": "error"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"playwright": {
|
|
18
|
+
"command": "npx",
|
|
19
|
+
"args": [
|
|
20
|
+
"-y",
|
|
21
|
+
"@playwright/mcp@0.0.86",
|
|
22
|
+
"--caps=pdf",
|
|
23
|
+
"--user-data-dir=/ABS/PATH/TO/veycraft/browser-profile"
|
|
24
|
+
],
|
|
25
|
+
"env": {
|
|
26
|
+
"NPM_CONFIG_UPDATE_NOTIFIER": "false",
|
|
27
|
+
"NPM_CONFIG_FUND": "false",
|
|
28
|
+
"NPM_CONFIG_AUDIT": "false",
|
|
29
|
+
"NPM_CONFIG_LOGLEVEL": "error"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"notion": {
|
|
33
|
+
"command": "npx",
|
|
34
|
+
"args": [
|
|
35
|
+
"-y",
|
|
36
|
+
"@notionhq/notion-mcp-server@2.6.1"
|
|
37
|
+
],
|
|
38
|
+
"env": {
|
|
39
|
+
"NOTION_TOKEN": "REPLACE_WITH_YOUR_NOTION_TOKEN",
|
|
40
|
+
"NPM_CONFIG_UPDATE_NOTIFIER": "false",
|
|
41
|
+
"NPM_CONFIG_FUND": "false",
|
|
42
|
+
"NPM_CONFIG_AUDIT": "false",
|
|
43
|
+
"NPM_CONFIG_LOGLEVEL": "error"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mcpServers": {
|
|
3
|
+
"playwright": {
|
|
4
|
+
"command": "npx",
|
|
5
|
+
"args": [
|
|
6
|
+
"-y",
|
|
7
|
+
"@playwright/mcp@0.0.86",
|
|
8
|
+
"--caps=pdf",
|
|
9
|
+
"--user-data-dir=./browser-profile"
|
|
10
|
+
],
|
|
11
|
+
"env": {
|
|
12
|
+
"NPM_CONFIG_UPDATE_NOTIFIER": "false",
|
|
13
|
+
"NPM_CONFIG_FUND": "false",
|
|
14
|
+
"NPM_CONFIG_AUDIT": "false",
|
|
15
|
+
"NPM_CONFIG_LOGLEVEL": "error"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"notion": {
|
|
19
|
+
"command": "npx",
|
|
20
|
+
"args": [
|
|
21
|
+
"-y",
|
|
22
|
+
"@notionhq/notion-mcp-server@2.6.1"
|
|
23
|
+
],
|
|
24
|
+
"env": {
|
|
25
|
+
"NOTION_TOKEN": "${NOTION_TOKEN}",
|
|
26
|
+
"NPM_CONFIG_UPDATE_NOTIFIER": "false",
|
|
27
|
+
"NPM_CONFIG_FUND": "false",
|
|
28
|
+
"NPM_CONFIG_AUDIT": "false",
|
|
29
|
+
"NPM_CONFIG_LOGLEVEL": "error"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
package/opencode.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opencode.ai/config.json",
|
|
3
|
+
"instructions": [
|
|
4
|
+
"AGENTS.md",
|
|
5
|
+
"skills/REGISTRY.md"
|
|
6
|
+
],
|
|
7
|
+
"mcp": {
|
|
8
|
+
"playwright": {
|
|
9
|
+
"type": "local",
|
|
10
|
+
"command": [
|
|
11
|
+
"npx",
|
|
12
|
+
"-y",
|
|
13
|
+
"@playwright/mcp@0.0.86",
|
|
14
|
+
"--caps=pdf",
|
|
15
|
+
"--user-data-dir=./browser-profile"
|
|
16
|
+
],
|
|
17
|
+
"environment": {
|
|
18
|
+
"NPM_CONFIG_UPDATE_NOTIFIER": "false",
|
|
19
|
+
"NPM_CONFIG_FUND": "false",
|
|
20
|
+
"NPM_CONFIG_AUDIT": "false",
|
|
21
|
+
"NPM_CONFIG_LOGLEVEL": "error"
|
|
22
|
+
},
|
|
23
|
+
"enabled": true
|
|
24
|
+
},
|
|
25
|
+
"notion": {
|
|
26
|
+
"type": "local",
|
|
27
|
+
"command": [
|
|
28
|
+
"npx",
|
|
29
|
+
"-y",
|
|
30
|
+
"@notionhq/notion-mcp-server@2.6.1"
|
|
31
|
+
],
|
|
32
|
+
"environment": {
|
|
33
|
+
"NOTION_TOKEN": "{env:NOTION_TOKEN}",
|
|
34
|
+
"NPM_CONFIG_UPDATE_NOTIFIER": "false",
|
|
35
|
+
"NPM_CONFIG_FUND": "false",
|
|
36
|
+
"NPM_CONFIG_AUDIT": "false",
|
|
37
|
+
"NPM_CONFIG_LOGLEVEL": "error"
|
|
38
|
+
},
|
|
39
|
+
"enabled": false
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,115 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "veycraft",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
6
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "veycraft",
|
|
3
|
+
"version": "2.8.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Veycraft — Agent-native career operations & Profile Intelligence Engine for the AI agent you already use. Zero-dependency CLI, 56 Markdown skills, truthful CV tailoring, and human APPROVE gates.",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "Reda Salem",
|
|
9
|
+
"url": "https://github.com/redasalem"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://redasalem.github.io/veycraft/",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/redasalem/veycraft/issues"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/redasalem/veycraft.git"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"veycraft",
|
|
21
|
+
"ai-agent",
|
|
22
|
+
"agent-skills",
|
|
23
|
+
"career-automation",
|
|
24
|
+
"cv-tailoring",
|
|
25
|
+
"resume-builder",
|
|
26
|
+
"profile-intelligence",
|
|
27
|
+
"github-audit",
|
|
28
|
+
"portfolio-builder",
|
|
29
|
+
"linkedin-seo",
|
|
30
|
+
"ats",
|
|
31
|
+
"mcp",
|
|
32
|
+
"playwright-mcp",
|
|
33
|
+
"claude-code",
|
|
34
|
+
"cursor",
|
|
35
|
+
"codex",
|
|
36
|
+
"gemini-cli",
|
|
37
|
+
"zero-dependency"
|
|
38
|
+
],
|
|
39
|
+
"publishConfig": {
|
|
40
|
+
"access": "public"
|
|
41
|
+
},
|
|
42
|
+
"engines": {
|
|
43
|
+
"node": ">=18"
|
|
44
|
+
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"test": "node ./bin/cli.mjs eval --baseline && node ./bin/cli.mjs eval --file evals/results/live-agent-eval-run.json && node ./bin/cli.mjs eval --journeys",
|
|
47
|
+
"doctor": "node ./bin/cli.mjs doctor",
|
|
48
|
+
"pack:check": "node -e \"const cp=require('node:child_process');const raw=cp.execSync('npm pack --dry-run --json',{encoding:'utf8'});const p=JSON.parse(raw.slice(raw.indexOf('[')))[0];const paths=p.files.map(f=>f.path);const bad=paths.filter(x=>/context\\/(?!.*\\.example$|DROP_YOUR_FILES_HERE\\.md$)|^logs\\/|^tracker\\/|\\.pdf$|^\\.env|browser-profile|\\.veycraft\\.bak$/i.test(x));if(bad.length)throw new Error('Blocked sensitive files in tarball: '+bad.join(', '));for(const req of ['bin/cli.mjs','bin/core-ops.mjs','bin/mcp-server.mjs','bin/ui-server.mjs','bin/fs-safety.mjs','bin/career-intelligence.mjs','bin/notion-sync.mjs','bin/profile-intelligence.mjs','bin/fast-ops.mjs','bin/browser-payloads.mjs','ui/index.html','ui/styles.css','ui/app.js','ui/favicon.svg','glama.json','AGENTS.md','skills/REGISTRY.md','.github/copilot-instructions.md','.github/CODEOWNERS','PROVENANCE.json','NOTICE']){if(!paths.includes(req))throw new Error('Missing required package file: '+req);}console.log('pack:check OK ->',p.filename,p.entryCount,'files,',p.size,'bytes');\"",
|
|
49
|
+
"prepublishOnly": "node --check bin/fs-safety.mjs && node --check bin/core-ops.mjs && node --check bin/mcp-server.mjs && node --check bin/ui-server.mjs && node --check ui/app.js && node --check bin/career-intelligence.mjs && node --check bin/notion-sync.mjs && node --check bin/cli.mjs && node --check bin/profile-intelligence.mjs && node --check bin/fast-ops.mjs && node --check bin/browser-payloads.mjs && npm test && npm run pack:check"
|
|
50
|
+
},
|
|
51
|
+
"bin": {
|
|
52
|
+
"veycraft": "./bin/cli.mjs",
|
|
53
|
+
"job-hunter": "./bin/cli.mjs",
|
|
54
|
+
"job-hunter-os": "./bin/cli.mjs"
|
|
55
|
+
},
|
|
56
|
+
"files": [
|
|
57
|
+
"bin/",
|
|
58
|
+
"ui/",
|
|
59
|
+
"glama.json",
|
|
60
|
+
"scripts/",
|
|
61
|
+
"skills/",
|
|
62
|
+
".agents/",
|
|
63
|
+
".agent/",
|
|
64
|
+
".github/copilot-instructions.md",
|
|
65
|
+
".github/prompts/",
|
|
66
|
+
".github/CODEOWNERS",
|
|
67
|
+
"commands/",
|
|
68
|
+
"adapters/",
|
|
69
|
+
"context/*.example",
|
|
70
|
+
"context/DROP_YOUR_FILES_HERE.md",
|
|
71
|
+
"config/",
|
|
72
|
+
"templates/",
|
|
73
|
+
"schemas/",
|
|
74
|
+
"mcp/mcp.template.json",
|
|
75
|
+
"mcp/claude_desktop_config.example.json",
|
|
76
|
+
"mcp/README.md",
|
|
77
|
+
"docs/",
|
|
78
|
+
"prompts/",
|
|
79
|
+
"AGENTS.md",
|
|
80
|
+
"CLAUDE.md",
|
|
81
|
+
"GEMINI.md",
|
|
82
|
+
"WARP.md",
|
|
83
|
+
"CRUSH.md",
|
|
84
|
+
".windsurfrules",
|
|
85
|
+
".clinerules",
|
|
86
|
+
".goosehints",
|
|
87
|
+
".rules",
|
|
88
|
+
".aider.conf.yml",
|
|
89
|
+
".cursor/",
|
|
90
|
+
".trae/",
|
|
91
|
+
".roo/",
|
|
92
|
+
".continue/",
|
|
93
|
+
".junie/",
|
|
94
|
+
".aiassistant/",
|
|
95
|
+
".kiro/",
|
|
96
|
+
".amazonq/",
|
|
97
|
+
".openhands/",
|
|
98
|
+
".augment/",
|
|
99
|
+
"opencode.json",
|
|
100
|
+
"evals/",
|
|
101
|
+
"examples/",
|
|
102
|
+
"llms.txt",
|
|
103
|
+
"PLATFORMS.md",
|
|
104
|
+
"HIRED.md",
|
|
105
|
+
"CHANGELOG.md",
|
|
106
|
+
"NOTICE",
|
|
107
|
+
"AUTHORS.md",
|
|
108
|
+
"PROVENANCE.json",
|
|
109
|
+
"LICENSE",
|
|
110
|
+
"README.md",
|
|
111
|
+
"README.ar.md"
|
|
112
|
+
],
|
|
113
|
+
"dependencies": {},
|
|
114
|
+
"devDependencies": {}
|
|
115
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<!-- partial: pacing v1 -->
|
|
2
|
+
Before every navigation, click, type or selection, wait a random number of seconds within
|
|
3
|
+
`config/guardrails.yaml -> human_behavior.action_delay_seconds` (3–9), using the actual exposed MCP wait tool.
|
|
4
|
+
The legacy delay_seconds field is compatibility-only, not the agent's action range.
|
|
5
|
+
|
|
6
|
+
Also pace uploads and scrolls. Scroll modestly only to reveal needed results, then snapshot. Delays reduce load; they do not authorize automation or evade site defenses.
|
|
7
|
+
|
|
8
|
+
Prefer human_behavior.action_delay_seconds; every max_consecutive_actions pause at least cooldown_seconds (60s). Check active hours before acting. No concealment/evasion.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<!-- partial: snapshot-first v1 -->
|
|
2
|
+
Always call `browser_snapshot` before interacting. Locate elements by **role + accessible name**
|
|
3
|
+
(e.g. button "Easy Apply", textbox "Phone number"). Use the returned `ref`. Never guess CSS selectors.
|
|
4
|
+
Re-snapshot after every page change.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!-- partial: stop-conditions v1 -->
|
|
2
|
+
Stop the whole run immediately and log `aborted` if you see: a CAPTCHA / "verify you are human", an
|
|
3
|
+
2FA / authentication challenge, unexpected login page, an account restriction warning, a "too many requests" banner, or 3 consecutive errors.
|
|
4
|
+
|
|
5
|
+
Notify immediately; never solve challenges, use stealth tools or continue on other platforms. Update `logs/runs/YYYY-MM-DD.json` to `status: "aborted"` and report right away.
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/redasalem/veycraft/schemas/application-ledger.schema.json",
|
|
4
|
+
"title": "Veycraft Application Ledger",
|
|
5
|
+
"description": "Backward-compatible local JSON array schema for logs/applications-log.json. Preserves all v1 legacy fields while adding optional structured v2 Career Intelligence fields.",
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": { "$ref": "#/$defs/application_record" },
|
|
8
|
+
"$defs": {
|
|
9
|
+
"canonical_status": {
|
|
10
|
+
"enum": [
|
|
11
|
+
"discovered",
|
|
12
|
+
"prepared",
|
|
13
|
+
"dry_run",
|
|
14
|
+
"skipped",
|
|
15
|
+
"needs_review",
|
|
16
|
+
"failed",
|
|
17
|
+
"aborted",
|
|
18
|
+
"applied",
|
|
19
|
+
"interview",
|
|
20
|
+
"assessment",
|
|
21
|
+
"offer",
|
|
22
|
+
"rejected",
|
|
23
|
+
"withdrawn"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"cv_tailoring": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"additionalProperties": false,
|
|
29
|
+
"required": ["is_tailored"],
|
|
30
|
+
"properties": {
|
|
31
|
+
"is_tailored": { "type": "boolean" },
|
|
32
|
+
"base_cv_version_id": { "type": ["string", "null"] },
|
|
33
|
+
"ats_keyword_before_pct": { "type": ["number", "null"], "minimum": 0, "maximum": 100 },
|
|
34
|
+
"ats_keyword_after_pct": { "type": ["number", "null"], "minimum": 0, "maximum": 100 },
|
|
35
|
+
"tailored_folder_rel": { "type": ["string", "null"] },
|
|
36
|
+
"tailoring_notes_rel": { "type": ["string", "null"] }
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"stage_event": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"additionalProperties": false,
|
|
42
|
+
"required": ["event_id", "from_status", "to_status", "at", "source", "verified"],
|
|
43
|
+
"properties": {
|
|
44
|
+
"event_id": { "type": "string", "minLength": 1 },
|
|
45
|
+
"from_status": {
|
|
46
|
+
"oneOf": [
|
|
47
|
+
{ "$ref": "#/$defs/canonical_status" },
|
|
48
|
+
{ "type": "null" }
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"to_status": { "$ref": "#/$defs/canonical_status" },
|
|
52
|
+
"at": { "type": "string", "format": "date-time" },
|
|
53
|
+
"source": {
|
|
54
|
+
"enum": [
|
|
55
|
+
"discovery",
|
|
56
|
+
"preparation",
|
|
57
|
+
"ats_submission_receipt",
|
|
58
|
+
"owner_manual_update",
|
|
59
|
+
"recruiter_inbox_triage",
|
|
60
|
+
"follow_up_radar",
|
|
61
|
+
"email_intelligence_approved",
|
|
62
|
+
"migration_backfill"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"verified": { "type": "boolean" },
|
|
66
|
+
"notes": { "type": "string" }
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"interview_round": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"additionalProperties": false,
|
|
72
|
+
"required": ["interview_id", "round", "stage", "status", "outcome"],
|
|
73
|
+
"properties": {
|
|
74
|
+
"interview_id": { "type": "string", "minLength": 1 },
|
|
75
|
+
"round": { "type": "integer", "minimum": 1 },
|
|
76
|
+
"stage": {
|
|
77
|
+
"enum": [
|
|
78
|
+
"recruiter_screen",
|
|
79
|
+
"hiring_manager",
|
|
80
|
+
"technical_screen",
|
|
81
|
+
"system_design",
|
|
82
|
+
"live_coding",
|
|
83
|
+
"panel",
|
|
84
|
+
"culture_bar_raiser",
|
|
85
|
+
"executive",
|
|
86
|
+
"final",
|
|
87
|
+
"other"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"scheduled_at": { "type": ["string", "null"], "format": "date-time" },
|
|
91
|
+
"timezone": { "type": ["string", "null"] },
|
|
92
|
+
"status": {
|
|
93
|
+
"enum": ["invited", "scheduled", "completed", "rescheduled", "cancelled", "no_show"]
|
|
94
|
+
},
|
|
95
|
+
"outcome": {
|
|
96
|
+
"enum": ["pending", "passed", "failed", "withdrew", "unknown"]
|
|
97
|
+
},
|
|
98
|
+
"dossier_rel": { "type": ["string", "null"] },
|
|
99
|
+
"notes": { "type": "string" }
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"assessment_record": {
|
|
103
|
+
"type": "object",
|
|
104
|
+
"additionalProperties": false,
|
|
105
|
+
"required": ["assessment_id", "type", "status", "outcome"],
|
|
106
|
+
"properties": {
|
|
107
|
+
"assessment_id": { "type": "string", "minLength": 1 },
|
|
108
|
+
"type": {
|
|
109
|
+
"enum": [
|
|
110
|
+
"take_home",
|
|
111
|
+
"coding_challenge",
|
|
112
|
+
"system_design_doc",
|
|
113
|
+
"case_study",
|
|
114
|
+
"live_pair",
|
|
115
|
+
"questionnaire",
|
|
116
|
+
"other"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
"received_at": { "type": ["string", "null"], "format": "date-time" },
|
|
120
|
+
"due_at": { "type": ["string", "null"], "format": "date-time" },
|
|
121
|
+
"submitted_at": { "type": ["string", "null"], "format": "date-time" },
|
|
122
|
+
"status": {
|
|
123
|
+
"enum": ["assigned", "in_progress", "submitted", "expired", "declined"]
|
|
124
|
+
},
|
|
125
|
+
"outcome": {
|
|
126
|
+
"enum": ["pending", "passed", "failed", "no_feedback", "unknown"]
|
|
127
|
+
},
|
|
128
|
+
"blueprint_rel": { "type": ["string", "null"] },
|
|
129
|
+
"notes": { "type": "string" }
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"follow_up_record": {
|
|
133
|
+
"type": "object",
|
|
134
|
+
"additionalProperties": false,
|
|
135
|
+
"required": ["follow_up_count", "status"],
|
|
136
|
+
"properties": {
|
|
137
|
+
"next_due_at": { "type": ["string", "null"], "format": "date-time" },
|
|
138
|
+
"last_followed_up_at": { "type": ["string", "null"], "format": "date-time" },
|
|
139
|
+
"follow_up_count": { "type": "integer", "minimum": 0 },
|
|
140
|
+
"status": {
|
|
141
|
+
"enum": ["not_needed", "pending", "overdue", "drafted", "sent", "closed"]
|
|
142
|
+
},
|
|
143
|
+
"draft_rel": { "type": ["string", "null"] }
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"provenance_record": {
|
|
147
|
+
"type": "object",
|
|
148
|
+
"additionalProperties": false,
|
|
149
|
+
"required": ["created_by", "third_party_subject"],
|
|
150
|
+
"properties": {
|
|
151
|
+
"created_by": { "type": "string", "minLength": 1 },
|
|
152
|
+
"created_at": { "type": ["string", "null"], "format": "date-time" },
|
|
153
|
+
"last_updated_by": { "type": ["string", "null"] },
|
|
154
|
+
"receipt_verified": { "type": "boolean" },
|
|
155
|
+
"third_party_subject": { "type": "boolean" },
|
|
156
|
+
"email_message_id": { "type": ["string", "null"] }
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"notion_sync_record": {
|
|
160
|
+
"type": "object",
|
|
161
|
+
"additionalProperties": false,
|
|
162
|
+
"required": ["state"],
|
|
163
|
+
"properties": {
|
|
164
|
+
"state": {
|
|
165
|
+
"enum": [
|
|
166
|
+
"ineligible_not_submitted",
|
|
167
|
+
"pending_sync",
|
|
168
|
+
"blocked_privacy",
|
|
169
|
+
"previewed",
|
|
170
|
+
"in_flight",
|
|
171
|
+
"synced",
|
|
172
|
+
"failed_retryable",
|
|
173
|
+
"conflict_duplicate_remote",
|
|
174
|
+
"receipt_uncertain"
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
"page_id": { "type": ["string", "null"] },
|
|
178
|
+
"last_synced_at": { "type": ["string", "null"], "format": "date-time" },
|
|
179
|
+
"last_synced_hash": { "type": ["string", "null"] },
|
|
180
|
+
"retry_count": { "type": "integer", "minimum": 0 },
|
|
181
|
+
"last_error": { "type": ["string", "null"] }
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"application_record": {
|
|
185
|
+
"type": "object",
|
|
186
|
+
"required": ["job_id", "status"],
|
|
187
|
+
"properties": {
|
|
188
|
+
"schema_version": { "const": "2.0" },
|
|
189
|
+
"application_id": { "type": "string", "pattern": "^app_[a-f0-9]{12}$" },
|
|
190
|
+
"job_id": { "type": "string", "minLength": 1 },
|
|
191
|
+
"canonical_fingerprint": { "type": ["string", "null"] },
|
|
192
|
+
"title": { "type": ["string", "null"] },
|
|
193
|
+
"role": { "type": ["string", "null"] },
|
|
194
|
+
"company": { "type": ["string", "null"] },
|
|
195
|
+
"platform": { "type": ["string", "null"] },
|
|
196
|
+
"source_channel": {
|
|
197
|
+
"enum": [
|
|
198
|
+
"job_board",
|
|
199
|
+
"direct_ats",
|
|
200
|
+
"b2b_network",
|
|
201
|
+
"referral",
|
|
202
|
+
"company_site",
|
|
203
|
+
"recruiter_inbound",
|
|
204
|
+
"email_direct",
|
|
205
|
+
"other",
|
|
206
|
+
null
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
"url": { "type": ["string", "null"] },
|
|
210
|
+
"location": { "type": ["string", "null"] },
|
|
211
|
+
"work_mode": { "enum": ["remote", "hybrid", "onsite", "unknown", null] },
|
|
212
|
+
"employment_type": { "enum": ["full_time", "contract", "b2b", "part_time", "internship", "unknown", null] },
|
|
213
|
+
"apply_type": { "enum": ["easy_apply", "external", "manual_apply", null] },
|
|
214
|
+
"discovered_at": { "type": ["string", "null"], "format": "date-time" },
|
|
215
|
+
"applied_at": { "type": ["string", "null"], "format": "date-time" },
|
|
216
|
+
"updated_at": { "type": ["string", "null"], "format": "date-time" },
|
|
217
|
+
"verified_at": { "type": ["string", "null"] },
|
|
218
|
+
"date": { "type": ["string", "null"] },
|
|
219
|
+
"run_id": { "type": ["string", "null"] },
|
|
220
|
+
"status": { "type": "string", "minLength": 1 },
|
|
221
|
+
"legacy_status": { "type": ["string", "null"] },
|
|
222
|
+
"match_score": { "type": ["number", "null"], "minimum": 0, "maximum": 10 },
|
|
223
|
+
"matched_skills": { "type": "array", "items": { "type": "string" } },
|
|
224
|
+
"missing_skills": { "type": "array", "items": { "type": "string" } },
|
|
225
|
+
"open_questions": {
|
|
226
|
+
"type": "array",
|
|
227
|
+
"items": {
|
|
228
|
+
"oneOf": [
|
|
229
|
+
{ "type": "string" },
|
|
230
|
+
{
|
|
231
|
+
"type": "object",
|
|
232
|
+
"required": ["question"],
|
|
233
|
+
"properties": {
|
|
234
|
+
"question": { "type": "string", "minLength": 1 },
|
|
235
|
+
"field_type": { "type": "string" }
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
]
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"persona_id": { "type": ["string", "null"] },
|
|
242
|
+
"cv_version_id": { "type": ["string", "null"] },
|
|
243
|
+
"cv_tailoring": { "oneOf": [{ "$ref": "#/$defs/cv_tailoring" }, { "type": "null" }] },
|
|
244
|
+
"stage_history": { "type": "array", "items": { "$ref": "#/$defs/stage_event" } },
|
|
245
|
+
"interviews": { "type": "array", "items": { "$ref": "#/$defs/interview_round" } },
|
|
246
|
+
"assessments": { "type": "array", "items": { "$ref": "#/$defs/assessment_record" } },
|
|
247
|
+
"follow_up": { "oneOf": [{ "$ref": "#/$defs/follow_up_record" }, { "type": "null" }] },
|
|
248
|
+
"provenance": { "$ref": "#/$defs/provenance_record" },
|
|
249
|
+
"screenshot": { "type": ["string", "null"] },
|
|
250
|
+
"notes": { "type": ["string", "null"] },
|
|
251
|
+
"submission_uncertain": { "type": "boolean" },
|
|
252
|
+
"notion_synced": { "type": "boolean" },
|
|
253
|
+
"notion_page_id": { "type": ["string", "null"] },
|
|
254
|
+
"notion_sync": { "$ref": "#/$defs/notion_sync_record" }
|
|
255
|
+
},
|
|
256
|
+
"allOf": [
|
|
257
|
+
{
|
|
258
|
+
"if": {
|
|
259
|
+
"properties": { "schema_version": { "const": "2.0" } },
|
|
260
|
+
"required": ["schema_version"]
|
|
261
|
+
},
|
|
262
|
+
"then": {
|
|
263
|
+
"required": ["application_id"],
|
|
264
|
+
"properties": {
|
|
265
|
+
"status": { "$ref": "#/$defs/canonical_status" }
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
]
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|