trackly-cli 0.22.1 → 0.22.2

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/lib/agent.js CHANGED
@@ -8,7 +8,7 @@ const { spawnSync } = require('node:child_process');
8
8
  const { apiRequest, downloadFile, getConfigPaths, hasAuth, maintenanceOutput } = require('./client');
9
9
  const { version: PACKAGE_VERSION } = require('../package.json');
10
10
  const { contractVersion: MCP_CONTRACT_VERSION } = require('../contracts/trackly-apply-tools.json');
11
- const SKILL_VERSION = '4.9.1';
11
+ const SKILL_VERSION = '4.9.2';
12
12
  const SKILL_POLICY_REVISION = SKILL_VERSION;
13
13
  const CLI_USER_AGENT = `trackly-cli/${PACKAGE_VERSION}`;
14
14
  const MCP_USER_AGENT = `trackly-mcp/${PACKAGE_VERSION}`;
@@ -440,14 +440,15 @@ const applyExecutionSchema = z.object({
440
440
  currentWave: executionWaveSchema.nullable(),
441
441
  unresolvedWaves: z.array(executionWaveSchema).max(APPLY_EXECUTION_MAX_TARGET),
442
442
  }).strict();
443
- const getExecutionAccessReviewResponseSchema = z.object({
443
+ const getExecutionAccessReviewResponseObjectSchema = z.object({
444
444
  success: z.literal(true),
445
445
  execution: applyExecutionSchema,
446
446
  progress: executionProgressSchema,
447
447
  proposedWave: z.array(proposedWaveMemberSchema).max(APPLY_EXECUTION_MAX_TARGET),
448
448
  accessProposal: accessProposalSchema,
449
- }).strict().superRefine(validateMatchingProposal);
450
- const activeExecutionAccessReviewResponseSchema = getExecutionAccessReviewResponseSchema.innerType().extend({
449
+ }).strict();
450
+ const getExecutionAccessReviewResponseSchema = getExecutionAccessReviewResponseObjectSchema.superRefine(validateMatchingProposal);
451
+ const activeExecutionAccessReviewResponseSchema = getExecutionAccessReviewResponseObjectSchema.extend({
451
452
  enabled: z.boolean().optional(),
452
453
  active: z.boolean().optional(),
453
454
  preserved: z.boolean().optional(),
package/mcp/server.js CHANGED
@@ -448,7 +448,7 @@ function createServer() {
448
448
  'trackly_update_experience_limits',
449
449
  'Atomically replace the complete role-specific experience-limit map. Each value is the highest stated minimum years requirement the user wants for that job function. When Trackly enforcement is active, a job is included when its stated minimum is less than or equal to the limit. Jobs with no stated minimum remain visible. An empty object clears the saved limits. experienceFilterV2Available reports edit capability, not enforcement state. Read discoveryPreferenceRevision with trackly_get_preferences first. If the backend returns a revision conflict, refetch and reconcile with the user; never retry blindly with the newer revision.',
450
450
  {
451
- experienceLimitsByJobFunction: z.record(z.enum(JOB_FUNCTIONS), z.number().int().min(0).max(60)).describe(
451
+ experienceLimitsByJobFunction: z.partialRecord(z.enum(JOB_FUNCTIONS), z.number().int().min(0).max(60)).describe(
452
452
  'Complete replacement map from canonical job-function slug to maximum acceptable stated minimum years. Use {} to turn role-specific experience filtering off.'
453
453
  ),
454
454
  expectedPreferenceRevision: z.number().int().min(0).max(Number.MAX_SAFE_INTEGER).describe(
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "trackly-cli",
3
- "version": "0.22.1",
3
+ "version": "0.22.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "trackly-cli",
9
- "version": "0.22.1",
9
+ "version": "0.22.2",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@modelcontextprotocol/sdk": "1.32.1",
13
13
  "@posthog/mcp": "0.11.0",
14
- "fast-uri": "3.1.8",
15
- "hono": "4.13.7",
16
- "ip-address": "10.7.3",
14
+ "fast-uri": "3.1.9",
15
+ "hono": "4.13.11",
16
+ "ip-address": "10.7.4",
17
17
  "posthog-node": "5.48.1",
18
- "zod": "^3.23.0"
18
+ "zod": "4.6.7"
19
19
  },
20
20
  "bin": {
21
21
  "trackly": "bin/trackly"
@@ -812,18 +812,18 @@
812
812
  }
813
813
  },
814
814
  "node_modules/body-parser": {
815
- "version": "2.3.0",
816
- "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.3.0.tgz",
817
- "integrity": "sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==",
815
+ "version": "2.4.0",
816
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.4.0.tgz",
817
+ "integrity": "sha512-Ifk1KcLrxaGt1occQagQNFNNOqRt1LFuehEnHHzB8Z6cRgIxRU1TBaiIsUiCdA+gy5PL7Y1IX31DNKkRmxtXjQ==",
818
818
  "license": "MIT",
819
819
  "dependencies": {
820
820
  "bytes": "^3.1.2",
821
- "content-type": "^2.0.0",
821
+ "content-type": "^2.1.0",
822
822
  "debug": "^4.4.3",
823
823
  "http-errors": "^2.0.1",
824
- "iconv-lite": "^0.7.2",
824
+ "iconv-lite": "^0.7.3",
825
825
  "on-finished": "^2.4.1",
826
- "qs": "^6.15.2",
826
+ "qs": "^6.16.1",
827
827
  "raw-body": "^3.0.2",
828
828
  "type-is": "^2.1.0"
829
829
  },
@@ -836,9 +836,9 @@
836
836
  }
837
837
  },
838
838
  "node_modules/body-parser/node_modules/content-type": {
839
- "version": "2.0.0",
840
- "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.0.0.tgz",
841
- "integrity": "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==",
839
+ "version": "2.1.0",
840
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz",
841
+ "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==",
842
842
  "license": "MIT",
843
843
  "engines": {
844
844
  "node": ">=18"
@@ -1156,9 +1156,9 @@
1156
1156
  "license": "MIT"
1157
1157
  },
1158
1158
  "node_modules/fast-uri": {
1159
- "version": "3.1.8",
1160
- "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz",
1161
- "integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==",
1159
+ "version": "3.1.9",
1160
+ "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.9.tgz",
1161
+ "integrity": "sha512-hS/0Wt3Ya043oKXs0sIxrMpKQITXhMLIrVAKKXi4gozGC9v7YRWVnXIZzjNPTO02M9BdxLCWqK1yRXgNziVyJQ==",
1162
1162
  "funding": [
1163
1163
  {
1164
1164
  "type": "github",
@@ -1293,9 +1293,9 @@
1293
1293
  }
1294
1294
  },
1295
1295
  "node_modules/hono": {
1296
- "version": "4.13.7",
1297
- "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.7.tgz",
1298
- "integrity": "sha512-c8/gF9ac8Y78/agExVocyLevgR+JlpNB444Py0FSX8pJoPdYUfUzRcXtYEYGwt6l19qIlVZPN5Mfsw9jFShmQQ==",
1296
+ "version": "4.13.11",
1297
+ "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.11.tgz",
1298
+ "integrity": "sha512-/SMX/RQNJn7oNmFwH6DtwDqcrzZU2otm1FD6OJe2cWF6cfy/F8hq0XVBv7xW3FTJshRQwuBnXHDq2kNsdZnshg==",
1299
1299
  "license": "MIT",
1300
1300
  "engines": {
1301
1301
  "node": ">=16.9.0"
@@ -1322,9 +1322,9 @@
1322
1322
  }
1323
1323
  },
1324
1324
  "node_modules/iconv-lite": {
1325
- "version": "0.7.2",
1326
- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.2.tgz",
1327
- "integrity": "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==",
1325
+ "version": "0.7.3",
1326
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.3.tgz",
1327
+ "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==",
1328
1328
  "license": "MIT",
1329
1329
  "dependencies": {
1330
1330
  "safer-buffer": ">= 2.1.2 < 3.0.0"
@@ -1344,9 +1344,9 @@
1344
1344
  "license": "ISC"
1345
1345
  },
1346
1346
  "node_modules/ip-address": {
1347
- "version": "10.7.3",
1348
- "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.3.tgz",
1349
- "integrity": "sha512-A1kdq/tSb5QjvKvAMgIoEvDBIgL7qaqVP/jkvSwYYRZ9iEzvPpopxp2wQfu3SuZRHtpHNxMn8Fs0bS+gf5Xmwg==",
1347
+ "version": "10.7.4",
1348
+ "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.4.tgz",
1349
+ "integrity": "sha512-DWBMKyeM25D70nrIiTkgQth59/G+naKOTep6huF9j+GmeK3DMD60Zvxg5d5qQnz+38AHgou6ean2LECX+lrKDg==",
1350
1350
  "license": "MIT",
1351
1351
  "engines": {
1352
1352
  "node": ">= 12"
@@ -1598,9 +1598,9 @@
1598
1598
  }
1599
1599
  },
1600
1600
  "node_modules/qs": {
1601
- "version": "6.16.0",
1602
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.0.tgz",
1603
- "integrity": "sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==",
1601
+ "version": "6.16.1",
1602
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.1.tgz",
1603
+ "integrity": "sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg==",
1604
1604
  "license": "BSD-3-Clause",
1605
1605
  "dependencies": {
1606
1606
  "es-define-property": "^1.0.1",
@@ -2008,9 +2008,9 @@
2008
2008
  }
2009
2009
  },
2010
2010
  "node_modules/zod": {
2011
- "version": "3.25.76",
2012
- "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
2013
- "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",
2011
+ "version": "4.6.7",
2012
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz",
2013
+ "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==",
2014
2014
  "license": "MIT",
2015
2015
  "funding": {
2016
2016
  "url": "https://github.com/sponsors/colinhacks"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trackly-cli",
3
- "version": "0.22.1",
3
+ "version": "0.22.2",
4
4
  "mcpName": "io.github.trackly-app/trackly",
5
5
  "description": "Search 250K+ jobs across 5,400+ companies with the Trackly CLI and MCP server for Claude, ChatGPT, Codex and Cursor. Filter by role, location, salary and sponsorship; track jobs and prepare applications.",
6
6
  "bin": {
@@ -72,20 +72,21 @@
72
72
  "dependencies": {
73
73
  "@modelcontextprotocol/sdk": "1.32.1",
74
74
  "@posthog/mcp": "0.11.0",
75
- "fast-uri": "3.1.8",
76
- "hono": "4.13.7",
77
- "ip-address": "10.7.3",
75
+ "fast-uri": "3.1.9",
76
+ "hono": "4.13.11",
77
+ "ip-address": "10.7.4",
78
78
  "posthog-node": "5.48.1",
79
- "zod": "^3.23.0"
79
+ "zod": "4.6.7"
80
80
  },
81
81
  "engines": {
82
82
  "node": "^20.20.0 || >=22.22.0"
83
83
  },
84
84
  "overrides": {
85
85
  "@hono/node-server": "2.0.12",
86
- "fast-uri": "3.1.8",
87
- "ip-address": "10.7.3",
88
- "qs": "6.16.0"
86
+ "fast-uri": "3.1.9",
87
+ "ip-address": "10.7.4",
88
+ "qs": "6.16.1",
89
+ "body-parser": "2.4.0"
89
90
  },
90
91
  "devDependencies": {
91
92
  "@babel/parser": "7.29.8",
@@ -12,7 +12,6 @@ const DEFAULT_POLICY_PATH = path.join(
12
12
  'security',
13
13
  'audit-exceptions.json',
14
14
  );
15
- const NPM = process.platform === 'win32' ? 'npm.cmd' : 'npm';
16
15
 
17
16
  function selectAdvisoryFields(advisory) {
18
17
  return {
@@ -112,10 +111,19 @@ function loadPolicy(policyPath = DEFAULT_POLICY_PATH) {
112
111
  }
113
112
 
114
113
  function runAudit() {
115
- const result = spawnSync(NPM, ['audit', '--json', '--audit-level=moderate'], {
114
+ // npm.cmd is not directly executable on Windows. During npm run, invoke
115
+ // its CLI with Node so paths containing spaces or shell characters stay literal.
116
+ const npmCli = process.env.npm_execpath;
117
+ const command = npmCli ? process.execPath
118
+ : process.platform === 'win32' ? (process.env.ComSpec || 'cmd.exe') : 'npm';
119
+ const args = npmCli ? [npmCli, 'audit', '--json', '--audit-level=moderate']
120
+ : process.platform === 'win32' ? ['/d', '/s', '/c', 'npm.cmd audit --json --audit-level=moderate']
121
+ : ['audit', '--json', '--audit-level=moderate'];
122
+ const result = spawnSync(command, args, {
116
123
  cwd: path.join(__dirname, '..'),
117
124
  encoding: 'utf8',
118
125
  maxBuffer: 10 * 1024 * 1024,
126
+ windowsHide: true,
119
127
  });
120
128
 
121
129
  if (result.error) {
package/server.json CHANGED
@@ -17,12 +17,12 @@
17
17
  ]
18
18
  }
19
19
  ],
20
- "version": "0.22.1",
20
+ "version": "0.22.2",
21
21
  "packages": [
22
22
  {
23
23
  "registryType": "npm",
24
24
  "identifier": "trackly-cli",
25
- "version": "0.22.1",
25
+ "version": "0.22.2",
26
26
  "runtimeHint": "npx",
27
27
  "runtimeArguments": [
28
28
  {
@@ -1,15 +1,17 @@
1
1
  ---
2
2
  name: trackly-apply
3
- description: Fill the next user-approved jobs from a Trackly apply/check-later queue through a supported ATS in a real browser, using the user’s profile and resume from Trackly, then stop for manual review and submission. Use for requests such as “apply to my queue,” “fill the next application,” or “Trackly apply” in Codex or Claude Code on macOS.
3
+ description: Help users finish Trackly Apply setup and resolve missing profile or resume requirements, then fill user-approved jobs through a supported ATS in a real browser and stop for manual review and submission. Use for requests such as “set up Apply,” “fix my incomplete profile,” “apply to my queue,” or “fill the next application” in Codex or Claude Code on macOS.
4
4
  ---
5
5
 
6
6
  # Trackly Apply
7
7
 
8
8
  Use Trackly as the source of truth for profile answers, documents, queue decisions, and application state. Use this skill only for reusable browser mechanics; never store personal answers or application logs inside the skill.
9
9
 
10
+ Before application work, read [onboarding guidance](references/onboarding.md). Guide the user through only the missing requirements and verify saved answers, the stored default resume, and explicit profile confirmation.
11
+
10
12
  ## Skill version
11
13
 
12
- Skill version: `4.9.1`. Before browser readiness read [references/handoff-compatibility.md](references/handoff-compatibility.md). This policy takes precedence over returned-persistence-receipt or finalizer requirements elsewhere when using the documented markHandoff path. Other review and safety gates remain unchanged.
14
+ Skill version: `4.9.2`. Before browser readiness read [references/handoff-compatibility.md](references/handoff-compatibility.md). This policy takes precedence over returned-persistence-receipt or finalizer requirements elsewhere when using the documented markHandoff path. Other review and safety gates remain unchanged.
13
15
 
14
16
  ## Non-negotiable rules
15
17
 
@@ -39,7 +41,7 @@ value-free phase receipt with `scripts/validate-phase-checkpoint.js` before
39
41
  claiming that phase complete.
40
42
  Read [references/legal-clarifications.md](references/legal-clarifications.md) when a form asks for a legal, regulatory, consent, or employer-relationship decision.
41
43
 
42
- 1. Call `trackly_get_apply_protocol`. Skill 4.9.1 requires protocol 3.7.0 or newer for new reliability work. Protocol 3.2 remains valid only for an already-active explicit legacy single run; an already-active explicit 3.2 single run may finish through its legacy path. Preserve the protocol's documented recovery paths for already-active older work. Require `compatibleSkillMajor: 4` and `compatibleSkillMinimumVersion` no newer than this installed skill. Reject an older or incompatible version for new work and report that the backend must finish updating or `trackly agent setup` must update the skill. Protocol 3.2 added exact-origin trust for jobs Trackly ingested directly from employer careers sources; do not recreate the retired ownership-timestamp gate in the client.
44
+ 1. Call `trackly_get_apply_protocol`. Skill 4.9.2 requires protocol 3.7.0 or newer for new reliability work. Protocol 3.2 remains valid only for an already-active explicit legacy single run; an already-active explicit 3.2 single run may finish through its legacy path. Preserve the protocol's documented recovery paths for already-active older work. Require `compatibleSkillMajor: 4` and `compatibleSkillMinimumVersion` no newer than this installed skill. Reject an older or incompatible version for new work and report that the backend must finish updating or `trackly agent setup` must update the skill. Protocol 3.2 added exact-origin trust for jobs Trackly ingested directly from employer careers sources; do not recreate the retired ownership-timestamp gate in the client.
43
45
  2. Call `trackly_get_profile_onboarding` or fetch both the profile schema and application profile. When present, render `schema.screens` in ascending `order` as one grouped question packet per screen. Within a screen, preserve category `order` and then field `order`; use each field's user-facing `rationale` when the user asks why it is needed. Ask only unknown or confirmation-needed fields and honor `consistencyRules` before submitting profile changes, resolving contradictions with the user instead of guessing. When `schema.screens` is absent on a legacy backend, fall back to the existing category-based onboarding behavior. Treat `completeness.percent` as required onboarding readiness only. Use `coverage.missingReusableKeys` to explain reusable optional gaps, while `coverage.contextualKeys` are intentionally asked only on the relevant employer form. Do not claim that 100% required completeness answers every possible application question.
44
46
  3. Save answers with `trackly_update_application_profile`:
45
47
  - Use `answered`, `intentionally_blank`, `declined`, or `unknown` exactly.
@@ -85,7 +87,7 @@ Read [references/legal-clarifications.md](references/legal-clarifications.md) wh
85
87
  - For each fixed batch member, preserve an explicit job ID -> application run ID -> browser tab mapping. Complete the full start -> conditional resume preparation/confirmation/verification when an upload control exists -> form completion -> `review_ready` lifecycle for every member. A review-ready run does not block the next member. Never submit any of them.
86
88
  6. When the selected job or current fixed batch member has no `runId`, call `trackly_start_apply_run` with the complete `batchId`, `memberId`, `expectedMemberVersion`, `expectedInspectionEpoch`, and `leaseToken` returned by Trackly. This is the sanctioned idempotent lookup for a recovered member whose `runId` is absent; call it with the exact recovered binding and Trackly will reuse the bound active run. When the member already has a `runId`, do not call `trackly_start_apply_run` in this or any subsequent start step: reuse that exact run and bind or recover its browser surface through `trackly_bind_apply_surface` as required. Never create a replacement run because browser control was interrupted.
87
89
  - If a bound start returns a transport failure, a non-access HTTP 5xx response, or an error explicitly marked `retryable: true`, preserve the frozen member and browser state. Refetch the active batch, renew its lease, and retry the same complete binding once. Classify the retry response independently with these same rules: route canonical `maintenance_mode` or legacy `planned_maintenance` directly through **Resume after maintenance**; surface controlled-access/request errors marked `retryable: false` and every other HTTP 4xx response unchanged; only a second transport failure, non-access HTTP 5xx response, or explicitly retryable error becomes `backend_run_start_unavailable`. Route maintenance on either attempt without consuming or relabeling the retry, and never relabel a permanent retry response as an outage. For `backend_run_start_unavailable`, continue other members and report a Trackly control-plane failure. Do not call `trackly_checkpoint_apply_batch` for this condition because start failure has not produced the required run ID. The unchanged frozen member is the durable resume point. Never switch that frozen member to an unbound legacy run or blame the employer form.
88
- - Require `run.protocolVersion` to be 3.1.0 or newer and to share protocol major 3 with the fetched protocol. A new reliability execution member requires 3.7.0 or newer; already-active older work may use only the recovery path published by its fetched protocol. Never continue a pre-evidence 3.0.x run under skill 4.9.1. Preserve that run instead of starting a replacement, record it `blocked` with a value-free protocol-upgrade reason when possible, and tell the user the saved job can be retried only after the stale run is cleared through Trackly's supported lifecycle. Stop and refetch the protocol and active execution or batch if support level, execution mode, provider, required scenarios, authorized origin policy, member version, or inspection epoch changes after run creation.
90
+ - Require `run.protocolVersion` to be 3.1.0 or newer and to share protocol major 3 with the fetched protocol. A new reliability execution member requires 3.7.0 or newer; already-active older work may use only the recovery path published by its fetched protocol. Never continue a pre-evidence 3.0.x run under skill 4.9.2. Preserve that run instead of starting a replacement, record it `blocked` with a value-free protocol-upgrade reason when possible, and tell the user the saved job can be retried only after the stale run is cleared through Trackly's supported lifecycle. Stop and refetch the protocol and active execution or batch if support level, execution mode, provider, required scenarios, authorized origin policy, member version, or inspection epoch changes after run creation.
89
91
  - In guided mode, inspect the page before preparing any resume bytes. Confirm the employer, role, HTTPS origin, reachable review path, semantic controls, whether an attachment control exists, and absence of a credential, verification, CAPTCHA, or submit-only wall. A missing file input is not itself a blocker; skip the resume path when the application has no attachment control. Any other failed precondition is an execution blocker, not permission to improvise.
90
92
  7. Pass the browser readiness gate before preparing resume bytes:
91
93
  - Use semantic browser control through Codex in-app browser controls, Chrome MCP/extension browser control, or Claude in Chrome.
@@ -0,0 +1,9 @@
1
+ # Finish Apply setup
2
+
3
+ Treat setup as a guided conversation. Read the current profile and schema through trackly_get_profile_onboarding or equivalent profile reads. Derive next steps from authoritative completeness and saved states. Explain Apply capability separately from profile completion. Incomplete setup is not a rollout failure, and absent answers or an absent upload do not resolve by waiting.
4
+
5
+ 1. Check availability before interpreting saved state. If profile or schema is unavailable, report the failed check and a concrete next action without asking the user to repeat saved setup.
6
+ 2. Explain remaining requirements in the user's language. Ask only canonical questions that remain unknown or need confirmation. Preserve answered, declined and intentionally blank fields. Save only user-confirmed facts and scopes using the current revision, then refetch the profile. Education updates replace the entire saved list. Never send a partial education list. Guide missing education through https://usetrackly.app/profile with the same account to edit only missing fields and preserve existing records, then refetch the profile after they save. Never invent missing facts or claim an unsaved conversational answer was stored.
7
+ 3. Treat documents.default_resume as a file requirement. If no stored default resume is available, give https://usetrackly.app/profile and explain how to sign in with the same Trackly account, upload the original resume and select Set Default if needed. A PDF attached to a conversation or permission to use it does not store the file in Trackly. Do not invent an incoming chat-file import operation. After the user confirms the upload, refetch the profile and verify it returns a stored default resume. Employer attachment is a later step.
8
+ 4. When requirements are complete but the profile is unconfirmed, ask the user to review and explicitly confirm it. Save confirmProfile: true with the current expectedRevision through trackly_update_application_profile only after confirmation. Refetch the profile and verify confirmedAt is present, a stored default resume exists and no missing requirements remain before continuing.
9
+ 5. Name any failed operation and the next concrete action. Avoid repeated polling. Capability disablement, incomplete setup, unavailable checks and a host without a controlled browser are distinct blockers. Profile readiness does not prove browser capability. Never submit an application or infer submission from setup completion.