job-hunting-loop-repo
Use when editing F:/projects/job-hunting-loop (Bun loop).
- License 许可
- Unlicense
- 最近更新
- 2026-11-03
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- job-hunting-loop-repo
- description
- Use when editing F:/projects/job-hunting-loop (Bun loop).
03 SKILL.md 正文
job-hunting-loop (F:\projects\job-hunting-loop)
Scheduled loop: fetch JDs → dedup → prefilter → LLM screen/tailor/honesty-check → LaTeX build → targets/ + human-review. Bun + TS, yaml is the only runtime dep (AGENTS.md constraint — keep it).
Layout (post-refactor 2026-09-17, branch refactor/ports-and-tests)
engine/domain/pure types+rules (prefilter, profile gate, config validator, stage-output validators) — zero I/Oengine/ports.ts— ModelGateway/JobStore/ReviewQueue/ProfileStore/Toolchain/Source/Publisher/PromptReaderengine/app/—loop.tsorchestrator with singledispose()transition funnel,stages.ts,report.ts(pure renderers)engine/adapters/— llm (instance Budget, 429/5xx retry-once backoff), state (JSONL + derived human-review.md), build (patchTex reports missing anchors), sources, profileengine/run.ts— composition root / CLI onlytests/fakes.ts— stage-keyed FakeGateway + mem ports; runLoop takes injectablenow/log
Commands
bun test (65 tests, no network), bun run typecheck (bundle-check), bun run gate, bun run master-pdf (master resume → master-resume.pdf via the shared toolchain; build.sh delegates to engine/master-build.ts), bun run seed-test (needs real LLM key — nightly CI only).
Hermes cron wiring (live since 2026-09-17)
- Job af36b9605452,
every 2h, no_agent watchdog →profiles/full-stack/scripts/job-hunting-loop-tick.py(MUST be .py — Hermes runs .sh through WSL bash, absent on this box). Script runs the one-shot loop, reads runs.jsonl tail, prints digest only on error/escalated/tailored; silent on nothing_new. Requires full gateway (hermes gateway install) running. - The script resolves bun via shutil.which + npm-shim fallback (
~/AppData/Roaming/npm/bun.cmd) — Python subprocess PATH on Windows may not see it.
Pitfalls
- State in
loop/state/is live user data — never delete records; smoke-test artifacts must be filtered out of jobs.jsonl after runs. skipped_budgetis NON-terminal in dedup (deferred postings reconsider next run); all other statuses suppress.- CI seed-test job requires repo secrets LLM_API_KEY/LLM_BASE_URL; silently skips when absent.
- Honesty red line tests: check-fail must mean zero toolchain.build calls — don't 'optimize' that path.
04 同仓库更多 Skills
project-spec-docs
Fill/update project_spec docs (templates, MM handoffs).
penpot-mcp
Penpot MCP: connect, verify, and fix streaming via nginx.
nginx-streaming-proxy
Configure nginx for streaming endpoints (SSE, MCP, WS).
branding-ci
Use for brand/CI identity, style guides, and brand docs.
yuanbao
Yuanbao (元宝) groups: @mention users, query info/members.
slidev
Create and present web-based slidedecks for developers using Slidev with Markdown, Vue components, code highlighting, animations, and interactive features. Use when building technical presentations, conference talks, code walkthroughs, teaching materials, or developer decks.