trace-to-skill 0.1.63 → 0.1.65
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 +11 -3
- package/dist/src/benchmark.js +12 -0
- package/dist/src/benchmark.js.map +1 -1
- package/dist/src/demo.js +16 -0
- package/dist/src/demo.js.map +1 -1
- package/dist/src/rules.js +45 -0
- package/dist/src/rules.js.map +1 -1
- package/dist/src/types.d.ts +1 -1
- package/docs/BENCHMARK.md +2 -0
- package/docs/CODEX_ISSUE_MAP.md +6 -0
- package/docs/DEMO.md +29 -25
- package/docs/DISCOVERY.md +5 -1
- package/docs/FAILURE_TAXONOMY.md +16 -0
- package/docs/OPENAI_OSS_BRIEF.md +6 -6
- package/docs/SCORECARD.md +3 -1
- package/docs/USE_CASES.md +49 -19
- package/fixtures/codex-mcp-discovery-mismatch.md +75 -0
- package/fixtures/codex-terminal-output-integrity.md +80 -0
- package/llms.txt +9 -1
- package/package.json +7 -1
- package/schemas/analysis-result.schema.json +2 -0
package/README.md
CHANGED
|
@@ -70,6 +70,8 @@ Use it when you need to:
|
|
|
70
70
|
- **Report clipboard and pasted-text attachment regressions:** run `trace-to-skill codex-report ./runs` when `Copy as Markdown` disappears, long prompts become `Pasted text.txt`, generated attachments cannot be previewed/edited, or `/goal` treats attached pasted text as empty.
|
|
71
71
|
- **Report deeplink and OAuth launch regressions:** run `trace-to-skill codex-report ./runs` when `codex://oauth_callback`, notification clicks, browser-extension activation, mobile links, or `codex app <path>` fail to route back into Codex.
|
|
72
72
|
- **Diagnose stale connector auth/cache:** run `trace-to-skill codex-report ./runs` when Codex app connectors return `401 Reauthentication required`, keep the same `link_*`, report `isAccessible: false`, or survive restart/plugin reinstall/cache clearing.
|
|
73
|
+
- **Explain missing MCP tools across Codex surfaces:** run `trace-to-skill codex-report ./runs` when MCP servers work in CLI or user-global config but are absent in VS Code, Desktop, WSL, or project-local sessions.
|
|
74
|
+
- **Report terminal output and scrollback integrity failures:** run `trace-to-skill codex-report ./runs` when Codex terminal output disappears, gets overwritten, truncates numbered lines, snaps scrollback to the bottom, or only survives in logs/transcripts.
|
|
73
75
|
- **Reduce approval friction:** run `trace-to-skill analyze ./runs` when `Approve for this session` is not remembered, repeated prompts push users toward Full Access, or trusted MCP tools like Playwright require dozens of approvals.
|
|
74
76
|
- **Diagnose sandbox blockers:** run `trace-to-skill analyze ./runs` on Codex traces that fail with sandbox setup refresh, `os error 740`, ACL, ownership, or approval-mode permission errors.
|
|
75
77
|
- **Debug Codex auth/connectivity:** run `trace-to-skill analyze ./runs` on logs with `token_exchange_failed`, `auth.openai.com/oauth/token`, Cloudflare challenge, proxy/CA, IPv6, or stream disconnect symptoms.
|
|
@@ -120,6 +122,8 @@ Open-source maintainers do not need more AI-generated noise. They need agents th
|
|
|
120
122
|
- Did copy/export, long-paste conversion, generated `Pasted text.txt`, or `/goal` attachment handling break the prompt or support-report workflow?
|
|
121
123
|
- Did `codex://` OAuth callbacks, notification clicks, browser-extension launches, mobile pairing links, or `codex app <path>` fail to open the right Codex route?
|
|
122
124
|
- Did a Codex app connector keep stale `link_*` or `isAccessible: false` metadata after `401 Reauthentication required`, restart, plugin reinstall, or cache regeneration?
|
|
125
|
+
- Did MCP servers work in Codex CLI, `~/.codex/config.toml`, or a new conversation, but disappear from VS Code, Desktop, WSL, project `.codex/config.toml`, or an older session?
|
|
126
|
+
- Did Codex terminal scrollback, streamed output, or transcript rendering drop, overwrite, truncate, duplicate, or hide evidence lines that still exist in raw logs?
|
|
123
127
|
- Did repeated approval prompts make a safer scoped mode unusable or require huge per-tool MCP approval configs?
|
|
124
128
|
- Can the failure be reported to OpenAI with line-linked evidence, redaction notes, and the exact diagnostics maintainers need?
|
|
125
129
|
- Can we produce an application-ready OpenAI OSS brief from the repo's actual license, distribution, readiness, and benchmark state?
|
|
@@ -198,6 +202,8 @@ Trace analysis detects run-level failures:
|
|
|
198
202
|
| Sandbox permission | Codex sandbox setup, approval mode, ACL, or workspace ownership blocks tool execution |
|
|
199
203
|
| Codex connectivity | Auth token exchange, proxy/CA, IPv6, Cloudflare challenge, or ChatGPT transport errors block Codex |
|
|
200
204
|
| Codex remote control | Mobile or remote sessions route through stale listeners, stale enrollment, or incomplete helper bundles |
|
|
205
|
+
| Codex MCP discovery mismatch | MCP works in CLI or one config scope but disappears in VS Code, Desktop, WSL, project config, or an older session |
|
|
206
|
+
| Codex terminal output integrity | Terminal scrollback, streamed output, or transcript rendering drops, overwrites, truncates, duplicates, or hides lines that raw logs still contain |
|
|
201
207
|
| Codex MCP runtime | MCP tools are configured but approval, namespace routing, unsupported callable names, or stdio transport fail at runtime |
|
|
202
208
|
| Codex plugin runtime | Browser, Computer Use, Chrome, connectors, or bundled plugins are advertised but fail because helper paths, plugin-list schemas, or cache state drift |
|
|
203
209
|
| Codex file tree UI | Desktop file tree, floating file panel, or file preview cannot be revealed, refreshes stale entries, or loses workspace navigation |
|
|
@@ -243,6 +249,8 @@ trace-to-skill demo thinking-hang
|
|
|
243
249
|
trace-to-skill demo clipboard-attachment
|
|
244
250
|
trace-to-skill demo deeplink-launch
|
|
245
251
|
trace-to-skill demo connector-auth-cache
|
|
252
|
+
trace-to-skill demo mcp-discovery-mismatch
|
|
253
|
+
trace-to-skill demo terminal-output-integrity
|
|
246
254
|
trace-to-skill demo patch-overwrite
|
|
247
255
|
trace-to-skill guard-patch ./change.patch --root .
|
|
248
256
|
trace-to-skill session-audit ~/.codex --format json
|
|
@@ -457,7 +465,7 @@ jobs:
|
|
|
457
465
|
issues: write
|
|
458
466
|
steps:
|
|
459
467
|
- uses: actions/checkout@v5
|
|
460
|
-
- uses: grnbtqdbyx-create/trace-to-skill@v0.1.
|
|
468
|
+
- uses: grnbtqdbyx-create/trace-to-skill@v0.1.65
|
|
461
469
|
with:
|
|
462
470
|
mode: all
|
|
463
471
|
doctor-threshold: "85"
|
|
@@ -506,7 +514,7 @@ Composite action usage:
|
|
|
506
514
|
|
|
507
515
|
```yaml
|
|
508
516
|
- id: trace-to-skill
|
|
509
|
-
uses: grnbtqdbyx-create/trace-to-skill@v0.1.
|
|
517
|
+
uses: grnbtqdbyx-create/trace-to-skill@v0.1.65
|
|
510
518
|
with:
|
|
511
519
|
mode: all
|
|
512
520
|
doctor-threshold: "85"
|
|
@@ -548,7 +556,7 @@ Action outputs:
|
|
|
548
556
|
|
|
549
557
|
By default, generated reports are also appended to the GitHub Actions Job Summary. Set `job-summary: "false"` to disable that UI output.
|
|
550
558
|
|
|
551
|
-
Tagged Action releases build and run the CLI from `$GITHUB_ACTION_PATH`, so a workflow pinned to a release tag such as `@v0.1.
|
|
559
|
+
Tagged Action releases build and run the CLI from `$GITHUB_ACTION_PATH`, so a workflow pinned to a release tag such as `@v0.1.65` executes that release's checked-out source instead of pulling the default branch at runtime.
|
|
552
560
|
|
|
553
561
|
## Codex Skill
|
|
554
562
|
|
package/dist/src/benchmark.js
CHANGED
|
@@ -101,6 +101,12 @@ const BENCHMARK_CASES = [
|
|
|
101
101
|
fixture: "fixtures/codex-remote-control.md",
|
|
102
102
|
expectedKinds: ["codex_remote_control", "weak_evidence"]
|
|
103
103
|
},
|
|
104
|
+
{
|
|
105
|
+
id: "codex-terminal-output-integrity",
|
|
106
|
+
title: "Codex terminal output and scrollback integrity failure",
|
|
107
|
+
fixture: "fixtures/codex-terminal-output-integrity.md",
|
|
108
|
+
expectedKinds: ["codex_terminal_output_integrity", "weak_evidence"]
|
|
109
|
+
},
|
|
104
110
|
{
|
|
105
111
|
id: "quota-mismatch",
|
|
106
112
|
title: "Codex quota mismatch",
|
|
@@ -126,6 +132,12 @@ const BENCHMARK_CASES = [
|
|
|
126
132
|
fixture: "fixtures/codex-mcp-runtime.md",
|
|
127
133
|
expectedKinds: ["codex_mcp_runtime", "weak_evidence"]
|
|
128
134
|
},
|
|
135
|
+
{
|
|
136
|
+
id: "codex-mcp-discovery-mismatch",
|
|
137
|
+
title: "Codex MCP discovery and config-scope mismatch",
|
|
138
|
+
fixture: "fixtures/codex-mcp-discovery-mismatch.md",
|
|
139
|
+
expectedKinds: ["codex_mcp_discovery_mismatch", "weak_evidence"]
|
|
140
|
+
},
|
|
129
141
|
{
|
|
130
142
|
id: "codex-plugin-runtime",
|
|
131
143
|
title: "Codex plugin runtime and bundled capability failure",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benchmark.js","sourceRoot":"","sources":["../../src/benchmark.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AA8B9C,MAAM,eAAe,GAA8B;IACjD;QACE,EAAE,EAAE,qBAAqB;QACzB,KAAK,EAAE,2BAA2B;QAClC,OAAO,EAAE,sBAAsB;QAC/B,aAAa,EAAE,EAAE;QACjB,YAAY,EAAE,IAAI;KACnB;IACD;QACE,EAAE,EAAE,iBAAiB;QACrB,KAAK,EAAE,yCAAyC;QAChD,OAAO,EAAE,wBAAwB;QACjC,aAAa,EAAE,CAAC,cAAc,EAAE,sBAAsB,EAAE,eAAe,EAAE,UAAU,EAAE,mBAAmB,CAAC;QACzG,eAAe,EAAE,IAAI;KACtB;IACD;QACE,EAAE,EAAE,aAAa;QACjB,KAAK,EAAE,4BAA4B;QACnC,OAAO,EAAE,8BAA8B;QACvC,aAAa,EAAE,CAAC,cAAc,EAAE,sBAAsB,EAAE,eAAe,CAAC;QACxE,eAAe,EAAE,IAAI;KACtB;IACD;QACE,EAAE,EAAE,sBAAsB;QAC1B,KAAK,EAAE,mCAAmC;QAC1C,OAAO,EAAE,kCAAkC;QAC3C,aAAa,EAAE,CAAC,sBAAsB,EAAE,oBAAoB,EAAE,eAAe,CAAC;KAC/E;IACD;QACE,EAAE,EAAE,oBAAoB;QACxB,KAAK,EAAE,kCAAkC;QACzC,OAAO,EAAE,gCAAgC;QACzC,aAAa,EAAE,CAAC,oBAAoB,EAAE,eAAe,CAAC;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AAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IACjB,CAAC;IAED,KAAK,CAAC,IAAI,CACR,EAAE,EACF,iBAAiB,EACjB,EAAE,EACF,SAAS,EACT,0BAA0B,EAC1B,wCAAwC,EACxC,KAAK,EACL,EAAE,CACH,CAAC;IAEF,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC;AAED,SAAS,UAAU,CACjB,UAAmC,EACnC,aAA4B,EAC5B,QAAgB,EAChB,gBAAwB;IAExB,IAAI,UAAU,CAAC,YAAY,IAAI,QAAQ,KAAK,CAAC,EAAE,CAAC;QAC9C,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,UAAU,CAAC,eAAe,IAAI,gBAAgB,KAAK,CAAC,EAAE,CAAC;QACzD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO,UAAU,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;AAChF,CAAC;AAED,SAAS,WAAW;IAClB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;AAC7E,CAAC"}
|
package/dist/src/demo.js
CHANGED
|
@@ -51,6 +51,18 @@ const DEMO_SCENARIOS = [
|
|
|
51
51
|
fixture: "fixtures/codex-connector-auth-cache.md",
|
|
52
52
|
description: "App connectors keep stale `link_*` auth or discovery metadata after reauth-required responses."
|
|
53
53
|
},
|
|
54
|
+
{
|
|
55
|
+
id: "mcp-discovery-mismatch",
|
|
56
|
+
title: "Codex MCP discovery mismatch",
|
|
57
|
+
fixture: "fixtures/codex-mcp-discovery-mismatch.md",
|
|
58
|
+
description: "MCP servers work in CLI or one config scope but are absent in Desktop, VS Code, WSL, or project-local sessions."
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
id: "terminal-output-integrity",
|
|
62
|
+
title: "Codex terminal output integrity",
|
|
63
|
+
fixture: "fixtures/codex-terminal-output-integrity.md",
|
|
64
|
+
description: "Terminal scrollback, streamed output, or transcript rendering drops, overwrites, truncates, or makes lines inaccessible."
|
|
65
|
+
},
|
|
54
66
|
{
|
|
55
67
|
id: "token-burn",
|
|
56
68
|
title: "Codex token burn",
|
|
@@ -136,6 +148,8 @@ export function renderDemoMarkdown(result) {
|
|
|
136
148
|
"trace-to-skill demo clipboard-attachment",
|
|
137
149
|
"trace-to-skill demo deeplink-launch",
|
|
138
150
|
"trace-to-skill demo connector-auth-cache",
|
|
151
|
+
"trace-to-skill demo mcp-discovery-mismatch",
|
|
152
|
+
"trace-to-skill demo terminal-output-integrity",
|
|
139
153
|
"trace-to-skill demo file-tree-ui",
|
|
140
154
|
"trace-to-skill demo usage-reset-drift",
|
|
141
155
|
"```",
|
|
@@ -162,6 +176,8 @@ export function renderDemoScenarioList(scenarios = listDemoScenarios()) {
|
|
|
162
176
|
"trace-to-skill demo clipboard-attachment",
|
|
163
177
|
"trace-to-skill demo deeplink-launch",
|
|
164
178
|
"trace-to-skill demo connector-auth-cache",
|
|
179
|
+
"trace-to-skill demo mcp-discovery-mismatch",
|
|
180
|
+
"trace-to-skill demo terminal-output-integrity",
|
|
165
181
|
"trace-to-skill demo --list",
|
|
166
182
|
"```",
|
|
167
183
|
""
|
package/dist/src/demo.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"demo.js","sourceRoot":"","sources":["../../src/demo.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAgBrD,MAAM,cAAc,GAAmB;IACrC;QACE,EAA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AI,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;AAC7E,CAAC"}
|
package/dist/src/rules.js
CHANGED
|
@@ -379,6 +379,51 @@ const RULES = [
|
|
|
379
379
|
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.",
|
|
380
380
|
suggestedSkill: "codex-remote-control-triage"
|
|
381
381
|
},
|
|
382
|
+
{
|
|
383
|
+
kind: "codex_terminal_output_integrity",
|
|
384
|
+
severity: "high",
|
|
385
|
+
title: "Codex terminal output or scrollback integrity failure",
|
|
386
|
+
why: "When Codex TUI or terminal rendering drops, overwrites, truncates, or makes transcript lines inaccessible, users lose the evidence needed to review work, copy results, and file reliable bug reports even if the underlying log still contains the data.",
|
|
387
|
+
patterns: [
|
|
388
|
+
/\b(scrollback|terminal history|pane history|transcript|previous output|earlier output)\b.{0,220}\b(missing|disappear(?:s|ed)?|inaccessible|cannot be accessed|cannot scroll|can't scroll|scroll up|snap(?:s)? back|returns? to the bottom|truncated|cut off|overwritten|duplicated|misaligned|visually corrupted)\b/i,
|
|
389
|
+
/\b(output|assistant output|assistant message|stream(?:ed|ing)? output|render(?:ed|ing)? output)\b.{0,220}\b(truncated|cut off|missing middle|missing lines?|complete lines? (?:are )?missing|disappear(?:s|ed)?|overwritten|duplicated|partially missing|swallowed|shifted|misaligned|visually corrupted)\b/i,
|
|
390
|
+
/\b(complete lines?|entire lines?|numbered stream lines?|S-\d{4})\b.{0,180}\b(missing|disappear(?:s|ed)?|not in scrollback|not in terminal history|missing_count|missing_examples)\b/i,
|
|
391
|
+
/\b(missing_count|missing_examples|capture_file|missing_file)\b.{0,180}\b(scrollback|tmux|pane history|terminal|S-\d{4}|line truncation)\b/i,
|
|
392
|
+
/\btmux_scrollback_repro\.sh\b|\bline_truncation_repro\.md\b|\bvt100_history\.rs\b/i,
|
|
393
|
+
/\bWindows Terminal\b.{0,220}\b(scrollback|scrolling|missing lines?|output|PowerShell|WSL|rendering|scroll issue|history)\b.{0,220}\b(disappear(?:s|ed)?|missing|truncated|overwritten|duplicated|cannot scroll|snap(?:s)? back|corrupted)\b/i,
|
|
394
|
+
/\b(PowerShell|WSL|Zellij|Ghostty|Alacritty|tmux|Windows Terminal|xterm|iTerm2|Terminal)\b.{0,220}\b(scrollback|scrolling|streaming output|terminal rendering|viewport)\b.{0,220}\b(disappear(?:s|ed)?|missing|truncated|overwritten|duplicated|snap(?:s)? back|corrupted|inaccessible)\b/i,
|
|
395
|
+
/\bwhile (?:the )?(?:assistant|response|reply|output) (?:is )?streaming\b.{0,260}\b(scroll(?:ed|ing)? up|mouse wheel|older visible lines|previous history|visible transcript)\b.{0,220}\b(overwrite|swallow|disappear|shift|cut|misalign)\b/i,
|
|
396
|
+
/\bscroll(?:ing)? up\b.{0,180}\b(snap(?:s)? back|always scroll down|returns? to the bottom|cannot read previous output|cannot copy the full response|viewport)\b/i,
|
|
397
|
+
/\btransaction\/log view\b.{0,180}\b(still present|contains|has the missing lines?)\b/i,
|
|
398
|
+
/\b\/resume\b.{0,160}\b(recover(?:s)? the history|restored UI|history|transcript)\b/i,
|
|
399
|
+
/\bCtrl\s*\+\s*T\b.{0,160}\b(transcript|stopped working|scroll up|approval)\b/i
|
|
400
|
+
],
|
|
401
|
+
suggestedRule: "When reporting Codex terminal output or scrollback integrity failures, capture Codex CLI/app/extension version, OS, shell, terminal emulator and version, remote/WSL/SSH/tmux/Zellij state, model, whether streaming was active, exact scroll action, whether the viewport snapped to bottom, first missing or duplicated line id, raw log/transcript/transaction evidence showing the line still exists, terminal capture such as tmux capture-pane or Windows Terminal screenshot/video, reproduction script or numbered-line harness output, control run without Codex-specific escape/history insertion, terminal dimensions and scrollback settings, whether /resume or transcript mode recovers the content, and whether downgrade or another terminal changes behavior.",
|
|
402
|
+
suggestedSkill: "codex-terminal-output-triage"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
kind: "codex_mcp_discovery_mismatch",
|
|
406
|
+
severity: "high",
|
|
407
|
+
title: "Codex MCP discovery or config-scope mismatch",
|
|
408
|
+
why: "MCP servers can work in Codex CLI or one config scope while Desktop, VS Code, WSL, remote, or project-local sessions silently load another scope and expose no tools.",
|
|
409
|
+
patterns: [
|
|
410
|
+
/\bMCP servers? not detected\b.{0,220}\b(VS Code|extension|IDE|Desktop|Codex App)\b.{0,220}\b(working|works|detected|listed|available)\b.{0,120}\b(Codex CLI|CLI|\/mcp)\b/i,
|
|
411
|
+
/\b(Codex CLI|CLI|\/mcp|codex mcp list)\b.{0,220}\b(working|works|detects?|lists?|shows?|can access)\b.{0,220}\b(VS Code|extension|IDE|Desktop|Codex App)\b.{0,220}\b(no MCP|empty|not detected|missing|unknown MCP server|not exposed|not wired)\b/i,
|
|
412
|
+
/\b(VS Code|extension|IDE|Desktop|Codex App)\b.{0,220}\b(no MCP|list_mcp_resources remains empty|list_mcp_resource_templates.*empty|unknown MCP server|not detected|missing|not exposed|not registered)\b.{0,220}\b(Codex CLI|CLI|\/mcp|codex mcp list)\b.{0,220}\b(works|working|detects?|lists?|shows?)\b/i,
|
|
413
|
+
/\bproject[- ](?:scoped|level|local)\b.{0,160}\b\.codex\/config\.toml\b.{0,220}\b(ignored|not loaded|does not load|not picked up|does not pick up|absent|missing|unavailable)\b/i,
|
|
414
|
+
/\b\.codex\/config\.toml\b.{0,220}\b(project[- ](?:scoped|level|local)|trusted project|workspace)\b.{0,220}\b(ignored|not loaded|does not load|not picked up|does not pick up|absent|missing|unavailable)\b/i,
|
|
415
|
+
/\b(codex mcp get|codex mcp list)\b.{0,180}\b(No MCP server named|only shows servers from|does not show|absent|missing)\b.{0,180}\b(~\/\.codex\/config\.toml|\.codex\/config\.toml|project[- ](?:scoped|level|local)|global|user[- ]level)\b/i,
|
|
416
|
+
/\b(user[- ]level|global|~\/\.codex\/config\.toml)\b.{0,180}\b(works|detected|loads?)\b.{0,180}\b(project[- ](?:scoped|level|local)|\.codex\/config\.toml)\b.{0,180}\b(does not|doesn't|not|ignored|missing|unavailable)\b/i,
|
|
417
|
+
/\bmove(?:d)?\b.{0,160}\b(MCP server|same MCP|definition|config)\b.{0,120}\b(to|into)\b.{0,80}\b~\/\.codex\/config\.toml\b.{0,160}\b(works|detected|registered|fixes?|loads?)\b/i,
|
|
418
|
+
/\bCODEX_HOME\b.{0,220}\b(differs|different|not inherited|not set|VS Code|Desktop|WSL|remote|SSH|workspace|repo local)\b/i,
|
|
419
|
+
/\bWSL\b.{0,220}\b(config\.toml|CODEX_HOME|Windows-hosted|Windows `?config\.toml`?|\/home\/[^/\s]+\/\.codex\/config\.toml)\b.{0,220}\b(opens?|references?|uses?|points? to)\b.{0,120}\b(Windows|wrong|C:\\\\Users|not WSL)\b/i,
|
|
420
|
+
/\bOpen config\.toml in WSL environment\b.{0,220}\b(Windows|wrong config|C:\\\\Users|not WSL|still opens)\b/i,
|
|
421
|
+
/\b\.vscode[\\\/]mcp\.json\b.{0,220}\b(Codex|extension|IDE)\b.{0,220}\b(not supported|stopped recognizing|not detected|never supported|ignored)\b/i,
|
|
422
|
+
/\b(mcp__[-A-Za-z0-9_]+|mcp__\*)\b.{0,180}\b(not exposed|not wired|current session|old conversation|new conversation|curated namespaces only|missing)\b/i
|
|
423
|
+
],
|
|
424
|
+
suggestedRule: "When reporting Codex MCP discovery or config-scope mismatches, capture app/CLI/extension version, OS, IDE, remote/WSL/SSH state, workspace root, effective CODEX_HOME, all config files considered (`~/.codex/config.toml`, project `.codex/config.toml`, `.vscode/mcp.json`, `.mcp.json`), exact MCP sections without secrets, trust/profile/default-permissions state, `codex mcp list` and `codex mcp get <server>`, CLI versus Desktop/VS Code comparison, loaded config path or extension logs, whether moving the same server to user-global config fixes it, whether reload/restart/new conversation changes tool exposure, and whether the current session exposes any `mcp__*` tools.",
|
|
425
|
+
suggestedSkill: "codex-mcp-discovery-triage"
|
|
426
|
+
},
|
|
382
427
|
{
|
|
383
428
|
kind: "codex_mcp_runtime",
|
|
384
429
|
severity: "high",
|
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;YACR,mGAAmG;SACpG;QACD,aAAa,EACX,gHAAgH;KACnH;IACD;QACE,IAAI,EAAE,cAAc;QACpB,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,mBAAmB;QAC1B,GAAG,EAAE,2FAA2F;QAChG,QAAQ,EAAE;YACR,0FAA0F;YAC1F,yDAAyD;SAC1D;QACD,aAAa,EACX,8IAA8I;KACjJ;IACD;QACE,IAAI,EAAE,mBAAmB;QACzB,QAAQ,EAAE,QAAQ;QAClB,KAAK,EAAE,kCAAkC;QACzC,GAAG,EAAE,8HAA8H;QACnI,QAAQ,EAAE;YACR,yGAAyG;SAC1G;QACD,aAAa,EACX,2IAA2I;KAC9I;IACD;QACE,IAAI,EAAE,qBAAqB;QAC3B,QAAQ,EAAE,QAAQ;QAClB,KAAK,EAAE,6CAA6C;QACpD,GAAG,EAAE,sHAAsH;QAC3H,QAAQ,EAAE;YACR,qGAAqG;YACrG,uCAAuC;SACxC;QACD,aAAa,EACX,kJAAkJ;KACrJ;IACD;QACE,IAAI,EAAE,gBAAgB;QACtB,QAAQ,EA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5D,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" | "sensitive_file_access" | "hidden_unicode" | "prompt_injection" | "codex_remote_compact" | "context_compaction" | "codex_latest_turn_drift" | "codex_latency_regression" | "codex_thinking_hang" | "codex_clipboard_attachment" | "codex_deeplink_launch" | "codex_connector_auth_cache" | "codex_approval_friction" | "sandbox_permission" | "codex_windows_helper_path" | "codex_connectivity" | "codex_remote_control" | "codex_mcp_runtime" | "codex_plugin_runtime" | "codex_file_tree_ui" | "codex_session_state" | "codex_token_burn" | "codex_resource_leak" | "codex_tool_call_integrity" | "codex_usage_reset_drift" | "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" | "codex_remote_compact" | "context_compaction" | "codex_latest_turn_drift" | "codex_latency_regression" | "codex_thinking_hang" | "codex_clipboard_attachment" | "codex_deeplink_launch" | "codex_connector_auth_cache" | "codex_approval_friction" | "sandbox_permission" | "codex_windows_helper_path" | "codex_connectivity" | "codex_remote_control" | "codex_terminal_output_integrity" | "codex_mcp_discovery_mismatch" | "codex_mcp_runtime" | "codex_plugin_runtime" | "codex_file_tree_ui" | "codex_session_state" | "codex_token_burn" | "codex_resource_leak" | "codex_tool_call_integrity" | "codex_usage_reset_drift" | "quota_mismatch" | "mcp_risk" | "weak_evidence";
|
|
3
3
|
export interface TraceInput {
|
|
4
4
|
path: string;
|
|
5
5
|
content: string;
|
package/docs/BENCHMARK.md
CHANGED
|
@@ -22,10 +22,12 @@ This benchmark runs the public fixture pack that ships with the repository and p
|
|
|
22
22
|
| Codex Windows helper and bundled tool path failure | `fixtures/codex-windows-helper-path.md` | 43 | 4 | 0 | `codex_plugin_runtime`, `codex_windows_helper_path`, `sandbox_permission`, `weak_evidence` | pass |
|
|
23
23
|
| Codex auth and connectivity failure | `fixtures/codex-connectivity.md` | 75 | 2 | 0 | `codex_connectivity`, `weak_evidence` | pass |
|
|
24
24
|
| Codex remote-control route health failure | `fixtures/codex-remote-control.md` | 75 | 2 | 0 | `codex_remote_control`, `weak_evidence` | pass |
|
|
25
|
+
| Codex terminal output and scrollback integrity failure | `fixtures/codex-terminal-output-integrity.md` | 75 | 2 | 0 | `codex_terminal_output_integrity`, `weak_evidence` | pass |
|
|
25
26
|
| Codex quota mismatch | `fixtures/quota-mismatch.md` | 59 | 3 | 0 | `codex_usage_reset_drift`, `quota_mismatch`, `weak_evidence` | pass |
|
|
26
27
|
| MCP config with secret exposure | `fixtures/mcp-risk.json` | 59 | 2 | 1 | `mcp_risk`, `secret_exposure` | pass |
|
|
27
28
|
| Sensitive file access in agent context | `fixtures/sensitive-file-access.md` | 75 | 2 | 0 | `sensitive_file_access`, `weak_evidence` | pass |
|
|
28
29
|
| Codex MCP runtime failure | `fixtures/codex-mcp-runtime.md` | 75 | 2 | 0 | `codex_mcp_runtime`, `weak_evidence` | pass |
|
|
30
|
+
| Codex MCP discovery and config-scope mismatch | `fixtures/codex-mcp-discovery-mismatch.md` | 75 | 2 | 0 | `codex_mcp_discovery_mismatch`, `weak_evidence` | pass |
|
|
29
31
|
| Codex plugin runtime and bundled capability failure | `fixtures/codex-plugin-runtime.md` | 59 | 3 | 0 | `codex_plugin_runtime`, `codex_windows_helper_path`, `weak_evidence` | pass |
|
|
30
32
|
| Codex file tree and workspace navigation UI failure | `fixtures/codex-file-tree-ui.md` | 75 | 2 | 0 | `codex_file_tree_ui`, `weak_evidence` | pass |
|
|
31
33
|
| Codex session resume and state failure | `fixtures/codex-session-state.md` | 59 | 3 | 0 | `codex_resource_leak`, `codex_session_state`, `weak_evidence` | pass |
|
package/docs/CODEX_ISSUE_MAP.md
CHANGED
|
@@ -30,6 +30,8 @@ npx trace-to-skill diagnostics-bundle ~/.codex --output codex-diagnostics
|
|
|
30
30
|
| Clipboard, paste, and generated attachment regressions | `Copy as Markdown` missing, Copy menu only exports metadata, long pasted prompts become `Pasted text.txt`, generated attachments cannot preview/edit/revert, `/goal` ignores non-empty fileAttachments | `codex_clipboard_attachment` | `trace-to-skill codex-report ./runs` or `trace-to-skill demo clipboard-attachment` |
|
|
31
31
|
| Deeplink, OAuth callback, and external launch regressions | `codex://oauth_callback?code=...` fails, `Unable to find Electron app`, `app\oauth_callback?code=...`, notification `type=click&tag=...` becomes an app path, AppX/MSIX protocol evidence, `codex app .` only focuses | `codex_deeplink_launch` | `trace-to-skill codex-report ./runs` or `trace-to-skill demo deeplink-launch` |
|
|
32
32
|
| App connector auth cache and stale link regressions | `401 Reauthentication required`, `refresh token was revoked`, stale `link_*`, `isAccessible: false`, `codex_apps_tools` or `codex_app_directory` cache regeneration keeps broken connector state | `codex_connector_auth_cache` | `trace-to-skill codex-report ./runs` or `trace-to-skill demo connector-auth-cache` |
|
|
33
|
+
| MCP discovery and config-scope mismatches | CLI `/mcp` works but VS Code/Desktop has no `mcp__*` tools, project `.codex/config.toml` ignored, `codex mcp get` says `No MCP server named`, WSL opens Windows `config.toml`, `CODEX_HOME` differs | `codex_mcp_discovery_mismatch` | `trace-to-skill codex-report ./runs` or `trace-to-skill demo mcp-discovery-mismatch` |
|
|
34
|
+
| Terminal output and scrollback integrity failures | scrollback lines disappear, streaming output overwrites older visible transcript, complete numbered lines are missing, `missing_count`, `tmux_scrollback_repro.sh`, viewport snaps to bottom, transcript mode cannot recover output | `codex_terminal_output_integrity` | `trace-to-skill codex-report ./runs` or `trace-to-skill demo terminal-output-integrity` |
|
|
33
35
|
| Approval persistence and MCP approval friction | `Approve for this session` is not remembered, command approval cache misses, repeated file-change approvals, `approval_policy = "never"` still prompts for MCP tools, per-tool approval configs explode | `codex_approval_friction` | `trace-to-skill codex-report ./runs` |
|
|
34
36
|
| Config and Preferences drift | legacy `profile` / `[profiles.*]`, `configVersionConflict`, Preferences `Unable to save`, stale model pin, missing `default_permissions` profile, enabled plugin cache missing, Windows elevated sandbox mode | `sandbox_permission`, `codex_plugin_runtime`, `codex_approval_friction` | `trace-to-skill config-audit ~/.codex --format json` |
|
|
35
37
|
| Bundled plugin cache and marketplace drift | Computer Use unavailable, Browser/Chrome plugin unavailable, generated runtime marketplace omits bundled plugins, missing `.mcp.json` or `plugin.json`, helper app not installed, `CODEX_HOME` points at another runtime | `codex_plugin_runtime`, `codex_mcp_runtime` | `trace-to-skill plugin-audit ~/.codex --app /Applications/Codex.app --format json` |
|
|
@@ -66,6 +68,8 @@ npx trace-to-skill diagnostics-bundle ~/.codex --output codex-diagnostics
|
|
|
66
68
|
- Include exact Copy menu items, paste source size, generated attachment name/path/size, visible editor text, `pasted-text-attachments.json` or fileAttachments metadata, `/goal` or submit path, preview/edit/revert actions, and clipboard payload format for clipboard/attachment regressions.
|
|
67
69
|
- Include exact redacted `codex://` URI shape, connector/plugin, browser, error dialog text, app running state, AppX/MSIX protocol registration evidence such as AppUserModelID and DelegateExecute, HKCU/HKCR `codex` keys, command-line arguments, `Start-Process "codex://test"` repro, and repair/reinstall/re-register attempts for deeplink/OAuth launch regressions.
|
|
68
70
|
- Include connector/plugin name and id, installed plugin root, exact Codex Apps tool name, 401/reauth text, `link_*` id before and after reconnect/cache regeneration, `isAccessible` state, redacted `codex_apps_tools`/`codex_app_directory` metadata, ChatGPT app page state, and external MCP workaround result for connector auth-cache regressions.
|
|
71
|
+
- Include effective `CODEX_HOME`, config files considered, redacted MCP sections, trust/profile/default-permissions state, `codex mcp list/get`, CLI-versus-Desktop/VS Code comparison, loaded config path/log lines, WSL/remote/SSH state, and restart/reload/new-conversation results for MCP discovery mismatches.
|
|
72
|
+
- Include terminal emulator/version, shell, WSL/SSH/tmux/Zellij state, streaming state, exact scroll action, viewport snap behavior, first missing or duplicated line id, raw log/transcript proof, terminal capture, numbered-line harness/control output, terminal dimensions/scrollback settings, and `/resume` or transcript recovery behavior for terminal-output integrity reports.
|
|
69
73
|
- Include selected approval scope, displayed vs executed command, MCP server/tool names, visible args, repeated prompt count, and config snippets for approval-friction reports.
|
|
70
74
|
- Include `config-audit` output for Preferences/config, sandbox, model-pin, MCP approval, and plugin-cache reports.
|
|
71
75
|
- Include `plugin-audit` output, plugin name/version, cache path, helper path, manifest path, runtime marketplace, app-bundle marketplace, native pipe env vars, settings/plugin-list errors, and restart behavior for plugin runtime failures.
|
|
@@ -86,6 +90,8 @@ npx trace-to-skill diagnostics-bundle ~/.codex --output codex-diagnostics
|
|
|
86
90
|
- 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
|
|
87
91
|
- Deeplink, OAuth callback, and external launch regressions: https://github.com/openai/codex/issues/25203, https://github.com/openai/codex/issues/25231, https://github.com/openai/codex/issues/25368, https://github.com/openai/codex/issues/25333
|
|
88
92
|
- App connector auth cache and stale link regressions: https://github.com/openai/codex/issues/24675, https://github.com/openai/codex/issues/25443
|
|
93
|
+
- MCP discovery and config-scope mismatches: https://github.com/openai/codex/issues/6465, https://github.com/openai/codex/issues/13025, https://github.com/openai/codex/issues/13549
|
|
94
|
+
- Terminal output and scrollback integrity failures: https://github.com/openai/codex/issues/15380, https://github.com/openai/codex/issues/24849, https://github.com/openai/codex/issues/10726
|
|
89
95
|
- 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
|
|
90
96
|
- 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
|
|
91
97
|
- 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
|
package/docs/DEMO.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# trace-to-skill Demo
|
|
2
2
|
|
|
3
|
-
Scenario: **Codex
|
|
3
|
+
Scenario: **Codex terminal output integrity**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Terminal scrollback, streamed output, or transcript rendering drops, overwrites, truncates, or makes lines inaccessible.
|
|
6
6
|
|
|
7
|
-
Fixture: `fixtures/codex-
|
|
7
|
+
Fixture: `fixtures/codex-terminal-output-integrity.md`
|
|
8
8
|
|
|
9
9
|
This is a packaged public fixture, so you can try the project without collecting a private trace first.
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ This is a packaged public fixture, so you can try the project without collecting
|
|
|
14
14
|
|
|
15
15
|
Score: **75/100**
|
|
16
16
|
|
|
17
|
-
Likely failure class: **Codex
|
|
17
|
+
Likely failure class: **Codex terminal output or scrollback integrity failure (codex_terminal_output_integrity, high)**
|
|
18
18
|
|
|
19
19
|
Agent workflow needs clearer verification, instruction, or security hardening before broad reuse.
|
|
20
20
|
|
|
@@ -23,25 +23,25 @@ Agent workflow needs clearer verification, instruction, or security hardening be
|
|
|
23
23
|
```md
|
|
24
24
|
### What happened?
|
|
25
25
|
|
|
26
|
-
trace-to-skill detected Codex
|
|
26
|
+
trace-to-skill detected Codex terminal output or scrollback integrity failure (codex_terminal_output_integrity). When Codex TUI or terminal rendering drops, overwrites, truncates, or makes transcript lines inaccessible, users lose the evidence needed to review work, copy results, and file reliable bug reports even if the underlying log still contains the data.
|
|
27
27
|
|
|
28
28
|
### Detected failure class
|
|
29
29
|
|
|
30
|
-
-
|
|
30
|
+
- codex_terminal_output_integrity: Codex terminal output or scrollback integrity failure (high)
|
|
31
31
|
|
|
32
32
|
### Evidence
|
|
33
33
|
|
|
34
|
-
#### Codex
|
|
35
|
-
- fixtures/codex-
|
|
36
|
-
- fixtures/codex-
|
|
37
|
-
- fixtures/codex-
|
|
38
|
-
- fixtures/codex-
|
|
39
|
-
- fixtures/codex-
|
|
40
|
-
- fixtures/codex-
|
|
34
|
+
#### Codex terminal output or scrollback integrity failure
|
|
35
|
+
- fixtures/codex-terminal-output-integrity.md:3 - This fixture uses public, token-free examples of Codex terminal output, scrollback, or transcript rendering losing evidence even when logs or transaction views still contain the missing lines.
|
|
36
|
+
- fixtures/codex-terminal-output-integrity.md:16 - Scrollback does not work correctly; older output disappears or cannot be accessed.
|
|
37
|
+
- fixtures/codex-terminal-output-integrity.md:17 - Output is sometimes overwritten or re-rendered incorrectly.
|
|
38
|
+
- fixtures/codex-terminal-output-integrity.md:19 - Scrolling during streaming output can cause content to be cut or misaligned.
|
|
39
|
+
- fixtures/codex-terminal-output-integrity.md:46 - ./repro/tmux_scrollback_repro.sh
|
|
40
|
+
- fixtures/codex-terminal-output-integrity.md:57 - ./repro/tmux_scrollback_repro.sh --plain
|
|
41
41
|
|
|
42
42
|
### Diagnostics to attach
|
|
43
43
|
|
|
44
|
-
- When reporting Codex
|
|
44
|
+
- When reporting Codex terminal output or scrollback integrity failures, capture Codex CLI/app/extension version, OS, shell, terminal emulator and version, remote/WSL/SSH/tmux/Zellij state, model, whether streaming was active, exact scroll action, whether the viewport snapped to bottom, first missing or duplicated line id, raw log/transcript/transaction evidence showing the line still exists, terminal capture such as tmux capture-pane or Windows Terminal screenshot/video, reproduction script or numbered-line harness output, control run without Codex-specific escape/history insertion, terminal dimensions and scrollback settings, whether /resume or transcript mode recovers the content, and whether downgrade or another terminal changes behavior.
|
|
45
45
|
|
|
46
46
|
### Privacy
|
|
47
47
|
|
|
@@ -50,25 +50,25 @@ trace-to-skill detected Codex app connector auth cache or stale link regression
|
|
|
50
50
|
|
|
51
51
|
## Findings
|
|
52
52
|
|
|
53
|
-
### 1. Codex
|
|
53
|
+
### 1. Codex terminal output or scrollback integrity failure
|
|
54
54
|
|
|
55
55
|
Severity: **high**
|
|
56
56
|
|
|
57
|
-
Codex
|
|
57
|
+
When Codex TUI or terminal rendering drops, overwrites, truncates, or makes transcript lines inaccessible, users lose the evidence needed to review work, copy results, and file reliable bug reports even if the underlying log still contains the data.
|
|
58
58
|
|
|
59
59
|
Evidence:
|
|
60
|
-
- `fixtures/codex-
|
|
61
|
-
- `fixtures/codex-
|
|
62
|
-
- `fixtures/codex-
|
|
63
|
-
- `fixtures/codex-
|
|
64
|
-
- `fixtures/codex-
|
|
65
|
-
- `fixtures/codex-
|
|
66
|
-
- `fixtures/codex-
|
|
67
|
-
- `fixtures/codex-
|
|
60
|
+
- `fixtures/codex-terminal-output-integrity.md:3` This fixture uses public, token-free examples of Codex terminal output, scrollback, or transcript rendering losing evidence even when logs or transaction views still contain the missing lines.
|
|
61
|
+
- `fixtures/codex-terminal-output-integrity.md:16` Scrollback does not work correctly; older output disappears or cannot be accessed.
|
|
62
|
+
- `fixtures/codex-terminal-output-integrity.md:17` Output is sometimes overwritten or re-rendered incorrectly.
|
|
63
|
+
- `fixtures/codex-terminal-output-integrity.md:19` Scrolling during streaming output can cause content to be cut or misaligned.
|
|
64
|
+
- `fixtures/codex-terminal-output-integrity.md:46` ./repro/tmux_scrollback_repro.sh
|
|
65
|
+
- `fixtures/codex-terminal-output-integrity.md:57` ./repro/tmux_scrollback_repro.sh --plain
|
|
66
|
+
- `fixtures/codex-terminal-output-integrity.md:64` repro/tmux_scrollback_repro.sh
|
|
67
|
+
- `fixtures/codex-terminal-output-integrity.md:65` repro/line_truncation_repro.md
|
|
68
68
|
|
|
69
69
|
Suggested rule:
|
|
70
70
|
|
|
71
|
-
> When reporting Codex
|
|
71
|
+
> When reporting Codex terminal output or scrollback integrity failures, capture Codex CLI/app/extension version, OS, shell, terminal emulator and version, remote/WSL/SSH/tmux/Zellij state, model, whether streaming was active, exact scroll action, whether the viewport snapped to bottom, first missing or duplicated line id, raw log/transcript/transaction evidence showing the line still exists, terminal capture such as tmux capture-pane or Windows Terminal screenshot/video, reproduction script or numbered-line harness output, control run without Codex-specific escape/history insertion, terminal dimensions and scrollback settings, whether /resume or transcript mode recovers the content, and whether downgrade or another terminal changes behavior.
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
## Reporter Notes
|
|
@@ -88,6 +88,8 @@ Suggested rule:
|
|
|
88
88
|
- `thinking-hang`: A turn or tool call completes, but the session stays on Thinking or Working with no streamed follow-up.
|
|
89
89
|
- `clipboard-attachment`: Copy as Markdown, long-paste conversion, or generated Pasted text.txt attachments break prompt and report workflows.
|
|
90
90
|
- `deeplink-launch`: OAuth callbacks, notification clicks, mobile links, or `codex app <path>` external activation fail to route into Codex.
|
|
91
|
+
- `connector-auth-cache`: App connectors keep stale `link_*` auth or discovery metadata after reauth-required responses.
|
|
92
|
+
- `mcp-discovery-mismatch`: MCP servers work in CLI or one config scope but are absent in Desktop, VS Code, WSL, or project-local sessions.
|
|
91
93
|
- `token-burn`: Usage drains from background polling, idle activity, compaction loops, retries, or cached-heavy turns.
|
|
92
94
|
- `patch-overwrite`: `apply_patch` accepts `*** Add File` for an existing path, turning a create operation into a silent overwrite.
|
|
93
95
|
- `sensitive-files`: Secrets, local credentials, production env files, or private databases enter agent context.
|
|
@@ -104,6 +106,8 @@ trace-to-skill demo thinking-hang
|
|
|
104
106
|
trace-to-skill demo clipboard-attachment
|
|
105
107
|
trace-to-skill demo deeplink-launch
|
|
106
108
|
trace-to-skill demo connector-auth-cache
|
|
109
|
+
trace-to-skill demo mcp-discovery-mismatch
|
|
110
|
+
trace-to-skill demo terminal-output-integrity
|
|
107
111
|
trace-to-skill demo file-tree-ui
|
|
108
112
|
trace-to-skill demo usage-reset-drift
|
|
109
113
|
```
|
package/docs/DISCOVERY.md
CHANGED
|
@@ -27,6 +27,8 @@ This page is written for maintainers, search engines, package indexes, and AI re
|
|
|
27
27
|
- 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`.
|
|
28
28
|
- 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.
|
|
29
29
|
- 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.
|
|
30
|
+
- Codex MCP servers work in CLI or one config scope but are absent in VS Code, Desktop, WSL, remote, project-local, or older-conversation sessions because the effective config path, `CODEX_HOME`, trust/profile state, or tool exposure differs.
|
|
31
|
+
- Codex terminal output or scrollback becomes unreliable because streamed lines disappear, get overwritten, truncate, duplicate, misalign, snap to the bottom, or only survive in logs/transcripts.
|
|
30
32
|
- 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.
|
|
31
33
|
- Codex config drift makes Preferences unable to save, keeps legacy `profile` / `[profiles.*]` config after migration, pins an unavailable model, points `default_permissions` at a missing profile, enables Windows elevated sandbox mode, or references plugin cache entries that are missing on disk.
|
|
32
34
|
- 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`.
|
|
@@ -67,6 +69,8 @@ npx trace-to-skill demo thinking-hang
|
|
|
67
69
|
npx trace-to-skill demo clipboard-attachment
|
|
68
70
|
npx trace-to-skill demo deeplink-launch
|
|
69
71
|
npx trace-to-skill demo connector-auth-cache
|
|
72
|
+
npx trace-to-skill demo mcp-discovery-mismatch
|
|
73
|
+
npx trace-to-skill demo terminal-output-integrity
|
|
70
74
|
npx trace-to-skill scorecard .
|
|
71
75
|
npx trace-to-skill lint-agents .
|
|
72
76
|
npx trace-to-skill guard-github-event "$GITHUB_EVENT_PATH"
|
|
@@ -118,7 +122,7 @@ npx trace-to-skill suggest ./runs --target agents-md
|
|
|
118
122
|
|
|
119
123
|
## Related Keywords
|
|
120
124
|
|
|
121
|
-
Codex, OpenAI Codex, Codex issue report, OpenAI triage, Codex diagnostics bundle, privacy-preserving support bundle, 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 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 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, close_agent, 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.
|
|
125
|
+
Codex, OpenAI Codex, Codex issue report, OpenAI triage, Codex diagnostics bundle, privacy-preserving support bundle, 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 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 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, close_agent, 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.
|
|
122
126
|
|
|
123
127
|
## Non-Goals
|
|
124
128
|
|
package/docs/FAILURE_TAXONOMY.md
CHANGED
|
@@ -96,6 +96,14 @@ Common signals include `Waiting for desktop`, `Directory: Unavailable`, `remote-
|
|
|
96
96
|
|
|
97
97
|
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.
|
|
98
98
|
|
|
99
|
+
## Codex Terminal Output Integrity
|
|
100
|
+
|
|
101
|
+
Codex terminal output, streamed assistant text, or scrollback can become untrustworthy when visible lines disappear, get overwritten, truncate mid-stream, duplicate, misalign, or become inaccessible even though raw logs, transaction views, or transcripts still contain the missing content.
|
|
102
|
+
|
|
103
|
+
Common signals include Windows Terminal scrollback losing older output, PowerShell/WSL/tmux/Zellij/Ghostty rendering differences, `missing_count`, `missing_examples`, `S-0391`, `tmux_scrollback_repro.sh`, `line_truncation_repro.md`, `vt100_history.rs`, scrolling during streaming output cutting content, approval/planner scrollback snapping back to the bottom, and Ctrl+T transcript mode failing to recover previous output.
|
|
104
|
+
|
|
105
|
+
The fix is to capture Codex CLI/app/extension version, OS, shell, terminal emulator and version, WSL/SSH/tmux/Zellij state, model, whether streaming was active, exact scroll action, viewport snap behavior, first missing or duplicated line id, raw log/transcript/transaction evidence showing the line still exists, terminal capture such as `tmux capture-pane` or a screenshot/video, numbered-line harness output, control run without Codex-specific rendering, terminal dimensions and scrollback settings, `/resume` or transcript recovery behavior, and whether downgrade or another terminal changes the result.
|
|
106
|
+
|
|
99
107
|
## Codex MCP Runtime
|
|
100
108
|
|
|
101
109
|
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.
|
|
@@ -104,6 +112,14 @@ Common signals include `user cancelled MCP tool call`, `request_user_input is no
|
|
|
104
112
|
|
|
105
113
|
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.
|
|
106
114
|
|
|
115
|
+
## Codex MCP Discovery Mismatch
|
|
116
|
+
|
|
117
|
+
Codex MCP servers can work in CLI or one config scope but disappear in another surface before any tool call is possible. This is different from runtime failure: the user may have no `mcp__*` tools exposed in VS Code, Desktop, WSL, a remote session, project-local `.codex/config.toml`, or an older conversation even though CLI `/mcp` works.
|
|
118
|
+
|
|
119
|
+
Common signals include `MCP servers not detected in Codex VS Code extension (but working in Codex CLI)`, `list_mcp_resources remains empty`, `unknown MCP server`, project `.codex/config.toml` ignored while `~/.codex/config.toml` works, `codex mcp get <server>` returning `No MCP server named`, WSL opening a Windows-hosted `config.toml`, `CODEX_HOME` mismatch, `.vscode/mcp.json` confusion, curated namespaces only, or a new conversation seeing tools while the previous conversation does not.
|
|
120
|
+
|
|
121
|
+
The fix is to capture app/CLI/extension version, OS, IDE, remote/WSL/SSH state, workspace root, effective `CODEX_HOME`, config files considered, redacted MCP sections, trust/profile/default-permissions state, `codex mcp list`, `codex mcp get <server>`, CLI-versus-Desktop/VS Code comparison, loaded config path or extension logs, whether moving the same server to user-global config fixes it, and restart/reload/new-conversation behavior.
|
|
122
|
+
|
|
107
123
|
## Codex Plugin Runtime
|
|
108
124
|
|
|
109
125
|
Codex Desktop can show a plugin, connector, Browser, Computer Use, or bundled skill as available while the shared plugin runtime is not actually usable. Common causes include missing native pipe/helper metadata, plugin-list schema drift, stale plugin cache reconciliation, file-lock issues, or installed plugins being silently downgraded.
|
package/docs/OPENAI_OSS_BRIEF.md
CHANGED
|
@@ -3,18 +3,18 @@
|
|
|
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.65 |
|
|
7
7
|
| License | Apache-2.0 |
|
|
8
8
|
| Codex readiness | ready (100/100) |
|
|
9
|
-
| Benchmark | pass,
|
|
9
|
+
| Benchmark | pass, 32 cases |
|
|
10
10
|
|
|
11
11
|
## Why This Repository Qualifies
|
|
12
12
|
|
|
13
|
-
trace-to-skill helps open-source maintainers adopt Codex safely by turning failed coding-agent runs into evidence-backed rules, reusable workflows, and CI gates. It supports real maintenance work: PR review, issue triage, release quality, MCP risk, prompt-injection defense, privacy-preserving trace sharing, and repeat failure reduction. The repository is ready, scores 100/100 on the local Codex readiness doctor, and ships a deterministic benchmark with
|
|
13
|
+
trace-to-skill helps open-source maintainers adopt Codex safely by turning failed coding-agent runs into evidence-backed rules, reusable workflows, and CI gates. It supports real maintenance work: PR review, issue triage, release quality, MCP risk, prompt-injection defense, privacy-preserving trace sharing, and repeat failure reduction. The repository is ready, scores 100/100 on the local Codex readiness doctor, and ships a deterministic benchmark with 32 public fixture cases.
|
|
14
14
|
|
|
15
15
|
### 500-Character Version
|
|
16
16
|
|
|
17
|
-
> trace-to-skill helps open-source maintainers adopt Codex safely by turning failed coding-agent runs into evidence-backed rules, reusable workflows, and CI gates. It supports real maintenance work: PR review, issue triage, release quality, MCP risk, prompt-injection defense, privacy-preserving trace sharing, and repeat failure reduction. The repository is ready, scores 100/100 on the local Codex readiness doctor, and ships a deterministic benchmark with
|
|
17
|
+
> trace-to-skill helps open-source maintainers adopt Codex safely by turning failed coding-agent runs into evidence-backed rules, reusable workflows, and CI gates. It supports real maintenance work: PR review, issue triage, release quality, MCP risk, prompt-injection defense, privacy-preserving trace sharing, and repeat failure reduction. The repository is ready, scores 100/100 on the local Codex readiness doctor, and ships a deterministic benchmark with 32 public fixture cases.
|
|
18
18
|
|
|
19
19
|
## How API Credits Would Be Used
|
|
20
20
|
|
|
@@ -27,10 +27,10 @@ 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.65
|
|
31
31
|
- Open-source license: Apache-2.0
|
|
32
32
|
- Codex readiness doctor: ready, 100/100, 0 failed checks.
|
|
33
|
-
- Public fixture benchmark: pass,
|
|
33
|
+
- Public fixture benchmark: pass, 32 cases.
|
|
34
34
|
- Maintainer control: generated rules are suggestions, evidence is line-linked, and secrets can be redacted before sharing.
|
|
35
35
|
|
|
36
36
|
## Next Steps Before Submitting
|
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 | 32 |
|
|
13
13
|
|
|
14
14
|
## Doctor Summary
|
|
15
15
|
|
|
@@ -39,10 +39,12 @@ This benchmark runs the public fixture pack that ships with the repository and p
|
|
|
39
39
|
| Codex Windows helper and bundled tool path failure | `fixtures/codex-windows-helper-path.md` | 43 | 4 | 0 | `codex_plugin_runtime`, `codex_windows_helper_path`, `sandbox_permission`, `weak_evidence` | pass |
|
|
40
40
|
| Codex auth and connectivity failure | `fixtures/codex-connectivity.md` | 75 | 2 | 0 | `codex_connectivity`, `weak_evidence` | pass |
|
|
41
41
|
| Codex remote-control route health failure | `fixtures/codex-remote-control.md` | 75 | 2 | 0 | `codex_remote_control`, `weak_evidence` | pass |
|
|
42
|
+
| Codex terminal output and scrollback integrity failure | `fixtures/codex-terminal-output-integrity.md` | 75 | 2 | 0 | `codex_terminal_output_integrity`, `weak_evidence` | pass |
|
|
42
43
|
| Codex quota mismatch | `fixtures/quota-mismatch.md` | 59 | 3 | 0 | `codex_usage_reset_drift`, `quota_mismatch`, `weak_evidence` | pass |
|
|
43
44
|
| MCP config with secret exposure | `fixtures/mcp-risk.json` | 59 | 2 | 1 | `mcp_risk`, `secret_exposure` | pass |
|
|
44
45
|
| Sensitive file access in agent context | `fixtures/sensitive-file-access.md` | 75 | 2 | 0 | `sensitive_file_access`, `weak_evidence` | pass |
|
|
45
46
|
| Codex MCP runtime failure | `fixtures/codex-mcp-runtime.md` | 75 | 2 | 0 | `codex_mcp_runtime`, `weak_evidence` | pass |
|
|
47
|
+
| Codex MCP discovery and config-scope mismatch | `fixtures/codex-mcp-discovery-mismatch.md` | 75 | 2 | 0 | `codex_mcp_discovery_mismatch`, `weak_evidence` | pass |
|
|
46
48
|
| Codex plugin runtime and bundled capability failure | `fixtures/codex-plugin-runtime.md` | 59 | 3 | 0 | `codex_plugin_runtime`, `codex_windows_helper_path`, `weak_evidence` | pass |
|
|
47
49
|
| Codex file tree and workspace navigation UI failure | `fixtures/codex-file-tree-ui.md` | 75 | 2 | 0 | `codex_file_tree_ui`, `weak_evidence` | pass |
|
|
48
50
|
| Codex session resume and state failure | `fixtures/codex-session-state.md` | 59 | 3 | 0 | `codex_resource_leak`, `codex_session_state`, `weak_evidence` | pass |
|
package/docs/USE_CASES.md
CHANGED
|
@@ -17,13 +17,15 @@ npx trace-to-skill demo thinking-hang
|
|
|
17
17
|
npx trace-to-skill demo clipboard-attachment
|
|
18
18
|
npx trace-to-skill demo deeplink-launch
|
|
19
19
|
npx trace-to-skill demo connector-auth-cache
|
|
20
|
+
npx trace-to-skill demo mcp-discovery-mismatch
|
|
21
|
+
npx trace-to-skill demo terminal-output-integrity
|
|
20
22
|
```
|
|
21
23
|
|
|
22
24
|
What it proves:
|
|
23
25
|
|
|
24
26
|
- packaged fixtures can produce a real Codex issue report immediately
|
|
25
27
|
- maintainers can inspect the output shape before sharing any private log
|
|
26
|
-
- demos cover remote compact failures, Windows helper path failures, patch overwrite safety, approval friction, latency, Thinking hangs, clipboard/attachment regressions, deeplink/OAuth launch regressions, connector auth-cache regressions, token burn, sensitive files, and prompt injection
|
|
28
|
+
- demos cover remote compact failures, Windows helper path failures, patch overwrite safety, approval friction, latency, Thinking hangs, clipboard/attachment regressions, deeplink/OAuth launch regressions, connector auth-cache regressions, MCP discovery/config-scope mismatches, terminal output/scrollback integrity, token burn, sensitive files, and prompt injection
|
|
27
29
|
|
|
28
30
|
See the generated demo output in [docs/DEMO.md](DEMO.md).
|
|
29
31
|
|
|
@@ -46,7 +48,7 @@ What it proves:
|
|
|
46
48
|
Recommended CI surface:
|
|
47
49
|
|
|
48
50
|
```yaml
|
|
49
|
-
- uses: grnbtqdbyx-create/trace-to-skill@v0.1.
|
|
51
|
+
- uses: grnbtqdbyx-create/trace-to-skill@v0.1.65
|
|
50
52
|
with:
|
|
51
53
|
mode: all
|
|
52
54
|
doctor-threshold: "85"
|
|
@@ -146,7 +148,21 @@ npx trace-to-skill analyze ./runs --format json
|
|
|
146
148
|
|
|
147
149
|
This catches signals such as `Waiting for desktop`, `Directory: Unavailable`, stale `server_name` enrollment, stale remote-control listener, `127.0.0.1:14567`, missing cached helper files such as `codex-windows-sandbox-setup.exe` or `codex-command-runner.exe`, empty backend environments, stale Android session lists, and temporary recovery after re-pairing or listener restart.
|
|
148
150
|
|
|
149
|
-
## 10. Codex
|
|
151
|
+
## 10. Codex Terminal Output And Scrollback Integrity
|
|
152
|
+
|
|
153
|
+
Use this when Codex terminal output, streamed assistant text, or scrollback becomes untrustworthy even though raw logs, transcripts, or transaction views still contain the missing lines.
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
npx trace-to-skill demo terminal-output-integrity
|
|
157
|
+
npx trace-to-skill analyze ./runs --format json
|
|
158
|
+
npx trace-to-skill codex-report ./runs --output openai-codex-terminal-output.md
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
This catches signals such as Windows Terminal scrollback lines disappearing, streamed output overwriting older visible transcript lines, numbered-line harness output with `missing_count`, `S-0391`, or `missing_examples`, `tmux_scrollback_repro.sh`, viewport snaps to the bottom during planner/approval flows, and transcript mode failing to recover earlier output.
|
|
162
|
+
|
|
163
|
+
Include the Codex CLI/app/extension version, OS, shell, terminal emulator and version, WSL/SSH/tmux/Zellij state, model, whether streaming was active, exact scroll action, terminal dimensions and scrollback settings, first missing or duplicated line id, raw log/transcript proof, terminal capture, numbered-line harness output, control run, `/resume` or transcript recovery behavior, and whether another terminal or downgrade changes the result.
|
|
164
|
+
|
|
165
|
+
## 11. Codex MCP Runtime Triage
|
|
150
166
|
|
|
151
167
|
Use this when MCP tools are configured and visible, but Codex cannot actually call them at runtime.
|
|
152
168
|
|
|
@@ -157,7 +173,7 @@ npx trace-to-skill config-audit ~/.codex --format json
|
|
|
157
173
|
|
|
158
174
|
This catches signals such as `user cancelled MCP tool call`, `request_user_input is not supported in exec mode`, `Approve app tool call?`, `tool_call_mcp_elicitation`, routed callable names like `mcp__node_repl__js` becoming `unsupported call`, deferred discovery dropping namespace or `serverName`, `tools/list` succeeding while Codex routing fails, and stdio transport lifecycle failures such as `Transport closed`, `stdin_end`, `stdin_close`, `transport_close`, or stderr backpressure.
|
|
159
175
|
|
|
160
|
-
##
|
|
176
|
+
## 12. Codex Resume And Session State Triage
|
|
161
177
|
|
|
162
178
|
Use this when long Codex sessions become difficult to resume, Desktop history rendering gets sluggish, or local state migrations break goals/projects/history.
|
|
163
179
|
|
|
@@ -174,7 +190,7 @@ This catches signals such as `codex resume` picker hangs, `codex resume <id>` wo
|
|
|
174
190
|
|
|
175
191
|
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.
|
|
176
192
|
|
|
177
|
-
##
|
|
193
|
+
## 13. Codex File Tree UI Evidence
|
|
178
194
|
|
|
179
195
|
Use this when Codex Desktop cannot reveal project files through the native file tree, folder icon, floating file panel, or built-in preview.
|
|
180
196
|
|
|
@@ -185,7 +201,7 @@ npx trace-to-skill codex-report ./runs --output openai-codex-issue.md
|
|
|
185
201
|
|
|
186
202
|
This catches signals such as `View > Toggle File Tree` doing nothing, `Cmd+Shift+E` or `Ctrl+Shift+E` having no visible effect, the folder icon disappearing, the floating file panel showing stale or unclickable entries after add/rename/delete operations, and `.doc`, `.pdf`, or `.ppt` previews failing until restart.
|
|
187
203
|
|
|
188
|
-
##
|
|
204
|
+
## 14. Codex Token Burn Attribution
|
|
189
205
|
|
|
190
206
|
Use this when Codex usage drains faster than expected and the trace needs to separate useful model work from orchestration overhead.
|
|
191
207
|
|
|
@@ -196,7 +212,7 @@ npx trace-to-skill codex-report ./runs --output openai-codex-issue.md
|
|
|
196
212
|
|
|
197
213
|
This catches signals such as tokens `burning very fast`, usage dropping by visible percentages after one or two prompts, weekly allowance depletion, 5-hour usage reaching 0%, large `input` plus `cached input` totals, `write_stdin` empty polling, background commands repeatedly reporting no new output, idle app usage, compaction tax, retry/tool loops, and missing attribution between normal turns, compaction, background polling, subagents, and retries.
|
|
198
214
|
|
|
199
|
-
##
|
|
215
|
+
## 15. Usage Reset Drift Evidence
|
|
200
216
|
|
|
201
217
|
Use this when Codex reset timing changes unexpectedly or users lose the ability to plan paid usage.
|
|
202
218
|
|
|
@@ -207,7 +223,7 @@ npx trace-to-skill codex-report ./runs --output openai-codex-issue.md
|
|
|
207
223
|
|
|
208
224
|
This catches signals such as weekly reset dates moving from one date to another, `reset_at` jumping after the first prompt, saved weekly usage being wiped or pushed into the next window, outage compensation resets changing the anchor, `/status` and dashboard disagreement, and requests for deterministic reset schedules or rollover of unused prior-window usage.
|
|
209
225
|
|
|
210
|
-
##
|
|
226
|
+
## 16. Quota And Usage-Limit Evidence
|
|
211
227
|
|
|
212
228
|
Use this when Codex blocks a prompt with a usage-limit message but another surface still shows remaining quota.
|
|
213
229
|
|
|
@@ -217,7 +233,7 @@ npx trace-to-skill analyze ./runs --format json
|
|
|
217
233
|
|
|
218
234
|
This catches traces where `/status` or the usage page shows remaining 5h or weekly quota, accounts appear to share limits unexpectedly, a Team account inherits a Plus account's limit state, or quota reset times jump after logout/login.
|
|
219
235
|
|
|
220
|
-
##
|
|
236
|
+
## 17. Codex Resource Leak Evidence
|
|
221
237
|
|
|
222
238
|
Use this when Codex Desktop, the VS Code extension, renderer, app-server, GPU process, shell snapshot, or helper process keeps burning local resources after the useful work should be idle.
|
|
223
239
|
|
|
@@ -230,7 +246,7 @@ This catches signals such as high `Code Helper (Renderer)` or `Code Helper (Plug
|
|
|
230
246
|
|
|
231
247
|
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.
|
|
232
248
|
|
|
233
|
-
##
|
|
249
|
+
## 18. Codex Thinking Hang Evidence
|
|
234
250
|
|
|
235
251
|
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.
|
|
236
252
|
|
|
@@ -244,7 +260,7 @@ This catches signals such as `turn/start`, `task_started`, a completed local too
|
|
|
244
260
|
|
|
245
261
|
Include the Codex version, OS, model and reasoning/speed settings, turn or thread id, prompt timestamp, last successful tool output, first `response_item` timestamp, `responses_http` or websocket transport evidence, `time.busy` / `time.idle`, MCP/subagent state, stop/interrupt behavior, and whether a new thread or minimal config recovers.
|
|
246
262
|
|
|
247
|
-
##
|
|
263
|
+
## 19. Codex Clipboard And Pasted-Text Attachment Evidence
|
|
248
264
|
|
|
249
265
|
Use this when copy/export, long pasted prompts, or generated `Pasted text.txt` attachments break Codex prompt, `/goal`, or support-report workflows.
|
|
250
266
|
|
|
@@ -258,7 +274,7 @@ This catches signals such as `Copy as Markdown` disappearing from the Copy menu,
|
|
|
258
274
|
|
|
259
275
|
Include app version, OS, surface, exact copy menu items, source text size, paste action, visible editor text, generated attachment name/path/size, `pasted-text-attachments.json` or fileAttachments metadata, command path such as `/goal`, preview/edit/revert actions tried, clipboard payload format, and whether paste-as-text, opt-out, explicit file reference, or downgrade changes behavior.
|
|
260
276
|
|
|
261
|
-
##
|
|
277
|
+
## 20. Codex Deeplink And External Launch Evidence
|
|
262
278
|
|
|
263
279
|
Use this when OAuth callbacks, notification clicks, browser extension activation, mobile pairing, or CLI app-open commands fail to route back into Codex.
|
|
264
280
|
|
|
@@ -272,7 +288,7 @@ This catches signals such as `codex://oauth_callback?code=...` opening an Electr
|
|
|
272
288
|
|
|
273
289
|
Include app/CLI/extension version, OS/build, install source, package id/path, affected surface, exact redacted URI shape, browser and connector/plugin name, error dialog text, whether the app was already running, AppX/MSIX evidence such as AppUserModelID and DelegateExecute, HKCU/HKCR `codex` keys, command-line arguments, repair/reinstall/re-register attempts, and whether manual `codex://test` or `Start-Process` reproduces.
|
|
274
290
|
|
|
275
|
-
##
|
|
291
|
+
## 21. Codex App Connector Auth Cache Evidence
|
|
276
292
|
|
|
277
293
|
Use this when Codex app connectors appear installed but keep stale auth or discovery metadata after a reauth-required response.
|
|
278
294
|
|
|
@@ -286,7 +302,21 @@ This catches signals such as `401: "Server returned 401: 'Reauthentication requi
|
|
|
286
302
|
|
|
287
303
|
Include app/CLI version, OS, connector/plugin name and id, installed plugin root, exact tool name, redacted `codex_apps_tools` and `codex_app_directory` metadata, `link_*` id before/after reconnect, `isAccessible` state, restart/remove/re-add/cache-clear/sign-in attempts, ChatGPT app page state, and whether an external MCP workaround succeeds.
|
|
288
304
|
|
|
289
|
-
##
|
|
305
|
+
## 22. Codex MCP Discovery And Config Scope Evidence
|
|
306
|
+
|
|
307
|
+
Use this when MCP servers work in Codex CLI or one config scope but are missing in VS Code, Desktop, WSL, remote sessions, project-local config, or an older conversation.
|
|
308
|
+
|
|
309
|
+
```bash
|
|
310
|
+
npx trace-to-skill demo mcp-discovery-mismatch
|
|
311
|
+
npx trace-to-skill analyze ./runs --format json
|
|
312
|
+
npx trace-to-skill codex-report ./runs --output openai-codex-mcp-discovery.md
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
This catches signals such as `MCP servers not detected in Codex VS Code extension (but working in Codex CLI)`, `list_mcp_resources remains empty`, missing `mcp__*` tools, project `.codex/config.toml` ignored while `~/.codex/config.toml` works, `codex mcp get <server>` returning `No MCP server named`, WSL opening the Windows-hosted `config.toml`, `CODEX_HOME` mismatch, and tool exposure changing after restart, reload, or new conversation.
|
|
316
|
+
|
|
317
|
+
Include app/CLI/extension version, OS, IDE, remote/WSL/SSH state, workspace root, effective `CODEX_HOME`, all config files considered (`~/.codex/config.toml`, project `.codex/config.toml`, `.vscode/mcp.json`, `.mcp.json`), redacted MCP sections, trust/profile/default-permissions state, `codex mcp list`, `codex mcp get <server>`, CLI-versus-Desktop/VS Code comparison, loaded config path/log lines, whether moving the same server to user-global config fixes it, and whether the current session exposes `mcp__*` tools.
|
|
318
|
+
|
|
319
|
+
## 23. Patch Overwrite Guard
|
|
290
320
|
|
|
291
321
|
Use this before applying a generated patch when you want create/update/delete semantics checked against the actual workspace.
|
|
292
322
|
|
|
@@ -303,7 +333,7 @@ For a public demo report:
|
|
|
303
333
|
npx trace-to-skill demo patch-overwrite
|
|
304
334
|
```
|
|
305
335
|
|
|
306
|
-
##
|
|
336
|
+
## 24. OpenAI Codex Issue Report
|
|
307
337
|
|
|
308
338
|
Use this when you want to file or update an OpenAI/Codex issue with a concise, evidence-backed report instead of pasting a full transcript.
|
|
309
339
|
|
|
@@ -316,7 +346,7 @@ The report includes the likely Codex failure class, line-linked evidence, diagno
|
|
|
316
346
|
|
|
317
347
|
For a cluster-to-command map of current Codex issue patterns, see [CODEX_ISSUE_MAP.md](CODEX_ISSUE_MAP.md).
|
|
318
348
|
|
|
319
|
-
##
|
|
349
|
+
## 25. Sensitive File Access Evidence
|
|
320
350
|
|
|
321
351
|
Use this when a trace suggests an agent read, attached, uploaded, diffed, or indexed credential-bearing files.
|
|
322
352
|
|
|
@@ -329,7 +359,7 @@ This catches signals such as `.env`, `.env.production`, `.npmrc`, `.pypirc`, `.n
|
|
|
329
359
|
|
|
330
360
|
Before publishing evidence, run `trace-to-skill redact` and attach only redacted excerpts plus the file path/class.
|
|
331
361
|
|
|
332
|
-
##
|
|
362
|
+
## 26. GitHub Context Guard
|
|
333
363
|
|
|
334
364
|
Use this before an agent reads untrusted GitHub text.
|
|
335
365
|
|
|
@@ -346,7 +376,7 @@ Use it when:
|
|
|
346
376
|
- a bot asks Codex to triage untrusted user reports
|
|
347
377
|
- logs or comments might contain instructions like "ignore previous instructions" or "print secrets"
|
|
348
378
|
|
|
349
|
-
##
|
|
379
|
+
## 27. Failed Agent Run To Reviewable Rule
|
|
350
380
|
|
|
351
381
|
Use this when a coding agent made a repeated workflow mistake.
|
|
352
382
|
|
|
@@ -364,7 +394,7 @@ Recommended maintainer loop:
|
|
|
364
394
|
4. Copy only evidence-backed rules into the real policy file.
|
|
365
395
|
5. Run `eval` or `scorecard` in CI so the same failure does not silently return.
|
|
366
396
|
|
|
367
|
-
##
|
|
397
|
+
## 28. Privacy-Preserving Adoption
|
|
368
398
|
|
|
369
399
|
Use this when you want public evidence without leaking private traces.
|
|
370
400
|
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Codex MCP discovery mismatch fixture
|
|
2
|
+
|
|
3
|
+
This fixture uses public, token-free examples of MCP servers being visible in one Codex surface or config scope but absent from another.
|
|
4
|
+
|
|
5
|
+
## CLI works, VS Code extension has no tools
|
|
6
|
+
|
|
7
|
+
Environment:
|
|
8
|
+
|
|
9
|
+
- Codex CLI v0.58.0
|
|
10
|
+
- Codex VS Code extension v0.4.40
|
|
11
|
+
- macOS and Windows reports
|
|
12
|
+
- MCP server defined in `~/.codex/config.toml`
|
|
13
|
+
|
|
14
|
+
Observed behavior:
|
|
15
|
+
|
|
16
|
+
```text
|
|
17
|
+
Codex CLI /mcp shows playwright and supabase; tools are listed and callable.
|
|
18
|
+
Codex VS Code extension says list_mcp_resources remains empty.
|
|
19
|
+
The extension has no mcp__ prefixed tools exposed in this session.
|
|
20
|
+
MCP servers not detected in Codex VS Code extension, but working in Codex CLI.
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Another report:
|
|
24
|
+
|
|
25
|
+
```text
|
|
26
|
+
codex mcp list shows nxmcp in the terminal session.
|
|
27
|
+
The Codex extension does not see Nx MCP tools in the current session tool list.
|
|
28
|
+
CLI can access the MCP server and list tables, while the extension reports:
|
|
29
|
+
resources/list failed: unknown MCP server 'postgres'
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Project config works in CLI but not Desktop
|
|
33
|
+
|
|
34
|
+
A trusted project contains only a project-local MCP entry:
|
|
35
|
+
|
|
36
|
+
```toml
|
|
37
|
+
[mcp_servers.serena]
|
|
38
|
+
command = "uvx"
|
|
39
|
+
args = ["--from", "git+https://github.com/oraios/serena", "serena", "start-mcp-server", "--context", "codex", "--project-from-cwd"]
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Observed behavior:
|
|
43
|
+
|
|
44
|
+
```text
|
|
45
|
+
Project-scoped .codex/config.toml is ignored for this thread/workspace.
|
|
46
|
+
available MCP resources/templates are empty for Serena tools.
|
|
47
|
+
codex mcp list only shows servers from ~/.codex/config.toml.
|
|
48
|
+
codex mcp get serena returns: No MCP server named 'serena' found.
|
|
49
|
+
User-level MCP config works in Codex CLI, Codex Desktop, and the Codex Cursor extension.
|
|
50
|
+
Project-level MCP config works in Codex CLI only.
|
|
51
|
+
If I move the exact same MCP server definition into ~/.codex/config.toml and restart Codex Desktop, it is detected and works normally.
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## WSL opens the wrong config
|
|
55
|
+
|
|
56
|
+
Windows app configuration:
|
|
57
|
+
|
|
58
|
+
```text
|
|
59
|
+
Agent environment and integrated terminal shell are set to WSL.
|
|
60
|
+
Open config.toml in WSL environment still opens the Windows config.toml.
|
|
61
|
+
Expected: /home/user/.codex/config.toml
|
|
62
|
+
Actual: C:\Users\user\.codex\config.toml
|
|
63
|
+
CODEX_HOME differs between CLI, VS Code, WSL, remote SSH, and the standalone app.
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Session exposure drift
|
|
67
|
+
|
|
68
|
+
```text
|
|
69
|
+
The standalone CLI /mcp can show tools while the VS Code assistant only exposes curated namespaces.
|
|
70
|
+
If I start a new conversation in the VS Code extension, it sees the right MCP servers/functions.
|
|
71
|
+
Switching back to the previous conversation loses them again.
|
|
72
|
+
The current session exposes no mcp__* tools.
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
The report should include app/CLI/extension versions, OS, IDE, remote/WSL/SSH state, workspace root, effective `CODEX_HOME`, config files considered (`~/.codex/config.toml`, project `.codex/config.toml`, and IDE-level MCP config), redacted MCP sections, trust/profile/default-permissions state, `codex mcp list`, `codex mcp get <server>`, CLI-versus-Desktop/VS Code comparison, loaded config path or extension logs, whether moving the same server to global config fixes it, whether reload/restart/new conversation changes tool exposure, and whether the session exposes `mcp__*` tools.
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# Codex terminal output integrity fixture
|
|
2
|
+
|
|
3
|
+
This fixture uses public, token-free examples of Codex terminal output, scrollback, or transcript rendering losing evidence even when logs or transaction views still contain the missing lines.
|
|
4
|
+
|
|
5
|
+
## Windows Terminal scrollback loss
|
|
6
|
+
|
|
7
|
+
Environment:
|
|
8
|
+
|
|
9
|
+
- Codex CLI 0.116.0 through 0.135.0 reports
|
|
10
|
+
- Windows Terminal with PowerShell or WSL
|
|
11
|
+
- Some reports also mention Ghostty, Zellij, tmux, and Linux terminals
|
|
12
|
+
|
|
13
|
+
Observed behavior:
|
|
14
|
+
|
|
15
|
+
```text
|
|
16
|
+
Scrollback does not work correctly; older output disappears or cannot be accessed.
|
|
17
|
+
Output is sometimes overwritten or re-rendered incorrectly.
|
|
18
|
+
Text may appear duplicated or partially missing.
|
|
19
|
+
Scrolling during streaming output can cause content to be cut or misaligned.
|
|
20
|
+
The content only disappears from the UI; it is still present in Codex context and transaction/log view.
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Streaming output overwrites older visible transcript
|
|
24
|
+
|
|
25
|
+
Reproduction pattern:
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
Start Codex in PowerShell.
|
|
29
|
+
Ask for a response that streams for a while.
|
|
30
|
+
While the assistant is streaming a reply, use the mouse wheel to scroll upward.
|
|
31
|
+
Older visible lines start disappearing, being swallowed, shifted, or overwritten.
|
|
32
|
+
As more tokens arrive, a larger portion of the older visible transcript is affected.
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Expected:
|
|
36
|
+
|
|
37
|
+
```text
|
|
38
|
+
Once I scroll up to inspect previous history, new streaming output should not progressively overwrite the older visible lines I am currently looking at.
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Deterministic missing-line harness
|
|
42
|
+
|
|
43
|
+
A repro harness emitted numbered stream lines with a Codex-like history insertion escape pattern:
|
|
44
|
+
|
|
45
|
+
```text
|
|
46
|
+
./repro/tmux_scrollback_repro.sh
|
|
47
|
+
capture_file=/tmp/codex-scroll-repro/capture.txt
|
|
48
|
+
missing_file=/tmp/codex-scroll-repro/missing.txt
|
|
49
|
+
missing_count=1
|
|
50
|
+
missing_examples:
|
|
51
|
+
S-0391
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
The control run did not lose lines:
|
|
55
|
+
|
|
56
|
+
```text
|
|
57
|
+
./repro/tmux_scrollback_repro.sh --plain
|
|
58
|
+
missing_count=0
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Related artifacts included:
|
|
62
|
+
|
|
63
|
+
```text
|
|
64
|
+
repro/tmux_scrollback_repro.sh
|
|
65
|
+
repro/line_truncation_repro.md
|
|
66
|
+
codex-rs/tui/tests/suite/vt100_history.rs
|
|
67
|
+
incremental_stream_history_keeps_all_numbered_lines
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Planner and approval scroll snap
|
|
71
|
+
|
|
72
|
+
```text
|
|
73
|
+
In planner mode, after Codex prints a long plan and shows approval choices, scrolling up does not stay up.
|
|
74
|
+
The viewport snaps back to the bottom.
|
|
75
|
+
Earlier output becomes inaccessible in scrollback.
|
|
76
|
+
Ctrl+T transcript mode stopped working while waiting for approval.
|
|
77
|
+
I can no longer scroll up or copy the full response.
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
The report should include Codex CLI/app/extension version, OS, shell, terminal emulator and version, remote/WSL/SSH/tmux/Zellij state, model, whether streaming was active, exact scroll action, whether the viewport snapped to bottom, first missing or duplicated line id, raw log/transcript/transaction evidence showing the line still exists, terminal capture such as `tmux capture-pane` or Windows Terminal screenshot/video, reproduction script or numbered-line harness output, control run without Codex-specific escape/history insertion, terminal dimensions and scrollback settings, whether `/resume` or transcript mode recovers the content, and whether downgrade or another terminal changes behavior.
|
package/llms.txt
CHANGED
|
@@ -23,6 +23,8 @@ Runtime: Node.js 20+
|
|
|
23
23
|
- Codex auth and connectivity failures such as `token_exchange_failed`, `auth.openai.com/oauth/token`, missing `ca-certificates`, proxy or MITM TLS behavior, IPv6 fallback problems, Cloudflare challenge responses, and ChatGPT stream disconnects
|
|
24
24
|
- Codex mobile and remote-control route health failures such as `Waiting for desktop`, `Directory Unavailable`, stale listeners on `127.0.0.1:14567`, stale `server_name` enrollment, empty backend environments, and incomplete helper bundles
|
|
25
25
|
- Codex MCP runtime failures such as cancelled non-interactive approvals, `request_user_input is not supported in exec mode`, dropped namespace or `serverName` metadata, `unsupported call: mcp__...__...`, and closed `StdioServerTransport` sessions
|
|
26
|
+
- Codex MCP discovery and config-scope mismatches where CLI `/mcp` works but VS Code, Desktop, WSL, project `.codex/config.toml`, `CODEX_HOME`, or an older conversation exposes no `mcp__*` tools
|
|
27
|
+
- Codex terminal output and scrollback integrity failures where streamed lines disappear, get overwritten, truncate, duplicate, misalign, snap to the bottom, or only survive in raw logs/transcripts
|
|
26
28
|
- Codex resume and session-state failures such as frozen resume pickers, large rollout JSONL histories, short `session_index.jsonl`, sluggish Desktop thread rendering, dropped recent context after resume, archived chat loading failures, and `state_5.sqlite` / `goals_1.sqlite` migration drift
|
|
27
29
|
- Codex file tree and workspace navigation UI failures such as `View > Toggle File Tree` doing nothing, missing folder icons, stale floating file panels, and built-in preview failures
|
|
28
30
|
- Codex Thinking or Working hangs after accepted turns, successful local tools, or open Responses streams with no streamed assistant follow-up
|
|
@@ -72,6 +74,8 @@ npx trace-to-skill demo thinking-hang
|
|
|
72
74
|
npx trace-to-skill demo clipboard-attachment
|
|
73
75
|
npx trace-to-skill demo deeplink-launch
|
|
74
76
|
npx trace-to-skill demo connector-auth-cache
|
|
77
|
+
npx trace-to-skill demo mcp-discovery-mismatch
|
|
78
|
+
npx trace-to-skill demo terminal-output-integrity
|
|
75
79
|
npx trace-to-skill lint-agents .
|
|
76
80
|
npx trace-to-skill guard-github-event "$GITHUB_EVENT_PATH"
|
|
77
81
|
npx trace-to-skill guard-patch ./change.patch --root .
|
|
@@ -93,7 +97,7 @@ npx trace-to-skill init --comment --sarif
|
|
|
93
97
|
## GitHub Action
|
|
94
98
|
|
|
95
99
|
```yaml
|
|
96
|
-
- uses: grnbtqdbyx-create/trace-to-skill@v0.1.
|
|
100
|
+
- uses: grnbtqdbyx-create/trace-to-skill@v0.1.65
|
|
97
101
|
with:
|
|
98
102
|
mode: all
|
|
99
103
|
doctor-threshold: "85"
|
|
@@ -121,6 +125,7 @@ npx trace-to-skill init --comment --sarif
|
|
|
121
125
|
|
|
122
126
|
- Codex readiness checker for open-source repositories
|
|
123
127
|
- Codex issue report demo without private traces
|
|
128
|
+
- Codex terminal scrollback output integrity report
|
|
124
129
|
- AGENTS.md linter for Codex and Claude Code
|
|
125
130
|
- turn failed agent runs into AGENTS.md rules
|
|
126
131
|
- prompt injection guard for GitHub issue and PR comments
|
|
@@ -156,6 +161,9 @@ npx trace-to-skill init --comment --sarif
|
|
|
156
161
|
- Codex mobile Waiting for desktop Directory Unavailable
|
|
157
162
|
- Codex MCP unsupported call mcp__node_repl__js
|
|
158
163
|
- Codex MCP tools/list succeeds but runtime call fails
|
|
164
|
+
- Codex MCP servers not detected in VS Code extension but working in CLI
|
|
165
|
+
- Codex project .codex/config.toml MCP ignored Desktop
|
|
166
|
+
- Codex WSL opens Windows config.toml CODEX_HOME mismatch
|
|
159
167
|
- Codex MCP Transport closed StdioServerTransport
|
|
160
168
|
- Codex View Toggle File Tree does nothing
|
|
161
169
|
- Codex missing file tree folder icon
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trace-to-skill",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.65",
|
|
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",
|
|
@@ -103,7 +103,13 @@
|
|
|
103
103
|
"token-exchange-failed",
|
|
104
104
|
"codex-remote-control",
|
|
105
105
|
"codex-mobile",
|
|
106
|
+
"codex-terminal",
|
|
107
|
+
"codex-scrollback",
|
|
108
|
+
"terminal-output",
|
|
106
109
|
"codex-mcp",
|
|
110
|
+
"codex-mcp-discovery",
|
|
111
|
+
"mcp-config",
|
|
112
|
+
"codex-vscode",
|
|
107
113
|
"mcp-runtime",
|
|
108
114
|
"codex-plugins",
|
|
109
115
|
"codex-file-tree",
|