trace-to-skill 0.1.71 → 0.1.73
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 +10 -5
- package/dist/src/cli.js +11 -0
- package/dist/src/cli.js.map +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/processAudit.d.ts +41 -0
- package/dist/src/processAudit.js +198 -0
- package/dist/src/processAudit.js.map +1 -0
- package/dist/src/sessionAudit.d.ts +30 -1
- package/dist/src/sessionAudit.js +144 -6
- package/dist/src/sessionAudit.js.map +1 -1
- package/docs/CODEX_ISSUE_MAP.md +6 -4
- package/docs/DISCOVERY.md +6 -2
- package/docs/OPENAI_OSS_BRIEF.md +2 -2
- package/docs/USE_CASES.md +12 -3
- package/llms.txt +4 -1
- package/package.json +6 -2
- package/schemas/process-audit-result.schema.json +155 -0
- package/schemas/session-audit-result.schema.json +99 -3
package/dist/src/sessionAudit.js
CHANGED
|
@@ -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,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,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I,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AAChG,CAAC;AAED,SAAS,UAAU,CAAC,MAAe;IACjC,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;QAC/B,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,IAAI,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;QACzC,MAAM,MAAM,GAAG,MAAiC,CAAC;QACjD,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;YACpB,OAAO,UAAU,CAAC;QACpB,CAAC;QAED,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,SAAS,UAAU,CAAC,KAAa;IAC/B,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;AACzD,CAAC;AAED,SAAS,gBAAgB;IACvB,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,EAAE,QAAQ,CAAC,CAAC;AAC3C,CAAC;AAED,SAAS,UAAU,CAAC,KAAa;IAC/B,IAAI,KAAK,KAAK,GAAG,EAAE,CAAC;QAClB,OAAO,EAAE,CAAC,OAAO,EAAE,CAAC;IACtB,CAAC;IAED,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IACjD,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
|
package/docs/CODEX_ISSUE_MAP.md
CHANGED
|
@@ -27,6 +27,7 @@ npx trace-to-skill lsp-audit . --format json
|
|
|
27
27
|
| Remote compact task failures | `/compact` or auto-compact fails, `responses/compact` stream disconnects, `timeout waiting for child process to exit`, `tcp_user_timeout` or `stream_idle_timeout_ms` workarounds, provider-id timeout drift | `codex_remote_compact` | `trace-to-skill codex-report ./runs` |
|
|
28
28
|
| Windows helper and bundled tool path failures | bundled `rg.exe`, `node_repl.exe`, `codex-command-runner.exe`, Browser, Chrome, or Computer Use helpers resolve through `WindowsApps`, missing `%LOCALAPPDATA%\OpenAI\Codex\bin`, broken LocalCache helper bins, `CodexSandboxUsers` ACL gaps, EFS/copyfile failures | `codex_windows_helper_path` | `trace-to-skill codex-report ./runs` |
|
|
29
29
|
| Resource leaks and runaway processes | high CPU/GPU/RAM, `Code Helper`, `Codex Helper Renderer`, orphaned `shell-snapshot`, `syspolicyd`, log floods, thinking animation GPU loops | `codex_resource_leak` | `trace-to-skill codex-report ./runs` |
|
|
30
|
+
| Process polling and high-CPU evidence | Windows `powershell.exe` / `pwsh` child process loops, `Get-CimInstance Win32_Process`, `Win32_PerfFormattedData_PerfProc_Process`, stale `chat_processes.json`, helper/renderer CPU samples | process audit receipt | `trace-to-skill process-audit ./process-notes.md` |
|
|
30
31
|
| Tool-call integrity and rollback failures | `apply_patch` overwrites an existing `Add File` target, unmatched `tool_call_id`, `close_agent` hangs, failed revert/undo, unsafe diff application | `codex_tool_call_integrity` | `trace-to-skill codex-report ./runs` or `trace-to-skill guard-patch ./change.patch --root .` |
|
|
31
32
|
| Undo, rewind, and pre-agent checkpoint needs | users want `/undo` or `/rewind`, double-Esc only rewinds chat state, untracked/gitignored files are not protected by commits, and manual recovery needs reviewable pre-agent evidence | workspace checkpoint bundle | `trace-to-skill checkpoint . --output .trace-to-skill/checkpoints/before-codex` before agent work |
|
|
32
33
|
| Latency regressions | GPT-5.5 Fast feels like Standard, simple tasks take 10-20+ minutes, pre-first-token or thinking stalls, slow search/read/compaction, hours for small code changes | `codex_latency_regression` | `trace-to-skill codex-report ./runs` |
|
|
@@ -46,7 +47,7 @@ npx trace-to-skill lsp-audit . --format json
|
|
|
46
47
|
| LSP auto-detect readiness | 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
48
|
| 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
49
|
| 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` |
|
|
50
|
+
| 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
51
|
| 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
52
|
| 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
53
|
| 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` |
|
|
@@ -66,9 +67,10 @@ npx trace-to-skill lsp-audit . --format json
|
|
|
66
67
|
- Include exact `/compact` or auto-compact error, `responses/compact` endpoint shape, timeout/provider config without secrets, context/token level before compact, speed/reasoning changes tried, and thread/feedback ids for remote compact failures.
|
|
67
68
|
- Include `Get-Command rg -All`, `where.exe rg`, exact WindowsApps/LocalCache helper paths, `%LOCALAPPDATA%\OpenAI\Codex\bin` listing, `icacls`/`CodexSandboxUsers` RX state, file attributes, node_repl/plugin diagnostics, and sandbox mode for Windows helper path failures.
|
|
68
69
|
- Include process names/PIDs, CPU/GPU/RSS samples, log-loop signatures, and whether killing exact PIDs or closing the app clears resource leaks.
|
|
70
|
+
- For process polling reports, attach `process-audit` output with sample duration, child process count, approximate spawn rate, CPU-seconds, redacted command snippets, stale process-manager counts, and whether clearing state or restarting changes the interval.
|
|
69
71
|
- Include exact tool input/output, `tool_call_id` order, affected path state, rollback evidence, and `guard-patch` output for tool-call integrity failures.
|
|
70
72
|
- 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.
|
|
73
|
+
- 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
74
|
- 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
75
|
- Include pre-first-token, thinking, tool, search, read, and compaction timings plus model/speed settings for latency regressions.
|
|
74
76
|
- 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.
|
|
@@ -96,7 +98,7 @@ npx trace-to-skill lsp-audit . --format json
|
|
|
96
98
|
- Usage reset schedule drift: https://github.com/openai/codex/issues/9508, https://github.com/openai/codex/issues/5999
|
|
97
99
|
- Remote compact task failures: https://github.com/openai/codex/issues/14860, https://github.com/openai/codex/issues/19009
|
|
98
100
|
- Windows helper and bundled tool path failures: https://github.com/openai/codex/issues/13542, https://github.com/openai/codex/issues/25357, https://github.com/openai/codex/issues/25220
|
|
99
|
-
- Resource leaks and runaway processes: https://github.com/openai/codex/issues/16231, https://github.com/openai/codex/issues/11981, https://github.com/openai/codex/issues/16857, https://github.com/openai/codex/issues/25388
|
|
101
|
+
- Resource leaks, process polling, and runaway processes: https://github.com/openai/codex/issues/25453, https://github.com/openai/codex/issues/16231, https://github.com/openai/codex/issues/11981, https://github.com/openai/codex/issues/16857, https://github.com/openai/codex/issues/25388
|
|
100
102
|
- Tool-call integrity and rollback failures: https://github.com/openai/codex/issues/25399, https://github.com/openai/codex/issues/25380, https://github.com/openai/codex/issues/25426, https://github.com/openai/codex/issues/7291
|
|
101
103
|
- Undo, rewind, and pre-agent checkpoint needs: https://github.com/openai/codex/issues/9203, https://github.com/openai/codex/issues/11626
|
|
102
104
|
- Latency regressions: https://github.com/openai/codex/issues/24422, https://github.com/openai/codex/issues/21527, https://github.com/openai/codex/issues/11984, https://github.com/openai/codex/issues/12161
|
|
@@ -108,7 +110,7 @@ npx trace-to-skill lsp-audit . --format json
|
|
|
108
110
|
- 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
111
|
- 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
112
|
- 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
|
|
113
|
+
- 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
114
|
- 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
115
|
- 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
116
|
- 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.
|
|
@@ -46,6 +46,7 @@ This page is written for maintainers, search engines, package indexes, and AI re
|
|
|
46
46
|
- Codex users need a local checkpoint before agent edits because conversation rewind does not protect untracked dirty workspace files.
|
|
47
47
|
- Codex `/compact` or auto-compaction fails against the remote `responses/compact` endpoint with stream disconnects, child-process timeout messages, provider timeout workarounds, or long-thread recovery loss.
|
|
48
48
|
- Codex Desktop, app-server, VS Code extension, renderer, GPU, shell snapshot, or helper processes leak local resources or keep burning CPU/GPU/RAM after the useful work should be idle.
|
|
49
|
+
- Codex Desktop on Windows repeatedly launches PowerShell/pwsh for `Get-CimInstance Win32_Process` or PerfProc polling, and users need a smaller public process audit instead of raw full-machine process dumps.
|
|
49
50
|
- Codex reports `You've hit your usage limit` even though `/status` or the usage dashboard shows quota left, or quota appears shared across accounts.
|
|
50
51
|
- A Codex or agent trace reads, attaches, diffs, uploads, or indexes sensitive files such as `.env`, private keys, package auth files, cloud credentials, local databases, or production secret manifests.
|
|
51
52
|
- A maintainer wants a filename/path-only preflight report for `.env`, private keys, package auth files, cloud credentials, local databases, signing files, and secret manifests before starting an AI agent.
|
|
@@ -87,6 +88,7 @@ npx trace-to-skill config-audit ~/.codex --format json
|
|
|
87
88
|
npx trace-to-skill plugin-audit ~/.codex --app /Applications/Codex.app --format json
|
|
88
89
|
npx trace-to-skill diagnostics-bundle ~/.codex --output codex-diagnostics
|
|
89
90
|
npx trace-to-skill usage-evidence ./usage-notes.md --output usage-evidence.md
|
|
91
|
+
npx trace-to-skill process-audit ./process-notes.md --output process-audit.md
|
|
90
92
|
npx trace-to-skill checkpoint . --output .trace-to-skill/checkpoints/before-codex
|
|
91
93
|
npx trace-to-skill redact ./runs --output redacted-runs
|
|
92
94
|
npx trace-to-skill analyze ./runs --format json
|
|
@@ -109,6 +111,7 @@ npx trace-to-skill suggest ./runs --target agents-md
|
|
|
109
111
|
- `trace-to-skill plugin-audit --format json`
|
|
110
112
|
- `trace-to-skill diagnostics-bundle --format json`
|
|
111
113
|
- `trace-to-skill usage-evidence --format json`
|
|
114
|
+
- `trace-to-skill process-audit --format json`
|
|
112
115
|
- `trace-to-skill checkpoint --format json`
|
|
113
116
|
- SARIF from `trace-to-skill analyze --format sarif`
|
|
114
117
|
- OpenAI/Codex issue-ready Markdown from `trace-to-skill codex-report`
|
|
@@ -133,11 +136,12 @@ npx trace-to-skill suggest ./runs --target agents-md
|
|
|
133
136
|
- `schemas/plugin-audit-result.schema.json`
|
|
134
137
|
- `schemas/session-audit-result.schema.json`
|
|
135
138
|
- `schemas/usage-evidence-result.schema.json`
|
|
139
|
+
- `schemas/process-audit-result.schema.json`
|
|
136
140
|
- `schemas/workspace-checkpoint-result.schema.json`
|
|
137
141
|
|
|
138
142
|
## Related Keywords
|
|
139
143
|
|
|
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.
|
|
144
|
+
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 process audit, PowerShell polling, powershell.exe Get-CimInstance Win32_Process, Win32_PerfFormattedData_PerfProc_Process, chat_processes.json stale entries, 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
145
|
|
|
142
146
|
## Non-Goals
|
|
143
147
|
|
package/docs/OPENAI_OSS_BRIEF.md
CHANGED
|
@@ -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.
|
|
6
|
+
| Package | trace-to-skill@0.1.73 |
|
|
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.
|
|
30
|
+
- One-command package: npx trace-to-skill@0.1.73
|
|
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.
|
|
56
|
+
- uses: grnbtqdbyx-create/trace-to-skill@v0.1.73
|
|
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
|
|
|
@@ -294,6 +294,15 @@ This catches signals such as high `Code Helper (Renderer)` or `Code Helper (Plug
|
|
|
294
294
|
|
|
295
295
|
Include process names/PIDs, CPU/GPU/RSS samples over time, log-loop snippets, workspace Git-root state, animation/reduce-motion state, and whether closing the panel/app, killing exact PIDs, `git init`, rollback, or restart clears the leak.
|
|
296
296
|
|
|
297
|
+
For process-only reports, run:
|
|
298
|
+
|
|
299
|
+
```bash
|
|
300
|
+
npx trace-to-skill process-audit ./process-notes.md --output process-audit.md
|
|
301
|
+
npx trace-to-skill process-audit ./process-notes.md --format json
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
`process-audit` packages Task Manager, System Informer, `Get-CimInstance`, `ps`, `top`, or handwritten process measurement snippets into a smaller public report. It detects PowerShell/pwsh CIM polling such as `Get-CimInstance Win32_Process`, high-CPU Codex/helper/renderer samples, stale `process_manager/chat_processes.json` mentions, and runaway helper signals without inspecting live processes or asking users to post full raw process dumps.
|
|
305
|
+
|
|
297
306
|
## 20. Codex Thinking Hang Evidence
|
|
298
307
|
|
|
299
308
|
Use this when Codex accepts a prompt, finishes a local tool call, or keeps a Responses stream open but the UI/CLI remains on Thinking or Working with no visible assistant follow-up.
|
package/llms.txt
CHANGED
|
@@ -33,6 +33,7 @@ Runtime: Node.js 20+
|
|
|
33
33
|
- Codex deeplink, OAuth callback, notification click, browser-extension activation, mobile pairing, and `codex app <path>` launch regressions
|
|
34
34
|
- Codex app connector stale auth/cache regressions such as `401 Reauthentication required`, unchanged `link_*`, `isAccessible: false`, and broken `codex_apps_tools` metadata
|
|
35
35
|
- Codex token-burn and usage-drain failures such as background `write_stdin` polling, idle app usage, compaction tax, retry/tool loops, cached-token-heavy turns, fast-mode drift, subagent fan-out, and unclear usage attribution
|
|
36
|
+
- Codex process evidence packaging for Windows PowerShell/pwsh CIM polling, high-CPU helpers, stale process-manager entries, and renderer runaways
|
|
36
37
|
- Codex usage reset schedule drift such as weekly reset dates moving, `reset_at` jumping, saved usage disappearing, outage compensation resets changing the anchor, and `/status` disagreeing with enforcement
|
|
37
38
|
- Codex usage evidence packaging for scattered `/status`, reset-table, usage-limit, token-total, cached-input, and orchestration-overhead snippets
|
|
38
39
|
- Codex usage receipts that separate backend quota-window percentages, local token totals, and overhead signals such as background polling, compaction loops, retry/tool loops, subagent fan-out, or idle drain
|
|
@@ -90,6 +91,7 @@ npx trace-to-skill config-audit ~/.codex --format json
|
|
|
90
91
|
npx trace-to-skill plugin-audit ~/.codex --app /Applications/Codex.app --format json
|
|
91
92
|
npx trace-to-skill diagnostics-bundle ~/.codex --output codex-diagnostics
|
|
92
93
|
npx trace-to-skill usage-evidence ./usage-notes.md --output usage-evidence.md
|
|
94
|
+
npx trace-to-skill process-audit ./process-notes.md --output process-audit.md
|
|
93
95
|
npx trace-to-skill checkpoint . --output .trace-to-skill/checkpoints/before-codex
|
|
94
96
|
npx trace-to-skill redact ./runs --output redacted-runs
|
|
95
97
|
npx trace-to-skill sensitive-audit . --format json
|
|
@@ -106,7 +108,7 @@ npx trace-to-skill init --comment --sarif
|
|
|
106
108
|
## GitHub Action
|
|
107
109
|
|
|
108
110
|
```yaml
|
|
109
|
-
- uses: grnbtqdbyx-create/trace-to-skill@v0.1.
|
|
111
|
+
- uses: grnbtqdbyx-create/trace-to-skill@v0.1.73
|
|
110
112
|
with:
|
|
111
113
|
mode: all
|
|
112
114
|
doctor-threshold: "85"
|
|
@@ -131,6 +133,7 @@ npx trace-to-skill init --comment --sarif
|
|
|
131
133
|
- Plugin audit JSON schema: https://github.com/grnbtqdbyx-create/trace-to-skill/blob/main/schemas/plugin-audit-result.schema.json
|
|
132
134
|
- Session audit JSON schema: https://github.com/grnbtqdbyx-create/trace-to-skill/blob/main/schemas/session-audit-result.schema.json
|
|
133
135
|
- Usage evidence JSON schema: https://github.com/grnbtqdbyx-create/trace-to-skill/blob/main/schemas/usage-evidence-result.schema.json
|
|
136
|
+
- Process audit JSON schema: https://github.com/grnbtqdbyx-create/trace-to-skill/blob/main/schemas/process-audit-result.schema.json
|
|
134
137
|
- Workspace checkpoint JSON schema: https://github.com/grnbtqdbyx-create/trace-to-skill/blob/main/schemas/workspace-checkpoint-result.schema.json
|
|
135
138
|
|
|
136
139
|
## Search phrases this project should answer
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trace-to-skill",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.73",
|
|
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",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"build": "tsc -p tsconfig.json",
|
|
42
42
|
"clean": "rm -rf dist coverage",
|
|
43
43
|
"test": "npm run build && node --test dist/tests/*.test.js",
|
|
44
|
-
"check": "npm run test && node dist/src/cli.js doctor . --format json > /tmp/trace-to-skill-doctor.json && node dist/src/cli.js lint-agents . --format json > /tmp/trace-to-skill-agents-lint.json && node dist/src/cli.js analyze fixtures --format json > /tmp/trace-to-skill-smoke.json && node dist/src/cli.js usage-evidence fixtures --format json > /tmp/trace-to-skill-usage-evidence.json && node dist/src/cli.js checkpoint . --output /tmp/trace-to-skill-checkpoint --format json > /tmp/trace-to-skill-checkpoint.json && node dist/src/cli.js sensitive-audit . --format json > /tmp/trace-to-skill-sensitive-audit.json && node dist/src/cli.js lsp-audit . --format json > /tmp/trace-to-skill-lsp-audit.json && node dist/src/cli.js suggest fixtures --target agents-md > /tmp/trace-to-skill-suggest.md && node dist/src/cli.js demo --format json > /tmp/trace-to-skill-demo.json && node dist/src/cli.js benchmark --format json > /tmp/trace-to-skill-benchmark.json && node dist/src/cli.js scorecard . --format json > /tmp/trace-to-skill-scorecard.json && node dist/src/cli.js oss-brief . --format json > /tmp/trace-to-skill-oss-brief.json",
|
|
44
|
+
"check": "npm run test && node dist/src/cli.js doctor . --format json > /tmp/trace-to-skill-doctor.json && node dist/src/cli.js lint-agents . --format json > /tmp/trace-to-skill-agents-lint.json && node dist/src/cli.js analyze fixtures --format json > /tmp/trace-to-skill-smoke.json && node dist/src/cli.js usage-evidence fixtures --format json > /tmp/trace-to-skill-usage-evidence.json && node dist/src/cli.js process-audit fixtures/safe-run.md --format json > /tmp/trace-to-skill-process-audit.json && node dist/src/cli.js checkpoint . --output /tmp/trace-to-skill-checkpoint --format json > /tmp/trace-to-skill-checkpoint.json && node dist/src/cli.js sensitive-audit . --format json > /tmp/trace-to-skill-sensitive-audit.json && node dist/src/cli.js lsp-audit . --format json > /tmp/trace-to-skill-lsp-audit.json && node dist/src/cli.js suggest fixtures --target agents-md > /tmp/trace-to-skill-suggest.md && node dist/src/cli.js demo --format json > /tmp/trace-to-skill-demo.json && node dist/src/cli.js benchmark --format json > /tmp/trace-to-skill-benchmark.json && node dist/src/cli.js scorecard . --format json > /tmp/trace-to-skill-scorecard.json && node dist/src/cli.js oss-brief . --format json > /tmp/trace-to-skill-oss-brief.json",
|
|
45
45
|
"prepack": "npm run build",
|
|
46
46
|
"prepare": "npm run build"
|
|
47
47
|
},
|
|
@@ -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",
|
|
@@ -137,6 +139,8 @@
|
|
|
137
139
|
"codex-usage-reset",
|
|
138
140
|
"codex-resource-leak",
|
|
139
141
|
"codex-performance",
|
|
142
|
+
"codex-process-audit",
|
|
143
|
+
"powershell-polling",
|
|
140
144
|
"codex-tool-calls",
|
|
141
145
|
"apply-patch",
|
|
142
146
|
"patch-guard",
|