pi-career 0.2.0 → 0.3.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/CHANGELOG.md +28 -2
- package/NOTICE +1 -1
- package/README.md +72 -40
- package/SECURITY.md +7 -7
- package/dist/index.js +1406 -296
- package/docs/application-workspaces.md +6 -5
- package/docs/career-run-roadmap.md +37 -27
- package/docs/design.md +24 -19
- package/docs/native-dependency-inventory.md +1 -1
- package/docs/product-flow.md +11 -6
- package/docs/releasing.md +55 -32
- package/docs/variant-save-workflow.md +303 -0
- package/package.json +6 -1
- package/skills/career-core/SKILL.md +52 -133
- package/skills/career-core/references/cli-contract.md +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
## 0.3.0 - 2026-08-14
|
|
6
|
+
|
|
7
|
+
### Breaking
|
|
8
|
+
|
|
9
|
+
- Removed Windows support. Package metadata now permits installation only on macOS/Linux, and direct local/Git extension initialization registers no command/tool and fails with stable payload-free `unsupported_platform` guidance before runtime route work, acquisition, compatibility probing, or private stdin.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Updated the exact external runtime and managed compatibility boundary to `@revazi/career@0.2.0` / Core 0.2.0 after reviewing the six-target package, registry integrity, SLSA provenance, and unchanged v1 operation/schema semantics. Pi-career validates the exact ordered six-package v2 launcher manifest while delegating native selection and integrity algorithms to the launcher.
|
|
14
|
+
- Decoupled immutable `7ed36c4…` after-study evidence from later source: frozen bytes/trees/deltas remain exact, while current measurements may improve only with unchanged shape/invariants/budgets and no workflow regression relative to that snapshot.
|
|
15
|
+
- Consolidated the model-visible Career Skill while preserving safety invariants and avoiding workflow regressions; the frozen before/after evidence records an aggregate reduction from 25,652 to 21,552 workflow tokens (15.98%).
|
|
16
|
+
- Added a Git-history/source-tree/hash-bound before/optimizing/after token-optimization benchmark phase with Pi Skill discovery/full-load context, actual managed serialization parity, direct tool-call/result/detail/editor surfaces, and independent workflows; semantic/privacy gates prevent savings by dropping required context.
|
|
17
|
+
- Added user-only TUI/RPC `/career-save` for exact preview and separately confirmed no-clobber saving of current Markdown/text materializations on supported macOS/Linux systems, with private managed-directory markers, strict assisted/non-authoritative v2 sidecars, in-memory idempotency, and immediate exclusion-verifying rescan; PDF saves fail closed.
|
|
18
|
+
- Changed assisted-sidecar scanning to quarantine malformed, missing-in-managed-root, duplicate-key, edited, or hash-mismatched artifacts instead of allowing fallback to original analysis/matching eligibility.
|
|
19
|
+
- Expanded the frozen synthetic token benchmark across managed match, suggestion/replacement review, materialization, and evidence/change/document detail hydration outputs, all under explicit common-output budgets.
|
|
20
|
+
- Added mocked release-automation regressions for checked-in hosted-gate invocation, bounded registry propagation, exact npm publish/SLSA attestation formats, fail-closed responses, and publication-to-release ordering.
|
|
21
|
+
- Generalized the trusted-publishing checklist and recorded immutable `v0.2.0` coordinates, incident boundaries, and no-blind-rerun recovery guidance.
|
|
22
|
+
- Expanded synthetic PDF compatibility coverage with pinned Chromium 150 tagged/untagged fixtures, an embedded OFL-licensed Lato subset, a CSS multi-column layout, and fail-closed image-only/malformed/oversized inputs without OCR.
|
|
23
|
+
- Added a reproducible two-page ReportLab 4.4.10 searchable-PDF fixture with pinned generator-wheel provenance, exact extracted text, compressed content, and an embedded Lato subset.
|
|
24
|
+
- Added turn-terminating non-PDF variant review and a bounded TUI `/career-review` flow that requires warning/discard acknowledgment, exact per-change inspection, explicit inclusion, and a later handle/ID-only editor handoff; PDF handles fail closed before selection or materialization.
|
|
25
|
+
- Added a final paged cross-change review and separate prepare choice before `/career-review` can place selected canonical IDs in the editor, with a back path that preserves the in-memory selection for revision.
|
|
26
|
+
- Replaced the final selected-change JSON object with compact labeled records that keep exact IDs, sections, line bounds, before/after text, and both evidence sets visible.
|
|
27
|
+
- Added constant-state final-review navigation that can reopen any selected exact record directly before the separate prepare-or-back decision.
|
|
28
|
+
|
|
3
29
|
## 0.2.0 - 2026-08-10
|
|
4
30
|
|
|
5
31
|
### Added
|
|
@@ -16,8 +42,8 @@
|
|
|
16
42
|
### Changed
|
|
17
43
|
|
|
18
44
|
- Replaced package-owned native artifacts with a local-first external resolver: bounded absolute `CAREER_CLI_PATH`, PATH `career`, package-local `@revazi/career`, then bounded acquisition of exact `@revazi/career@0.1.1` unless `PI_OFFLINE=1`.
|
|
19
|
-
- Expanded the reviewed external
|
|
20
|
-
- Exact managed Core 0.1.1 operation-catalog/schema-bundle compatibility now completes before private stdin opens. The reviewed Career package launcher owns native target/libc/provenance/mode
|
|
45
|
+
- Expanded the reviewed external-runtime acquisition boundary through exact `@revazi/career@0.1.1`, deriving npm and its command shell from validated real installation/system paths, executing no PATH-selected shim, and cancelling the detached npm process group.
|
|
46
|
+
- Exact managed Core 0.1.1 operation-catalog/schema-bundle compatibility now completes before private stdin opens. The reviewed Career package launcher owns native target/libc/provenance/mode/size/format/SHA-256 verification; pi-career caches routes only in memory and never retries an already-started operation on another route.
|
|
21
47
|
- Removed `runtime/` from source/package artifacts and replaced bundled-runtime/package checks with runtime-resolution, exact Career package, offline failure, and native-free tarball coverage.
|
|
22
48
|
- Workbench prompts now use `career_run` handles and native proposal payloads rather than model-visible schema discovery and manually reconstructed Core envelopes.
|
|
23
49
|
- Setup and library flows now rescan immediately, display indexed PDFs and actionable scan notices, and explain the searchable PDF/Markdown/text success path instead of silently showing an empty library.
|
package/NOTICE
CHANGED
|
@@ -11,7 +11,7 @@ LICENSE-APACHE.
|
|
|
11
11
|
pi-career packages no native Career Core binary. Runtime distribution,
|
|
12
12
|
platform provenance, native integrity verification, and native third-party
|
|
13
13
|
notices belong to the separately installed or acquired exact
|
|
14
|
-
@revazi/career@0.
|
|
14
|
+
@revazi/career@0.2.0 distribution. Historical evidence for the native binaries
|
|
15
15
|
bundled by pi-career v0.1.0 remains in docs/native-dependency-inventory.md and
|
|
16
16
|
docs/releasing.md but is not part of the current runtime boundary.
|
|
17
17
|
|
package/README.md
CHANGED
|
@@ -7,33 +7,36 @@
|
|
|
7
7
|
|
|
8
8
|
`pi-career` is a [Pi package](https://github.com/earendil-works/pi) for deterministic resume analysis and conservative vacancy matching, with an optional model-assisted workflow for reviewed resume improvements.
|
|
9
9
|
|
|
10
|
-
The package's command handlers do not call a model/provider. `/career-workbench`
|
|
10
|
+
The package's command handlers do not call a model/provider. `/career-workbench` prepares a visible private prompt in Pi's editor, while `/career-review` prepares only an ephemeral review handle and explicitly selected canonical IDs; only the user's later submission invokes the selected Pi model/provider. At runtime, pi-career never uses a Career Core source checkout or Cargo build. Its optional maintainer compatibility test may read an explicitly supplied, reviewed Core fixture checkout.
|
|
11
11
|
|
|
12
12
|
It gives you:
|
|
13
13
|
|
|
14
14
|
- local slash commands for setting up a resume library, analyzing originals, and matching them to a vacancy;
|
|
15
15
|
- one compact managed agent tool, `career_run`, for guided work after the deterministic baseline;
|
|
16
16
|
- a visible workbench handoff that never sends private resume text until you review and submit it yourself;
|
|
17
|
+
- bounded TUI inspection and explicit selection of Core-reviewed non-PDF changes without automatic materialization;
|
|
17
18
|
- a bounded resolver for a compatible external Career Core runtime;
|
|
18
19
|
- no bundled native binary, telemetry, vacancy URL fetching, automatic document overwrite, or hidden provider call.
|
|
19
20
|
|
|
20
21
|
Career Core remains authoritative for scores, evidence, warnings, uncertainty, matching, and proposal review. `pi-career` owns the Pi workflow and presentation layer; it does not reimplement Career Core algorithms or schemas.
|
|
21
22
|
|
|
22
|
-
> **Version note:** this README describes `pi-career@0.
|
|
23
|
+
> **Version note:** this README describes the `pi-career@0.3.0` candidate. Published `pi-career@0.2.0` is the prior native-free release, and `pi-career@0.1.0` is the historical bundled-runtime release. Until `0.3.0` is explicitly released and visible on the npm registry, use a reviewed local checkout or pinned Git commit.
|
|
23
24
|
|
|
24
25
|
## Requirements
|
|
25
26
|
|
|
26
27
|
- Node.js 22.19 or newer
|
|
27
28
|
- Pi with 0.84.0-compatible package APIs
|
|
28
|
-
-
|
|
29
|
-
- either a compatible local `career` executable or network access for first-use acquisition of exact `@revazi/career@0.
|
|
29
|
+
- macOS or Linux on ARM64/x64; GNU Linux requires glibc 2.35+, and musl Linux is supported
|
|
30
|
+
- either a compatible local `career` executable or network access for first-use acquisition of exact `@revazi/career@0.2.0`
|
|
31
|
+
|
|
32
|
+
Windows is unsupported. npm enforces the package `os` allowlist; for a local or Git registration, extension initialization fails with stable `unsupported_platform` guidance before registering any command or tool, inspecting `CAREER_CLI_PATH`, searching `PATH`, validating package routes, acquiring npm content, or opening private stdin.
|
|
30
33
|
|
|
31
34
|
## Install
|
|
32
35
|
|
|
33
36
|
After the registry confirms the release, install the exact version:
|
|
34
37
|
|
|
35
38
|
```bash
|
|
36
|
-
pi install npm:pi-career@0.
|
|
39
|
+
pi install npm:pi-career@0.3.0
|
|
37
40
|
pi list
|
|
38
41
|
```
|
|
39
42
|
|
|
@@ -45,13 +48,6 @@ pi install "$(pwd -P)"
|
|
|
45
48
|
pi list
|
|
46
49
|
```
|
|
47
50
|
|
|
48
|
-
On Windows PowerShell, register the same clean checkout with:
|
|
49
|
-
|
|
50
|
-
```powershell
|
|
51
|
-
pi install (Resolve-Path .).Path
|
|
52
|
-
pi list
|
|
53
|
-
```
|
|
54
|
-
|
|
55
51
|
Local-path installation loads the checkout in place. After a reviewed update, restart Pi or run `/reload`.
|
|
56
52
|
|
|
57
53
|
To pin a reviewed Git commit instead:
|
|
@@ -108,15 +104,21 @@ flowchart TD
|
|
|
108
104
|
T -->|Tailor to vacancy| X["Analyze and match the original<br/>Career Core reviews variant changes once"]
|
|
109
105
|
X --> Y{"Original format"}
|
|
110
106
|
Y -->|PDF| AA["Return targeted manual changes only"]
|
|
111
|
-
Y -->|Markdown/text| AB["
|
|
112
|
-
AB -->
|
|
107
|
+
Y -->|Markdown/text| AB["career_run ends the review turn"]
|
|
108
|
+
AB --> AD["/career-review<br/>inspect notices and exact changes<br/>all IDs start excluded"]
|
|
109
|
+
AD --> AE{"Review and submit selected IDs?"}
|
|
110
|
+
AE -->|No| Z
|
|
111
|
+
AE -->|Yes| AC["Later turn: career_run materialize<br/>assisted text remains in memory"]
|
|
112
|
+
AC --> AF{"Save this local variant?"}
|
|
113
|
+
AF -->|No| Z
|
|
114
|
+
AF -->|Yes| AG["/career-save<br/>review exact files and destination<br/>then confirm separately"]
|
|
113
115
|
|
|
114
116
|
N --> Z["Original remains unchanged<br/>assisted output is non-authoritative<br/>and is never reranked as an original"]
|
|
115
117
|
Q --> Z
|
|
116
118
|
U --> Z
|
|
117
119
|
W --> Z
|
|
118
120
|
AA --> Z
|
|
119
|
-
|
|
121
|
+
AG --> Z
|
|
120
122
|
```
|
|
121
123
|
|
|
122
124
|
### 1. Start with a transient Pi session
|
|
@@ -208,11 +210,11 @@ Choose an original and a guided mode. The command prepares a private prompt in P
|
|
|
208
210
|
|
|
209
211
|
After you submit, the selected Pi agent uses `career_run` to rerun complete deterministic baselines and Core-review any proposed suggestions, replacements, or vacancy-specific changes. The original remains immutable.
|
|
210
212
|
|
|
211
|
-
For a non-PDF tailored variation, the agent
|
|
213
|
+
For a non-PDF tailored variation, `career_run variant-review` ends the agent turn. Run `/career-review <review-handle>` to inspect every warning/discard and each exact before/after/evidence record; all retained changes start excluded. Explicitly include the IDs you want, review those selected changes together, and separately confirm the handle/ID-only editor handoff before submitting it as a later turn. The selector never materializes or submits automatically. After successful materialization, you may separately run `/career-save <variant-handle>` to inspect the complete local file plan and confirm it; the model cannot invoke saving. For PDFs, the workbench returns targeted manual changes only because extracted text cannot preserve typography, columns, spacing, or graphics; PDF review handles cannot enter selection, materialization, or saving.
|
|
212
214
|
|
|
213
215
|
## Slash command reference
|
|
214
216
|
|
|
215
|
-
The workflow commands below require interactive TUI/RPC mode except `/career-vacancy clear`; `/career-tools` is a lightweight tool-surface switch. Slash-command handlers do not invoke a model/provider. `/career-workbench`
|
|
217
|
+
The workflow commands below require interactive TUI/RPC mode except `/career-vacancy clear`; `/career-review` is TUI-only, `/career-save` supports TUI/RPC, and `/career-tools` is a lightweight tool-surface switch. Slash-command handlers do not invoke a model/provider. `/career-workbench` and `/career-review` prepare editor prompts whose later user submission does. Core-backed commands may resolve or acquire the external runtime before processing private input.
|
|
216
218
|
|
|
217
219
|
### `/career-setup [status]`
|
|
218
220
|
|
|
@@ -322,7 +324,40 @@ The optional resume filter behaves like `/career-analyze`. Available modes are:
|
|
|
322
324
|
|
|
323
325
|
The command itself calls neither Career Core nor a provider. It puts the complete selected resume—and the vacancy only for tailoring—into Pi's editor. Nothing is sent until you submit. Submitting may persist that message and send it to the provider selected in Pi.
|
|
324
326
|
|
|
325
|
-
|
|
327
|
+
The workbench and model never save automatically. Only a later successful non-PDF materialization can be passed by the user to `/career-save` for separate exact local preview and confirmation.
|
|
328
|
+
|
|
329
|
+
### `/career-review <review-handle>`
|
|
330
|
+
|
|
331
|
+
Review and explicitly select retained changes from a current non-PDF `career_run variant-review` result. This command is available only in TUI mode and only while the ephemeral review handle remains in the current process/session branch.
|
|
332
|
+
|
|
333
|
+
The bounded selector:
|
|
334
|
+
|
|
335
|
+
- requires inspection/acknowledgment of all Core warnings and discarded-change reasons;
|
|
336
|
+
- shows every canonical change as excluded by default;
|
|
337
|
+
- opens a paged exact view of its before text, proposed after text, line bounds, resume evidence, and vacancy evidence;
|
|
338
|
+
- includes a change only after you toggle it from that exact view;
|
|
339
|
+
- requires at least one included canonical ID before continuing;
|
|
340
|
+
- pages all selected exact changes together in a compact labeled view, lets you reopen any selected record directly, and requires a separate final prepare choice with a back option for revisions.
|
|
341
|
+
|
|
342
|
+
Only that final prepare choice creates a short editor message containing the review handle and selected IDs. It does not invoke Career Core, materialize a result, contact a provider, append selection state to the Pi session, save a result, or write a file. Review and submit that editor message manually to start the later materialization turn. Escape cancels without preparing anything.
|
|
343
|
+
|
|
344
|
+
PDF review changes remain manual-application guidance and are rejected by `/career-review`, `career_run materialize`, and `/career-save`.
|
|
345
|
+
|
|
346
|
+
### `/career-save <variant-handle>`
|
|
347
|
+
|
|
348
|
+
Save one current successful Markdown/text `career_run materialize` result as a new assisted local variant. This user-only command is not a model tool and is available in TUI/RPC mode on supported POSIX systems.
|
|
349
|
+
|
|
350
|
+
Before writing anything, it:
|
|
351
|
+
|
|
352
|
+
1. revalidates the ephemeral variant and unchanged original;
|
|
353
|
+
2. derives an eligible direct-child managed variants directory;
|
|
354
|
+
3. opens a complete canonical preview containing exact destination paths, artifact/sidecar bytes, hashes, and any directory marker;
|
|
355
|
+
4. requires the preview to be returned byte-identically;
|
|
356
|
+
5. asks for a separate final confirmation.
|
|
357
|
+
|
|
358
|
+
It then publishes new `0600` files in a `0700` managed directory without replacing existing paths, writes a strict assisted/non-authoritative sidecar, and rescans before reporting success. Missing, malformed, edited, or hash-mismatched assisted metadata is quarantined and never falls back to original eligibility. Saving invokes no Career Core operation, provider, model, network request, or session entry. PDF handles fail closed; the save workflow is supported on pi-career's macOS/Linux platforms with its POSIX-private filesystem contract.
|
|
359
|
+
|
|
360
|
+
Saved files are not securely erased by session deletion, root removal, package removal, or `PI_OFFLINE=1`. Pi-career never automatically overwrites, updates, moves, or deletes them.
|
|
326
361
|
|
|
327
362
|
### `/career-tools [managed|raw|status]`
|
|
328
363
|
|
|
@@ -342,7 +377,9 @@ Normal users do not need to call raw JSON tools. The package's Agent Skill instr
|
|
|
342
377
|
2. `analyze` and `match` return compact projections backed by complete in-memory Core results;
|
|
343
378
|
3. suggestion, replacement, and variant proposals must pass the corresponding Core review command;
|
|
344
379
|
4. `detail` hydrates only the requested evidence, warning, check, change, document, or raw section;
|
|
345
|
-
5. `
|
|
380
|
+
5. non-PDF `variant-review` ends its turn so `/career-review` can collect an explicit local selection and prepare a later user message;
|
|
381
|
+
6. `materialize` requires that unchanged review handle and exactly the user-selected retained IDs;
|
|
382
|
+
7. only the user may separately run `/career-save <variant-handle>` for unchanged preview and confirmation.
|
|
346
383
|
|
|
347
384
|
Handles and complete results remain bounded in process memory and disappear on session/branch replacement, reload, or shutdown. They are not result files and cannot be reconstructed safely from chat text.
|
|
348
385
|
|
|
@@ -360,14 +397,14 @@ When raw mode is explicitly enabled, discovery-first use remains mandatory: capa
|
|
|
360
397
|
|
|
361
398
|
1. absolute `CAREER_CLI_PATH`;
|
|
362
399
|
2. `career` on `PATH`;
|
|
363
|
-
3. package-local exact `@revazi/career@0.
|
|
364
|
-
4. bounded acquisition of exact `@revazi/career@0.
|
|
400
|
+
3. package-local exact `@revazi/career@0.2.0`;
|
|
401
|
+
4. bounded acquisition of exact `@revazi/career@0.2.0` from the canonical npm registry.
|
|
365
402
|
|
|
366
|
-
Runtime installation is separate from loading the local Pi package. `/career-setup`, `/career-library`, `/career-application`, and `/career-
|
|
403
|
+
Runtime installation is separate from loading the local Pi package. `/career-setup`, `/career-library`, `/career-application`, `/career-workbench`, and `/career-review` itself do not resolve or invoke Core; `/career-review` requires a still-live review produced earlier by `career_run`. `/career-vacancy`, `/career-analyze`, `/career-match`, `career_run`, and the raw tools do need Core.
|
|
367
404
|
|
|
368
|
-
Before private document stdin opens, the selected executable must pass the exact managed Career Core 0.
|
|
405
|
+
Extension initialization requires macOS or Linux and fails unsupported platforms with one payload-free `unsupported_platform` error before registering any command/tool or doing route work. Before private document stdin opens on a supported platform, the selected executable must pass the exact managed Career Core 0.2.0 operation and schema compatibility checks. An invalid explicit `CAREER_CLI_PATH` fails without fallback.
|
|
369
406
|
|
|
370
|
-
The
|
|
407
|
+
The pi-career runtime target matrix is:
|
|
371
408
|
|
|
372
409
|
| Operating system | Architecture | Runtime target | Requirement |
|
|
373
410
|
| --- | --- | --- | --- |
|
|
@@ -377,10 +414,8 @@ The exact launcher target matrix is:
|
|
|
377
414
|
| GNU/Linux | ARM64 | `linux-arm64-gnu` | glibc 2.35+ |
|
|
378
415
|
| musl Linux | x64 | `linux-x64-musl` | detected musl runtime |
|
|
379
416
|
| musl Linux | ARM64 | `linux-arm64-musl` | detected musl runtime |
|
|
380
|
-
| Windows | x64 | `win32-x64-msvc` | native MSVC Windows |
|
|
381
|
-
| Windows | ARM64 | `win32-arm64-msvc` | native MSVC Windows |
|
|
382
417
|
|
|
383
|
-
The platform-specific optional packages are internal launcher details; install or acquire only exact `@revazi/career@0.
|
|
418
|
+
The platform-specific optional packages are internal launcher details; install or acquire only exact `@revazi/career@0.2.0`. Pi-career validates the launcher's exact ordered six-package v2 manifest and lockstep versions before direct execution, while the launcher remains authoritative for native selection and integrity. Windows remains unsupported.
|
|
384
419
|
|
|
385
420
|
To prohibit acquisition:
|
|
386
421
|
|
|
@@ -388,13 +423,6 @@ To prohibit acquisition:
|
|
|
388
423
|
PI_OFFLINE=1 pi --no-session
|
|
389
424
|
```
|
|
390
425
|
|
|
391
|
-
On Windows PowerShell:
|
|
392
|
-
|
|
393
|
-
```powershell
|
|
394
|
-
$env:PI_OFFLINE = "1"
|
|
395
|
-
pi --no-session
|
|
396
|
-
```
|
|
397
|
-
|
|
398
426
|
Offline Core-backed use then requires a compatible `CAREER_CLI_PATH`, `career` on `PATH`, or package-local launcher. Acquisition receives no resume or vacancy input, but it may leave ordinary npm cache or `_npx` data; this is not secure erasure.
|
|
399
427
|
|
|
400
428
|
## Privacy and persistence
|
|
@@ -405,10 +433,11 @@ Possible persistence surfaces are distinct:
|
|
|
405
433
|
|
|
406
434
|
- **Package config:** canonical resume-root paths, bounded labels, and an optional variation-directory suggestion; never resume text, vacancy text, or full Core output.
|
|
407
435
|
- **Pi session:** consent, application/vacancy workflow entries, bounded result cards, and potentially tool arguments/results or submitted workbench messages.
|
|
408
|
-
- **Model provider:** only content you submit through ordinary Pi model interaction; `/career-workbench` makes the private payload visible before submission.
|
|
436
|
+
- **Model provider:** only content you submit through ordinary Pi model interaction; `/career-workbench` makes the private payload visible before submission, while `/career-review` prepares only an ephemeral handle and selected canonical IDs.
|
|
437
|
+
- **Approved local variant files:** exact assisted Markdown/text bytes plus bounded marker/sidecar metadata only after `/career-save` preview and confirmation; never full Core JSON.
|
|
409
438
|
- **npm cache:** ordinary package-acquisition data, never private Career Core stdin.
|
|
410
439
|
|
|
411
|
-
`pi-career` does not create payload/result temporary files, export full Core JSON, overwrite originals, or automatically save assisted resumes. Searchable PDF extraction is local, bounded, and network-disabled.
|
|
440
|
+
`pi-career` does not create payload/result temporary files, export full Core JSON, overwrite originals, or automatically save assisted resumes. Explicit `/career-save` files are local, private-mode, assisted/non-authoritative, and excluded from analysis/matching. Searchable PDF extraction is local, bounded, and network-disabled.
|
|
412
441
|
|
|
413
442
|
See [`SECURITY.md`](SECURITY.md), [`docs/design.md`](docs/design.md), and [`docs/product-flow.md`](docs/product-flow.md) for the complete boundary and threat model.
|
|
414
443
|
|
|
@@ -416,11 +445,11 @@ See [`SECURITY.md`](SECURITY.md), [`docs/design.md`](docs/design.md), and [`docs
|
|
|
416
445
|
|
|
417
446
|
- Supported original formats: searchable PDF, Markdown, and UTF-8 text.
|
|
418
447
|
- No OCR, DOCX/Pages editing, vacancy URL fetching, or PDF layout reconstruction.
|
|
419
|
-
- No automatic resume or application-workspace saving.
|
|
448
|
+
- No automatic resume or application-workspace saving; explicit materialized-variant saving is private Markdown/text only on supported macOS/Linux filesystems.
|
|
420
449
|
- PDF workbench output is targeted manual guidance only.
|
|
421
450
|
- Assisted variants remain non-authoritative and cannot be reranked as originals.
|
|
422
451
|
- Matching is conservative workflow guidance, not a hiring prediction or proprietary ATS simulation.
|
|
423
|
-
-
|
|
452
|
+
- Supported runtime targets are `darwin-arm64`, `darwin-x64`, `linux-x64-gnu`, `linux-arm64-gnu`, `linux-x64-musl`, and `linux-arm64-musl`; Windows is unsupported.
|
|
424
453
|
|
|
425
454
|
The future application-workspace contract is documented in [`docs/application-workspaces.md`](docs/application-workspaces.md); those filesystem-writing phases are not implemented.
|
|
426
455
|
|
|
@@ -433,6 +462,7 @@ npm ci
|
|
|
433
462
|
npm run build
|
|
434
463
|
git diff --exit-code -- dist/index.js dist/pdf-worker.js
|
|
435
464
|
npm run bench:tokens
|
|
465
|
+
npm run bench:tokens:compare
|
|
436
466
|
npm run check
|
|
437
467
|
npm run test:runtime-resolution
|
|
438
468
|
npm run test:career-package
|
|
@@ -445,6 +475,8 @@ npm run test:compat
|
|
|
445
475
|
git diff --check
|
|
446
476
|
```
|
|
447
477
|
|
|
478
|
+
`npm run bench:tokens` collects the current synthetic model-visible surfaces, including Pi's stable always-visible Skill name/description metadata and the complete on-demand `career-core` Skill for matching career tasks. Linked Skill references and machine-specific discovery paths stay outside that boundary. `npm run bench:tokens:compare` verifies the surface digest, immutable `c7d7634…` before and `7ed36c4…` after source/Skill trees and frozen bytes from Git history, exact frozen before/after deltas, managed serialization parity, semantic/privacy invariants, budgets, and no current workflow regression relative to the frozen after evidence. Later source may differ and improve without rewriting that historical snapshot. The finalized frozen evidence records 25,652 → 21,552 aggregate workflow tokens (15.98% reduction) with no workflow regression.
|
|
479
|
+
|
|
448
480
|
`npm run test:career-package` is the network-capable exact-package integration test. `npm run test:compat` skips unless an explicitly reviewed fixture checkout is provided:
|
|
449
481
|
|
|
450
482
|
```bash
|
|
@@ -456,7 +488,7 @@ CAREER_CORE_FIXTURE_ROOT=/absolute/path/to/reviewed/career-core \
|
|
|
456
488
|
|
|
457
489
|
## Security and release provenance
|
|
458
490
|
|
|
459
|
-
The exact reviewed external runtime coordinate is [`@revazi/career@0.
|
|
491
|
+
The exact reviewed external runtime coordinate is [`@revazi/career@0.2.0`](https://www.npmjs.com/package/@revazi/career/v/0.2.0), published from Career Core commit [`536690632884c17336cc3c108f1bba0f254b862b`](https://github.com/revazi/career-core/tree/536690632884c17336cc3c108f1bba0f254b862b). Its launcher owns native target/libc selection and package metadata, provenance, file invariants, size, format, and SHA-256 verification. Registry integrity and SLSA v1 provenance were reviewed for the user-facing launcher and all six lockstep native packages. Pi-career validates that exact six-package v2 manifest and supports only its macOS/Linux targets.
|
|
460
492
|
|
|
461
493
|
Historical published `pi-career` v0.1.0 coordinates are retained for verification:
|
|
462
494
|
|
|
@@ -465,7 +497,7 @@ Historical published `pi-career` v0.1.0 coordinates are retained for verificatio
|
|
|
465
497
|
- npm integrity: `sha512-mmbDdWDyWz77f2uLzZECJT9E6w1ZRCJjYFrUnZd3ldoS6ehEa5DrCENIfavHR5xMOFi0of6AVQ35ZTxwpeDeAQ==`
|
|
466
498
|
- GitHub Release: [`v0.1.0`](https://github.com/revazi/pi-career/releases/tag/v0.1.0)
|
|
467
499
|
|
|
468
|
-
That historical release bundled native artifacts; `pi-career@0.2.0`
|
|
500
|
+
That historical release bundled native artifacts; `pi-career@0.2.0` and later do not. Historical evidence remains in [`docs/native-dependency-inventory.md`](docs/native-dependency-inventory.md), [`docs/releasing.md`](docs/releasing.md), and [`docs/licenses/`](docs/licenses/).
|
|
469
501
|
|
|
470
502
|
Use [Issues](https://github.com/revazi/pi-career/issues) only for sanitized bugs and scoped feature requests. Follow [`SECURITY.md`](SECURITY.md) for private vulnerability reports. Never attach real resumes, vacancies, credentials, provider responses, or Pi session files to a public issue.
|
|
471
503
|
|
package/SECURITY.md
CHANGED
|
@@ -6,21 +6,21 @@ Do not open an ordinary issue with vulnerability details. Use a private Security
|
|
|
6
6
|
|
|
7
7
|
## External runtime boundary
|
|
8
8
|
|
|
9
|
-
pi-career packages no native Career Core binary and has no runtime npm dependency or lifecycle script.
|
|
9
|
+
pi-career packages no native Career Core binary and has no runtime npm dependency or lifecycle script. It supports only macOS and Linux. On an unsupported platform, extension initialization registers no command or tool and fails with one stable payload-free `unsupported_platform` error before explicit/PATH resolution, package validation, acquisition, compatibility probing, or private stdin. On supported platforms, resolution order is fixed:
|
|
10
10
|
|
|
11
11
|
1. bounded absolute `CAREER_CLI_PATH`;
|
|
12
12
|
2. `career` on PATH;
|
|
13
|
-
3. package-local exact `@revazi/career@0.
|
|
14
|
-
4. bounded acquisition of exact `@revazi/career@0.
|
|
13
|
+
3. package-local exact `@revazi/career@0.2.0`;
|
|
14
|
+
4. bounded acquisition of exact `@revazi/career@0.2.0` from the canonical npm registry;
|
|
15
15
|
5. stable payload-free installation guidance.
|
|
16
16
|
|
|
17
17
|
There is no sibling-checkout, Cargo, source-build, arbitrary executable download, or unpinned package fallback. `PI_OFFLINE=1` disables acquisition. A successful route is cached only in memory and invalidated when `CAREER_CLI_PATH` or `PATH` changes. An invalid explicit override fails without fallback.
|
|
18
18
|
|
|
19
|
-
Every caller-controlled route must pass the exact managed Core 0.
|
|
19
|
+
Every caller-controlled route must pass the exact managed Core 0.2.0 operation catalog and required self-contained schema bundles before private stdin opens. Compatibility probes contain no private document input. An automatically selected executable that later fails before its operation emits `spawn` may advance once; cancellation, timeout, and any already-started operation never retry another route.
|
|
20
20
|
|
|
21
|
-
The package-local/acquired `@revazi/career` launcher is invoked directly with the real Node executable. Pi-career
|
|
21
|
+
The package-local/acquired `@revazi/career` launcher is invoked directly with the real Node executable. Pi-career validates its exact v2 manifest, including the ordered six-package lockstep optional-dependency map, declared file allowlist, and `career` bin. The launcher owns native target/libc, package provenance, regular-file type and mode, size, format, architecture, and SHA-256 checks for pi-career's six supported macOS/Linux targets; pi-career does not duplicate those native verification algorithms.
|
|
22
22
|
|
|
23
|
-
Acquisition invokes the npm CLI derived from real `process.execPath
|
|
23
|
+
Acquisition invokes the npm CLI derived from the real Unix `process.execPath` installation, rejects ambiguous/conflicting `npm_execpath`, sanitizes npm tree/registry/script-shell overrides, pins `/bin/sh` and the canonical registry/package/version, includes optional native packages, and disables scripts. It never invokes PATH-selected npm/npx. Acquisition receives no private stdin, has fixed timeout/stdout/stderr bounds, and uses detached Unix process-group termination for descendants. npm cache and `_npx` data may remain afterward; this is not secure erasure.
|
|
24
24
|
|
|
25
25
|
## Process and data boundary
|
|
26
26
|
|
|
@@ -46,7 +46,7 @@ This is not secure erasure and does not remove shell history, npm cache, backups
|
|
|
46
46
|
|
|
47
47
|
## Installation and supply chain
|
|
48
48
|
|
|
49
|
-
Pi packages execute with the user's permissions. Install only a reviewed clean local checkout, public Git source pinned to a reviewed full commit, or public npm package pinned to an exact reviewed version. Review the tracked TypeScript bundle, external resolver, package allowlist, registry metadata, and native package CI/provenance. Normal pi-career installation has no npm lifecycle script, post-install runtime download, Cargo/Rust build, packaged native artifact, or production/optional runtime dependency. The generated PDF worker contains lockfile-pinned `unpdf` 1.8.0 and its included license notice.
|
|
49
|
+
Pi packages execute with the user's permissions. Install only a reviewed clean local checkout, public Git source pinned to a reviewed full commit, or public npm package pinned to an exact reviewed version. Review the tracked TypeScript bundle, external resolver, package allowlist, registry metadata, and native package CI/provenance. Normal pi-career installation declares `os: ["darwin", "linux"]` and has no npm lifecycle script, post-install runtime download, Cargo/Rust build, packaged native artifact, or production/optional runtime dependency. The generated PDF worker contains lockfile-pinned `unpdf` 1.8.0 and its included license notice.
|
|
50
50
|
|
|
51
51
|
`npm run audit:production` and `npm run audit:full` must both report zero vulnerabilities at explicit `--audit-level=low`. Audit and pack checks derive npm from real Node, verify inherited `npm_execpath`, remove tree/severity overrides, and reject duplicate decoded JSON keys. Package extraction uses verified root-owned `/usr/bin/tar`. The package check proves the tarball has no `runtime/`, native binary, `node_modules`, or Pi package contents and declares exactly four wildcard external peers. `check:publish` performs no publication.
|
|
52
52
|
|