careervivid 1.12.20 → 1.12.21

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.
@@ -1 +1 @@
1
- {"version":3,"file":"instructions.d.ts","sourceRoot":"","sources":["../../src/agent/instructions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAMH,eAAO,MAAM,aAAa,QAWlB,CAAC;AAMT,eAAO,MAAM,cAAc,QAcnB,CAAC;AAMT,eAAO,MAAM,cAAc,QAgBnB,CAAC;AAMT,eAAO,MAAM,kBAAkB,QA2BvB,CAAC;AAMT,eAAO,MAAM,eAAe,QAOpB,CAAC;AAMT,eAAO,MAAM,YAAY,QAoBjB,CAAC;AAMT,eAAO,MAAM,iBAAiB,QActB,CAAC;AAMT;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE;IACzC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,MAAM,CA0BT"}
1
+ {"version":3,"file":"instructions.d.ts","sourceRoot":"","sources":["../../src/agent/instructions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,aAAa,QAalB,CAAC;AAMT,eAAO,MAAM,cAAc,QAcnB,CAAC;AAMT,eAAO,MAAM,cAAc,QAgBnB,CAAC;AAMT,eAAO,MAAM,kBAAkB,QA2BvB,CAAC;AAMT,eAAO,MAAM,eAAe,QAOpB,CAAC;AAMT,eAAO,MAAM,YAAY,QAoBjB,CAAC;AAMT,eAAO,MAAM,iBAAiB,QActB,CAAC;AAMT;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE;IACzC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,MAAM,CA0BT"}
@@ -10,20 +10,19 @@
10
10
  *
11
11
  * DO NOT scatter instructions across QueryEngine.ts, engineResolver.ts, or anywhere else.
12
12
  */
13
- // ---------------------------------------------------------------------------
14
- // §1 — Shared Agent Identity (injected into every mode)
15
- // ---------------------------------------------------------------------------
16
13
  export const BASE_IDENTITY = `
17
14
  You are CareerVivid AI — an autonomous career intelligence agent built into the CareerVivid CLI.
18
15
  You help users manage their resume, track job applications, find new opportunities, prep for interviews, and grow their career.
19
16
 
20
17
  ## Core Behavioral Rules
21
18
 
22
- 1. **TOOL-FIRST** — Always call the relevant tool BEFORE writing prose. Never answer pipeline or resume questions from memory.
23
- 2. **MINIMAL FOOTPRINT** — Make the smallest action that solves the problem. Confirm before destructive operations (delete, overwrite).
24
- 3. **SELF-VERIFY** — After any write or mutation, confirm the result by re-reading or re-fetching the changed resource.
25
- 4. **NO CONVERSATIONAL STALLS** — Never say "I would…", "I can…", or "Would you like me to…" before calling a tool. Just call it.
26
- 5. **TRANSPARENCY** — If uncertain, list options and your recommendation. Never silently choose.
19
+ 1. **ANSWER FIRST** — If the user asks a direct question (e.g., "Did you find X?", "What is Y?"), answer it explicitly and immediately. Do not ignore the question or bury it behind a massive multi-step automated tangent.
20
+ 2. **STAY TARGETED** — Perform exactly the task requested. Do not go on unprompted tangents or invent massive autonomous workflows that the user didn't ask for.
21
+ 3. **TOOL-FIRST** — Always call the relevant tool BEFORE writing prose. Never answer pipeline or resume questions from memory.
22
+ 4. **MINIMAL FOOTPRINT** — Make the smallest action that solves the problem. Confirm before destructive operations (delete, overwrite).
23
+ 5. **SELF-VERIFY** — After any write or mutation, confirm the result by re-reading or re-fetching the changed resource.
24
+ 6. **NO CONVERSATIONAL STALLS** — Never say "I would…", "I can…", or "Would you like me to…" before calling a tool. Just call it.
25
+ 7. **TRANSPARENCY** — If uncertain, list options and your recommendation. Never silently choose.
27
26
  `.trim();
28
27
  // ---------------------------------------------------------------------------
29
28
  // §2 — Resume section (appended in --resume and --jobs modes)
@@ -114,7 +113,7 @@ export const JOBS_HARNESS = `
114
113
  1. DO NOT ASK FOR PERMISSION before calling mutative tools (add_local_job, update_local_job, etc.) unless the action is destructive.
115
114
  2. Fill in missing details with sensible defaults (TBD, today's date, empty strings) rather than stalling for input.
116
115
  3. If you catch yourself explaining what you *are going to do* instead of calling the tool — STOP and call the tool.
117
- 4. Complete the full workflow in a single turn. Avoid handoffs like "Would you like me to".
116
+ 4. Complete the full workflow (e.g., tailoring a resume, finding jobs) ONLY if explicitly requested or obviously needed. However, if the user just asks a simple targeted question (e.g., "Did you find X?", "Is my resume up to date?"), DO NOT trigger an unprompted mass workflow (like saving extra companies and rewriting multiple resumes). Answer the question immediately.
118
117
 
119
118
  ## Mandatory Tool Dispatch Table
120
119
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "careervivid",
3
- "version": "1.12.20",
3
+ "version": "1.12.21",
4
4
  "description": "Official CLI for CareerVivid — publish articles, diagrams, and portfolio updates from your terminal or AI agent",
5
5
  "type": "module",
6
6
  "bin": {