trace-to-skill 0.1.71 → 0.1.72

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/README.md CHANGED
@@ -57,7 +57,7 @@ Use it when you need to:
57
57
  - **Harden agent instructions:** run `trace-to-skill lint-agents .` to catch missing `AGENTS.md`, conflicting tool instructions, missing includes, nested instruction drift, encoding issues, and risky MCP config.
58
58
  - **Protect agent context:** run `trace-to-skill guard-github-event "$GITHUB_EVENT_PATH"` before feeding issue, PR, comment, discussion, check-run, or commit text into an agent.
59
59
  - **Prevent unsafe patch overwrites:** run `trace-to-skill guard-patch ./change.patch --root .` before applying generated patches so `*** Add File` cannot silently replace an existing file or symlink target.
60
- - **Audit local Codex session history:** run `trace-to-skill session-audit ~/.codex --format json` to summarize rollout JSONL sizes, huge lines, parse errors, state files, and short `session_index.jsonl` evidence without publishing private transcripts.
60
+ - **Audit local Codex session history:** run `trace-to-skill session-audit ~/.codex --format json` to summarize rollout JSONL sizes, huge lines, parse errors, state files, short `session_index.jsonl` evidence, and recoverable unindexed thread ids without publishing private transcripts.
61
61
  - **Preflight sensitive paths before agent runs:** run `trace-to-skill sensitive-audit . --format json` to find `.env`, private keys, package auth files, cloud credentials, local databases, signing files, and secret manifests by filename/path without reading file contents.
62
62
  - **Preflight language-server readiness:** run `trace-to-skill lsp-audit . --format json` to detect repo languages, missing LSP commands, install hints, and evidence files before asking Codex for symbol-aware edits.
63
63
  - **Audit Codex config drift:** run `trace-to-skill config-audit ~/.codex --format json` to summarize legacy profile config, model pins, Speed/Fast service-tier persistence drift, sandbox/approval posture, Windows elevated sandbox mode, missing permission profiles, plugin cache drift, and MCP approval sprawl.
@@ -115,10 +115,11 @@ Open-source maintainers do not need more AI-generated noise. They need agents th
115
115
  - Did Codex Desktop on Windows expose `rg`, `node_repl`, Browser, Chrome, or Computer Use helper paths that were discoverable but not executable?
116
116
  - Did an `apply_patch` create operation actually overwrite an existing file or symlink target?
117
117
  - Can a generated patch be guarded before it touches the workspace?
118
- - Which local Codex rollout JSONL or `session_index.jsonl` files make `codex resume` or Desktop history sluggish?
118
+ - Which local Codex rollout JSONL or `session_index.jsonl` files make `codex resume`, project history, search, or Desktop history sluggish/incomplete?
119
119
  - Which `config.toml` or `.codex-global-state.json` setting explains a sandbox, approval, plugin, model, Speed/Fast, or Preferences save regression?
120
120
  - Which bundled plugin/cache/marketplace/helper-app mismatch explains a Browser, Chrome, Computer Use, or MCP runtime failure?
121
121
  - Can I attach one safe diagnostics folder to OpenAI without posting raw `config.toml`, SQLite state, local logs, or transcripts?
122
+ - Can I prove a project thread still exists on disk and get the `codex resume <id>` command when Desktop search/sidebar hides it?
122
123
  - Can I create a local checkpoint before an agent run so untracked dirty files are not lost if I need a manual rewind?
123
124
  - Which files in this repo should be excluded from agent context before Codex, Claude, Cursor, or Gemini reads the workspace?
124
125
  - Which language servers should be installed before Codex attempts symbol-aware navigation, diagnostics, rename, or go-to-definition work?
@@ -495,7 +496,7 @@ jobs:
495
496
  issues: write
496
497
  steps:
497
498
  - uses: actions/checkout@v5
498
- - uses: grnbtqdbyx-create/trace-to-skill@v0.1.71
499
+ - uses: grnbtqdbyx-create/trace-to-skill@v0.1.72
499
500
  with:
500
501
  mode: all
501
502
  doctor-threshold: "85"
@@ -544,7 +545,7 @@ Composite action usage:
544
545
 
545
546
  ```yaml
546
547
  - id: trace-to-skill
547
- uses: grnbtqdbyx-create/trace-to-skill@v0.1.71
548
+ uses: grnbtqdbyx-create/trace-to-skill@v0.1.72
548
549
  with:
549
550
  mode: all
550
551
  doctor-threshold: "85"
@@ -586,7 +587,7 @@ Action outputs:
586
587
 
587
588
  By default, generated reports are also appended to the GitHub Actions Job Summary. Set `job-summary: "false"` to disable that UI output.
588
589
 
589
- Tagged Action releases build and run the CLI from `$GITHUB_ACTION_PATH`, so a workflow pinned to a release tag such as `@v0.1.71` executes that release's checked-out source instead of pulling the default branch at runtime.
590
+ Tagged Action releases build and run the CLI from `$GITHUB_ACTION_PATH`, so a workflow pinned to a release tag such as `@v0.1.72` executes that release's checked-out source instead of pulling the default branch at runtime.
590
591
 
591
592
  ## Codex Skill
592
593
 
@@ -12,6 +12,16 @@ export interface SessionAuditFile {
12
12
  jsonParseErrors: number;
13
13
  recordTypes: Record<string, number>;
14
14
  signalCounts: Record<string, number>;
15
+ session?: SessionAuditThreadMetadata;
16
+ }
17
+ export interface SessionAuditThreadMetadata {
18
+ id: string;
19
+ createdAt?: string;
20
+ cwdBasename?: string;
21
+ cwdHash?: string;
22
+ originator?: string;
23
+ cliVersion?: string;
24
+ sourceKind?: string;
15
25
  }
16
26
  export interface SessionAuditStateFile {
17
27
  path: string;
@@ -20,10 +30,24 @@ export interface SessionAuditStateFile {
20
30
  }
21
31
  export interface SessionAuditFinding {
22
32
  severity: SessionAuditSeverity;
23
- kind: "large_rollout" | "huge_jsonl_line" | "json_parse_error" | "short_session_index" | "state_file_present";
33
+ kind: "large_rollout" | "huge_jsonl_line" | "json_parse_error" | "short_session_index" | "unindexed_rollout_thread" | "state_file_present";
24
34
  path?: string;
25
35
  message: string;
26
36
  }
37
+ export interface SessionAuditThread {
38
+ id: string;
39
+ path: string;
40
+ indexed: boolean;
41
+ indexTitle?: string;
42
+ indexUpdatedAt?: string;
43
+ createdAt?: string;
44
+ cwdBasename?: string;
45
+ cwdHash?: string;
46
+ originator?: string;
47
+ cliVersion?: string;
48
+ sourceKind?: string;
49
+ recoverCommand: string;
50
+ }
27
51
  export interface SessionAuditResult {
28
52
  generatedAt: string;
29
53
  root: string;
@@ -40,8 +64,13 @@ export interface SessionAuditResult {
40
64
  parseErrorFiles: number;
41
65
  sessionIndexLines?: number;
42
66
  rolloutFiles?: number;
67
+ rolloutThreads: number;
68
+ indexedThreads: number;
69
+ unindexedRolloutThreads: number;
70
+ projectRoots: number;
43
71
  };
44
72
  files: SessionAuditFile[];
73
+ threads: SessionAuditThread[];
45
74
  stateFiles: SessionAuditStateFile[];
46
75
  findings: SessionAuditFinding[];
47
76
  }
@@ -1,3 +1,4 @@
1
+ import { createHash } from "node:crypto";
1
2
  import { createReadStream } from "node:fs";
2
3
  import { readdir, stat } from "node:fs/promises";
3
4
  import os from "node:os";
@@ -17,10 +18,13 @@ export async function auditCodexSessions(target = defaultCodexHome(), options =
17
18
  for (const file of discovered.jsonlFiles) {
18
19
  files.push(await analyzeJsonlFile(file, root));
19
20
  }
20
- const stateFiles = await Promise.all(discovered.stateFiles.map((file) => stateFileInfo(file, root)));
21
- const findings = buildFindings(files, stateFiles, thresholds);
22
21
  const sessionIndex = files.find((file) => path.basename(file.path) === "session_index.jsonl");
22
+ const indexEntries = sessionIndex ? await readSessionIndex(path.join(root, sessionIndex.path)) : new Map();
23
+ const threads = buildThreads(files, indexEntries);
24
+ const stateFiles = await Promise.all(discovered.stateFiles.map((file) => stateFileInfo(file, root)));
25
+ const findings = buildFindings(files, threads, stateFiles, thresholds);
23
26
  const rolloutFiles = files.filter((file) => path.basename(file.path).startsWith("rollout-")).length;
27
+ const projectKeys = new Set(threads.map((thread) => thread.cwdHash).filter(Boolean));
24
28
  const summary = {
25
29
  jsonlFiles: files.length,
26
30
  totalBytes: files.reduce((sum, file) => sum + file.sizeBytes, 0),
@@ -28,7 +32,11 @@ export async function auditCodexSessions(target = defaultCodexHome(), options =
28
32
  hugeLineFiles: files.filter((file) => file.largestLineBytes >= thresholds.hugeLineBytes).length,
29
33
  parseErrorFiles: files.filter((file) => file.jsonParseErrors > 0).length,
30
34
  sessionIndexLines: sessionIndex?.lineCount,
31
- rolloutFiles
35
+ rolloutFiles,
36
+ rolloutThreads: threads.length,
37
+ indexedThreads: threads.filter((thread) => thread.indexed).length,
38
+ unindexedRolloutThreads: threads.filter((thread) => !thread.indexed).length,
39
+ projectRoots: projectKeys.size
32
40
  };
33
41
  return {
34
42
  generatedAt: new Date().toISOString(),
@@ -37,6 +45,7 @@ export async function auditCodexSessions(target = defaultCodexHome(), options =
37
45
  thresholds,
38
46
  summary,
39
47
  files: files.sort((a, b) => b.sizeBytes - a.sizeBytes),
48
+ threads,
40
49
  stateFiles,
41
50
  findings
42
51
  };
@@ -54,6 +63,9 @@ export function renderSessionAuditMarkdown(result) {
54
63
  `Large files: ${result.summary.largeFiles}`,
55
64
  `Huge-line files: ${result.summary.hugeLineFiles}`,
56
65
  `Parse-error files: ${result.summary.parseErrorFiles}`,
66
+ `Rollout threads: ${result.summary.rolloutThreads}`,
67
+ `Indexed threads: ${result.summary.indexedThreads}`,
68
+ `Unindexed rollout threads: ${result.summary.unindexedRolloutThreads}`,
57
69
  ""
58
70
  ];
59
71
  if (result.findings.length > 0) {
@@ -64,6 +76,27 @@ export function renderSessionAuditMarkdown(result) {
64
76
  }
65
77
  lines.push("");
66
78
  }
79
+ lines.push("## Recoverable Thread Index", "");
80
+ if (result.threads.length === 0) {
81
+ lines.push("No rollout session metadata found.", "");
82
+ }
83
+ else {
84
+ lines.push("| Indexed | Thread id | Project | Created | Index title | Resume |");
85
+ lines.push("| --- | --- | --- | --- | --- | --- |");
86
+ for (const thread of result.threads.slice(0, 25)) {
87
+ const project = [thread.cwdBasename, thread.cwdHash].filter(Boolean).join(" ");
88
+ lines.push([
89
+ String(thread.indexed),
90
+ `\`${thread.id}\``,
91
+ project || "",
92
+ thread.createdAt ?? "",
93
+ thread.indexTitle ?? "",
94
+ `\`${thread.recoverCommand}\``
95
+ ].map(escapeCell).join(" | ").replace(/^/, "| ").replace(/$/, " |"));
96
+ }
97
+ lines.push("");
98
+ lines.push("This table intentionally avoids printing full workspace paths. `cwdHash` is a short hash of the original path so related threads can be grouped without exposing local directories.", "");
99
+ }
67
100
  lines.push("## Largest JSONL Files", "");
68
101
  const largest = result.files.slice(0, 10);
69
102
  if (largest.length === 0) {
@@ -95,7 +128,7 @@ export function renderSessionAuditMarkdown(result) {
95
128
  }
96
129
  lines.push("");
97
130
  }
98
- lines.push("Suggested next step:", "", "- If this report shows large rollout files or parse errors, attach this JSON/Markdown summary to the Codex issue instead of publishing private transcripts.", "- If `codex resume <id>` works but the picker freezes, include the largest file sizes and line counts from this report.", "");
131
+ lines.push("Suggested next step:", "", "- If this report shows large rollout files or parse errors, attach this JSON/Markdown summary to the Codex issue instead of publishing private transcripts.", "- If `codex resume <id>` works but the picker freezes, include the largest file sizes and line counts from this report.", "- If project history/search is empty but this report lists unindexed rollout threads, try `codex resume <thread_id>` locally and include the unindexed count plus affected hashed project group in the issue.", "");
99
132
  return lines.join("\n");
100
133
  }
101
134
  async function discoverCodexFiles(root) {
@@ -133,6 +166,7 @@ async function analyzeJsonlFile(filePath, root) {
133
166
  let lineCount = 0;
134
167
  let largestLineBytes = 0;
135
168
  let jsonParseErrors = 0;
169
+ let session;
136
170
  const input = createReadStream(filePath, { encoding: "utf8" });
137
171
  const reader = readline.createInterface({ input, crlfDelay: Infinity });
138
172
  for await (const line of reader) {
@@ -145,6 +179,7 @@ async function analyzeJsonlFile(filePath, root) {
145
179
  try {
146
180
  const parsed = JSON.parse(line);
147
181
  countParsedRecord(parsed, recordTypes, signalCounts);
182
+ session ??= extractSessionMetadata(parsed);
148
183
  }
149
184
  catch {
150
185
  jsonParseErrors += 1;
@@ -157,7 +192,8 @@ async function analyzeJsonlFile(filePath, root) {
157
192
  largestLineBytes,
158
193
  jsonParseErrors,
159
194
  recordTypes,
160
- signalCounts
195
+ signalCounts,
196
+ session
161
197
  };
162
198
  }
163
199
  async function stateFileInfo(filePath, root) {
@@ -168,7 +204,7 @@ async function stateFileInfo(filePath, root) {
168
204
  present: true
169
205
  };
170
206
  }
171
- function buildFindings(files, stateFiles, thresholds) {
207
+ function buildFindings(files, threads, stateFiles, thresholds) {
172
208
  const findings = [];
173
209
  const rolloutFiles = files.filter((file) => path.basename(file.path).startsWith("rollout-"));
174
210
  const sessionIndex = files.find((file) => path.basename(file.path) === "session_index.jsonl");
@@ -206,6 +242,16 @@ function buildFindings(files, stateFiles, thresholds) {
206
242
  message: `session_index.jsonl has ${sessionIndex.lineCount} lines for ${rolloutFiles.length} rollout file(s); this can indicate an incomplete sidebar index.`
207
243
  });
208
244
  }
245
+ if (sessionIndex) {
246
+ for (const thread of threads.filter((item) => !item.indexed).slice(0, 10)) {
247
+ findings.push({
248
+ severity: "warning",
249
+ kind: "unindexed_rollout_thread",
250
+ path: thread.path,
251
+ message: `Rollout thread ${thread.id} has session metadata but no matching session_index.jsonl row; project/search UI may hide it while direct resume can still work.`
252
+ });
253
+ }
254
+ }
209
255
  for (const stateFile of stateFiles.filter((file) => file.path.endsWith(".sqlite"))) {
210
256
  findings.push({
211
257
  severity: "warning",
@@ -216,6 +262,79 @@ function buildFindings(files, stateFiles, thresholds) {
216
262
  }
217
263
  return findings;
218
264
  }
265
+ async function readSessionIndex(filePath) {
266
+ const entries = new Map();
267
+ const input = createReadStream(filePath, { encoding: "utf8" });
268
+ const reader = readline.createInterface({ input, crlfDelay: Infinity });
269
+ for await (const line of reader) {
270
+ if (!line.trim()) {
271
+ continue;
272
+ }
273
+ try {
274
+ const parsed = JSON.parse(line);
275
+ const id = typeof parsed.id === "string" ? parsed.id : undefined;
276
+ if (!id) {
277
+ continue;
278
+ }
279
+ entries.set(id, {
280
+ id,
281
+ title: firstString(parsed.thread_name, parsed.title, parsed.name),
282
+ updatedAt: firstString(parsed.updated_at, parsed.updatedAt)
283
+ });
284
+ }
285
+ catch {
286
+ continue;
287
+ }
288
+ }
289
+ return entries;
290
+ }
291
+ function buildThreads(files, indexEntries) {
292
+ return files
293
+ .filter((file) => path.basename(file.path).startsWith("rollout-") && file.session)
294
+ .map((file) => {
295
+ const session = file.session;
296
+ const indexed = indexEntries.get(session.id);
297
+ return {
298
+ id: session.id,
299
+ path: file.path,
300
+ indexed: indexed !== undefined,
301
+ indexTitle: indexed?.title,
302
+ indexUpdatedAt: indexed?.updatedAt,
303
+ createdAt: session.createdAt,
304
+ cwdBasename: session.cwdBasename,
305
+ cwdHash: session.cwdHash,
306
+ originator: session.originator,
307
+ cliVersion: session.cliVersion,
308
+ sourceKind: session.sourceKind,
309
+ recoverCommand: `codex resume ${session.id}`
310
+ };
311
+ })
312
+ .sort((a, b) => (b.createdAt ?? "").localeCompare(a.createdAt ?? ""));
313
+ }
314
+ function extractSessionMetadata(parsed) {
315
+ if (!parsed || typeof parsed !== "object") {
316
+ return undefined;
317
+ }
318
+ const record = parsed;
319
+ if (record.type !== "session_meta") {
320
+ return undefined;
321
+ }
322
+ const payload = record.payload && typeof record.payload === "object" ? record.payload : undefined;
323
+ const id = typeof payload?.id === "string" ? payload.id : undefined;
324
+ if (!id) {
325
+ return undefined;
326
+ }
327
+ const cwd = typeof payload?.cwd === "string" ? payload.cwd : undefined;
328
+ return {
329
+ id,
330
+ createdAt: firstString(payload?.timestamp, record.timestamp),
331
+ cwdBasename: cwd ? path.basename(cwd) : undefined,
332
+ cwdHash: cwd ? createHash("sha256").update(cwd).digest("hex").slice(0, 12) : undefined,
333
+ originator: firstString(payload?.originator),
334
+ cliVersion: firstString(payload?.cli_version),
335
+ sourceKind: sourceKind(payload?.source)
336
+ };
337
+ }
219
338
  function countRawSignals(line, signalCounts) {
220
339
  for (const [key, pattern] of [
221
340
  ["input_image", /input_image/g],
@@ -257,6 +376,25 @@ function formatSignals(signals) {
257
376
  }
258
377
  return entries.map(([key, count]) => `${key}:${count}`).join(", ");
259
378
  }
379
+ function firstString(...values) {
380
+ return values.find((value) => typeof value === "string" && value.length > 0);
381
+ }
382
+ function sourceKind(source) {
383
+ if (typeof source === "string") {
384
+ return source;
385
+ }
386
+ if (source && typeof source === "object") {
387
+ const object = source;
388
+ if (object.subagent) {
389
+ return "subagent";
390
+ }
391
+ return "object";
392
+ }
393
+ return undefined;
394
+ }
395
+ function escapeCell(value) {
396
+ return value.replace(/\|/g, "\\|").replace(/\n/g, " ");
397
+ }
260
398
  function defaultCodexHome() {
261
399
  return path.join(os.homedir(), ".codex");
262
400
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sessionAudit.js","sourceRoot":"","sources":["../../src/sessionAudit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gB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codex users want language-aware navigation, diagnostics, references, rename, or install guidance before edits | language-server metadata | `trace-to-skill lsp-audit . --format json` |
47
47
  | Context compaction failures | `Error running remote compact task`, `context_length_exceeded`, compaction loops, `responses/compact` stream disconnects | `context_compaction` | `trace-to-skill analyze ./runs` |
48
48
  | Latest-turn drift | Codex answers an older prompt, repeats a previous response, redoes an already fixed task, forgets recent edits after compaction, or leaks raw tool payload text | `codex_latest_turn_drift` | `trace-to-skill codex-report ./runs` |
49
- | Session resume and state failures | `codex resume` picker freezes, large rollout JSONL, short `session_index.jsonl`, `Could not load archived chats`, `state_5.sqlite`, `thread_goals` | `codex_session_state` | `trace-to-skill codex-report ./runs` or `trace-to-skill session-audit ~/.codex --format json` |
49
+ | Session resume, project history, and state failures | `codex resume` picker freezes, Desktop project/search/sidebar hides existing threads, large rollout JSONL, short or stale `session_index.jsonl`, unindexed rollout thread ids, `Could not load archived chats`, `state_5.sqlite`, `thread_goals` | `codex_session_state` | `trace-to-skill codex-report ./runs` or `trace-to-skill session-audit ~/.codex --format json` |
50
50
  | Sandbox and permission blockers | Windows sandbox setup refresh, `os error 740`, ACL/ownership drift, approval-mode mismatch | `sandbox_permission` | `trace-to-skill analyze ./runs` |
51
51
  | Auth and connectivity failures | `token_exchange_failed`, `auth.openai.com/oauth/token`, missing CA certificates, proxy/TLS, IPv6, Cloudflare, stream disconnects | `codex_connectivity` | `trace-to-skill codex-report ./runs` |
52
52
  | Remote-control routing failures | `Waiting for desktop`, `Directory: Unavailable`, stale listener/enrollment, `127.0.0.1:14567`, empty backend environments | `codex_remote_control` | `trace-to-skill codex-report ./runs` |
@@ -68,7 +68,7 @@ npx trace-to-skill lsp-audit . --format json
68
68
  - Include process names/PIDs, CPU/GPU/RSS samples, log-loop signatures, and whether killing exact PIDs or closing the app clears resource leaks.
69
69
  - Include exact tool input/output, `tool_call_id` order, affected path state, rollback evidence, and `guard-patch` output for tool-call integrity failures.
70
70
  - For undo/rewind reports, include whether you needed conversation rewind, file restore, or both; whether untracked/gitignored files were involved; and a pre-agent `checkpoint` manifest if you created one.
71
- - Include `session-audit` output, largest rollout JSONL sizes, largest line sizes, parse-error counts, `session_index.jsonl` line count, and state-file presence for resume/session-state failures.
71
+ - Include `session-audit` output, largest rollout JSONL sizes, largest line sizes, parse-error counts, `session_index.jsonl` line count, unindexed rollout thread count, recoverable `codex resume <id>` commands, hashed project groups, and state-file presence for resume/session-state failures.
72
72
  - Include `diagnostics-bundle` output when the issue spans config plus local session/history state, or when you need one metadata-only folder that excludes raw logs, SQLite databases, raw config, and transcripts.
73
73
  - Include pre-first-token, thinking, tool, search, read, and compaction timings plus model/speed settings for latency regressions.
74
74
  - Include `turn/start`, `task_started`, last successful tool output, first `response_item` timestamp, `responses_http` or websocket evidence, `time.busy` / `time.idle`, MCP/subagent state, stop/interrupt behavior, and minimal-config recovery evidence for Thinking hangs.
@@ -108,7 +108,7 @@ npx trace-to-skill lsp-audit . --format json
108
108
  - Approval persistence and MCP approval friction: https://github.com/openai/codex/issues/4212, https://github.com/openai/codex/issues/13476, https://github.com/openai/codex/issues/2998
109
109
  - Config and Preferences drift: https://github.com/openai/codex/issues/25440, https://github.com/openai/codex/issues/25442, https://github.com/openai/codex/issues/20538, https://github.com/openai/codex/issues/24963
110
110
  - Latest-turn drift and compaction memory loss: https://github.com/openai/codex/issues/8648, https://github.com/openai/codex/issues/5957, https://github.com/openai/codex/issues/10823, https://github.com/openai/codex/issues/11626
111
- - Session state and resume failures: https://github.com/openai/codex/issues/25430, https://github.com/openai/codex/issues/25390, https://github.com/openai/codex/issues/25394, https://github.com/openai/codex/issues/25407
111
+ - Session state, project history, and resume failures: https://github.com/openai/codex/issues/25463, https://github.com/openai/codex/issues/25092, https://github.com/openai/codex/issues/23193, https://github.com/openai/codex/issues/21119, https://github.com/openai/codex/issues/25456, https://github.com/openai/codex/issues/25430, https://github.com/openai/codex/issues/25390, https://github.com/openai/codex/issues/25394, https://github.com/openai/codex/issues/25407
112
112
  - MCP runtime failures: https://github.com/openai/codex/issues/16685, https://github.com/openai/codex/issues/18977, https://github.com/openai/codex/issues/24297, https://github.com/openai/codex/issues/23839
113
113
  - Plugin runtime and bundled capability failures: https://github.com/openai/codex/issues/25391, https://github.com/openai/codex/issues/25418, https://github.com/openai/codex/issues/25406, https://github.com/openai/codex/issues/18258
114
114
  - File tree and workspace navigation UI failures: https://github.com/openai/codex/issues/20552
package/docs/DISCOVERY.md CHANGED
@@ -33,7 +33,7 @@ This page is written for maintainers, search engines, package indexes, and AI re
33
33
  - Codex approval flow repeatedly prompts after `Approve for this session`, forgets a safe approval scope, or forces large trusted MCP servers into noisy per-tool approval configs.
34
34
  - Codex config drift makes Preferences unable to save, keeps legacy `profile` / `[profiles.*]` config after migration, pins an unavailable model, resets Speed/Fast to Standard despite persisted `service_tier`, points `default_permissions` at a missing profile, enables Windows elevated sandbox mode, or references plugin cache entries that are missing on disk.
35
35
  - Codex Desktop file tree, folder icon, floating file panel, or built-in file preview disappears, goes stale, or cannot be revealed by `View > Toggle File Tree`.
36
- - Codex resume, Desktop history rendering, archived chats, context compression, or local state migrations fail after large JSONL histories, images, tool output, stale SQLite state, short `session_index.jsonl`, or project/thread metadata drift.
36
+ - Codex resume, Desktop project history/search/sidebar rendering, archived chats, context compression, or local state migrations fail after large JSONL histories, images, tool output, stale SQLite state, short or stale `session_index.jsonl`, unindexed rollout threads, or project/thread metadata drift.
37
37
  - Codex model or runtime latency regresses so GPT-5.5 Fast feels like Standard, simple tasks take 10-20+ minutes, thinking stalls, or search/read/compaction phases dominate the session.
38
38
  - Codex accepts a turn, finishes local tools, or leaves a Responses stream open while the UI/CLI stays on Thinking or Working with no streamed follow-up.
39
39
  - Codex copy/export, long pasted prompts, or generated `Pasted text.txt` attachments break instruction, `/goal`, preview/edit, or support-report workflows.
@@ -137,7 +137,7 @@ npx trace-to-skill suggest ./runs --target agents-md
137
137
 
138
138
  ## Related Keywords
139
139
 
140
- Codex, OpenAI Codex, Codex issue report, OpenAI triage, Codex LSP, Codex language server, lsp-audit, language-server readiness, typescript-language-server, pyright-langserver, gopls, rust-analyzer, sourcekit-lsp, clangd, Codex diagnostics bundle, privacy-preserving support bundle, workspace checkpoint, pre-agent checkpoint, Codex undo, Codex rewind, untracked file restore, sensitive path audit, sensitive-audit, agentignore, .agentignore, codexignore, .codexignore, aiexclude, .aiexclude, exclude sensitive files, Codex plugin audit, Computer Use unavailable, Codex Browser plugin unavailable, bundled marketplace mismatch, generated runtime marketplace, plugin manifest missing, CODEX_HOME mismatch, Codex CLI, Codex sandbox, Windows sandbox, Codex config audit, Codex config.toml, Codex global state, .codex-global-state.json, Codex Speed reset, Codex Fast resets to Standard, service_tier fast, default-service-tier priority, has-user-changed-service-tier, Codex Preferences unable to save, configVersionConflict, default_permissions missing profile, Codex Windows helper path, Codex WindowsApps, Codex rg Access Denied, Codex ripgrep, CodexSandboxUsers, LocalCache Local OpenAI Codex bin, node_repl spawn setup refresh, Codex approval friction, Approve for this session, Allow for this session, approval_policy never, MCP approval prompts, default_tools_approval_mode, Playwright MCP approvals, Chrome DevTools MCP approvals, Codex auth, token_exchange_failed, Codex connectivity, stream disconnected, Codex connector auth cache, Codex Apps stale link, codex_apps_tools, codex_app_directory, Reauthentication required, refresh token revoked, isAccessible false, link_ connector, Codex deeplink, Codex OAuth callback, codex://oauth_callback, Unable to find Electron app, Error launching app, type=click&tag, AppUserModelID, DelegateExecute, codex app path, Codex remote compact, responses/compact, /compact timeout, tcp_user_timeout, stream_idle_timeout_ms, Codex remote control, Codex mobile, Waiting for desktop, Directory Unavailable, stale listener, Codex terminal output, Codex scrollback, Codex terminal history, terminal output integrity, missing_count, missing_examples, tmux_scrollback_repro.sh, line_truncation_repro.md, Windows Terminal scrollback, transcript mode, Codex subagent lifecycle, stale subagents, close_agent, thread_spawn_edges, agent thread limit reached, agents.max_threads, list_agents, /agents, subagent child threads, fork_context, unbiased review, subagent recent conversations, Codex MCP runtime, MCP unsupported call, mcp__node_repl__js, MCP namespace serverName, MCP Transport closed, StdioServerTransport, Codex plugin runtime, Computer Use native pipe path unavailable, SKY_CUA_NATIVE_PIPE_DIRECTORY, Plugin loading failed, plugin/list unknown variant vertical, Codex Browser plugin, Codex Computer Use, Codex Chrome plugin, stale plugin cache, codex plugin add, Codex file tree, Toggle File Tree, missing folder icon, floating file panel stale, file preview fails, workspace navigation, Codex latest-turn drift, Codex replies to earlier messages, stale prompt response, ignoring latest message, previous prompt, auto compaction forgets edits, raw tool payload leak, write_stdin session_id, Codex latency regression, GPT-5.5 Fast slow, Codex too slow, thinking stalls, Codex thinking hang, Codex stuck thinking, Codex Working stuck, no streamed follow-up, first response_item delayed, responses_http time.idle, model_client.stream_responses_api, turn/start, task_started, Codex Copy as Markdown missing, Codex Pasted text.txt, Codex long pasted prompt attachment, Codex clipboard export, Codex paste as text, Codex generated attachment preview edit, Codex goal ignores attachment, pasted-text-attachments.json, fileAttachments promptRaw composer.getText, pre-first-token latency, search/read latency, runtime scheduling latency, Codex resume, Codex session audit, Codex history audit, Codex session index, session_index.jsonl, Codex session state, rollout JSONL, logs_2.sqlite, codex-tui.log, sandbox.log, thread_goals, state_5.sqlite, goals_1.sqlite, archived chats, Codex token burn, Codex usage evidence, Codex rate-limit evidence, Codex usage drain, Codex usage reset, Codex weekly reset drift, reset_at changed, deterministic reset, rate limit reset, write_stdin polling, cached input tokens, compaction tax, background process polling, Codex resource leak, Codex performance, high CPU, high GPU, shell-snapshot, Code Helper Renderer, Codex tool-call integrity, apply_patch, apply_patch Add File overwrite, patch guard, guard-patch, Add File symlink, tool_call_id, failed revert changes, patch safety, Codex quota, usage limit, rate limits, sensitive files, Codex privacy, .env, private keys, credential files, AGENTS.md, SKILL.md, Claude Code, Cursor, Copilot coding agent, Gemini CLI, MCP, Model Context Protocol, prompt injection, agent evals, AI code review, open-source maintainers, trace redaction, SARIF, GitHub Actions.
140
+ Codex, OpenAI Codex, Codex issue report, OpenAI triage, Codex LSP, Codex language server, lsp-audit, language-server readiness, typescript-language-server, pyright-langserver, gopls, rust-analyzer, sourcekit-lsp, clangd, Codex diagnostics bundle, privacy-preserving support bundle, workspace checkpoint, pre-agent checkpoint, Codex undo, Codex rewind, untracked file restore, sensitive path audit, sensitive-audit, agentignore, .agentignore, codexignore, .codexignore, aiexclude, .aiexclude, exclude sensitive files, Codex plugin audit, Computer Use unavailable, Codex Browser plugin unavailable, bundled marketplace mismatch, generated runtime marketplace, plugin manifest missing, CODEX_HOME mismatch, Codex CLI, Codex sandbox, Windows sandbox, Codex config audit, Codex config.toml, Codex global state, .codex-global-state.json, Codex Speed reset, Codex Fast resets to Standard, service_tier fast, default-service-tier priority, has-user-changed-service-tier, Codex Preferences unable to save, configVersionConflict, default_permissions missing profile, Codex Windows helper path, Codex WindowsApps, Codex rg Access Denied, Codex ripgrep, CodexSandboxUsers, LocalCache Local OpenAI Codex bin, node_repl spawn setup refresh, Codex approval friction, Approve for this session, Allow for this session, approval_policy never, MCP approval prompts, default_tools_approval_mode, Playwright MCP approvals, Chrome DevTools MCP approvals, Codex auth, token_exchange_failed, Codex connectivity, stream disconnected, Codex connector auth cache, Codex Apps stale link, codex_apps_tools, codex_app_directory, Reauthentication required, refresh token revoked, isAccessible false, link_ connector, Codex deeplink, Codex OAuth callback, codex://oauth_callback, Unable to find Electron app, Error launching app, type=click&tag, AppUserModelID, DelegateExecute, codex app path, Codex remote compact, responses/compact, /compact timeout, tcp_user_timeout, stream_idle_timeout_ms, Codex remote control, Codex mobile, Waiting for desktop, Directory Unavailable, stale listener, Codex terminal output, Codex scrollback, Codex terminal history, terminal output integrity, missing_count, missing_examples, tmux_scrollback_repro.sh, line_truncation_repro.md, Windows Terminal scrollback, transcript mode, Codex subagent lifecycle, stale subagents, close_agent, thread_spawn_edges, agent thread limit reached, agents.max_threads, list_agents, /agents, subagent child threads, fork_context, unbiased review, subagent recent conversations, Codex MCP runtime, MCP unsupported call, mcp__node_repl__js, MCP namespace serverName, MCP Transport closed, StdioServerTransport, Codex plugin runtime, Computer Use native pipe path unavailable, SKY_CUA_NATIVE_PIPE_DIRECTORY, Plugin loading failed, plugin/list unknown variant vertical, Codex Browser plugin, Codex Computer Use, Codex Chrome plugin, stale plugin cache, codex plugin add, Codex file tree, Toggle File Tree, missing folder icon, floating file panel stale, file preview fails, workspace navigation, Codex project history disappeared, Codex project threads hidden, Codex session index repair, unindexed rollout thread, codex resume thread id, Codex latest-turn drift, Codex replies to earlier messages, stale prompt response, ignoring latest message, previous prompt, auto compaction forgets edits, raw tool payload leak, write_stdin session_id, Codex latency regression, GPT-5.5 Fast slow, Codex too slow, thinking stalls, Codex thinking hang, Codex stuck thinking, Codex Working stuck, no streamed follow-up, first response_item delayed, responses_http time.idle, model_client.stream_responses_api, turn/start, task_started, Codex Copy as Markdown missing, Codex Pasted text.txt, Codex long pasted prompt attachment, Codex clipboard export, Codex paste as text, Codex generated attachment preview edit, Codex goal ignores attachment, pasted-text-attachments.json, fileAttachments promptRaw composer.getText, pre-first-token latency, search/read latency, runtime scheduling latency, Codex resume, Codex session audit, Codex history audit, Codex history map, Codex session index, session_index.jsonl, Codex session state, rollout JSONL, logs_2.sqlite, codex-tui.log, sandbox.log, thread_goals, state_5.sqlite, goals_1.sqlite, archived chats, Codex token burn, Codex usage evidence, Codex rate-limit evidence, Codex usage drain, Codex usage reset, Codex weekly reset drift, reset_at changed, deterministic reset, rate limit reset, write_stdin polling, cached input tokens, compaction tax, background process polling, Codex resource leak, Codex performance, high CPU, high GPU, shell-snapshot, Code Helper Renderer, Codex tool-call integrity, apply_patch, apply_patch Add File overwrite, patch guard, guard-patch, Add File symlink, tool_call_id, failed revert changes, patch safety, Codex quota, usage limit, rate limits, sensitive files, Codex privacy, .env, private keys, credential files, AGENTS.md, SKILL.md, Claude Code, Cursor, Copilot coding agent, Gemini CLI, MCP, Model Context Protocol, prompt injection, agent evals, AI code review, open-source maintainers, trace redaction, SARIF, GitHub Actions.
141
141
 
142
142
  ## Non-Goals
143
143
 
@@ -3,7 +3,7 @@
3
3
  | Field | Value |
4
4
  | --- | --- |
5
5
  | Repository | https://github.com/grnbtqdbyx-create/trace-to-skill |
6
- | Package | trace-to-skill@0.1.71 |
6
+ | Package | trace-to-skill@0.1.72 |
7
7
  | License | Apache-2.0 |
8
8
  | Codex readiness | ready (100/100) |
9
9
  | Benchmark | pass, 33 cases |
@@ -27,7 +27,7 @@ API credits would power optional maintainer workflows on top of the local determ
27
27
  ## Evidence
28
28
 
29
29
  - Public repository: https://github.com/grnbtqdbyx-create/trace-to-skill
30
- - One-command package: npx trace-to-skill@0.1.71
30
+ - One-command package: npx trace-to-skill@0.1.72
31
31
  - Open-source license: Apache-2.0
32
32
  - Codex readiness doctor: ready, 100/100, 0 failed checks.
33
33
  - Public fixture benchmark: pass, 33 cases.
package/docs/USE_CASES.md CHANGED
@@ -53,7 +53,7 @@ What it proves:
53
53
  Recommended CI surface:
54
54
 
55
55
  ```yaml
56
- - uses: grnbtqdbyx-create/trace-to-skill@v0.1.71
56
+ - uses: grnbtqdbyx-create/trace-to-skill@v0.1.72
57
57
  with:
58
58
  mode: all
59
59
  doctor-threshold: "85"
@@ -230,9 +230,9 @@ npx trace-to-skill plugin-audit ~/.codex --app /Applications/Codex.app --format
230
230
  npx trace-to-skill diagnostics-bundle ~/.codex --output codex-diagnostics
231
231
  ```
232
232
 
233
- This catches signals such as `codex resume` picker hangs, `codex resume <id>` working while the picker freezes, large `rollout-*.jsonl` histories, high JSONL line and `response_item` / `event_msg` / `function_call` counts, large `input_image` payloads, slow `thread/resume` and `thread/goal/get` timings, `Could not load archived chats`, resume compression dropping the last 3-5 turns, `state_5.sqlite` / `goals_1.sqlite` migration mismatches, `no such table: thread_goals`, stale `projectless-thread-ids`, and `thread-workspace-root-hints` reverting after restart.
233
+ This catches signals such as `codex resume` picker hangs, `codex resume <id>` working while the picker freezes, project pages/search/sidebar hiding threads that still exist on disk, large `rollout-*.jsonl` histories, high JSONL line and `response_item` / `event_msg` / `function_call` counts, large `input_image` payloads, slow `thread/resume` and `thread/goal/get` timings, `Could not load archived chats`, resume compression dropping the last 3-5 turns, `state_5.sqlite` / `goals_1.sqlite` migration mismatches, `no such table: thread_goals`, stale `projectless-thread-ids`, and `thread-workspace-root-hints` reverting after restart.
234
234
 
235
- `session-audit` is local and read-only: it reports rollout JSONL size, line count, largest line size, parse errors, session index line count, state-file presence, and common session signals so users can attach a privacy-preserving summary to OpenAI/Codex issues instead of posting transcripts.
235
+ `session-audit` is local and read-only: it reports rollout JSONL size, line count, largest line size, parse errors, session index line count, state-file presence, recoverable thread ids, `codex resume <id>` commands, and common session signals so users can attach a privacy-preserving summary to OpenAI/Codex issues instead of posting transcripts. Full workspace paths are not printed in the thread table; related projects are grouped by basename plus a short path hash.
236
236
 
237
237
  For mixed resume, crash, config, plugin, or history issues, `diagnostics-bundle` writes the session, config, and plugin reports together with a checklist of files not to attach publicly.
238
238
 
package/llms.txt CHANGED
@@ -106,7 +106,7 @@ npx trace-to-skill init --comment --sarif
106
106
  ## GitHub Action
107
107
 
108
108
  ```yaml
109
- - uses: grnbtqdbyx-create/trace-to-skill@v0.1.71
109
+ - uses: grnbtqdbyx-create/trace-to-skill@v0.1.72
110
110
  with:
111
111
  mode: all
112
112
  doctor-threshold: "85"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trace-to-skill",
3
- "version": "0.1.71",
3
+ "version": "0.1.72",
4
4
  "description": "Turn failed AI coding-agent runs into reusable AGENTS.md rules, SKILL.md files, and eval evidence.",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
@@ -125,7 +125,9 @@
125
125
  "codex-resume",
126
126
  "codex-session-audit",
127
127
  "codex-history",
128
+ "codex-history-map",
128
129
  "codex-session-index",
130
+ "codex-project-history",
129
131
  "codex-issue-report",
130
132
  "openai-triage",
131
133
  "openai-oss",
@@ -4,7 +4,7 @@
4
4
  "title": "trace-to-skill Codex session audit result",
5
5
  "type": "object",
6
6
  "additionalProperties": false,
7
- "required": ["generatedAt", "root", "status", "thresholds", "summary", "files", "stateFiles", "findings"],
7
+ "required": ["generatedAt", "root", "status", "thresholds", "summary", "files", "threads", "stateFiles", "findings"],
8
8
  "properties": {
9
9
  "generatedAt": {
10
10
  "type": "string",
@@ -29,6 +29,12 @@
29
29
  "$ref": "#/$defs/file"
30
30
  }
31
31
  },
32
+ "threads": {
33
+ "type": "array",
34
+ "items": {
35
+ "$ref": "#/$defs/thread"
36
+ }
37
+ },
32
38
  "stateFiles": {
33
39
  "type": "array",
34
40
  "items": {
@@ -61,7 +67,7 @@
61
67
  "summary": {
62
68
  "type": "object",
63
69
  "additionalProperties": false,
64
- "required": ["jsonlFiles", "totalBytes", "largeFiles", "hugeLineFiles", "parseErrorFiles"],
70
+ "required": ["jsonlFiles", "totalBytes", "largeFiles", "hugeLineFiles", "parseErrorFiles", "rolloutThreads", "indexedThreads", "unindexedRolloutThreads", "projectRoots"],
65
71
  "properties": {
66
72
  "jsonlFiles": {
67
73
  "type": "integer",
@@ -90,6 +96,22 @@
90
96
  "rolloutFiles": {
91
97
  "type": "integer",
92
98
  "minimum": 0
99
+ },
100
+ "rolloutThreads": {
101
+ "type": "integer",
102
+ "minimum": 0
103
+ },
104
+ "indexedThreads": {
105
+ "type": "integer",
106
+ "minimum": 0
107
+ },
108
+ "unindexedRolloutThreads": {
109
+ "type": "integer",
110
+ "minimum": 0
111
+ },
112
+ "projectRoots": {
113
+ "type": "integer",
114
+ "minimum": 0
93
115
  }
94
116
  }
95
117
  },
@@ -130,6 +152,80 @@
130
152
  "type": "integer",
131
153
  "minimum": 0
132
154
  }
155
+ },
156
+ "session": {
157
+ "$ref": "#/$defs/threadMetadata"
158
+ }
159
+ }
160
+ },
161
+ "threadMetadata": {
162
+ "type": "object",
163
+ "additionalProperties": false,
164
+ "required": ["id"],
165
+ "properties": {
166
+ "id": {
167
+ "type": "string"
168
+ },
169
+ "createdAt": {
170
+ "type": "string"
171
+ },
172
+ "cwdBasename": {
173
+ "type": "string"
174
+ },
175
+ "cwdHash": {
176
+ "type": "string"
177
+ },
178
+ "originator": {
179
+ "type": "string"
180
+ },
181
+ "cliVersion": {
182
+ "type": "string"
183
+ },
184
+ "sourceKind": {
185
+ "type": "string"
186
+ }
187
+ }
188
+ },
189
+ "thread": {
190
+ "type": "object",
191
+ "additionalProperties": false,
192
+ "required": ["id", "path", "indexed", "recoverCommand"],
193
+ "properties": {
194
+ "id": {
195
+ "type": "string"
196
+ },
197
+ "path": {
198
+ "type": "string"
199
+ },
200
+ "indexed": {
201
+ "type": "boolean"
202
+ },
203
+ "indexTitle": {
204
+ "type": "string"
205
+ },
206
+ "indexUpdatedAt": {
207
+ "type": "string"
208
+ },
209
+ "createdAt": {
210
+ "type": "string"
211
+ },
212
+ "cwdBasename": {
213
+ "type": "string"
214
+ },
215
+ "cwdHash": {
216
+ "type": "string"
217
+ },
218
+ "originator": {
219
+ "type": "string"
220
+ },
221
+ "cliVersion": {
222
+ "type": "string"
223
+ },
224
+ "sourceKind": {
225
+ "type": "string"
226
+ },
227
+ "recoverCommand": {
228
+ "type": "string"
133
229
  }
134
230
  }
135
231
  },
@@ -161,7 +257,7 @@
161
257
  },
162
258
  "kind": {
163
259
  "type": "string",
164
- "enum": ["large_rollout", "huge_jsonl_line", "json_parse_error", "short_session_index", "state_file_present"]
260
+ "enum": ["large_rollout", "huge_jsonl_line", "json_parse_error", "short_session_index", "unindexed_rollout_thread", "state_file_present"]
165
261
  },
166
262
  "path": {
167
263
  "type": "string"