fix(batch): include modes/_profile.md in worker sources of truth#584
Conversation
Parallel `claude -p` batch workers spawned by `/career-ops batch` don't inherit the orchestrator's context, so they were missing the user's `modes/_profile.md` overrides that interactive modes pick up via `modes/_shared.md` (line 23: "Read _profile.md AFTER this file. User customizations in _profile.md override defaults here."). This makes batch workers behave consistently with interactive modes: archetype customizations, adaptive framing, factual constraints, and any other `_profile.md` overrides now apply during batch evaluation. Two changes: - Add `_profile.md` row to "Fuentes de Verdad" table - Add a precedence rule mirroring `_shared.md` Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe PR updates ChangesBatch Worker Profile Source Integration
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related issues
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
… PDFs) - scan.mjs: 73 companies API-scanned, 0 new (steady-state) - Level 3 WebSearch: +10 URLs added to today's pipeline section (Ashby, SmartRecruiters, Himalayas, Recruitee, TeamTailor) - Pipeline batch: processed 10 URLs → 8 reports (santifer#579-586) + 2 archived as closed-posting errors (Clutch Ashby null, RealityMine TeamTailor inactive) - Reports + PDFs (score >= 3.0): santifer#579 Daxko (3.6/5, US Remote, RAG + multi- provider LLM API 1:1), santifer#580 Aspen Skiing (3.0/5, Aspen/Denver CO, Azure/Copilot ramp gap) - Below-threshold (score < 3.0, archived): #581 Adaptive ML (NY in-person, 4-8+ yr senior gate), santifer#582 Synthflow Berlin (German fluency veto), santifer#583 Amdaris (UK + comp gap), santifer#584 Red Hat (10+ yr senior gate), santifer#585 LITIT (Lithuania), santifer#586 Radix.AI (Brussels) - merge-tracker.mjs: +7 added, 1 skipped (Synthflow Berlin variant lower than existing santifer#193) - verify-pipeline.mjs: 0 errors / 0 warnings - cleanup-low-scores.mjs: 5 archived to below-threshold/ - pipeline.md: 10 entries moved Pendientes → Procesadas under 2026-05-06
Closes #583.
Summary
modes/_profile.mdthe same way interactive modes do.batch/batch-prompt.md: one source row + one precedence rule.Why
Parallel
claude -pbatch workers spawned by/career-ops batchdon't inherit the orchestrator's context.modes/_shared.mdline 23 routes interactive modes through_profile.md("Read _profile.md AFTER this file. User customizations in _profile.md override defaults here."), butbatch/batch-prompt.md's "Fuentes de Verdad" table omits it. Batch evaluations therefore use the upstream defaults baked intobatch-prompt.mdinstead of the user's customizations (archetypes, adaptive framing, factual constraints).See #583 for the detailed problem write-up.
Diff
Test plan
modes/_profile.md(e.g., a factual constraint about how a specific role should be framed, or a new entry in "Your Adaptive Framing")./career-ops batchagainst an offer that would trigger the customization._profile.mdrule (without this PR, it would not)./career-ops ofertaagainst the same offer and compare — output should be consistent across both modes.Compatibility
No behavior change for users without
_profile.mdcustomizations (the default_profile.template.mdships with archetype/framing slots that matchbatch-prompt.md's defaults, so worker output is identical). Users with customizations: batch and interactive modes converge on the customized output, matching_shared.md's documented intent.🤖 Generated with Claude Code
Summary by CodeRabbit