trace-to-skill 0.1.38 → 0.1.40
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 +39 -4
- package/dist/src/benchmark.js +42 -0
- package/dist/src/benchmark.js.map +1 -1
- package/dist/src/cli.js +8 -1
- package/dist/src/cli.js.map +1 -1
- package/dist/src/doctor.js +52 -0
- package/dist/src/doctor.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/report.d.ts +1 -0
- package/dist/src/report.js +74 -0
- package/dist/src/report.js.map +1 -1
- package/dist/src/rules.js +153 -2
- package/dist/src/rules.js.map +1 -1
- package/dist/src/types.d.ts +1 -1
- package/docs/ADOPTION_GUIDE.md +4 -0
- package/docs/BENCHMARK.md +7 -0
- package/docs/CODEX_ISSUE_MAP.md +50 -0
- package/docs/DISCOVERY.md +12 -1
- package/docs/FAILURE_TAXONOMY.md +56 -0
- package/docs/RELEASE.md +54 -0
- package/docs/SCORECARD.md +8 -1
- package/docs/USE_CASES.md +95 -5
- package/fixtures/codex-connectivity.md +32 -0
- package/fixtures/codex-mcp-runtime.md +51 -0
- package/fixtures/codex-remote-control.md +29 -0
- package/fixtures/codex-resource-leak.md +28 -0
- package/fixtures/codex-session-state.md +62 -0
- package/fixtures/codex-token-burn.md +42 -0
- package/fixtures/sensitive-file-access.md +14 -0
- package/llms.txt +30 -1
- package/package.json +20 -1
- package/schemas/analysis-result.schema.json +7 -0
package/dist/src/rules.js
CHANGED
|
@@ -77,6 +77,20 @@ const RULES = [
|
|
|
77
77
|
],
|
|
78
78
|
suggestedRule: "Redact secrets in traces and never paste API keys, tokens, or credentials into agent-visible logs or PR comments."
|
|
79
79
|
},
|
|
80
|
+
{
|
|
81
|
+
kind: "sensitive_file_access",
|
|
82
|
+
severity: "high",
|
|
83
|
+
title: "Sensitive file entered agent context",
|
|
84
|
+
why: "Agents should not read, attach, diff, or index credential files, private keys, package auth files, local databases, or production secrets unless a maintainer explicitly approved a minimal redacted excerpt.",
|
|
85
|
+
patterns: [
|
|
86
|
+
/\b(cat|open|read|view|attach|upload|include|index|scan|copy|less|tail|sed\s+-n)\b.{0,120}(?:^|[\s"'`=:/~])(\.env(?:\.[A-Za-z0-9_-]+)?|id_rsa|id_ed25519|\.npmrc|\.pypirc|\.netrc|\.aws\/credentials|\.ssh\/config|\.kube\/config|\.docker\/config\.json|\.pgpass|\.sentryclirc|\.mobileprovision|\.p12|\.pem|\.key|\.sqlite|\.db|production\.json|secrets?\.ya?ml)\b/i,
|
|
87
|
+
/\bdiff --git a\/(?:\.env(?:\.[A-Za-z0-9_-]+)?|.*(?:secret|credential|private).*\.(?:json|ya?ml|toml|env)|.*\.(?:pem|key|p12|mobileprovision|sqlite|db))\b/i,
|
|
88
|
+
/\b(BEGIN (?:OPENSSH|RSA|DSA|EC|PRIVATE) PRIVATE KEY|PRIVATE KEY-----)\b/i,
|
|
89
|
+
/\b(Codex|agent|assistant)\b.{0,160}\b(read|opened|attached|indexed|uploaded)\b.{0,120}\b(sensitive files?|\.env|private keys?|credentials?|secrets?)\b/i
|
|
90
|
+
],
|
|
91
|
+
suggestedRule: "Before running an agent, exclude sensitive files such as .env, private keys, package auth files, cloud credentials, local databases, and production secret manifests; share only minimal redacted excerpts when maintainer-approved.",
|
|
92
|
+
suggestedSkill: "sensitive-file-triage"
|
|
93
|
+
},
|
|
80
94
|
{
|
|
81
95
|
kind: "hidden_unicode",
|
|
82
96
|
severity: "high",
|
|
@@ -138,6 +152,143 @@ const RULES = [
|
|
|
138
152
|
],
|
|
139
153
|
suggestedRule: "When Codex sandbox or permission setup fails, capture the OS, Codex version, sandbox_mode, approval_policy, exact stderr, workspace ownership/ACL evidence, and whether a clean directory can run a simple command plus apply_patch."
|
|
140
154
|
},
|
|
155
|
+
{
|
|
156
|
+
kind: "codex_connectivity",
|
|
157
|
+
severity: "high",
|
|
158
|
+
title: "Codex auth or connectivity failure",
|
|
159
|
+
why: "Codex login, ChatGPT transport, proxy, CA, IPv6, and Cloudflare challenge failures are hard to triage unless traces preserve the exact endpoint, client, network environment, and local certificate/DNS evidence.",
|
|
160
|
+
patterns: [
|
|
161
|
+
/\btoken_exchange_failed\b/i,
|
|
162
|
+
/\bToken exchange (?:failed|error)\b.{0,160}\bauth\.openai\.com\/oauth\/token\b/i,
|
|
163
|
+
/\bcodex_login::server\b.{0,180}\b(oauth token exchange transport failure|login callback token exchange failed)\b/i,
|
|
164
|
+
/\bauth\.openai\.com\/api\/accounts\/deviceauth\/usercode\b/i,
|
|
165
|
+
/\bcf-mitigated:\s*challenge\b/i,
|
|
166
|
+
/\bCloudflare\b.{0,120}\b(challenge|WAF|mitigated)\b/i,
|
|
167
|
+
/\bCODEX_CA_CERTIFICATE\b|\bSSL_CERT_FILE\b/i,
|
|
168
|
+
/\bca-certificates\b|\bupdate-ca-certificates\b/i,
|
|
169
|
+
/\bIPv6\b.{0,160}\b(auth\.openai\.com|broken|hangs|no fallback|curl -6)\b/i,
|
|
170
|
+
/\bproxy\b.{0,160}\b(TLS|certificate|MITM|CONNECT|auth\.openai\.com|chatgpt\.com)\b/i,
|
|
171
|
+
/\bstream disconnected before completion\b.{0,180}\b(chatgpt\.com\/backend-api\/codex\/responses(?!\/compact)|Transport error|error decoding response body|network error)\b/i,
|
|
172
|
+
/\bReconnecting\.{3}\s*\d+\/\d+\b.{0,160}\b(stream disconnected|chatgpt\.com\/backend-api\/codex\/responses(?!\/compact))\b/i
|
|
173
|
+
],
|
|
174
|
+
suggestedRule: "When Codex auth or connectivity fails, capture the client/app version, OS/container/proxy/VPN state, endpoint URL, exact error, DNS IPv4/IPv6 results, curl -4/-6 checks, CA variables, ca-certificates/update-ca-certificates status, and whether API-key, browser login, and device-auth paths differ.",
|
|
175
|
+
suggestedSkill: "codex-connectivity-triage"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
kind: "codex_remote_control",
|
|
179
|
+
severity: "high",
|
|
180
|
+
title: "Codex remote-control route health failure",
|
|
181
|
+
why: "Codex mobile, SSH remote, and desktop remote-control failures can look connected while commands route through stale listeners, stale enrollments, missing helper bundles, or mismatched workspace/session state.",
|
|
182
|
+
patterns: [
|
|
183
|
+
/\bremote[- ]control\b.{0,180}\b(stale|listener|server_name|enrollment|14567|websocket|waiting for desktop|Directory Unavailable)\b/i,
|
|
184
|
+
/\bremote[- ]control\b.{0,100}\bconnected\b.{0,100}\b(stale|weak|not enough|cannot|failed|missing)\b/i,
|
|
185
|
+
/\bWaiting for desktop\b/i,
|
|
186
|
+
/\bDirectory:\s*Unavailable\b/i,
|
|
187
|
+
/\b127\.0\.0\.1:14567\b/i,
|
|
188
|
+
/\bstale\b.{0,120}\b(server_name|listener|remote-control|enrollment|cached binary|cache directory|helper path)\b/i,
|
|
189
|
+
/\b(cache directory|cached binary|bundle_complete|helper-file completeness)\b.{0,180}\b(codex\.exe|codex-windows-sandbox-setup\.exe|codex-command-runner\.exe|missing|incomplete)\b/i,
|
|
190
|
+
/\bcodex-windows-sandbox-setup\.exe\b.{0,120}\b(missing|not found|cannot spawn|spawn)\b/i,
|
|
191
|
+
/\bremoteControl\/status\/read\b/i,
|
|
192
|
+
/\bbackend environments\b.{0,120}\b(empty|returns empty|unavailable)\b/i,
|
|
193
|
+
/\bAndroid\b.{0,180}\b(Codex Mobile|Directory Unavailable|does not show|fails to open|re-pairing|revoking)\b/i,
|
|
194
|
+
/\bmobile\b.{0,180}\b(pairing|fails to connect|waiting for desktop|command id|listener|remote route|session list stays stale)\b/i,
|
|
195
|
+
/\bapp-server-control\.sock\b.{0,160}\b(remote|SSH|mobile|sshd-session|nc -U)\b/i
|
|
196
|
+
],
|
|
197
|
+
suggestedRule: "When Codex remote-control or mobile routing fails, capture desktop/app/CLI versions, mobile OS/app version, host id, remote-control status, listener pid/executable path, bound port, cache directory id, helper bundle completeness, active server_name/enrollment, workspace root, last mobile command id, and whether re-pairing or restarting the listener changes the route.",
|
|
198
|
+
suggestedSkill: "codex-remote-control-triage"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
kind: "codex_mcp_runtime",
|
|
202
|
+
severity: "high",
|
|
203
|
+
title: "Codex MCP runtime or routing failure",
|
|
204
|
+
why: "MCP tools can be correctly configured and still fail at runtime because Codex cancels non-interactive approvals, loses tool namespaces, routes to an unsupported callable name, or reuses a closed stdio transport.",
|
|
205
|
+
patterns: [
|
|
206
|
+
/\buser cancelled MCP tool call\b/i,
|
|
207
|
+
/\brequest_user_input is not supported in exec mode\b/i,
|
|
208
|
+
/\bApprove app tool call\?\b/i,
|
|
209
|
+
/\btool_call_mcp_elicitation\b.{0,120}\b(true|default-on|stable|enabled)\b/i,
|
|
210
|
+
/\bmaybe_request_mcp_tool_approval\b/i,
|
|
211
|
+
/\bunsupported call:\s*mcp__[A-Za-z0-9_-]+__[A-Za-z0-9_-]+\b/i,
|
|
212
|
+
/\btools\/list\b.{0,160}\b(runtime routes|unsupported call|manual tools\/call success|ToolRouter|canonical_tool_name)\b/i,
|
|
213
|
+
/\bnamespaced MCP tool calls?\b.{0,180}\b(fail|drops namespace|un-namespaced|deferred tool discovery|replay)\b/i,
|
|
214
|
+
/\bfunction_call\b.{0,180}\b(namespace|serverName)\b.{0,120}\b(drop|missing|omitted|lost)\b/i,
|
|
215
|
+
/\btool call failed for `[^`]+`\b.{0,160}\bTransport closed\b/i,
|
|
216
|
+
/\bTransport closed\b.{0,160}\b(MCP|stdio|rmcp|server exits|stale stdio client|reinitialize|retry)\b/i,
|
|
217
|
+
/\bStdioServerTransport\b.{0,180}\b(stdin_end|stdin_close|transport_close|parent_gone|stderr backpressure)\b/i
|
|
218
|
+
],
|
|
219
|
+
suggestedRule: "When a Codex MCP tool fails at runtime, capture the Codex version, MCP server name and transport, tool name, exposed callable name, whether tools/list and manual tools/call succeed, approval_policy, sandbox mode, exec/non-interactive mode, elicitation setting, namespace/serverName metadata, exact item.started/item.completed JSONL, stderr/backpressure evidence, and whether restarting or reinitializing the MCP transport changes the result.",
|
|
220
|
+
suggestedSkill: "codex-mcp-runtime-triage"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
kind: "codex_session_state",
|
|
224
|
+
severity: "high",
|
|
225
|
+
title: "Codex session resume or state failure",
|
|
226
|
+
why: "Large local session histories, resume compression, archived chat loading, and state-store migrations can strand long-running Codex work unless reports preserve the exact session size, state files, latency, and recovery path.",
|
|
227
|
+
patterns: [
|
|
228
|
+
/\bcodex resume\b.{0,160}\b(interactive picker|picker)\b.{0,160}\b(hangs?|freezes?|unresponsive|Enter has no effect|works fine)\b/i,
|
|
229
|
+
/\bcodex resume\s+<?id>?\b.{0,180}\b(works|bypasses|workaround)\b/i,
|
|
230
|
+
/\brollout[-_].{0,120}\b\d{1,3}(?:\.\d+)?\s*MB\b/i,
|
|
231
|
+
/\b\d{1,3}(?:,\d{3})+\s+JSONL lines\b/i,
|
|
232
|
+
/\b(input_image|response_item|event_msg|function_call) records\b.{0,160}\b(thread|rollout|history|session)\b/i,
|
|
233
|
+
/\bthread\/resume\b.{0,80}\b\d{3,6}\s*ms\b/i,
|
|
234
|
+
/\bthread\/goal\/get\b.{0,80}\b\d{3,6}\s*ms\b/i,
|
|
235
|
+
/\bCodex Desktop\b.{0,180}\b(sluggish|freezing-like|extremely slow|unresponsive|high app-server\/renderer CPU|large local thread)\b/i,
|
|
236
|
+
/\bCould not load archived chats\b/i,
|
|
237
|
+
/\bcontext compression\b.{0,180}\b(drops recent|last 3-5 turns|recent conversation context|amnesic|cannot continue)\b/i,
|
|
238
|
+
/\bcodex resume\b.{0,180}\b(drops recent|last 3-5 turns|recent conversation context|cannot continue)\b/i,
|
|
239
|
+
/\bstate_5\.sqlite\b.{0,180}\b(thread_goals|drop thread goals|no such table|migration)\b/i,
|
|
240
|
+
/\bgoals_1\.sqlite\b.{0,180}\b(thread_goals|empty|migration)\b/i,
|
|
241
|
+
/\bno such table:\s*thread_goals\b/i,
|
|
242
|
+
/\bprojectless-thread-ids\b.{0,180}\b(restored|returned|orphaned|projectless)\b/i,
|
|
243
|
+
/\bthread-workspace-root-hints\b.{0,180}\b(restored|returned|stale|projectless)\b/i
|
|
244
|
+
],
|
|
245
|
+
suggestedRule: "When Codex session resume or local state fails, capture app/CLI version, OS, session/thread id, rollout JSONL size, line and record counts, largest line size, image/tool-output counts, thread/resume and thread/goal/get timings, renderer/app-server CPU and memory, affected SQLite/global-state files and migration versions, whether codex resume <id> works, whether a new thread works, and any backup or restore steps before editing local state.",
|
|
246
|
+
suggestedSkill: "codex-session-state-triage"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
kind: "codex_token_burn",
|
|
250
|
+
severity: "high",
|
|
251
|
+
title: "Codex token burn or usage-drain loop",
|
|
252
|
+
why: "Unexpected Codex usage drain can come from background polling, idle app activity, compaction/retry overhead, subagent fan-out, fast-mode drift, or repeated cached-context turns, and reports need attribution evidence instead of only a quota percentage.",
|
|
253
|
+
patterns: [
|
|
254
|
+
/\btokens?\b.{0,120}\b(burning|burned|burnt|burn through|burning very fast|draining|drain|usage drop|usage drops)\b/i,
|
|
255
|
+
/\busage\b.{0,160}\b(burn(?:ing|ed)?|drain(?:ing|ed)?|deplet(?:e|ed|ing)|consum(?:e|ed|ing) (?:very )?fast|drops? by \d{1,3}%|dropped to \d{1,3}%)\b/i,
|
|
256
|
+
/\bweekly (?:usage|limit|allowance)\b.{0,180}\b(deplet(?:e|ed|ing)|burn(?:ed|ing)?|drain(?:ed|ing)?|exhaust(?:ed|ing)?|almost fully depleted)\b/i,
|
|
257
|
+
/\b5[- ]?hour\b.{0,160}\b(limit|usage)\b.{0,160}\b(0%|consumed|used all|drain|burn)\b/i,
|
|
258
|
+
/\b(input|cached input|output|reasoning|total)\s*=\s*[\d,]+\b.{0,160}\b(cached|tokens?|usage|burn|drain)\b/i,
|
|
259
|
+
/\bwrite_stdin\b.{0,180}\b(empty poll|polling|polls?|full API|full history|complete conversation history|cached tokens?)\b/i,
|
|
260
|
+
/\bbackground (?:process|task|terminal|command)\b.{0,180}\b(polling|write_stdin|full API|full history|tokens?|usage|wastes?|burns?)\b/i,
|
|
261
|
+
/\b(no new output|process still running|still waiting)\b.{0,180}\b(model|LLM|API|token|usage|poll|write_stdin|history)\b/i,
|
|
262
|
+
/\bCodex\b.{0,160}\b(used all|using daily usage|usage even when it is not doing anything|just by being open|idle)\b/i,
|
|
263
|
+
/\bcompaction\b.{0,180}\b(tax|wastes?|usage|tokens?|drain|loop|failed|restart|re-explain|reconstruct)\b/i,
|
|
264
|
+
/\b(fast mode|large context window|multi_agent|subagents?|\/review|AGENTS\.md|MCPs?|skills)\b.{0,180}\b(usage|tokens?|burn|drain|higher|expensive)\b/i,
|
|
265
|
+
/\bcached tokens?\b.{0,160}\b(charg(?:e|ed|ing)|cost|spend|ratio|input|burn|usage)\b/i,
|
|
266
|
+
/\busage attribution\b.{0,180}\b(normal turns|compaction|retries|tool loops|background polling|subagents?)\b/i,
|
|
267
|
+
/\btoken (?:growth|consumption|usage)\b.{0,160}\b(quadratic|runaway|anomaly|monitor|budget|ceiling|cost)\b/i
|
|
268
|
+
],
|
|
269
|
+
suggestedRule: "When reporting Codex token burn, capture plan/workspace, client and version, model and reasoning/speed settings, fast-mode/large-context/subagent/review flags, recent /status and usage-dashboard deltas, local token totals including cached input/output/reasoning if available, background process ids and write_stdin poll cadence, compaction attempts and failures, retry/tool-loop counts, whether the app was idle, and a minimal reproduction with before/after usage percentages.",
|
|
270
|
+
suggestedSkill: "codex-token-burn-triage"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
kind: "codex_resource_leak",
|
|
274
|
+
severity: "high",
|
|
275
|
+
title: "Codex client resource leak or runaway process",
|
|
276
|
+
why: "Codex Desktop, app, extension, or helper processes can enter CPU/GPU/memory loops that make the local machine unusable unless reports preserve process names, versions, resource samples, log-loop signatures, and cleanup evidence.",
|
|
277
|
+
patterns: [
|
|
278
|
+
/\b(Codex|VS Code|extension|app|desktop|renderer|helper|Code Helper|Electron|WindowServer|GPU process)\b.{0,180}\b(high|sustained|runaway|spikes?|burns?|consumes?|uses?)\b.{0,120}\b(CPU|GPU|memory|RAM|battery|thermal|heat|hot|overheat|usage|utilization)\b/i,
|
|
279
|
+
/\b(CPU|GPU)\b.{0,120}\b(usage|utilization|load)\b.{0,120}\b(9\d|100|1\d\d|2\d\d|3\d\d|400)%/i,
|
|
280
|
+
/\b(Code Helper \(Renderer\)|Code Helper \(Plugin\)|Codex Helper Renderer|Codex app-server|syspolicyd|zygote|WindowServer).{0,180}\b(9\d|100|1\d\d|2\d\d|3\d\d)%/i,
|
|
281
|
+
/\borphaned\b.{0,160}\b(shell[- ]snapshot|zsh|codex|native process|subprocess|helper|process)\b/i,
|
|
282
|
+
/\b(shell[- ]snapshot|print '# Snapshot file'|\.codex\/shell_snapshots|chat_processes\.json)\b.{0,180}\b(orphan|PPID\s*1|launchd|97%|98%|99%|100%|CPU|spinning|burning)\b/i,
|
|
283
|
+
/\b(memory leak|RAM leak|renderer growth|GPU memory|IOSurface|IOAccelerator|resource leak|log flood|repeated warning loop|error flood)\b/i,
|
|
284
|
+
/\b(thread-stream-state-changed|worker_rpc_response_error|open-in-target not supported|local-environments is not supported|stable-metadata)\b.{0,180}\b(loop|repeated|thousands|high CPU|flood|no handler|error=\{\})\b/i,
|
|
285
|
+
/\bthinking\b.{0,120}\b(animation|spinner|shimmer)\b.{0,160}\b(GPU|compositor|VSync|reduce motion|70%|100%|battery|power)\b/i,
|
|
286
|
+
/\b(non[- ]?Git workspace|without \.git|not a Git repository|git repository root)\b.{0,180}\b(high CPU|renderer|Code Helper|runaway|CPU drops|CPU high)\b/i,
|
|
287
|
+
/\b(close_agent|subagent|child thread)\b.{0,180}\b(hang forever|never terminates|runaway|leak|stuck|CPU|process)\b/i
|
|
288
|
+
],
|
|
289
|
+
suggestedRule: "When reporting Codex resource leaks, capture app/extension/CLI version, OS, IDE, thread type, exact process names and PIDs, CPU/GPU/RSS samples over time, whether the process is orphaned or PPID 1, log-loop signatures, workspace git-root state, visible animations/reduce-motion state, reproduction steps, and whether closing the panel/app, killing specific PIDs, git init, rollback, or restart clears the leak.",
|
|
290
|
+
suggestedSkill: "codex-resource-leak-triage"
|
|
291
|
+
},
|
|
141
292
|
{
|
|
142
293
|
kind: "quota_mismatch",
|
|
143
294
|
severity: "high",
|
|
@@ -353,7 +504,7 @@ function inferMcpCapabilities(value) {
|
|
|
353
504
|
function matchRule(inputs, rule) {
|
|
354
505
|
const evidence = [];
|
|
355
506
|
for (const input of inputs) {
|
|
356
|
-
if (rule.kind === "tests_not_run" && isInstructionFile(input.path)) {
|
|
507
|
+
if ((rule.kind === "tests_not_run" || rule.kind === "sensitive_file_access") && isInstructionFile(input.path)) {
|
|
357
508
|
continue;
|
|
358
509
|
}
|
|
359
510
|
const lines = input.content.split(/\r?\n/);
|
|
@@ -367,7 +518,7 @@ function matchRule(inputs, rule) {
|
|
|
367
518
|
}
|
|
368
519
|
});
|
|
369
520
|
}
|
|
370
|
-
return evidence.slice(0,
|
|
521
|
+
return evidence.slice(0, 8);
|
|
371
522
|
}
|
|
372
523
|
function detectOverEditing(inputs, maxFilesChanged) {
|
|
373
524
|
const changedFiles = new Set();
|
package/dist/src/rules.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules.js","sourceRoot":"","sources":["../../src/rules.ts"],"names":[],"mappings":"AAYA,MAAM,KAAK,GAAqB;IAC9B;QACE,IAAI,EAAE,sBAAsB;QAC5B,QAAQ,EAAE,MAAM;QAChB,KAAK,EAAE,mDAAmD;QAC1D,GAAG,EAAE,wGAAwG;QAC7G,QAAQ,EAAE;YACR,6CAA6C;YAC7C,iFAAiF;SAClF;QACD,aAAa,EACX,sIAAsI;QACxI,cAAc,EAAE,gCAAgC;KACjD;IACD;QACE,IAAI,EAAE,eAAe;QACrB,QAAQ,EAAE,MAAM;QAChB,KAAK,EAAE,sCAAsC;QAC7C,GAAG,EAAE,sIAAsI;QAC3I,QAAQ,EAAE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AC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;IAChF,OAAO,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,QAAQ,CAAC,KAAc;IAC9B,OAAO,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAE,KAAiC,CAAC,CAAC,CAAC,SAAS,CAAC;AACtH,CAAC;AAED,SAAS,MAAM,CAAC,KAAa;IAC3B,OAAO,KAAK;SACT,OAAO,CAAC,uBAAuB,EAAE,oBAAoB,CAAC;SACtD,OAAO,CAAC,kCAAkC,EAAE,yBAAyB,CAAC;SACtE,OAAO,CAAC,0BAA0B,EAAE,uBAAuB,CAAC;SAC5D,OAAO,CAAC,gFAAgF,EAAE,gBAAgB,CAAC,CAAC;AACjH,CAAC"}
|
package/dist/src/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type Severity = "low" | "medium" | "high" | "critical";
|
|
2
|
-
export type FindingKind = "premature_completion" | "tests_not_run" | "test_failure" | "ignored_instruction" | "hallucinated_file" | "over_editing" | "unsafe_command" | "secret_exposure" | "hidden_unicode" | "prompt_injection" | "context_compaction" | "sandbox_permission" | "quota_mismatch" | "mcp_risk" | "weak_evidence";
|
|
2
|
+
export type FindingKind = "premature_completion" | "tests_not_run" | "test_failure" | "ignored_instruction" | "hallucinated_file" | "over_editing" | "unsafe_command" | "secret_exposure" | "sensitive_file_access" | "hidden_unicode" | "prompt_injection" | "context_compaction" | "sandbox_permission" | "codex_connectivity" | "codex_remote_control" | "codex_mcp_runtime" | "codex_session_state" | "codex_token_burn" | "codex_resource_leak" | "quota_mismatch" | "mcp_risk" | "weak_evidence";
|
|
3
3
|
export interface TraceInput {
|
|
4
4
|
path: string;
|
|
5
5
|
content: string;
|
package/docs/ADOPTION_GUIDE.md
CHANGED
|
@@ -97,3 +97,7 @@ For dashboards, bots, or custom CI:
|
|
|
97
97
|
- `schemas/scorecard-result.schema.json` describes `trace-to-skill scorecard --format json`.
|
|
98
98
|
|
|
99
99
|
Use the schemas instead of scraping Markdown reports.
|
|
100
|
+
|
|
101
|
+
## Maintainer Release Note
|
|
102
|
+
|
|
103
|
+
For this package itself, releases are prepared for npm Trusted Publishing through `.github/workflows/npm-publish.yml`. See `docs/RELEASE.md` for the one-time `npm trust github` command and release checklist.
|
package/docs/BENCHMARK.md
CHANGED
|
@@ -11,8 +11,15 @@ This benchmark runs the public fixture pack that ships with the repository and p
|
|
|
11
11
|
| Codex JSONL failed session | `fixtures/codex-session.jsonl` | 50 | 3 | 1 | `premature_completion`, `test_failure`, `weak_evidence` | pass |
|
|
12
12
|
| Codex context compaction failure | `fixtures/context-compaction.md` | 75 | 2 | 0 | `context_compaction`, `weak_evidence` | pass |
|
|
13
13
|
| Codex sandbox permission failure | `fixtures/sandbox-permission.md` | 75 | 2 | 0 | `sandbox_permission`, `weak_evidence` | pass |
|
|
14
|
+
| Codex auth and connectivity failure | `fixtures/codex-connectivity.md` | 75 | 2 | 0 | `codex_connectivity`, `weak_evidence` | pass |
|
|
15
|
+
| Codex remote-control route health failure | `fixtures/codex-remote-control.md` | 75 | 2 | 0 | `codex_remote_control`, `weak_evidence` | pass |
|
|
14
16
|
| Codex quota mismatch | `fixtures/quota-mismatch.md` | 75 | 2 | 0 | `quota_mismatch`, `weak_evidence` | pass |
|
|
15
17
|
| MCP config with secret exposure | `fixtures/mcp-risk.json` | 59 | 2 | 1 | `mcp_risk`, `secret_exposure` | pass |
|
|
18
|
+
| Sensitive file access in agent context | `fixtures/sensitive-file-access.md` | 75 | 2 | 0 | `sensitive_file_access`, `weak_evidence` | pass |
|
|
19
|
+
| Codex MCP runtime failure | `fixtures/codex-mcp-runtime.md` | 75 | 2 | 0 | `codex_mcp_runtime`, `weak_evidence` | pass |
|
|
20
|
+
| Codex session resume and state failure | `fixtures/codex-session-state.md` | 59 | 3 | 0 | `codex_resource_leak`, `codex_session_state`, `weak_evidence` | pass |
|
|
21
|
+
| Codex token burn and usage-drain loop | `fixtures/codex-token-burn.md` | 59 | 3 | 0 | `codex_resource_leak`, `codex_token_burn`, `weak_evidence` | pass |
|
|
22
|
+
| Codex resource leak and runaway process | `fixtures/codex-resource-leak.md` | 75 | 2 | 0 | `codex_resource_leak`, `weak_evidence` | pass |
|
|
16
23
|
| Untrusted PR comment prompt injection | `fixtures/prompt-injection.md` | 50 | 3 | 1 | `premature_completion`, `prompt_injection`, `weak_evidence` | pass |
|
|
17
24
|
| Conflicting agent instruction files | `fixtures/instruction-drift` | 84 | 1 | 0 | `ignored_instruction` | pass |
|
|
18
25
|
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Codex Issue Map
|
|
2
|
+
|
|
3
|
+
This map links active OpenAI/Codex issue clusters to the deterministic `trace-to-skill` failure classes and commands that produce high-signal reports.
|
|
4
|
+
|
|
5
|
+
Use it when you want to file a concise Codex issue, deduplicate reports, or convert a private failed session into public evidence without pasting the full transcript.
|
|
6
|
+
|
|
7
|
+
## Quick Workflow
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx trace-to-skill redact ./runs --output redacted-runs
|
|
11
|
+
npx trace-to-skill analyze redacted-runs --format json
|
|
12
|
+
npx trace-to-skill codex-report redacted-runs --output openai-codex-issue.md
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Issue Clusters
|
|
16
|
+
|
|
17
|
+
| OpenAI/Codex issue cluster | Common signals | Finding kind | Best command |
|
|
18
|
+
| --- | --- | --- | --- |
|
|
19
|
+
| Token burn and usage drain | `tokens burning very fast`, large cached input totals, `write_stdin` empty polls, idle app usage, compaction tax, retry loops | `codex_token_burn` | `trace-to-skill codex-report ./runs` |
|
|
20
|
+
| 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` |
|
|
21
|
+
| Quota mismatch | `/status` or usage page shows quota left, but runtime says `You've hit your usage limit`; account/workspace reset or cache confusion | `quota_mismatch` | `trace-to-skill codex-report ./runs` |
|
|
22
|
+
| Sensitive file exclusion | `.env`, private keys, `.npmrc`, cloud credentials, local databases, or production secret manifests entered agent context | `sensitive_file_access` | `trace-to-skill codex-report ./runs` |
|
|
23
|
+
| Context compaction failures | `Error running remote compact task`, `context_length_exceeded`, compaction loops, `responses/compact` stream disconnects | `context_compaction` | `trace-to-skill analyze ./runs` |
|
|
24
|
+
| Session resume and state failures | `codex resume` picker freezes, large rollout JSONL, `Could not load archived chats`, `state_5.sqlite`, `thread_goals` | `codex_session_state` | `trace-to-skill codex-report ./runs` |
|
|
25
|
+
| Sandbox and permission blockers | Windows sandbox setup refresh, `os error 740`, ACL/ownership drift, approval-mode mismatch | `sandbox_permission` | `trace-to-skill analyze ./runs` |
|
|
26
|
+
| 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` |
|
|
27
|
+
| 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` |
|
|
28
|
+
| MCP runtime failures | `user cancelled MCP tool call`, `unsupported call: mcp__...__...`, namespace/serverName loss, `Transport closed` | `codex_mcp_runtime` | `trace-to-skill codex-report ./runs` |
|
|
29
|
+
| MCP config risk | filesystem/shell/browser/network/database/container access, secret-bearing env vars, broken startup inputs | `mcp_risk` | `trace-to-skill lint-agents .` |
|
|
30
|
+
| GitHub prompt injection | issue/PR/comment text says to ignore policy, leak secrets, hide actions, or execute attacker-controlled commands | `prompt_injection` | `trace-to-skill guard-github-event "$GITHUB_EVENT_PATH"` |
|
|
31
|
+
|
|
32
|
+
## Report Quality Checklist
|
|
33
|
+
|
|
34
|
+
- Include exact Codex app, CLI, or extension version.
|
|
35
|
+
- Include OS, shell/terminal, IDE, model, reasoning effort, speed mode, and subscription/workspace.
|
|
36
|
+
- Include the smallest redacted trace that reproduces the failure.
|
|
37
|
+
- Include before/after `/status` and usage dashboard state for quota or token-burn reports.
|
|
38
|
+
- Include process names/PIDs, CPU/GPU/RSS samples, log-loop signatures, and whether killing exact PIDs or closing the app clears resource leaks.
|
|
39
|
+
- Include line-linked evidence rather than screenshots alone when logs are available.
|
|
40
|
+
- Redact tokens, API keys, emails, local home paths, customer data, and hidden Unicode before posting publicly.
|
|
41
|
+
- For sensitive-file reports, attach only redacted excerpts and the file path/class, not the original credential material.
|
|
42
|
+
|
|
43
|
+
## Related OpenAI/Codex Threads Used For Fixtures
|
|
44
|
+
|
|
45
|
+
- Token burn and usage drain: https://github.com/openai/codex/issues/14593, https://github.com/openai/codex/issues/13733, https://github.com/openai/codex/issues/25420, https://github.com/openai/codex/issues/19585
|
|
46
|
+
- 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
|
|
47
|
+
- 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
|
|
48
|
+
- 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
|
|
49
|
+
- Sensitive file exclusion: https://github.com/openai/codex/issues/2847
|
|
50
|
+
- Auth/connectivity and remote-control reports are represented by the public fixtures in `fixtures/codex-connectivity.md` and `fixtures/codex-remote-control.md`.
|
package/docs/DISCOVERY.md
CHANGED
|
@@ -12,6 +12,7 @@ This page is written for maintainers, search engines, package indexes, and AI re
|
|
|
12
12
|
- npm: https://www.npmjs.com/package/trace-to-skill
|
|
13
13
|
- Latest release: https://github.com/grnbtqdbyx-create/trace-to-skill/releases/latest
|
|
14
14
|
- Use cases: https://github.com/grnbtqdbyx-create/trace-to-skill/blob/main/docs/USE_CASES.md
|
|
15
|
+
- Codex issue map: https://github.com/grnbtqdbyx-create/trace-to-skill/blob/main/docs/CODEX_ISSUE_MAP.md
|
|
15
16
|
- Scorecard: https://github.com/grnbtqdbyx-create/trace-to-skill/blob/main/docs/SCORECARD.md
|
|
16
17
|
- OpenAI OSS strategy: https://github.com/grnbtqdbyx-create/trace-to-skill/blob/main/docs/OPENAI_OSS_STRATEGY.md
|
|
17
18
|
|
|
@@ -21,7 +22,14 @@ This page is written for maintainers, search engines, package indexes, and AI re
|
|
|
21
22
|
- A coding agent repeats the same test/build/lint failure.
|
|
22
23
|
- A long Codex thread fails during context compaction with stream disconnects, `context_length_exceeded`, endless auto-compaction, or `unknown variant auto` errors.
|
|
23
24
|
- Codex cannot start tools because sandbox setup refresh, Windows `os error 740`, ACL, ownership, or approval-mode permission failures block execution.
|
|
25
|
+
- Codex login or response streaming fails because of `token_exchange_failed`, `auth.openai.com/oauth/token`, missing CA certificates, proxy/MITM, IPv6 fallback, Cloudflare challenge, or `stream disconnected before completion`.
|
|
26
|
+
- Codex mobile or remote-control appears connected but routes through stale listeners, stale enrollment, incomplete helper bundles, empty backend environments, or stale Android/iOS session state.
|
|
27
|
+
- Codex MCP tools are visible in `tools/list` but fail at runtime because approval is cancelled, elicitation is unsupported in exec mode, namespace or `serverName` metadata is dropped, routed names become `unsupported call`, or stdio transport closes.
|
|
28
|
+
- Codex resume, Desktop history rendering, archived chats, context compression, or local state migrations fail after large JSONL histories, images, tool output, stale SQLite state, or project/thread metadata drift.
|
|
29
|
+
- Codex usage drains unexpectedly because of background `write_stdin` polling, idle app activity, compaction/replay overhead, retry loops, subagent fan-out, fast-mode drift, or cached-token-heavy turns.
|
|
30
|
+
- 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.
|
|
24
31
|
- Codex reports `You've hit your usage limit` even though `/status` or the usage dashboard shows quota left, or quota appears shared across accounts.
|
|
32
|
+
- 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.
|
|
25
33
|
- A repository has conflicting `AGENTS.md`, `CLAUDE.md`, Cursor, Copilot, or Gemini instructions.
|
|
26
34
|
- A monorepo has nested `AGENTS.md` files, `@file.md` instruction includes, or invalid instruction-file encoding that makes Codex load the wrong policy.
|
|
27
35
|
- A workflow wants to feed GitHub issue, PR, comment, discussion, check-run, or commit text into an agent but needs prompt-injection checks first.
|
|
@@ -46,6 +54,7 @@ npx trace-to-skill lint-agents .
|
|
|
46
54
|
npx trace-to-skill guard-github-event "$GITHUB_EVENT_PATH"
|
|
47
55
|
npx trace-to-skill redact ./runs --output redacted-runs
|
|
48
56
|
npx trace-to-skill analyze ./runs --format json
|
|
57
|
+
npx trace-to-skill codex-report ./runs --output openai-codex-issue.md
|
|
49
58
|
npx trace-to-skill suggest ./runs --target agents-md
|
|
50
59
|
```
|
|
51
60
|
|
|
@@ -57,6 +66,8 @@ npx trace-to-skill suggest ./runs --target agents-md
|
|
|
57
66
|
- `trace-to-skill redact --format json`
|
|
58
67
|
- `trace-to-skill scorecard --format json`
|
|
59
68
|
- SARIF from `trace-to-skill analyze --format sarif`
|
|
69
|
+
- OpenAI/Codex issue-ready Markdown from `trace-to-skill codex-report`
|
|
70
|
+
- Codex issue-cluster mapping in `docs/CODEX_ISSUE_MAP.md`
|
|
60
71
|
- GitHub Action outputs for doctor, AGENTS lint, GitHub context guard, benchmark, and scorecard modes
|
|
61
72
|
|
|
62
73
|
## Schema Contracts
|
|
@@ -69,7 +80,7 @@ npx trace-to-skill suggest ./runs --target agents-md
|
|
|
69
80
|
|
|
70
81
|
## Related Keywords
|
|
71
82
|
|
|
72
|
-
Codex, OpenAI Codex, Codex CLI, Codex sandbox, Windows sandbox, Codex quota, usage limit, rate limits, 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.
|
|
83
|
+
Codex, OpenAI Codex, Codex issue report, OpenAI triage, Codex CLI, Codex sandbox, Windows sandbox, Codex auth, token_exchange_failed, Codex connectivity, stream disconnected, Codex remote control, Codex mobile, Waiting for desktop, Directory Unavailable, stale listener, Codex MCP runtime, MCP unsupported call, mcp__node_repl__js, MCP namespace serverName, MCP Transport closed, StdioServerTransport, Codex resume, Codex session state, rollout JSONL, thread_goals, state_5.sqlite, goals_1.sqlite, archived chats, Codex token burn, Codex usage drain, 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 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.
|
|
73
84
|
|
|
74
85
|
## Non-Goals
|
|
75
86
|
|
package/docs/FAILURE_TAXONOMY.md
CHANGED
|
@@ -24,6 +24,54 @@ Codex sandbox setup, approval mode, ACL, or workspace ownership failed before to
|
|
|
24
24
|
|
|
25
25
|
The fix is to capture the OS, Codex version, `sandbox_mode`, `approval_policy`, exact stderr, workspace ownership/ACL evidence, and whether a clean directory can run a simple command plus `apply_patch`.
|
|
26
26
|
|
|
27
|
+
## Codex Connectivity
|
|
28
|
+
|
|
29
|
+
Codex login, device auth, API-key auth, ChatGPT response streaming, or remote transport fails because of token exchange errors, missing CA certificates, proxy or MITM behavior, Cloudflare challenges, IPv6 routing, DNS, VPN, or WebSocket/HTTPS fallback problems.
|
|
30
|
+
|
|
31
|
+
Common signals include `token_exchange_failed`, `auth.openai.com/oauth/token`, `codex_login::server`, `cf-mitigated: challenge`, `ca-certificates`, `update-ca-certificates`, `CODEX_CA_CERTIFICATE`, `SSL_CERT_FILE`, IPv6-only lookup evidence, and `stream disconnected before completion` errors against `chatgpt.com/backend-api/codex/responses`.
|
|
32
|
+
|
|
33
|
+
The fix is to capture the client or app version, OS/container image, proxy or VPN state, endpoint URL, exact error, DNS IPv4/IPv6 results, `curl -4` / `curl -6` checks, CA variables, certificate package status, and whether browser login, device auth, and API-key paths fail differently.
|
|
34
|
+
|
|
35
|
+
## Codex Remote Control
|
|
36
|
+
|
|
37
|
+
Codex mobile, SSH remote, or desktop remote-control appears connected but the next command does not reach the intended host, workspace, or app-server. Common causes include stale remote-control listeners, stale enrollment or `server_name` state, missing helper files in a cached runtime bundle, mixed mobile/desktop session state, or Android/iOS surfaces showing stale project/session data.
|
|
38
|
+
|
|
39
|
+
Common signals include `Waiting for desktop`, `Directory: Unavailable`, `remote-control`, `remoteControl/status/read`, `127.0.0.1:14567`, stale listener or cached binary evidence, missing `codex-windows-sandbox-setup.exe`, missing `codex-command-runner.exe`, backend environments returning empty, and re-pairing temporarily restoring access.
|
|
40
|
+
|
|
41
|
+
The fix is to capture desktop/app/CLI versions, mobile OS/app version, host id, remote-control status, listener pid and executable path, bound port, cache directory id, helper bundle completeness, active `server_name` or enrollment id, workspace root, last mobile command id, and whether restarting the listener or re-pairing changes the route.
|
|
42
|
+
|
|
43
|
+
## Codex MCP Runtime
|
|
44
|
+
|
|
45
|
+
Codex MCP tools can be configured and discoverable but still fail at runtime. Common causes include non-interactive approval paths cancelling the call, elicitation not being supported in exec mode, deferred discovery replaying a call without namespace or `serverName`, routed callable names such as `mcp__node_repl__js` becoming unsupported, or stdio transports closing before a second tool call.
|
|
46
|
+
|
|
47
|
+
Common signals include `user cancelled MCP tool call`, `request_user_input is not supported in exec mode`, `Approve app tool call?`, `tool_call_mcp_elicitation`, `unsupported call: mcp__...__...`, `tools/list` succeeding while manual `tools/call` succeeds but Codex routing fails, missing namespace or `serverName` metadata, `Transport closed`, and `StdioServerTransport` lifecycle events such as `stdin_end`, `stdin_close`, `transport_close`, `parent_gone`, or stderr backpressure.
|
|
48
|
+
|
|
49
|
+
The fix is to capture the Codex version, MCP server name and transport, tool name, exposed callable name, whether `tools/list` and manual `tools/call` succeed, `approval_policy`, sandbox mode, exec or interactive mode, elicitation setting, namespace or `serverName` metadata, exact `item.started` / `item.completed` JSONL, stderr or backpressure evidence, and whether restarting or reinitializing the transport changes the result.
|
|
50
|
+
|
|
51
|
+
## Codex Session State
|
|
52
|
+
|
|
53
|
+
Codex resume, Desktop history rendering, archived chat loading, context compression, or local state migrations can fail after a long thread accumulates large JSONL history, images, tool output, or stale SQLite/global-state metadata.
|
|
54
|
+
|
|
55
|
+
Common signals include `codex resume` interactive picker hangs or freezes, `codex resume <id>` working while the picker is unresponsive, large `rollout-*.jsonl` or session files, 10+ MB or 100+ MB histories, high `response_item`, `event_msg`, `function_call`, or `input_image` counts, `thread/resume` or `thread/goal/get` taking thousands of milliseconds, Codex Desktop becoming sluggish with high app-server/renderer CPU, `Could not load archived chats`, resume compression dropping the last 3-5 turns, `state_5.sqlite`, `goals_1.sqlite`, `no such table: thread_goals`, `projectless-thread-ids`, and `thread-workspace-root-hints` reverting after restart.
|
|
56
|
+
|
|
57
|
+
The fix is to capture app and CLI versions, OS, session or thread id, rollout JSONL size, line and record counts, largest line size, image/tool-output counts, `thread/resume` and `thread/goal/get` timings, renderer/app-server CPU and memory, affected SQLite/global-state files and migration versions, whether `codex resume <id>` works, whether a new thread works, and any backup or restore steps before editing local state.
|
|
58
|
+
|
|
59
|
+
## Codex Token Burn
|
|
60
|
+
|
|
61
|
+
Codex usage can drain unexpectedly even when users cannot tell whether the cause is useful model work, background process polling, idle app activity, compaction/replay overhead, retry loops, subagent fan-out, fast-mode drift, large context, long `AGENTS.md`, MCP/skill overhead, or cached-token-heavy turns.
|
|
62
|
+
|
|
63
|
+
Common signals include tokens `burning very fast`, usage dropping by visible percentages after one or two prompts, weekly allowance depletion under normal usage, 5-hour usage reaching 0%, large `input` plus `cached input` totals, `write_stdin` empty polling, background commands repeatedly checking for no new output, Codex using daily usage while idle or only open, compaction tax, retry/tool loops, and requests for usage attribution across normal turns, compaction, retries, subagents, and background polling.
|
|
64
|
+
|
|
65
|
+
The fix is to capture plan/workspace, client and version, model and reasoning/speed settings, fast-mode/large-context/subagent/review flags, recent `/status` and usage-dashboard deltas, local token totals including cached input/output/reasoning if available, background process ids and `write_stdin` poll cadence, compaction attempts and failures, retry/tool-loop counts, whether the app was idle, and a minimal reproduction with before/after usage percentages.
|
|
66
|
+
|
|
67
|
+
## Codex Resource Leak
|
|
68
|
+
|
|
69
|
+
Codex Desktop, the VS Code extension, app-server, renderer, GPU process, shell snapshot capture, or helper processes can keep consuming CPU/GPU/RAM after the useful work should be idle.
|
|
70
|
+
|
|
71
|
+
Common signals include high `Code Helper (Renderer)` or `Code Helper (Plugin)` CPU, `Codex Helper Renderer`, `Codex app-server`, `syspolicyd`, `zygote`, `WindowServer`, `shell-snapshot`, `print '# Snapshot file'`, `.codex/shell_snapshots`, `chat_processes.json`, PPID 1 orphaned subprocesses, repeated `thread-stream-state-changed`, `worker_rpc_response_error`, `open-in-target not supported`, `stable-metadata`, thinking/shimmer GPU loops, and non-Git workspace CPU runaways.
|
|
72
|
+
|
|
73
|
+
The fix is to capture app/extension/CLI version, OS, IDE, thread type, process names/PIDs, CPU/GPU/RSS samples over time, whether the process is orphaned, log-loop signatures, workspace Git-root state, animation/reduce-motion state, reproduction steps, and whether closing the panel/app, killing exact PIDs, `git init`, rollback, or restart clears the leak.
|
|
74
|
+
|
|
27
75
|
## Quota Mismatch
|
|
28
76
|
|
|
29
77
|
Codex reports a usage-limit block even though another surface shows remaining quota, or quota state appears to be shared across accounts, consumed in parallel across 5h and weekly windows, or reset at an impossible time.
|
|
@@ -59,6 +107,14 @@ Destructive shell commands, privilege escalation, or remote script execution pat
|
|
|
59
107
|
|
|
60
108
|
Credentials, API keys, or tokens appear in traces or reports.
|
|
61
109
|
|
|
110
|
+
## Sensitive File Access
|
|
111
|
+
|
|
112
|
+
Credential files, private keys, package auth files, cloud credentials, local databases, or production secret manifests entered agent context through a read, attach, upload, diff, or indexing step.
|
|
113
|
+
|
|
114
|
+
Common signals include `.env`, `.env.production`, `.npmrc`, `.pypirc`, `.netrc`, `.aws/credentials`, `.kube/config`, `.docker/config.json`, `id_rsa`, `id_ed25519`, `.pem`, `.key`, `.p12`, `.mobileprovision`, `.sqlite`, `.db`, `secrets.yaml`, and private-key PEM blocks.
|
|
115
|
+
|
|
116
|
+
The fix is to exclude sensitive files before the agent starts, redact public traces, and share only minimal maintainer-approved excerpts.
|
|
117
|
+
|
|
62
118
|
## Hidden Unicode
|
|
63
119
|
|
|
64
120
|
Bidirectional or zero-width Unicode control characters appear in agent-visible instructions or patches.
|
package/docs/RELEASE.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Release Process
|
|
2
|
+
|
|
3
|
+
This repository is configured for npm Trusted Publishing so releases do not need a long-lived npm token or repeated local web authentication.
|
|
4
|
+
|
|
5
|
+
## One-Time npm Setup
|
|
6
|
+
|
|
7
|
+
Preferred CLI setup:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx npm@11.16.0 trust github trace-to-skill \
|
|
11
|
+
--file npm-publish.yml \
|
|
12
|
+
--repo grnbtqdbyx-create/trace-to-skill \
|
|
13
|
+
--allow-publish
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
`npm@11.16.0` or newer is recommended because older npm 11 builds may start the web-auth flow but fail to create the trust record without the publish permission flag.
|
|
17
|
+
|
|
18
|
+
Or, in the npm package settings for `trace-to-skill`, add a Trusted Publisher:
|
|
19
|
+
|
|
20
|
+
- Publisher: GitHub Actions
|
|
21
|
+
- Organization or user: `grnbtqdbyx-create`
|
|
22
|
+
- Repository: `trace-to-skill`
|
|
23
|
+
- Workflow filename: `npm-publish.yml`
|
|
24
|
+
- Allowed action: `npm publish`
|
|
25
|
+
|
|
26
|
+
After this one-time npm trust setting is saved, publishing should happen from GitHub Actions using OIDC.
|
|
27
|
+
|
|
28
|
+
You can preview the CLI trust command without changing npm state:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
npx npm@11.16.0 trust github trace-to-skill \
|
|
32
|
+
--file npm-publish.yml \
|
|
33
|
+
--repo grnbtqdbyx-create/trace-to-skill \
|
|
34
|
+
--allow-publish \
|
|
35
|
+
--dry-run --json
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Release Checklist
|
|
39
|
+
|
|
40
|
+
1. Bump `package.json` and `package-lock.json`.
|
|
41
|
+
2. Run `npm run check`.
|
|
42
|
+
3. Regenerate `docs/BENCHMARK.md` and `docs/SCORECARD.md` if benchmark fixtures changed.
|
|
43
|
+
4. Commit and push to `main`.
|
|
44
|
+
5. Create a GitHub release whose tag matches the package version, such as `v0.1.40`.
|
|
45
|
+
6. Confirm the `Publish npm` workflow succeeds.
|
|
46
|
+
7. Confirm `npm view trace-to-skill version dist-tags.latest --json` shows the new version.
|
|
47
|
+
|
|
48
|
+
The workflow also supports manual dispatch with `publish=true` for a version that has already been committed but not published.
|
|
49
|
+
|
|
50
|
+
`trace-to-skill doctor .` checks for this release surface. Public npm packages without an OIDC-backed `npm publish` workflow receive a `release-automation` warning.
|
|
51
|
+
|
|
52
|
+
## Why This Exists
|
|
53
|
+
|
|
54
|
+
Local `npm publish` with account 2FA can ask for browser/passkey approval on every release. Trusted Publishing moves the repeated release authentication into GitHub Actions and uses short-lived OIDC credentials instead.
|
package/docs/SCORECARD.md
CHANGED
|
@@ -9,7 +9,7 @@ Status: **pass**
|
|
|
9
9
|
| Failed doctor checks | 0 |
|
|
10
10
|
| Critical findings | 0 |
|
|
11
11
|
| Built-in benchmark | pass |
|
|
12
|
-
| Benchmark cases |
|
|
12
|
+
| Benchmark cases | 16 |
|
|
13
13
|
|
|
14
14
|
## Doctor Summary
|
|
15
15
|
|
|
@@ -28,8 +28,15 @@ This benchmark runs the public fixture pack that ships with the repository and p
|
|
|
28
28
|
| Codex JSONL failed session | `fixtures/codex-session.jsonl` | 50 | 3 | 1 | `premature_completion`, `test_failure`, `weak_evidence` | pass |
|
|
29
29
|
| Codex context compaction failure | `fixtures/context-compaction.md` | 75 | 2 | 0 | `context_compaction`, `weak_evidence` | pass |
|
|
30
30
|
| Codex sandbox permission failure | `fixtures/sandbox-permission.md` | 75 | 2 | 0 | `sandbox_permission`, `weak_evidence` | pass |
|
|
31
|
+
| Codex auth and connectivity failure | `fixtures/codex-connectivity.md` | 75 | 2 | 0 | `codex_connectivity`, `weak_evidence` | pass |
|
|
32
|
+
| Codex remote-control route health failure | `fixtures/codex-remote-control.md` | 75 | 2 | 0 | `codex_remote_control`, `weak_evidence` | pass |
|
|
31
33
|
| Codex quota mismatch | `fixtures/quota-mismatch.md` | 75 | 2 | 0 | `quota_mismatch`, `weak_evidence` | pass |
|
|
32
34
|
| MCP config with secret exposure | `fixtures/mcp-risk.json` | 59 | 2 | 1 | `mcp_risk`, `secret_exposure` | pass |
|
|
35
|
+
| Sensitive file access in agent context | `fixtures/sensitive-file-access.md` | 75 | 2 | 0 | `sensitive_file_access`, `weak_evidence` | pass |
|
|
36
|
+
| Codex MCP runtime failure | `fixtures/codex-mcp-runtime.md` | 75 | 2 | 0 | `codex_mcp_runtime`, `weak_evidence` | pass |
|
|
37
|
+
| Codex session resume and state failure | `fixtures/codex-session-state.md` | 59 | 3 | 0 | `codex_resource_leak`, `codex_session_state`, `weak_evidence` | pass |
|
|
38
|
+
| Codex token burn and usage-drain loop | `fixtures/codex-token-burn.md` | 59 | 3 | 0 | `codex_resource_leak`, `codex_token_burn`, `weak_evidence` | pass |
|
|
39
|
+
| Codex resource leak and runaway process | `fixtures/codex-resource-leak.md` | 75 | 2 | 0 | `codex_resource_leak`, `weak_evidence` | pass |
|
|
33
40
|
| Untrusted PR comment prompt injection | `fixtures/prompt-injection.md` | 50 | 3 | 1 | `premature_completion`, `prompt_injection`, `weak_evidence` | pass |
|
|
34
41
|
| Conflicting agent instruction files | `fixtures/instruction-drift` | 84 | 1 | 0 | `ignored_instruction` | pass |
|
|
35
42
|
|