-
Notifications
You must be signed in to change notification settings - Fork 0
Glossary
Relevant source files
- docs/product/model-tiers.md
- docs/product/openrouter-guardrails.md
- src-tauri/Cargo.lock
- src-tauri/Cargo.toml
- src-tauri/src/check.rs
- src-tauri/src/community.rs
- src-tauri/src/experience.rs
- src-tauri/src/fit.rs
- src-tauri/src/job.rs
- src-tauri/src/lib.rs
- src-tauri/src/pipeline/filter.rs
- src-tauri/src/pipeline/mod.rs
- src-tauri/src/pipeline/queue.rs
- src-tauri/src/pipeline/runner.rs
- src-tauri/src/pipeline/steps.rs
- src-tauri/src/profile.rs
- src-tauri/src/prompts.rs
- src-tauri/src/secrets.rs
- src/lib/check.test.ts
- src/lib/check.ts
- src/lib/pipeline.ts
- src/lib/spend.test.ts
- src/lib/styles/layout/roles.css
- src/lib/styles/layout/workspace.css
- src/routes/checks/[id]/+page.svelte
This page defines codebase-specific terms, abbreviations, and domain concepts used throughout Lodestar.
The user's local directory (typically an Obsidian vault) where all persistent data is stored as Markdown files with YAML frontmatter src-tauri/src/lib.rs#30-40 The app does not use a primary database for entity storage; it treats the file system as the source of truth src-tauri/src/note.rs#1-15
A durable record of a pipeline execution, stored in <vault>/checks/<id>.mdsrc-tauri/src/check.rs#138-143 A "Check" (or "Run") represents a single logical operation, such as discovering jobs for a company (job_check) or fetching details for a specific role (job_detail) src-tauri/src/check.rs#44-58
- Subject: The entity a run is about (e.g., a company slug or job slug) src-tauri/src/check.rs#52-54
- Step: An individual task within a run (e.g.,
careers-scrape,structure-jd) src-tauri/src/check.rs#11-41
A URL-safe, filesystem-safe unique identifier derived from an entity's name (e.g., google for a company, senior-software-engineer-google-123 for a job) src-tauri/src/job.rs#181-182 Slugs serve as filenames and primary keys in the system.
A SQLite-backed durable queue (queue.db) located in the app's data directory (not the vault) src-tauri/src/lib.rs#31-33 It manages the execution of pipeline steps, ensuring retries and state persistence across app restarts src-tauri/src/pipeline/queue.rs#1-10
The process of fetching HTML from job boards or career pages.
- ScrapingBee: The primary service used for fetching content src-tauri/src/scraper.rs#1-10
- Proxy Tier: The level of evasion used.
Premiumis the default;Stealthis used as an escalation path for difficult-to-scrape sites src-tauri/src/pipeline/steps.rs#23-24 - Sanitization: The process of stripping scripts, styles, and hidden elements from HTML to reduce token count before sending it to an LLM src-tauri/src/sanitize.rs#1-20
Lodestar uses OpenRouter to interface with various Large Language Models src-tauri/src/llm.rs#1-10
- Prompt Caching: Uses OpenRouter's
cached_prefixto reduce costs for repetitive prompts (like the candidate dossier used inalignment) src-tauri/src/llm.rs#120-130 - Structured Output: The app uses defensive parsing to extract JSON arrays or objects from LLM responses, even if wrapped in prose src-tauri/src/prompts.rs#53-81
A pipeline stage (gap-detect) that inspects a Job struct to see which RESEARCHABLE_FIELDS (like comp_low or tech_stack) are missing, triggering a conditional research-gaps step src-tauri/src/pipeline/steps.rs#137-142
The result of the scoring engine, containing five dimensions and any "Flags" src-tauri/src/fit.rs#55-63
| Dimension | Description | Code Reference |
|---|---|---|
| Seniority | Match between Job level and User target_levels, adjusted by YOE. |
src-tauri/src/fit.rs#94-158 |
| Skills | Coverage of required_skills and preferred_skills against the user's profile. |
src-tauri/src/fit.rs#165-184 |
| Comp | Alignment of job salary range with the user's comp_floor and comp_target. |
src-tauri/src/fit.rs#191-200 |
| Arrangement | Match for Remote/Hybrid/Onsite preferences. | src-tauri/src/fit.rs#205-215 |
| Domain | Preference for specific industries or functional domains. | src-tauri/src/fit.rs#220-230 |
Qualitative markers that indicate concerns or dealbreakers src-tauri/src/fit.rs#21-32
- Dealbreaker: Collapses the total
fit_scoreto0src-tauri/src/fit.rs#8-9 - Caution: Highlights a potential issue without zeroing the score src-tauri/src/fit.rs#42-48
The system divides seniority into two tracks to prevent "IC vs Manager" mismatches:
- IC Track:
junior(0),mid(1),senior(2). - Management Track:
front-line-mgmt(0),middle-mgmt(1),dept-head(2),vp(3),c-suite(4). src-tauri/src/fit.rs#74-86
This diagram illustrates how a raw Job Description is transformed into a structured Job entity in the codebase.
flowchart TD
subgraph subGraph2 ["Persistence (Vault)"]
G["jobs/slug.md"]
end
subgraph subGraph1 ["Code Entity Space (Rust)"]
B["scraper::run_scrape_step"]
C["sanitize::sanitize"]
D["prompts::build_structure_jd_prompt"]
E["prompts::StructuredJd (Struct)"]
F["job::Job (Struct)"]
end
subgraph subGraph0 ["Natural Language Space"]
A["HTML/Text JD"]
end
A --> B
B --> C
C --> D
D --> E
E --> F
F --> G
Sources:src-tauri/src/pipeline/steps.rs#40-50src-tauri/src/job.rs#59-111src-tauri/src/prompts.rs#86-141
This diagram maps the logical pipeline stages to the internal event system used by the Svelte frontend.
flowchart LR
subgraph subGraph2 ["Frontend State (Svelte)"]
F1["onRunStep (Listener)"]
F2["phaseLabel (UI Helper)"]
end
subgraph subGraph1 ["Event System (Tauri IPC)"]
E1["EventSink::step_started"]
E2["EventSink::step_done"]
end
subgraph subGraph0 ["Pipeline Runner (Rust)"]
S1["careers-scrape"]
S2["structure-listings"]
S3["finalize"]
end
S1 --> E1
E1 --> F1
F1 --> F2
S1 --> E2
E2 --> F1
Sources:src-tauri/src/pipeline/steps.rs#62-70src/lib/pipeline.ts#62-79src/lib/pipeline.ts#92-114
- ATS: Applicant Tracking System (e.g., Lever, Greenhouse) src-tauri/src/prompts.rs#22
- JD: Job Description src-tauri/src/job.rs#110
- YOE: Years of Experience src-tauri/src/experience.rs#2
- FM: Frontmatter (the YAML block at the top of Markdown files) src-tauri/src/note.rs#75
- IC: Individual Contributor src-tauri/src/fit.rs#68
Sources:
src-tauri/src/pipeline/steps.rssrc-tauri/src/job.rssrc-tauri/src/fit.rssrc-tauri/src/check.rssrc-tauri/src/prompts.rssrc-tauri/src/lib.rssrc/lib/pipeline.ts