pi-career 0.1.0 → 0.2.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.
@@ -1,73 +1,119 @@
1
1
  ---
2
2
  name: career-core
3
- description: Discovers and invokes the package-owned deterministic Career Core runtime for source-grounded resume evaluation/normalization/readiness analysis, reviewed external suggestions and replacements, assisted-variant review/materialization, job normalization, and conservative matching. Use for supported career-document analysis or local integration work.
3
+ description: Resolves and invokes a compatible deterministic Career Core runtime for source-grounded resume evaluation/normalization/readiness analysis, reviewed external suggestions and replacements, assisted-variant review/materialization, job normalization, and conservative matching. Use for supported career-document analysis or local integration work.
4
4
  license: MIT OR Apache-2.0
5
- compatibility: Requires Pi with pi-career on supported darwin-arm64 or linux-x64-gnu; CAREER_CLI_PATH is an optional bounded developer/recovery override.
5
+ compatibility: Requires Pi with pi-career and a compatible Career Core route; reviewed @revazi/career@0.1.1 targets are ARM64/x64 macOS, GNU/musl Linux, and MSVC Windows.
6
6
  metadata:
7
7
  author: revazi
8
- version: "0.1.0"
8
+ version: "0.2.0"
9
9
  ---
10
10
 
11
11
  # Career Core through pi-career
12
12
 
13
- Use the package-owned Career Core runtime through the three native tools. Career Core is authoritative; the extension only transports bounded argv/stdin JSON. Never recreate scoring, schemas, errors, evidence rules, uncertainty, or repair behavior in prompts or TypeScript.
13
+ Use `career_run` as the primary managed interface. It resolves a compatible Career Core route and discovers its exact operation catalog and self-contained schemas internally before private input, builds exact Core envelopes from ephemeral handles, captures complete bounded Core output in memory, and returns compact model-facing projections. Career Core remains authoritative for algorithms, schemas, errors, evidence, warnings, uncertainty, ordering, baselines, and assisted/non-authoritative semantics.
14
14
 
15
- ## Privacy decision before document use
15
+ The raw `career_core_discover`, `career_core_resume`, and `career_core_job` tools remain registered but are normally inactive. Use `/career-tools raw` only for explicit advanced schema/debugging work; `/career-tools managed` returns to the compact surface.
16
16
 
17
- Pi may persist tool arguments and results in session JSONL even though Career Core and this extension do not persist career documents. Before putting private resume or job content in `career_core_resume` or `career_core_job`, require the user to make an explicit Pi session-persistence decision. Recommend starting a new transient run:
17
+ ## Privacy and managed context
18
+
19
+ Start every managed workflow with:
20
+
21
+ ```json
22
+ {"command":"context"}
23
+ ```
24
+
25
+ In a persisted Pi session, `context` returns no private handles until an explicit session-persistence decision exists. Ask the user first. If approved, call:
26
+
27
+ ```json
28
+ {"command":"consent","payload":"approve"}
29
+ ```
30
+
31
+ If declined, call consent with `"decline"` and recommend a new transient run:
18
32
 
19
33
  ```bash
20
34
  pi --no-session
21
35
  ```
22
36
 
23
- Do not claim secure erasure or removal of previous sessions, backups, shell history, provider copies, or separately saved results. If the user does not approve private content in Pi context, do not call a document tool. Local-session approval is not approval to send content to an external model/provider.
37
+ Do not claim secure erasure or removal of previous sessions, backups, shell history, provider copies, or separately saved results. Local-session approval is not provider approval. Transient sessions require no persisted consent entry.
38
+
39
+ After approval, `context` returns bounded `resume:...` handles and, when set through `/career-vacancy`, `vacancy:current`. Handles and complete Core results are process-memory-only and disappear on session/branch replacement or restart. The model sends handles instead of repeating complete source documents in later Core envelopes.
24
40
 
25
- ## Discover first
41
+ ## `career_run` commands
26
42
 
27
- 1. Call `career_core_discover` with `operation: "capabilities"`.
28
- 2. Invoke only capabilities whose status is `available`; never treat planned entries as callable.
29
- 3. Call `career_core_discover` with `operation: "schema-list"`.
30
- 4. Export the exact input schema needed with `operation: "schema-export"` and its returned schema ID.
31
- 5. Construct exactly one versioned input object matching that schema, serialize it as the `input_json` string, and call the relevant document tool.
43
+ All payloads are native JSON values, never JSON strings or complete Core envelopes.
32
44
 
33
- Do not infer input shapes from this prose. The bundled runtime embeds the reviewed Draft 2020-12 schemas and discovery performs no network request.
45
+ - `context`: load current original-resume/current-vacancy handles after privacy checks.
46
+ - `consent`: payload is `"approve"` or `"decline"` in a persisted session.
47
+ - `analyze`: `handle` is an original `resume:...` handle.
48
+ - `match`: `handle` is an original resume; the current vacancy is implicit.
49
+ - `suggestion-review`: `handle` is an original resume; payload is `{"suggestions":[{"basis_check_id":"...","start_line":1,"end_line":1,"source_target":"verbatim source text","source_evidence":["verbatim in-range evidence"],"suggestion":"advisory text"}]}`. Suggestions are advisory, never replacements.
50
+ - `replacement-review`: `handle` is an original resume; payload is:
51
+
52
+ ```json
53
+ {
54
+ "replacements": [{
55
+ "basis_check_id": "...",
56
+ "start_line": 1,
57
+ "end_line": 1,
58
+ "source_target": "verbatim source text",
59
+ "source_evidence": ["verbatim in-range evidence"],
60
+ "proposed_replacement": "..."
61
+ }]
62
+ }
63
+ ```
64
+
65
+ - `variant-review`: `handle` is an original resume and the current vacancy is implicit; payload is:
66
+
67
+ ```json
68
+ {
69
+ "changes": [{
70
+ "section": "experience",
71
+ "start_line": 1,
72
+ "end_line": 1,
73
+ "original_text": "verbatim source text",
74
+ "proposed_text": "...",
75
+ "resume_evidence": ["verbatim resume evidence"],
76
+ "vacancy_evidence": ["verbatim vacancy evidence"]
77
+ }]
78
+ }
79
+ ```
80
+
81
+ - `materialize`: `handle` is the returned variant `review:...`; only after explicit user selection, payload is `{"selected_change_ids":["change-0001"]}`.
82
+ - `detail`: `handle` is any returned result/review/variant handle; payload is `{"section":"summary|warnings|checks|evidence|changes|document|raw"}`. For one exact canonical item add `"item":"change-0001"`, `"suggestion-0001"`, or `"replacement-0001"`. Oversized model-visible detail fails rather than truncating; request a narrower section/item.
83
+
84
+ Managed projections preserve all Core warnings and the relevant authority/uncertainty/discard surface. Complete authoritative JSON remains in bounded ephemeral memory for detail access and is never written to a result file.
34
85
 
35
86
  ## Deterministic slash commands
36
87
 
37
- On supported targets, users can run `/career-setup`, `/career-library`, `/career-vacancy`, `/career-match`, and `/career-analyze` without involving a provider/model. These commands invoke the same package-owned runtime directly rather than calling the native tools through the LLM. They scan only configured Markdown/text roots, keep assisted variants and inputs over 50,000 Unicode scalar values out of authoritative analysis/matching, require persisted-session consent before private custom entries, and never store full Core JSON.
88
+ Users can run `/career-setup`, `/career-library`, `/career-application`, `/career-vacancy`, `/career-match`, and `/career-analyze` without involving a provider/model. `/career-vacancy`, `/career-match`, and `/career-analyze` invoke the same resolved compatible runtime directly. Local routes are preferred; exact package acquisition, when enabled, completes before private stdin opens. `/career-application` owns branch-aware company/role identity and keeps one application per Pi session; use `/new` before another company/role.
89
+
90
+ `/career-workbench` remains a guided, reviewable provider handoff. It places complete selected private source in Pi's editor but never submits automatically. Prefer `career_run` rather than raw schema reconstruction after the prompt is submitted.
91
+
92
+ For non-PDF variants, present canonical retained IDs and all discard codes/warnings, then stop for explicit user selection. Materialize only in a later turn with exactly those IDs and the cached exact review input. Keep the result assisted/non-authoritative and never feed it into analysis or matching. PDF input remains extracted text only: provide reviewed manual changes, do not materialize, and do not claim to preserve visual layout.
38
93
 
39
- Use the native tool flow below for operations not exposed by those commands or when the user explicitly requests direct schema-level work.
94
+ A workbench `local_save_guidance` destination is suggestion-only. Never save automatically or place assisted output under `originals/`; exact path/file approval and the assisted sidecar contract remain required. Package-owned saving is still deferred.
40
95
 
41
- ## Native tool surface
96
+ ## Advanced raw tool surface
42
97
 
43
- - `career_core_discover`
44
- - `capabilities`
45
- - `schema-list`
46
- - `schema-export` (requires exact `schema_id` from the list)
47
- - `career_core_resume`
48
- - `evaluate`
49
- - `analyze`
50
- - `analysis-suggestions-review`
51
- - `analysis-replacements-review`
52
- - `normalize`
53
- - `enrich`
54
- - `variant-review`
55
- - `variant-materialize`
56
- - `career_core_job`
57
- - `normalize`
58
- - `match`
98
+ - `career_core_discover`: `capabilities`, `operations`, `schema-list`, `schema-export`, `schema-bundle`
99
+ - `career_core_resume`: `evaluate`, `analyze`, `analysis-suggestions-review`, `analysis-replacements-review`, `normalize`, `enrich`, `variant-review`, `variant-materialize`
100
+ - `career_core_job`: `normalize`, `match`
59
101
 
60
- The document tools send `input_json` only to package-owned runtime stdin with `--input - --format json-compact`. They never search PATH, invoke Cargo, fetch URLs, call a provider/model, or write payload/result files. Successful tool text is the complete runtime JSON without semantic transformation.
102
+ Raw agents remain discovery-first. Run capabilities and operations, then use exact exported/bundled schemas. Raw document tools send `input_json` only to a compatibility-validated runtime stdin with `--input - --format json-compact`; they never invoke Cargo, fetch vacancy URLs, call a provider/model, or write payload/result files. Resolver acquisition is limited to exact `@revazi/career@0.1.1`, happens before private stdin, and is disabled by `PI_OFFLINE=1`.
61
103
 
62
104
  ## Failure handling
63
105
 
64
106
  A `career.pi_error.v1` value is adapter/process status, not a deterministic career result.
65
107
 
66
- - `unsupported_platform` means no reviewed bundled runtime exists for this platform/libc; do not guess, download, or fall back to PATH/Cargo.
67
- - `bundled_runtime_invalid` means local integrity verification failed; do not request paths, hashes, environment values, or raw filesystem errors.
108
+ - `runtime_unavailable` means no compatible local route was found and acquisition is unavailable/offline; install exact `@revazi/career@0.1.1` or configure a reviewed compatible executable.
109
+ - `runtime_acquisition_failed` means exact-package acquisition failed; do not request npm output, paths, environment values, or raw errors.
110
+ - `managed_contract_invalid` means an explicit selected runtime is incompatible; an invalid `CAREER_CLI_PATH` never falls back.
68
111
  - On `career_cli_error`, inspect only the nested, validated, bounded `career.error.v1`.
69
112
  - Correct typed invalid input before trying again; do not repair by guesswork or retry unchanged validation failures.
70
- - On `result_too_large` or `result_too_many_lines`, do not request or use partial output. Full-result export is not yet available through pi-career.
113
+ - Raw tools may still return `result_too_large` or `result_too_many_lines`; do not request or use partial output.
114
+ - `career_run` `managed_contract_invalid` means the selected operation catalog/schema bundles are incompatible; do not bypass discovery or fall back to raw guessed envelopes.
115
+ - `context_required`, stale/missing handles, and session changes require a fresh `context`, not reconstructed identifiers.
116
+ - `detail_too_large` requires a narrower section or exact item; it does not authorize truncation or result-file export.
71
117
  - Do not ask for raw stderr, paths, environment values, source copies, or hidden process errors.
72
118
 
73
119
  ## Resume operation rules
@@ -90,11 +136,11 @@ This validates an explicit, already supplied source-grounded external proposal;
90
136
 
91
137
  ### `analysis-suggestions-review`
92
138
 
93
- This reruns and preserves the deterministic `baseline_analysis` while reviewing at most the schema-bounded source-targeted suggestions. Retained suggestions are assisted/non-authoritative and bound to current failed canonical actions. Exact occurrence does not prove factual entailment or rewrite safety. The v1 `suggestion` is advisory text, not a replacement. Do not create selection, mutation, export, or materialization semantics.
139
+ This reruns and preserves the deterministic `baseline_analysis` while reviewing at most the schema-bounded source-targeted suggestions. Retained suggestions are assisted/non-authoritative and bound to current failed canonical actions. Copy each `source_target` verbatim from inside the declared source lines, never use a descriptive label, prefer one complete source line, and require each `source_evidence` item to occur verbatim within the same bounds. Make one review call; report discarded items and stop instead of automatically repairing or retrying them. Exact occurrence does not prove factual entailment or rewrite safety. The v1 `suggestion` is advisory text, not a replacement. Do not create selection, mutation, export, or materialization semantics.
94
140
 
95
141
  ### `analysis-replacements-review`
96
142
 
97
- This reruns and preserves `baseline_analysis` and returns canonical exact before/proposed-after values for non-authoritative diff display. Preserve action/status, evidence, discard codes, and warnings. Exact occurrence does not certify factuality or rewrite safety. It creates no candidate, selection, application, export, persistence, source mutation, or materialization path.
143
+ This reruns and preserves `baseline_analysis` and returns canonical exact before/proposed-after values for non-authoritative diff display. Copy each `source_target` verbatim from inside the declared source lines, prefer one complete source line, and keep every `source_evidence` item inside those bounds. Make one review call; report discarded items and stop instead of automatically repairing or retrying them. Preserve action/status, evidence, discard codes, and warnings. Exact occurrence does not certify factuality or rewrite safety. User answers gathered in a prior question-led turn remain user-supplied claims, not Core-certified facts. It creates no candidate, selection, application, export, persistence, source mutation, or materialization path.
98
144
 
99
145
  ### `variant-review`
100
146
 
@@ -125,10 +171,12 @@ Use original resume and original job inputs matching the exported schema. Matchi
125
171
 
126
172
  ## Output discipline
127
173
 
128
- - Treat returned JSON as authoritative and complete.
129
- - Preserve every warning, evidence item, source span, basis ID, confidence value, uncertainty status, baseline boundary, discard code, limitation, and assisted/non-authoritative label.
130
- - Do not reorder, truncate, silently repair, upgrade uncertainty into fact, or claim Core generated prose it only reviewed.
174
+ - Raw Career Core tool JSON is authoritative and complete. `career_run` content is a bounded adapter projection; its `result:...`, `review:...`, or `variant:...` handle refers to the complete unchanged Core result held in ephemeral memory.
175
+ - Use every warning, evidence item, source span, basis ID, confidence value, uncertainty status, baseline boundary, discard code, limitation, and assisted/non-authoritative label without contradiction or silent repair.
176
+ - Do not duplicate a complete unchanged `baseline_analysis` in prose each time a review embeds it. State that the baseline was preserved; reproduce every warning, discard code, and limitation exactly; and hydrate only the scores, evidence, source spans, or canonical items needed for the request. The ephemeral complete Core result remains authoritative for the current process.
177
+ - Keep operational narration minimal. Do not print discovered schema JSON, repeat private source text beyond bounded evidence snippets, or narrate repair attempts unless the user asks.
178
+ - Do not reorder Core-retained items, truncate tool output, silently repair, upgrade uncertainty into fact, or claim Core generated prose it only reviewed.
131
179
  - Do not modify source documents unless the user separately requests and approves that change.
132
180
  - Never place API keys in tool input, output, files, or logs.
133
181
 
134
- See [`references/cli-contract.md`](references/cli-contract.md) for bundled-runtime selection and process details. Package installation and removal are in [`../../README.md`](../../README.md).
182
+ See [`references/cli-contract.md`](references/cli-contract.md) for external runtime selection and process details. Package installation and removal are in [`../../README.md`](../../README.md).
@@ -1,45 +1,67 @@
1
- # Bundled runtime contract reference
1
+ # External runtime contract reference
2
2
 
3
- Use this reference only after reading the parent skill. Export exact schemas through `career_core_discover`; this file intentionally does not copy the authoritative schema catalog.
3
+ Use this reference only after reading the parent skill. Career Core remains authoritative; pi-career validates its managed operation catalog and self-contained schema bundles rather than copying Core algorithms or public schemas.
4
4
 
5
5
  ## Runtime selection
6
6
 
7
- Normal operations use the reviewed package-owned runtime for exactly:
7
+ Resolution order is fixed:
8
8
 
9
- - `darwin-arm64`
10
- - `linux-x64-gnu` with positive glibc detection
9
+ 1. bounded absolute `CAREER_CLI_PATH`;
10
+ 2. `career` on PATH;
11
+ 3. package-local exact `@revazi/career@0.1.1`;
12
+ 4. acquisition of exact `@revazi/career@0.1.1` from the canonical npm registry;
13
+ 5. stable installation guidance.
11
14
 
12
- Selection order is a bounded absolute `CAREER_CLI_PATH` developer/recovery override first, then the verified bundled target. There is no PATH, sibling-checkout, Cargo, install-script, or download fallback. Windows, macOS x64, Linux arm64/musl, and unknown targets fail closed with `unsupported_platform`.
15
+ There is no sibling-checkout, Cargo, source-build, lifecycle-script, arbitrary download, PATH-selected npm/npx, or unpinned package fallback. `PI_OFFLINE=1` disables acquisition. A route is cached only in memory and invalidated when `CAREER_CLI_PATH` or PATH changes. npm acquisition may leave ordinary cache/`_npx` data and does not provide secure erasure.
13
16
 
14
- Before first bundled execution per process, pi-career verifies the regular file's exact mode, size, and SHA-256 against its committed runtime manifest. A mismatch fails as `bundled_runtime_invalid`. These errors are payload-free and must not be expanded with platform details, paths, hashes, environment values, or raw failures.
17
+ Every caller-controlled route must pass the exact Core 0.1.1 operation catalog and required self-contained schema bundles before private stdin opens. An invalid explicit override never falls back. Compatibility probes contain no private document input. If a cached automatic executable later fails before its operation emits `spawn`, pi-career may advance once; cancellation, timeout, and any started operation never retry another route.
15
18
 
16
- ## Discovery and operations
19
+ Package-local/acquired routes invoke the reviewed package launcher directly with the real Node executable. The launcher owns native target/libc, package/provenance mapping, Unix mode or Windows file invariant, size, format, architecture, and SHA-256 verification. Its reviewed targets are `darwin-arm64`, `darwin-x64`, `linux-x64-gnu`, `linux-arm64-gnu`, `linux-x64-musl`, `linux-arm64-musl`, `win32-x64-msvc`, and `win32-arm64-msvc`.
17
20
 
18
- Use only the three native tools:
21
+ ## Managed discovery
19
22
 
20
- - `career_core_discover`: `capabilities`, `schema-list`, `schema-export`
21
- - `career_core_resume`: `evaluate`, `analyze`, `analysis-suggestions-review`, `analysis-replacements-review`, `normalize`, `enrich`, `variant-review`, `variant-materialize`
22
- - `career_core_job`: `normalize`, `match`
23
+ `career_run` internally invokes and caches only non-sensitive metadata from:
24
+
25
+ - `career operations --format json-compact`
26
+ - `career schema bundle --id <required-input-schema> --format json-compact`
27
+
28
+ The adapter requires exact `career.operation_catalog.v1` capability mappings, CLI paths, transports, input/output schemas, byte ceilings, and all-local bundle references. Incompatibility fails closed. These bootstrap results are not exposed to the model during the normal managed flow.
29
+
30
+ Every successful machine JSON result is completely serialized by Core before stdout and bounded to 33,554,432 bytes including framing. Managed execution captures the complete result in bounded ephemeral memory, removes only one framing newline, and projects model-visible results no larger than 50,000 bytes. It never truncates Core output or writes a result file.
23
31
 
24
- Invoke only capabilities whose status is `available`. Pass one exact versioned JSON object in `input_json`; the adapter writes it only to runtime stdin. Do not concatenate document text into commands, place source content in argv, or infer schemas from prose.
32
+ ## Tool surfaces
25
33
 
26
- ## Machine framing
34
+ The normal active surface is:
35
+
36
+ - `career_run`: context, consent, analyze, match, suggestion-review, replacement-review, variant-review, materialize, and detail through ephemeral handles
37
+
38
+ The following raw tools stay registered but are normally inactive:
39
+
40
+ - `career_core_discover`: `capabilities`, `operations`, `schema-list`, `schema-export`, `schema-bundle`
41
+ - `career_core_resume`: `evaluate`, `analyze`, `analysis-suggestions-review`, `analysis-replacements-review`, `normalize`, `enrich`, `variant-review`, `variant-materialize`
42
+ - `career_core_job`: `normalize`, `match`
27
43
 
28
- - The adapter uses `--format json-compact`; successful runtime output is one JSON document with one framing newline.
29
- - Known diagnostics are one bounded `career.error.v1` on stderr with a nonzero status.
30
- - The runtime makes no implicit network request and does not modify input.
31
- - Single-document input is bounded at 262,144 UTF-8 bytes; composite job-match and variant envelopes are bounded at 1,048,576 bytes.
44
+ `/career-tools raw` explicitly activates the raw tools; `/career-tools managed` removes them from active model context. Raw agents remain discovery-first and pass one exact versioned JSON object in `input_json`.
32
45
 
33
- ## Pi adapter framing
46
+ ## Process and machine framing
34
47
 
35
- The native tools use direct `spawn(executable, argv, { shell: false })`, stdin-only document JSON, fixed operation mappings, timeout/cancellation cleanup, separate stdout/stderr capture bounds, fatal UTF-8 decoding, and exact-one-object success.
48
+ - Direct `spawn(command, fixedArgv, { shell: false })` only.
49
+ - Package launchers are fixed argument prefixes invoked by the real Node executable.
50
+ - Document content appears only in stdin with `--input -`, never argv, and stdin opens only after `spawn`.
51
+ - Machine output uses `--format json-compact`.
52
+ - Successful Core output is exactly one JSON object with one framing newline and no stderr.
53
+ - Known diagnostics are one bounded `career.error.v1` on stderr with nonzero status.
54
+ - Single-document input is bounded at 262,144 bytes; match and variant composites at 1,048,576 bytes.
55
+ - Timeout/cancellation owns child termination and cleanup.
56
+ - Fatal UTF-8, multiple JSON documents, unexpected successful stderr, or capture overflow fail closed.
57
+ - No payload/result temp file, model/provider call, vacancy URL fetch, telemetry, post-launch retry, or repair exists at this boundary.
36
58
 
37
- Successful JSON is returned complete, with only the single framing newline removed. The process adapter writes no payload/result files and has no model/provider/network behavior. The separate deterministic slash-command layer calls this process helper directly and owns only its bounded config, scan, UI, and custom-session-entry behavior.
59
+ The sole network-capable behavior is bounded acquisition of exact `@revazi/career@0.1.1` after local routes fail. It derives npm from real Node, rejects conflicting `npm_execpath`, has fixed time/output bounds and process-tree cancellation, receives no private input, and finishes before document stdin opens.
38
60
 
39
- Known adapter failures use `career.pi_error.v1`. Only `career_cli_error` may include a nested strictly validated allowlisted `career.error.v1`. Other errors do not expose raw diagnostics, input/output, executable paths, hashes, platform details, environment values, or Node/filesystem errors.
61
+ Raw tools retain the 50,000-byte/2,000-line model-context ceiling and fail without partial output. Managed operations use Core's 32-MiB capture ceiling internally and expose compact/hydratable results.
40
62
 
41
- If a complete result exceeds 50,000 bytes or 2,000 lines, the tool fails as `result_too_large` or `result_too_many_lines`. Do not request or use partial output. Full-result export is not yet available through pi-career.
63
+ ## Ephemeral handles and privacy
42
64
 
43
- ## Privacy
65
+ Resume handles resolve current scanned originals on demand rather than retaining every resume body. Review handles retain the exact private review input required for deterministic materialization; result/review/variant handles retain complete Core JSON. The registry is count/byte bounded, process-memory-only, and cleared on session/branch replacement and shutdown. Evicted or stale handles fail closed.
44
66
 
45
- Pi may persist native tool arguments/results in session JSONL. Require an explicit decision before private use and recommend a new `pi --no-session` run when session persistence is not wanted. This is not secure erasure and is separate from consent for any external provider.
67
+ Persisted Pi sessions require an explicit consent entry before private handles are returned. Transient `pi --no-session` runs do not write those entries. This is not secure erasure and is separate from provider consent. Tool calls and compact results may still become part of normal Pi/provider context after submission.
@@ -1,201 +0,0 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for reasonable and customary use in describing the
141
- origin of the Work and reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Additional Liability. While redistributing
166
- the Work or Derivative Works thereof, You may choose to offer,
167
- and charge a fee for, acceptance of support, warranty, indemnity,
168
- or other liability obligations and/or rights consistent with this
169
- License. However, in accepting such obligations, You may act only
170
- on Your own behalf and on Your sole responsibility, not on behalf
171
- of any other Contributor, and only if You agree to indemnify,
172
- defend, and hold each Contributor harmless for any liability
173
- incurred by, or claims asserted against, such Contributor by reason
174
- of your accepting any such warranty or additional liability.
175
-
176
- END OF TERMS AND CONDITIONS
177
-
178
- APPENDIX: How to apply the Apache License to your work.
179
-
180
- To apply the Apache License to your work, attach the following
181
- boilerplate notice, with the fields enclosed by brackets "[]"
182
- replaced with your own identifying information. (Don't include
183
- the brackets!) The text should be enclosed in the appropriate
184
- comment syntax for the file format. We also recommend that a
185
- file or class name and description of purpose be included on the
186
- same "printed page" as the copyright notice for easier
187
- identification within third-party archives.
188
-
189
- Copyright 2026 Revaz Zakalashvili
190
-
191
- Licensed under the Apache License, Version 2.0 (the "License");
192
- you may not use this file except in compliance with the License.
193
- You may obtain a copy of the License at
194
-
195
- http://www.apache.org/licenses/LICENSE-2.0
196
-
197
- Unless required by applicable law or agreed to in writing, software
198
- distributed under the License is distributed on an "AS IS" BASIS,
199
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
- See the License for the specific language governing permissions and
201
- limitations under the License.
@@ -1,22 +0,0 @@
1
- # Third-party notices
2
-
3
- `career-core` project-authored source is licensed under `MIT OR Apache-2.0`. The optional Swift binding adapter uses the following MPL-2.0 dependencies:
4
-
5
- - UniFFI `0.30.0`
6
- - `uniffi_bindgen` `0.30.0`
7
- - `uniffi_core` `0.30.0`
8
- - `uniffi_internal_macros` `0.30.0`
9
- - `uniffi_macros` `0.30.0`
10
- - `uniffi_meta` `0.30.0`
11
- - `uniffi_pipeline` `0.30.0`
12
- - `uniffi_udl` `0.30.0`
13
-
14
- License: [Mozilla Public License 2.0](https://www.mozilla.org/MPL/2.0/)
15
-
16
- Corresponding source: <https://github.com/mozilla/uniffi-rs/tree/v0.30.0>
17
-
18
- UniFFI is used only by `crates/career-swift` and the pinned local binding-generation tool. Generated Swift and C declarations are produced from project-authored interface metadata by that version.
19
-
20
- Any future distributed Swift/XCFramework artifact must include this notice, the project MIT/Apache licenses, and the source location above. No artifact is distributed or published during Phase 6.
21
-
22
- Other Rust dependencies declare permissive license alternatives recorded in `Cargo.lock` and their crates.io package metadata. Release review must re-audit the exact locked dependency set before publication.
Binary file
@@ -1,101 +0,0 @@
1
- {
2
- "build": {
3
- "cargo_version": "cargo 1.97.1 (c980f4866 2026-06-30)",
4
- "command": [
5
- "cargo",
6
- "build",
7
- "--release",
8
- "--locked",
9
- "-p",
10
- "career-cli",
11
- "--target",
12
- "aarch64-apple-darwin"
13
- ],
14
- "host_arch": "arm64",
15
- "host_os": "macos",
16
- "locked": true,
17
- "os_release": "Darwin 23.6.0",
18
- "platform_key": "darwin-arm64",
19
- "profile": "release",
20
- "rustc_version": "rustc 1.97.1 (8bab26f4f 2026-07-14)",
21
- "target_triple": "aarch64-apple-darwin"
22
- },
23
- "contract_digests": {
24
- "capabilities": {
25
- "schema_version": "career.capabilities.v1",
26
- "sha256": "c45443be0ba7cfbcd4e20b28d8d100f33542e77b0b983ebf3110dddfdd71d3f3",
27
- "size_bytes": 1855
28
- },
29
- "schema_catalog": {
30
- "schema_count": 25,
31
- "schema_version": "career.schema_catalog.v1",
32
- "sha256": "398b093a1a6245e05a1a93eafd2162c0fe5afcb4b3ff3c7856730ac64628c5e0",
33
- "size_bytes": 3795
34
- },
35
- "schema_export": {
36
- "schema_id": "career.job_match.v1",
37
- "sha256": "286cf0297b3f1b224f7ec7db4b06605423dbff844a38fe79d0c53fd4dea5bfde",
38
- "size_bytes": 11526
39
- }
40
- },
41
- "executable": {
42
- "file_name": "career",
43
- "sha256": "9e46972c1d4b2a1ca695595c0953c4198bfb12af2ba39f040e955b5b11952790",
44
- "size_bytes": 4522688,
45
- "version_output": "career 0.1.0"
46
- },
47
- "licenses_and_notices": [
48
- {
49
- "file_name": "LICENSE-MIT",
50
- "sha256": "10c3e4d0fc59a6a502c18039ae76f3ff473e3f17c3428f7e417582665e65e8e9",
51
- "size_bytes": 1075
52
- },
53
- {
54
- "file_name": "LICENSE-APACHE",
55
- "sha256": "2f2746efca80d5c78999cf97ee127ec9e3b0e86346004f71de39a7f8f8b9b1e8",
56
- "size_bytes": 11348
57
- },
58
- {
59
- "file_name": "THIRD_PARTY_NOTICES.md",
60
- "sha256": "50c74854ed27f9347ea2f647a42a18c3c5579fd32f19a416941eab50fca59ca1",
61
- "size_bytes": 1141
62
- }
63
- ],
64
- "native_verification": [
65
- {
66
- "golden_fixture": "fixtures/resume/phase3/complete-analysis.expected.json",
67
- "input_fixture": "fixtures/resume/phase3/complete-analysis.input.json",
68
- "operation": "resume.analyze",
69
- "output_schema_version": "career.resume_analysis.v1",
70
- "output_sha256": "01eb6332172ea2e747be7b409fe31f646882079a36d327eb66bf3f3a92bb4acc",
71
- "output_size_bytes": 12416
72
- },
73
- {
74
- "golden_fixture": "fixtures/job/phase4b/complete-match.expected.json",
75
- "input_fixture": "fixtures/job/phase4b/complete-match.input.json",
76
- "operation": "job.match",
77
- "output_schema_version": "career.job_match.v1",
78
- "output_sha256": "872727a02f690b8269533c845e701086a90523a8579ccd0bee3abc8561764e96",
79
- "output_size_bytes": 17598
80
- }
81
- ],
82
- "package": {
83
- "archive_file": "career-pi-runtime-darwin-arm64-aarch64-apple-darwin-a3cdb4c6d7f966397e93ea4664071975bca7228c.tar.gz",
84
- "contents": [
85
- "career",
86
- "metadata.json",
87
- "LICENSE-MIT",
88
- "LICENSE-APACHE",
89
- "THIRD_PARTY_NOTICES.md"
90
- ],
91
- "unsigned": true
92
- },
93
- "publication_status": "not_a_public_release",
94
- "purpose": "maintainer_input_for_external_pi_career",
95
- "schema_version": "career.pi_career_runtime_artifact.v1",
96
- "source": {
97
- "git_dirty": false,
98
- "git_sha": "a3cdb4c6d7f966397e93ea4664071975bca7228c",
99
- "repository": "https://github.com/revazi/career-core"
100
- }
101
- }