trace-to-skill 0.1.82 → 0.1.84
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 +9 -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 +36 -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 +4 -0
- 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 +59 -29
- package/fixtures/codex-subagent-prompt-leakage.md +24 -0
- package/fixtures/codex-usage-bucket-confusion.md +33 -0
- package/llms.txt +5 -1
- package/package.json +8 -1
- package/schemas/analysis-result.schema.json +2 -0
package/README.md
CHANGED
|
@@ -66,12 +66,14 @@ Use it when you need to:
|
|
|
66
66
|
- **Audit bundled plugin drift:** run `trace-to-skill plugin-audit ~/.codex --app /Applications/Codex.app --format json` to check Browser, Chrome, Computer Use, bundled marketplace, plugin cache, manifest, helper app, `CODEX_HOME`, and unsupported feature-flag drift without posting raw logs.
|
|
67
67
|
- **Bundle Codex diagnostics safely:** run `trace-to-skill diagnostics-bundle ~/.codex --output codex-diagnostics` to create a metadata-only support folder with manifest, README, config, plugin, and session audit reports while excluding raw logs, SQLite state, raw config, and transcripts.
|
|
68
68
|
- **Package Codex usage evidence:** run `trace-to-skill usage-evidence ./usage-notes.md --output usage-evidence.md` to turn `/status`, reset tables, usage-limit errors, token totals, prompt-cache collapse rows, rapid drain experiments, and orchestration-overhead clues into a redaction-aware usage receipt.
|
|
69
|
+
- **Clarify usage bucket reports:** run `trace-to-skill codex-report ./runs` when the usage popover shows confusing 5h vs weekly percentages and does not explain remaining/used, rolling/calendar, or account/workspace scope.
|
|
69
70
|
- **Package Codex process evidence:** run `trace-to-skill process-audit ./process-notes.md --output process-audit.md` to turn Task Manager, System Informer, `Get-CimInstance`, `ps`, or `top` snippets into a privacy-aware report for PowerShell CIM polling, stale process-manager entries, high CPU helpers, and runaway renderers.
|
|
70
71
|
- **Bookmark a workspace before agent edits:** run `trace-to-skill checkpoint . --output .trace-to-skill/checkpoints/before-codex` to store git diffs plus copied changed/untracked files before Codex, Claude, Cursor, or another agent touches a dirty repo. It does not auto-restore or run destructive commands.
|
|
71
72
|
- **Share failed traces safely:** run `trace-to-skill redact ./runs --output redacted-runs` before publishing anonymized failure fixtures.
|
|
72
73
|
- **Catch sensitive file access:** run `trace-to-skill analyze ./runs` when an agent trace includes `.env`, private keys, `.npmrc`, cloud credentials, local databases, or production secret manifests.
|
|
73
74
|
- **Report remote compact failures:** run `trace-to-skill codex-report ./runs` when `/compact` or auto-compaction fails with `responses/compact` timeouts, stream disconnects, provider timeout workarounds, or long-thread recovery loss.
|
|
74
75
|
- **Diagnose context fork bloat:** run `trace-to-skill codex-report ./runs` when a conversation fork duplicates parent transcript blocks, inflates `input_tokens`, changes `prompt_cache_key`, or loses prompt-cache lineage before new work happens.
|
|
76
|
+
- **Catch subagent prompt leakage:** run `trace-to-skill codex-report ./runs` when `spawn_agent` with `fork_turns: "none"` records the delegated task as an assistant/commentary envelope or a parallel child sees a sibling prompt.
|
|
75
77
|
- **Diagnose Windows helper path failures:** run `trace-to-skill codex-report ./runs` when Codex Desktop resolves `rg.exe`, `node_repl.exe`, Browser, Chrome, or Computer Use helpers through blocked WindowsApps/MSIX paths, missing LocalCache bins, or broken `CodexSandboxUsers` ACLs.
|
|
76
78
|
- **Triage stuck Codex sessions:** run `trace-to-skill analyze ./runs` to catch context compaction failures such as compact stream disconnects, `context_length_exceeded`, and schema mismatches.
|
|
77
79
|
- **Catch latest-turn drift:** run `trace-to-skill analyze ./runs` when Codex answers an older prompt, repeats a previous response, forgets recent edits after compaction, or leaks raw tool payload text into chat.
|
|
@@ -213,6 +215,7 @@ Trace analysis detects run-level failures:
|
|
|
213
215
|
| Prompt injection | Untrusted issue, PR, log, or web text asks the agent to ignore policy or leak secrets |
|
|
214
216
|
| Context compaction | Codex compact task fails, disconnects, loops, or hits `context_length_exceeded` |
|
|
215
217
|
| Codex context fork bloat | Conversation forks duplicate parent turns, inflate token counts, break prompt-cache lineage, or mix `fork_context` history into child context |
|
|
218
|
+
| Codex subagent prompt leakage | MultiAgentV2 children receive assistant/commentary prompt envelopes or sibling prompts despite `fork_turns: "none"` |
|
|
216
219
|
| Codex latest-turn drift | Long or compacted conversations answer stale prompts, redo old tasks, forget recent edits, or expose raw tool payloads |
|
|
217
220
|
| Codex latency regression | Model/runtime routing, thinking stalls, search/read, or compaction latency makes simple tasks take minutes or hours |
|
|
218
221
|
| Codex thinking hang | A turn, tool call, or Responses stream appears accepted but no assistant follow-up arrives while the UI stays on Thinking/Working |
|
|
@@ -232,6 +235,7 @@ Trace analysis detects run-level failures:
|
|
|
232
235
|
| 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 |
|
|
233
236
|
| Codex file tree UI | Desktop file tree, floating file panel, or file preview cannot be revealed, refreshes stale entries, or loses workspace navigation |
|
|
234
237
|
| Codex session state | Resume, history rendering, context compression, archived chats, or local SQLite/global-state migrations break long sessions |
|
|
238
|
+
| Codex usage bucket confusion | Usage popover 5h and weekly percentages do not explain remaining/used, rolling/calendar, or account/workspace scope |
|
|
235
239
|
| Codex token burn | Background polling, idle app activity, compaction/replay, cached-token-heavy turns, or retry loops drain usage unexpectedly |
|
|
236
240
|
| Codex usage reset drift | Weekly or 5-hour reset anchors move unexpectedly, saved usage is lost, or reset display differs from enforcement |
|
|
237
241
|
| Codex resource leak | Desktop/app/extension/helper processes, shell snapshots, renderer, GPU, or log loops keep consuming local resources |
|
|
@@ -269,6 +273,7 @@ Try a packaged public demo before collecting private traces:
|
|
|
269
273
|
trace-to-skill demo
|
|
270
274
|
trace-to-skill demo --list
|
|
271
275
|
trace-to-skill demo context-fork-bloat
|
|
276
|
+
trace-to-skill demo subagent-prompt-leakage
|
|
272
277
|
trace-to-skill demo latency-regression
|
|
273
278
|
trace-to-skill demo thinking-hang
|
|
274
279
|
trace-to-skill demo clipboard-attachment
|
|
@@ -277,6 +282,7 @@ trace-to-skill demo connector-auth-cache
|
|
|
277
282
|
trace-to-skill demo mcp-discovery-mismatch
|
|
278
283
|
trace-to-skill demo mcp-streamable-http
|
|
279
284
|
trace-to-skill demo hooks-runtime
|
|
285
|
+
trace-to-skill demo usage-bucket-confusion
|
|
280
286
|
trace-to-skill demo terminal-output-integrity
|
|
281
287
|
trace-to-skill demo subagent-lifecycle
|
|
282
288
|
trace-to-skill demo patch-overwrite
|
|
@@ -512,7 +518,7 @@ jobs:
|
|
|
512
518
|
issues: write
|
|
513
519
|
steps:
|
|
514
520
|
- uses: actions/checkout@v5
|
|
515
|
-
- uses: grnbtqdbyx-create/trace-to-skill@v0.1.
|
|
521
|
+
- uses: grnbtqdbyx-create/trace-to-skill@v0.1.84
|
|
516
522
|
with:
|
|
517
523
|
mode: all
|
|
518
524
|
doctor-threshold: "85"
|
|
@@ -561,7 +567,7 @@ Composite action usage:
|
|
|
561
567
|
|
|
562
568
|
```yaml
|
|
563
569
|
- id: trace-to-skill
|
|
564
|
-
uses: grnbtqdbyx-create/trace-to-skill@v0.1.
|
|
570
|
+
uses: grnbtqdbyx-create/trace-to-skill@v0.1.84
|
|
565
571
|
with:
|
|
566
572
|
mode: all
|
|
567
573
|
doctor-threshold: "85"
|
|
@@ -603,7 +609,7 @@ Action outputs:
|
|
|
603
609
|
|
|
604
610
|
By default, generated reports are also appended to the GitHub Actions Job Summary. Set `job-summary: "false"` to disable that UI output.
|
|
605
611
|
|
|
606
|
-
Tagged Action releases build and run the CLI from `$GITHUB_ACTION_PATH`, so a workflow pinned to a release tag such as `@v0.1.
|
|
612
|
+
Tagged Action releases build and run the CLI from `$GITHUB_ACTION_PATH`, so a workflow pinned to a release tag such as `@v0.1.84` executes that release's checked-out source instead of pulling the default branch at runtime.
|
|
607
613
|
|
|
608
614
|
## Codex Skill
|
|
609
615
|
|
package/dist/src/benchmark.js
CHANGED
|
@@ -41,6 +41,12 @@ const BENCHMARK_CASES = [
|
|
|
41
41
|
fixture: "fixtures/codex-context-fork-bloat.md",
|
|
42
42
|
expectedKinds: ["codex_context_fork_bloat", "weak_evidence"]
|
|
43
43
|
},
|
|
44
|
+
{
|
|
45
|
+
id: "codex-subagent-prompt-leakage",
|
|
46
|
+
title: "Codex subagent prompt leakage or boundary failure",
|
|
47
|
+
fixture: "fixtures/codex-subagent-prompt-leakage.md",
|
|
48
|
+
expectedKinds: ["codex_subagent_prompt_leakage", "weak_evidence"]
|
|
49
|
+
},
|
|
44
50
|
{
|
|
45
51
|
id: "codex-latest-turn-drift",
|
|
46
52
|
title: "Codex latest-turn drift after compaction",
|
|
@@ -180,6 +186,12 @@ const BENCHMARK_CASES = [
|
|
|
180
186
|
fixture: "fixtures/codex-session-state.md",
|
|
181
187
|
expectedKinds: ["codex_session_state", "weak_evidence"]
|
|
182
188
|
},
|
|
189
|
+
{
|
|
190
|
+
id: "codex-usage-bucket-confusion",
|
|
191
|
+
title: "Codex usage bucket scope and percentage confusion",
|
|
192
|
+
fixture: "fixtures/codex-usage-bucket-confusion.md",
|
|
193
|
+
expectedKinds: ["codex_usage_bucket_confusion", "weak_evidence"]
|
|
194
|
+
},
|
|
183
195
|
{
|
|
184
196
|
id: "codex-token-burn",
|
|
185
197
|
title: "Codex token burn and usage-drain loop",
|
|
@@ -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,cAA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AAC,CAAC,CAAC,MAAM;YACnG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ;SAClC,CAAC,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
|
@@ -15,6 +15,12 @@ const DEMO_SCENARIOS = [
|
|
|
15
15
|
fixture: "fixtures/codex-context-fork-bloat.md",
|
|
16
16
|
description: "Conversation forks duplicate parent transcript blocks, inflate token usage, or break prompt-cache lineage before new work happens."
|
|
17
17
|
},
|
|
18
|
+
{
|
|
19
|
+
id: "subagent-prompt-leakage",
|
|
20
|
+
title: "Codex subagent prompt leakage",
|
|
21
|
+
fixture: "fixtures/codex-subagent-prompt-leakage.md",
|
|
22
|
+
description: "MultiAgentV2 child agents receive assistant/commentary prompt envelopes or sibling prompts despite `fork_turns: \"none\"`."
|
|
23
|
+
},
|
|
18
24
|
{
|
|
19
25
|
id: "windows-helper-path",
|
|
20
26
|
title: "Codex Windows helper path failure",
|
|
@@ -87,6 +93,12 @@ const DEMO_SCENARIOS = [
|
|
|
87
93
|
fixture: "fixtures/codex-subagent-lifecycle.md",
|
|
88
94
|
description: "Completed, closed, stale, or interrupted subagents diverge between UI, live registry, persisted state, quota, and parent discoverability."
|
|
89
95
|
},
|
|
96
|
+
{
|
|
97
|
+
id: "usage-bucket-confusion",
|
|
98
|
+
title: "Codex usage bucket confusion",
|
|
99
|
+
fixture: "fixtures/codex-usage-bucket-confusion.md",
|
|
100
|
+
description: "Usage popovers show 5h and weekly percentages without clear remaining/used, rolling/calendar, or account/workspace scope."
|
|
101
|
+
},
|
|
90
102
|
{
|
|
91
103
|
id: "token-burn",
|
|
92
104
|
title: "Codex token burn",
|
|
@@ -167,6 +179,7 @@ export function renderDemoMarkdown(result) {
|
|
|
167
179
|
"trace-to-skill demo --list",
|
|
168
180
|
"trace-to-skill demo remote-compact",
|
|
169
181
|
"trace-to-skill demo context-fork-bloat",
|
|
182
|
+
"trace-to-skill demo subagent-prompt-leakage",
|
|
170
183
|
"trace-to-skill demo windows-helper-path",
|
|
171
184
|
"trace-to-skill demo patch-overwrite",
|
|
172
185
|
"trace-to-skill demo thinking-hang",
|
|
@@ -178,6 +191,7 @@ export function renderDemoMarkdown(result) {
|
|
|
178
191
|
"trace-to-skill demo hooks-runtime",
|
|
179
192
|
"trace-to-skill demo terminal-output-integrity",
|
|
180
193
|
"trace-to-skill demo subagent-lifecycle",
|
|
194
|
+
"trace-to-skill demo usage-bucket-confusion",
|
|
181
195
|
"trace-to-skill demo file-tree-ui",
|
|
182
196
|
"trace-to-skill demo usage-reset-drift",
|
|
183
197
|
"```",
|
|
@@ -198,6 +212,7 @@ export function renderDemoScenarioList(scenarios = listDemoScenarios()) {
|
|
|
198
212
|
"trace-to-skill demo",
|
|
199
213
|
"trace-to-skill demo remote-compact",
|
|
200
214
|
"trace-to-skill demo context-fork-bloat",
|
|
215
|
+
"trace-to-skill demo subagent-prompt-leakage",
|
|
201
216
|
"trace-to-skill demo windows-helper-path",
|
|
202
217
|
"trace-to-skill demo patch-overwrite",
|
|
203
218
|
"trace-to-skill demo latency-regression",
|
|
@@ -210,6 +225,7 @@ export function renderDemoScenarioList(scenarios = listDemoScenarios()) {
|
|
|
210
225
|
"trace-to-skill demo hooks-runtime",
|
|
211
226
|
"trace-to-skill demo terminal-output-integrity",
|
|
212
227
|
"trace-to-skill demo subagent-lifecycle",
|
|
228
|
+
"trace-to-skill demo usage-bucket-confusion",
|
|
213
229
|
"trace-to-skill demo --list",
|
|
214
230
|
"```",
|
|
215
231
|
""
|
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,EAAE,EAAE,gBAAgB;QACpB,KAAK,EAAE,mCAAmC;QAC1C,OAAO,EAAE,kCAAkC;QAC3C,WAAW,EAAE,iHAAiH;KAC/H;IACD;QACE,EAAE,EAAE,oBAAoB;QACxB,KAAK,EAAE,0BAA0B;QACjC,OAAO,EAAE,sCAAsC;QAC/C,WAAW,EAAE,oIAAoI;KAClJ;IACD;QACE,EAAE,EAAE,qBAAqB;QACzB,KAAK,EAAE,mCAAmC;QAC1C,OAAO,EAAE,uCAAuC;QAChD,WAAW,EAAE,0HAA0H;KACxI;IACD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AA4B;QAC5B,KAAK;QACL,EAAE;KACH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,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/rules.js
CHANGED
|
@@ -167,6 +167,25 @@ const RULES = [
|
|
|
167
167
|
suggestedRule: "When reporting Codex context-fork bloat, capture Codex app/CLI/extension version, surface, model, fork source thread id, forked thread id, fork action timestamp, fork boundary marker, input_tokens and cached_input_tokens before and after the fork, prompt_cache_key before and after, cache hit rate, duplicated parent-turn or tool-transcript examples with line ids, whether new files were read before the token jump, compaction state, subagent/fork_context history, minimal reproduction steps, and whether a fresh thread or non-fork continuation avoids the bloat.",
|
|
168
168
|
suggestedSkill: "codex-context-fork-bloat-triage"
|
|
169
169
|
},
|
|
170
|
+
{
|
|
171
|
+
kind: "codex_subagent_prompt_leakage",
|
|
172
|
+
severity: "high",
|
|
173
|
+
title: "Codex subagent prompt leakage or boundary failure",
|
|
174
|
+
why: "Multi-agent Codex workflows rely on child agents receiving the delegated task as isolated user-equivalent input. Assistant/commentary prompt envelopes or sibling prompt leakage make review, QA, and security lanes untrustworthy.",
|
|
175
|
+
patterns: [
|
|
176
|
+
/\bspawn_agent\b.{0,180}\bfork_turns["'` ]*[:=]["'` ]*none\b/i,
|
|
177
|
+
/\bspawn_agent\b.{0,240}\bfork_turns["'` ]*[:=]["'` ]*none\b.{0,240}\b(role=assistant|assistant\/commentary|phase=commentary|commentary JSON envelope|not as a user|not as (?:a )?task)\b/i,
|
|
178
|
+
/\bfork_turns["'` ]*[:=]["'` ]*none\b.{0,240}\b(initial task|message argument|spawn message|delegated prompt)\b.{0,240}\b(assistant|commentary|envelope|not user|not task)\b/i,
|
|
179
|
+
/\b(role=assistant|assistant\/commentary|phase=commentary)\b.{0,240}\b(recipient|trigger_turn|spawn_agent|task_name|BLACKBOX|delegated prompt|child rollout)\b/i,
|
|
180
|
+
/\bparallel (?:child|children|spawns?)\b.{0,240}\b(sibling prompt|prompt envelope|prompt leakage|cross-contaminated|child A|child B|another child)\b/i,
|
|
181
|
+
/\bsibling (?:child )?prompt\b.{0,240}\b(leak|visible|appears?|included|contamination|child rollout|fork_turns)\b/i,
|
|
182
|
+
/\bmulti_tool_use\.parallel\b.{0,240}\b(spawn_agent|parallel child|sibling prompt|prompt envelope|leak|contamination)\b/i,
|
|
183
|
+
/\bwait_agent\b.{0,180}\b(close_agent|completed|completion)\b.{0,220}\b(did not perform|wrong task|generic workspace|AGENTS acknowledgement|ignored assigned task)\b/i,
|
|
184
|
+
/\b(worker|reviewer|subagent)\b.{0,220}\b(saw|received|included)\b.{0,120}\b(sibling prompt|other child|other agent|prompt envelope)\b/i
|
|
185
|
+
],
|
|
186
|
+
suggestedRule: "When reporting Codex subagent prompt leakage, capture Codex Desktop/app/CLI version, MultiAgentV2 state, OS, model, parent thread id, child thread ids, exact spawn_agent arguments, fork_turns value, role/profile, whether multi_tool_use.parallel or same-turn parallel spawning was used, redacted child rollout line order, first user/task message, assistant/commentary envelope lines, sibling prompt excerpts, wait_agent and close_agent results, whether the child executed tools unexpectedly, and sequential single-child versus parallel-child controls.",
|
|
187
|
+
suggestedSkill: "codex-subagent-prompt-boundary-triage"
|
|
188
|
+
},
|
|
170
189
|
{
|
|
171
190
|
kind: "codex_latest_turn_drift",
|
|
172
191
|
severity: "high",
|
|
@@ -592,6 +611,23 @@ const RULES = [
|
|
|
592
611
|
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.",
|
|
593
612
|
suggestedSkill: "codex-session-state-triage"
|
|
594
613
|
},
|
|
614
|
+
{
|
|
615
|
+
kind: "codex_usage_bucket_confusion",
|
|
616
|
+
severity: "high",
|
|
617
|
+
title: "Codex usage bucket scope or percentage confusion",
|
|
618
|
+
why: "Users need usage UI evidence to distinguish percent remaining from percent used, short 5h windows from weekly pools, rolling windows from calendar resets, and account-wide usage from local workspace activity.",
|
|
619
|
+
patterns: [
|
|
620
|
+
/\bUsage remaining\b.{0,160}\b5h\b.{0,80}\b\d{1,3}%\b.{0,160}\bWeekly\b.{0,80}\b\d{1,3}%\b/i,
|
|
621
|
+
/\b5h\b.{0,80}\b\d{1,3}%\b.{0,160}\bWeekly\b.{0,80}\b\d{1,3}%\b.{0,160}\b(remaining|usage popover|reset|Jun|rolling|weekly bucket)\b/i,
|
|
622
|
+
/\busage popover\b.{0,240}\b(5h|five-hour|weekly|remaining percentage|percent remaining|percent used|reset date|bucket)\b/i,
|
|
623
|
+
/\b(percent remaining|percent used)\b.{0,240}\b(5h|weekly|usage|popover|bucket|quota)\b/i,
|
|
624
|
+
/\b(weekly bucket|weekly pool|weekly usage)\b.{0,240}\b(rolling 7-day|natural week|calendar week|account-wide|workspace|device|CLI|cloud tasks?|reviews?)\b/i,
|
|
625
|
+
/\b(5h|five-hour|short-term window)\b.{0,160}\b(weekly|weekly pool|weekly bucket)\b.{0,160}\b(confusing|contradictory|inconsistent|under-explained|metering bug)\b/i,
|
|
626
|
+
/\bUsage remaining\b.{0,220}\b(does not say|unclear|ambiguous|scope|semantics|percent used|percent remaining)\b/i
|
|
627
|
+
],
|
|
628
|
+
suggestedRule: "When reporting Codex usage bucket confusion, capture subscription plan, account/workspace, app/CLI version, surface, timestamp, screenshot or redacted popover text, 5h percentage, weekly percentage, reset time/date, whether values are used or remaining, whether weekly is rolling or calendar-based, whether weekly includes app/CLI/cloud/review usage, `/status` output, usage dashboard state, and whether other devices or workspaces show the same values.",
|
|
629
|
+
suggestedSkill: "codex-usage-bucket-triage"
|
|
630
|
+
},
|
|
595
631
|
{
|
|
596
632
|
kind: "codex_token_burn",
|
|
597
633
|
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,EAAE,UAAU;QACpB,KAAK,EAAE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AAC,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" | "sensitive_file_access" | "hidden_unicode" | "prompt_injection" | "codex_remote_compact" | "context_compaction" | "codex_context_fork_bloat" | "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_subagent_lifecycle" | "codex_mcp_discovery_mismatch" | "codex_mcp_runtime" | "codex_mcp_streamable_http" | "codex_hooks_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_context_fork_bloat" | "codex_subagent_prompt_leakage" | "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_subagent_lifecycle" | "codex_mcp_discovery_mismatch" | "codex_mcp_runtime" | "codex_mcp_streamable_http" | "codex_hooks_runtime" | "codex_plugin_runtime" | "codex_file_tree_ui" | "codex_session_state" | "codex_usage_bucket_confusion" | "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
|
@@ -12,6 +12,7 @@ This benchmark runs the public fixture pack that ships with the repository and p
|
|
|
12
12
|
| Codex remote compact task failure | `fixtures/codex-remote-compact.md` | 59 | 3 | 0 | `codex_remote_compact`, `context_compaction`, `weak_evidence` | pass |
|
|
13
13
|
| Codex context compaction failure | `fixtures/context-compaction.md` | 59 | 3 | 0 | `codex_remote_compact`, `context_compaction`, `weak_evidence` | pass |
|
|
14
14
|
| Codex conversation fork context bloat | `fixtures/codex-context-fork-bloat.md` | 59 | 3 | 0 | `codex_context_fork_bloat`, `codex_thinking_hang`, `weak_evidence` | pass |
|
|
15
|
+
| Codex subagent prompt leakage or boundary failure | `fixtures/codex-subagent-prompt-leakage.md` | 75 | 2 | 0 | `codex_subagent_prompt_leakage`, `weak_evidence` | pass |
|
|
15
16
|
| Codex latest-turn drift after compaction | `fixtures/codex-latest-turn-drift.md` | 59 | 3 | 0 | `codex_latest_turn_drift`, `premature_completion`, `weak_evidence` | pass |
|
|
16
17
|
| Codex model and runtime latency regression | `fixtures/codex-latency-regression.md` | 75 | 2 | 0 | `codex_latency_regression`, `weak_evidence` | pass |
|
|
17
18
|
| Codex thinking and stream hang | `fixtures/codex-thinking-hang.md` | 75 | 2 | 0 | `codex_thinking_hang`, `weak_evidence` | pass |
|
|
@@ -35,6 +36,7 @@ This benchmark runs the public fixture pack that ships with the repository and p
|
|
|
35
36
|
| 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 |
|
|
36
37
|
| Codex file tree and workspace navigation UI failure | `fixtures/codex-file-tree-ui.md` | 75 | 2 | 0 | `codex_file_tree_ui`, `weak_evidence` | pass |
|
|
37
38
|
| Codex session resume and state failure | `fixtures/codex-session-state.md` | 59 | 3 | 0 | `codex_resource_leak`, `codex_session_state`, `weak_evidence` | pass |
|
|
39
|
+
| Codex usage bucket scope and percentage confusion | `fixtures/codex-usage-bucket-confusion.md` | 59 | 3 | 0 | `codex_token_burn`, `codex_usage_bucket_confusion`, `weak_evidence` | pass |
|
|
38
40
|
| Codex token burn and usage-drain loop | `fixtures/codex-token-burn.md` | 75 | 2 | 0 | `codex_token_burn`, `weak_evidence` | pass |
|
|
39
41
|
| Codex resource leak and runaway process | `fixtures/codex-resource-leak.md` | 75 | 2 | 0 | `codex_resource_leak`, `weak_evidence` | pass |
|
|
40
42
|
| Codex tool-call integrity and rollback failure | `fixtures/codex-tool-call-integrity.md` | 43 | 4 | 0 | `codex_resource_leak`, `codex_subagent_lifecycle`, `codex_tool_call_integrity`, `weak_evidence` | pass |
|
package/docs/CODEX_ISSUE_MAP.md
CHANGED
|
@@ -24,6 +24,7 @@ npx trace-to-skill lsp-audit . --format json
|
|
|
24
24
|
| OpenAI/Codex issue cluster | Common signals | Finding kind | Best command |
|
|
25
25
|
| --- | --- | --- | --- |
|
|
26
26
|
| Token burn, prompt-cache collapse, and usage drain | `tokens burning very fast`, `1% in 4 minutes`, `22 credits`, large cached input totals, `input_tokens` / `cached_input_tokens` / `cached_tokens` / `prompt_cache_key` rows, websocket reconnect cache drops, `write_stdin` empty polls, idle app usage, compaction tax, retry loops, subagent fan-out | `codex_token_burn` plus usage receipt and `prompt_cache_collapse` | `trace-to-skill usage-evidence ./usage-notes.md` first, then `trace-to-skill codex-report ./runs` for trace reports |
|
|
27
|
+
| Usage bucket scope and percentage confusion | usage popover shows `Usage remaining`, `5h 97%`, `Weekly 95%`, reset date without explaining percent remaining vs percent used, rolling 7-day vs calendar-week, account-wide vs workspace/device/app/CLI scope | `codex_usage_bucket_confusion` | `trace-to-skill codex-report ./runs` or `trace-to-skill demo usage-bucket-confusion` |
|
|
27
28
|
| Usage reset schedule drift | weekly reset time changes, `reset_at` jumps, saved quota is wiped or pushed into the next window, outage compensation reset changes the anchor | `codex_usage_reset_drift` | `trace-to-skill usage-evidence ./usage-notes.md` or `trace-to-skill codex-report ./runs` |
|
|
28
29
|
| Remote compact task failures | `/compact` or auto-compact fails, `responses/compact` stream disconnects, `timeout waiting for child process to exit`, `tcp_user_timeout` or `stream_idle_timeout_ms` workarounds, provider-id timeout drift | `codex_remote_compact` | `trace-to-skill codex-report ./runs` |
|
|
29
30
|
| Windows helper and bundled tool path failures | bundled `rg.exe`, `node_repl.exe`, `codex-command-runner.exe`, Browser, Chrome, or Computer Use helpers resolve through `WindowsApps`, missing `%LOCALAPPDATA%\OpenAI\Codex\bin`, broken LocalCache helper bins, `CodexSandboxUsers` ACL gaps, EFS/copyfile failures | `codex_windows_helper_path` | `trace-to-skill codex-report ./runs` |
|
|
@@ -37,6 +38,7 @@ npx trace-to-skill lsp-audit . --format json
|
|
|
37
38
|
| 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` |
|
|
38
39
|
| 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` |
|
|
39
40
|
| Context fork bloat and prompt-cache lineage loss | conversation fork carries full parent transcript, duplicate context blocks after fork boundary, `input_tokens` and `cached_input_tokens` jump before new files are read, `prompt_cache_key` changes despite inherited content, cache hit rate drops, `fork_context` history leaks into child context | `codex_context_fork_bloat` | `trace-to-skill codex-report ./runs` or `trace-to-skill demo context-fork-bloat` |
|
|
41
|
+
| Subagent prompt leakage and child-task boundary failure | `spawn_agent` with `fork_turns: "none"` records the delegated task as assistant/commentary, child rollout contains `recipient` / `trigger_turn` JSON envelopes, same-turn parallel children see sibling prompts, workers call tools from leaked sibling prompts, `wait_agent` or `close_agent` completes despite wrong task | `codex_subagent_prompt_leakage` | `trace-to-skill codex-report ./runs` or `trace-to-skill demo subagent-prompt-leakage` |
|
|
40
42
|
| 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` |
|
|
41
43
|
| Streamable HTTP MCP parse, handshake, auth, and reconnect failures | Penpot `JsonRpcMessage deserialize`, `Content-Type: text/event-stream` parse failures, n8n initialize then `Transport closed`, DingTalk OAuth/login gating, stale `streamable-http` session ids after server restart, missing header/User-Agent requirements | `codex_mcp_streamable_http` | `trace-to-skill codex-report ./runs` or `trace-to-skill demo mcp-streamable-http` |
|
|
42
44
|
| Hooks runtime and settings failures | Duplicate Hooks entries, `PostToolUse` twice for one tool call, false `codex_hooks` deprecation warnings with `[features].hooks`, hooks stop after rate limits/live edits/auto-restore, Windows `command_execution` skips `PreToolUse`, Hooks page cannot scroll or only shows generic Hook N rows | `codex_hooks_runtime` | `trace-to-skill codex-report ./runs` or `trace-to-skill demo hooks-runtime` |
|
|
@@ -82,6 +84,7 @@ npx trace-to-skill lsp-audit . --format json
|
|
|
82
84
|
- 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.
|
|
83
85
|
- 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.
|
|
84
86
|
- Include fork source and forked thread ids, fork timestamp, fork boundary marker, `input_tokens` and `cached_input_tokens` before/after fork, `prompt_cache_key` before/after, cache hit rate, duplicated parent-turn/tool-transcript examples, whether new files were read before token growth, compaction state, subagent/`fork_context` history, minimal repro steps, and non-fork control result for context-fork bloat.
|
|
87
|
+
- Include Codex Desktop/app/CLI version, MultiAgentV2 state, OS, model, parent thread id, child thread ids, exact `spawn_agent` arguments, `fork_turns`, role/profile, whether `multi_tool_use.parallel` or same-turn parallel spawning was used, redacted child rollout line order, first user/task message, assistant/commentary envelope lines, sibling prompt excerpts, `wait_agent` and `close_agent` results, unexpected child tool calls, and sequential single-child versus parallel-child controls for subagent prompt leakage.
|
|
85
88
|
- 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.
|
|
86
89
|
- Include Codex version, MCP server name, transport URL without secrets, initialize/tools/list/tools/call results, HTTP status, `Content-Type`, SSE event framing, JSON-RPC message shape, session id before/after restart, auth/OAuth expectations, User-Agent/header requirements, parse/deserialize error, another-client comparison, and reconnect/reinitialize behavior for Streamable HTTP MCP reports.
|
|
87
90
|
- Include app/CLI/extension version, OS, surface, shell/Desktop route, `[features].hooks`, redacted `hooks.json`, hook event type, matcher, handler command/name, expected versus observed fire count, duplicate event ids, deprecation warning text, trust state, live edit/rate-limit/auto-restore timing, Code Mode `exec` versus normal CLI comparison, linked-worktree cwd, Hooks settings UI evidence, and restart/reload/new-session behavior for hooks reports.
|
|
@@ -98,10 +101,12 @@ npx trace-to-skill lsp-audit . --format json
|
|
|
98
101
|
- For preflight exclusion reports, attach `sensitive-audit` output and recommended exclude globs; use `--format ignore --ignore-target codexignore` when maintainers want a reviewable `.codexignore` candidate. It does not read file contents or follow symlink targets.
|
|
99
102
|
- For LSP readiness reports, attach `lsp-audit` output so maintainers can see detected languages, evidence files, missing server commands, and install hints without auto-installing tools.
|
|
100
103
|
- For token-burn reports, attach `usage-evidence` output so quota-window percentages, rapid drain experiments, local token totals, prompt-cache collapse events, cached input, and orchestration-overhead signals are not collapsed into one ambiguous symptom.
|
|
104
|
+
- For usage bucket confusion, attach subscription plan, account/workspace, app/CLI version, surface, timestamp, redacted popover text or screenshot, 5h percentage, weekly percentage, reset time/date, whether values are used or remaining, whether weekly is rolling or calendar-based, whether weekly includes app/CLI/cloud/review usage, `/status`, dashboard state, and whether other devices/workspaces show the same values.
|
|
101
105
|
|
|
102
106
|
## Related OpenAI/Codex Threads Used For Fixtures
|
|
103
107
|
|
|
104
108
|
- Token burn, prompt-cache collapse, and usage drain: https://github.com/openai/codex/issues/14593, https://github.com/openai/codex/issues/20301, https://github.com/openai/codex/issues/13733, https://github.com/openai/codex/issues/25420, https://github.com/openai/codex/issues/19585
|
|
109
|
+
- Usage bucket scope and percentage confusion: https://github.com/openai/codex/issues/25471, https://github.com/openai/codex/issues/24860, https://github.com/openai/codex/issues/25343, https://github.com/openai/codex/issues/24274
|
|
105
110
|
- Usage reset schedule drift: https://github.com/openai/codex/issues/9508, https://github.com/openai/codex/issues/5999
|
|
106
111
|
- Remote compact task failures: https://github.com/openai/codex/issues/14860, https://github.com/openai/codex/issues/19009
|
|
107
112
|
- Windows helper and bundled tool path failures: https://github.com/openai/codex/issues/13542, https://github.com/openai/codex/issues/25357, https://github.com/openai/codex/issues/25220
|
|
@@ -112,6 +117,7 @@ npx trace-to-skill lsp-audit . --format json
|
|
|
112
117
|
- 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
|
|
113
118
|
- App connector auth cache and stale link regressions: https://github.com/openai/codex/issues/24675, https://github.com/openai/codex/issues/25443
|
|
114
119
|
- Context fork bloat and prompt-cache lineage loss: https://github.com/openai/codex/issues/25467, https://github.com/openai/codex/issues/24704, https://github.com/openai/codex/issues/24150, https://github.com/openai/codex/issues/13491, https://github.com/openai/codex/issues/24281
|
|
120
|
+
- Subagent prompt leakage and child-task boundary failure: https://github.com/openai/codex/issues/25458, https://github.com/openai/codex/issues/24150, https://github.com/openai/codex/issues/20543, https://github.com/openai/codex/issues/20077, https://github.com/openai/codex/issues/17323
|
|
115
121
|
- 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
|
|
116
122
|
- Streamable HTTP MCP parse, handshake, auth, and reconnect failures: https://github.com/openai/codex/issues/25451, https://github.com/openai/codex/issues/24439, https://github.com/openai/codex/issues/21532, https://github.com/openai/codex/issues/21903, https://github.com/openai/codex/issues/13920, https://github.com/openai/codex/issues/12869, https://github.com/openai/codex/issues/22571, https://github.com/openai/codex/issues/16485
|
|
117
123
|
- Hooks runtime and settings failures: https://github.com/openai/codex/issues/25437, https://github.com/openai/codex/issues/24781, https://github.com/openai/codex/issues/22148, https://github.com/openai/codex/issues/21160, https://github.com/openai/codex/issues/21639, https://github.com/openai/codex/issues/24453, https://github.com/openai/codex/issues/24211, https://github.com/openai/codex/issues/23996, https://github.com/openai/codex/issues/23906, https://github.com/openai/codex/issues/25293
|
package/docs/DEMO.md
CHANGED
|
@@ -83,6 +83,7 @@ Suggested rule:
|
|
|
83
83
|
|
|
84
84
|
- `remote-compact`: Long sessions break when `/compact` or auto-compaction times out, disconnects, or fails at `responses/compact`.
|
|
85
85
|
- `context-fork-bloat`: Conversation forks duplicate parent transcript blocks, inflate token usage, or break prompt-cache lineage before new work happens.
|
|
86
|
+
- `subagent-prompt-leakage`: MultiAgentV2 child agents receive assistant/commentary prompt envelopes or sibling prompts despite `fork_turns: "none"`.
|
|
86
87
|
- `windows-helper-path`: Windows Desktop exposes bundled rg/node/plugin helpers from WindowsApps or missing LocalCache paths that cannot execute.
|
|
87
88
|
- `approval-friction`: Repeated approval prompts, Approve for this session misses, and noisy trusted MCP tool approvals.
|
|
88
89
|
- `latency-regression`: Fast mode feels like Standard, with long thinking, search, read, or compaction stalls.
|
|
@@ -94,6 +95,7 @@ Suggested rule:
|
|
|
94
95
|
- `mcp-streamable-http`: Streamable HTTP or SSE MCP servers pass initialize or tools/list but fail parsing, handshakes, auth gating, stale sessions, or reconnects.
|
|
95
96
|
- `hooks-runtime`: Hooks duplicate, stop firing, warn about stale config, skip surfaces, or become hard to manage in Desktop settings.
|
|
96
97
|
- `terminal-output-integrity`: Terminal scrollback, streamed output, or transcript rendering drops, overwrites, truncates, or makes lines inaccessible.
|
|
98
|
+
- `usage-bucket-confusion`: Usage popovers show 5h and weekly percentages without clear remaining/used, rolling/calendar, or account/workspace scope.
|
|
97
99
|
- `token-burn`: Usage drains from background polling, idle activity, compaction loops, retries, or cached-heavy turns.
|
|
98
100
|
- `patch-overwrite`: `apply_patch` accepts `*** Add File` for an existing path, turning a create operation into a silent overwrite.
|
|
99
101
|
- `sensitive-files`: Secrets, local credentials, production env files, or private databases enter agent context.
|
|
@@ -105,6 +107,7 @@ Suggested rule:
|
|
|
105
107
|
trace-to-skill demo --list
|
|
106
108
|
trace-to-skill demo remote-compact
|
|
107
109
|
trace-to-skill demo context-fork-bloat
|
|
110
|
+
trace-to-skill demo subagent-prompt-leakage
|
|
108
111
|
trace-to-skill demo windows-helper-path
|
|
109
112
|
trace-to-skill demo patch-overwrite
|
|
110
113
|
trace-to-skill demo thinking-hang
|
|
@@ -116,6 +119,7 @@ trace-to-skill demo mcp-streamable-http
|
|
|
116
119
|
trace-to-skill demo hooks-runtime
|
|
117
120
|
trace-to-skill demo terminal-output-integrity
|
|
118
121
|
trace-to-skill demo subagent-lifecycle
|
|
122
|
+
trace-to-skill demo usage-bucket-confusion
|
|
119
123
|
trace-to-skill demo file-tree-ui
|
|
120
124
|
trace-to-skill demo usage-reset-drift
|
|
121
125
|
```
|
package/docs/DISCOVERY.md
CHANGED
|
@@ -40,6 +40,8 @@ This page is written for maintainers, search engines, package indexes, and AI re
|
|
|
40
40
|
- Codex `codex://oauth_callback`, notification clicks, browser-extension activation, mobile pairing links, or `codex app <path>` external launches fail to route back into Codex.
|
|
41
41
|
- Codex app connectors keep stale `link_*` authorization or discovery metadata after `401 Reauthentication required`, plugin reinstall, app restart, or cache regeneration.
|
|
42
42
|
- Codex conversation forks duplicate parent transcript blocks, inflate token counts, break `prompt_cache_key` lineage, drop cache hit rate, or leak `fork_context` subagent history into child context before new work happens.
|
|
43
|
+
- Codex subagents receive assistant/commentary prompt envelopes or sibling prompts despite `fork_turns: "none"`, making independent review, QA, and security lanes cross-contaminated.
|
|
44
|
+
- Codex usage popovers show 5h and weekly percentages without explaining remaining/used, rolling/calendar, or account/workspace/device scope.
|
|
43
45
|
- Codex usage drains unexpectedly because of rapid drain experiments (`1% in 4 minutes`, `22 credits`, `70% weekly in a day`), background `write_stdin` polling, idle app activity, compaction/replay overhead, retry loops, subagent fan-out, fast-mode drift, or cached-token-heavy turns.
|
|
44
46
|
- Codex weekly or 5-hour reset anchors move unexpectedly, saved usage is lost, or `/status` and the dashboard disagree about reset timing or enforcement.
|
|
45
47
|
- Codex usage evidence is scattered across `/status`, dashboard notes, reset tables, usage-limit messages, token totals, prompt-cache rows, cached input, and overhead clues, making high-signal reports hard to file.
|
|
@@ -77,6 +79,8 @@ npx trace-to-skill demo clipboard-attachment
|
|
|
77
79
|
npx trace-to-skill demo deeplink-launch
|
|
78
80
|
npx trace-to-skill demo connector-auth-cache
|
|
79
81
|
npx trace-to-skill demo context-fork-bloat
|
|
82
|
+
npx trace-to-skill demo subagent-prompt-leakage
|
|
83
|
+
npx trace-to-skill demo usage-bucket-confusion
|
|
80
84
|
npx trace-to-skill demo mcp-discovery-mismatch
|
|
81
85
|
npx trace-to-skill demo mcp-streamable-http
|
|
82
86
|
npx trace-to-skill demo hooks-runtime
|
|
@@ -147,7 +151,7 @@ npx trace-to-skill suggest ./runs --target agents-md
|
|
|
147
151
|
|
|
148
152
|
## Related Keywords
|
|
149
153
|
|
|
150
|
-
Codex, OpenAI Codex, Codex issue report, OpenAI triage, Codex LSP, Codex language server, lsp-audit, language-server readiness, typescript-language-server, pyright-langserver, gopls, rust-analyzer, sourcekit-lsp, clangd, Codex diagnostics bundle, privacy-preserving support bundle, workspace checkpoint, pre-agent checkpoint, Codex undo, Codex rewind, untracked file restore, sensitive path audit, sensitive-audit, agentignore, .agentignore, agentignore generator, codexignore, .codexignore, codexignore generator, aiexclude, .aiexclude, .gitignore candidates, exclude sensitive files, Codex plugin audit, Computer Use unavailable, Codex Browser plugin unavailable, bundled marketplace mismatch, generated runtime marketplace, plugin manifest missing, CODEX_HOME mismatch, Codex CLI, Codex sandbox, Windows sandbox, Codex config audit, Codex config.toml, Codex global state, .codex-global-state.json, Codex Speed reset, Codex Fast resets to Standard, service_tier fast, default-service-tier priority, has-user-changed-service-tier, Codex Preferences unable to save, configVersionConflict, default_permissions missing profile, Codex Windows helper path, Codex WindowsApps, Codex rg Access Denied, Codex ripgrep, CodexSandboxUsers, LocalCache Local OpenAI Codex bin, node_repl spawn setup refresh, Codex approval friction, Approve for this session, Allow for this session, approval_policy never, MCP approval prompts, default_tools_approval_mode, Playwright MCP approvals, Chrome DevTools MCP approvals, Codex auth, token_exchange_failed, Codex connectivity, stream disconnected, Codex connector auth cache, Codex Apps stale link, codex_apps_tools, codex_app_directory, Reauthentication required, refresh token revoked, isAccessible false, link_ connector, Codex deeplink, Codex OAuth callback, codex://oauth_callback, Unable to find Electron app, Error launching app, type=click&tag, AppUserModelID, DelegateExecute, codex app path, Codex remote compact, responses/compact, /compact timeout, tcp_user_timeout, stream_idle_timeout_ms, Codex context fork, Codex conversation fork, context fork bloat, codex context fork bloat, forked conversation duplicate context, prompt_cache_key lineage, prompt cache lineage, cached_input_tokens fork, cache hit rate fork, fork_context child context, Codex remote control, Codex mobile, Waiting for desktop, Directory Unavailable, stale listener, Codex terminal output, Codex scrollback, Codex terminal history, terminal output integrity, missing_count, missing_examples, tmux_scrollback_repro.sh, line_truncation_repro.md, Windows Terminal scrollback, transcript mode, Codex subagent lifecycle, Codex subagent audit, stale subagents, close_agent, wait_agent, spawn_agent, thread_spawn_edges, agent thread limit reached, agents.max_threads, list_agents, /agents, subagent child threads, fork_context, unbiased review, subagent recent conversations, Codex MCP runtime, MCP unsupported call, mcp__node_repl__js, MCP namespace serverName, MCP Transport closed, StdioServerTransport, Codex Streamable HTTP MCP, streamable-http MCP, HTTP/SSE MCP, MCP SSE, Content-Type text/event-stream, JsonRpcMessage deserialize, MCP handshake initialize, stale MCP session id, MCP reconnect, Penpot MCP, n8n MCP, DingTalk MCP, Codex hooks runtime, hooks.json, codex_hooks, features.hooks, PreToolUse, PostToolUse, SessionStart hook, duplicate hooks, Hook N, Hooks settings, command_execution hooks, Code Mode exec hooks, Codex plugin runtime, Computer Use native pipe path unavailable, SKY_CUA_NATIVE_PIPE_DIRECTORY, Plugin loading failed, plugin/list unknown variant vertical, Codex Browser plugin, Codex Computer Use, Codex Chrome plugin, stale plugin cache, codex plugin add, Codex file tree, Toggle File Tree, missing folder icon, floating file panel stale, file preview fails, workspace navigation, Codex project history disappeared, Codex project threads hidden, Codex session index repair, unindexed rollout thread, codex resume thread id, Codex latest-turn drift, Codex replies to earlier messages, stale prompt response, ignoring latest message, previous prompt, auto compaction forgets edits, raw tool payload leak, write_stdin session_id, Codex latency regression, GPT-5.5 Fast slow, Codex too slow, thinking stalls, Codex thinking hang, Codex stuck thinking, Codex Working stuck, no streamed follow-up, first response_item delayed, responses_http time.idle, model_client.stream_responses_api, turn/start, task_started, Codex Copy as Markdown missing, Codex Pasted text.txt, Codex long pasted prompt attachment, Codex clipboard export, Codex paste as text, Codex generated attachment preview edit, Codex goal ignores attachment, pasted-text-attachments.json, fileAttachments promptRaw composer.getText, pre-first-token latency, search/read latency, runtime scheduling latency, Codex resume, Codex session audit, Codex history audit, Codex history map, Codex session index, session_index.jsonl, Codex session state, rollout JSONL, logs_2.sqlite, codex-tui.log, sandbox.log, thread_goals, state_5.sqlite, goals_1.sqlite, archived chats, Codex token burn, Codex usage evidence, Codex rate-limit evidence, Codex usage drain, prompt cache collapse, prompt_cache_key, cached_input_tokens, cached_tokens, low cache hit rate, websocket reconnect cache drop, Codex usage reset, Codex weekly reset drift, reset_at changed, deterministic reset, rate limit reset, write_stdin polling, cached input tokens, compaction tax, background process polling, Codex process audit, PowerShell polling, powershell.exe Get-CimInstance Win32_Process, Win32_PerfFormattedData_PerfProc_Process, chat_processes.json stale entries, Codex resource leak, Codex performance, high CPU, high GPU, shell-snapshot, Code Helper Renderer, Codex tool-call integrity, apply_patch, apply_patch Add File overwrite, patch guard, guard-patch, Add File symlink, tool_call_id, failed revert changes, patch safety, Codex quota, usage limit, rate limits, sensitive files, Codex privacy, .env, private keys, credential files, AGENTS.md, SKILL.md, Claude Code, Cursor, Copilot coding agent, Gemini CLI, MCP, Model Context Protocol, prompt injection, agent evals, AI code review, open-source maintainers, trace redaction, SARIF, GitHub Actions.
|
|
154
|
+
Codex, OpenAI Codex, Codex issue report, OpenAI triage, Codex LSP, Codex language server, lsp-audit, language-server readiness, typescript-language-server, pyright-langserver, gopls, rust-analyzer, sourcekit-lsp, clangd, Codex diagnostics bundle, privacy-preserving support bundle, workspace checkpoint, pre-agent checkpoint, Codex undo, Codex rewind, untracked file restore, sensitive path audit, sensitive-audit, agentignore, .agentignore, agentignore generator, codexignore, .codexignore, codexignore generator, aiexclude, .aiexclude, .gitignore candidates, exclude sensitive files, Codex plugin audit, Computer Use unavailable, Codex Browser plugin unavailable, bundled marketplace mismatch, generated runtime marketplace, plugin manifest missing, CODEX_HOME mismatch, Codex CLI, Codex sandbox, Windows sandbox, Codex config audit, Codex config.toml, Codex global state, .codex-global-state.json, Codex Speed reset, Codex Fast resets to Standard, service_tier fast, default-service-tier priority, has-user-changed-service-tier, Codex Preferences unable to save, configVersionConflict, default_permissions missing profile, Codex Windows helper path, Codex WindowsApps, Codex rg Access Denied, Codex ripgrep, CodexSandboxUsers, LocalCache Local OpenAI Codex bin, node_repl spawn setup refresh, Codex approval friction, Approve for this session, Allow for this session, approval_policy never, MCP approval prompts, default_tools_approval_mode, Playwright MCP approvals, Chrome DevTools MCP approvals, Codex auth, token_exchange_failed, Codex connectivity, stream disconnected, Codex connector auth cache, Codex Apps stale link, codex_apps_tools, codex_app_directory, Reauthentication required, refresh token revoked, isAccessible false, link_ connector, Codex deeplink, Codex OAuth callback, codex://oauth_callback, Unable to find Electron app, Error launching app, type=click&tag, AppUserModelID, DelegateExecute, codex app path, Codex remote compact, responses/compact, /compact timeout, tcp_user_timeout, stream_idle_timeout_ms, Codex context fork, Codex conversation fork, context fork bloat, codex context fork bloat, forked conversation duplicate context, prompt_cache_key lineage, prompt cache lineage, cached_input_tokens fork, cache hit rate fork, fork_context child context, Codex subagent prompt leakage, Codex subagent prompt leak, subagent prompt boundary, MultiAgentV2, spawn_agent fork_turns none, assistant commentary prompt envelope, sibling prompt leakage, parallel child prompt contamination, wait_agent wrong task, close_agent wrong task, Codex usage bucket, Codex usage popover, Usage remaining, 5h weekly usage, weekly pool, usage percentage confusion, percent remaining, percent used, rolling 7-day usage, calendar week usage, account-wide Codex usage, Codex remote control, Codex mobile, Waiting for desktop, Directory Unavailable, stale listener, Codex terminal output, Codex scrollback, Codex terminal history, terminal output integrity, missing_count, missing_examples, tmux_scrollback_repro.sh, line_truncation_repro.md, Windows Terminal scrollback, transcript mode, Codex subagent lifecycle, Codex subagent audit, stale subagents, close_agent, wait_agent, spawn_agent, thread_spawn_edges, agent thread limit reached, agents.max_threads, list_agents, /agents, subagent child threads, fork_context, unbiased review, subagent recent conversations, Codex MCP runtime, MCP unsupported call, mcp__node_repl__js, MCP namespace serverName, MCP Transport closed, StdioServerTransport, Codex Streamable HTTP MCP, streamable-http MCP, HTTP/SSE MCP, MCP SSE, Content-Type text/event-stream, JsonRpcMessage deserialize, MCP handshake initialize, stale MCP session id, MCP reconnect, Penpot MCP, n8n MCP, DingTalk MCP, Codex hooks runtime, hooks.json, codex_hooks, features.hooks, PreToolUse, PostToolUse, SessionStart hook, duplicate hooks, Hook N, Hooks settings, command_execution hooks, Code Mode exec hooks, Codex plugin runtime, Computer Use native pipe path unavailable, SKY_CUA_NATIVE_PIPE_DIRECTORY, Plugin loading failed, plugin/list unknown variant vertical, Codex Browser plugin, Codex Computer Use, Codex Chrome plugin, stale plugin cache, codex plugin add, Codex file tree, Toggle File Tree, missing folder icon, floating file panel stale, file preview fails, workspace navigation, Codex project history disappeared, Codex project threads hidden, Codex session index repair, unindexed rollout thread, codex resume thread id, Codex latest-turn drift, Codex replies to earlier messages, stale prompt response, ignoring latest message, previous prompt, auto compaction forgets edits, raw tool payload leak, write_stdin session_id, Codex latency regression, GPT-5.5 Fast slow, Codex too slow, thinking stalls, Codex thinking hang, Codex stuck thinking, Codex Working stuck, no streamed follow-up, first response_item delayed, responses_http time.idle, model_client.stream_responses_api, turn/start, task_started, Codex Copy as Markdown missing, Codex Pasted text.txt, Codex long pasted prompt attachment, Codex clipboard export, Codex paste as text, Codex generated attachment preview edit, Codex goal ignores attachment, pasted-text-attachments.json, fileAttachments promptRaw composer.getText, pre-first-token latency, search/read latency, runtime scheduling latency, Codex resume, Codex session audit, Codex history audit, Codex history map, Codex session index, session_index.jsonl, Codex session state, rollout JSONL, logs_2.sqlite, codex-tui.log, sandbox.log, thread_goals, state_5.sqlite, goals_1.sqlite, archived chats, Codex token burn, Codex usage evidence, Codex rate-limit evidence, Codex usage drain, prompt cache collapse, prompt_cache_key, cached_input_tokens, cached_tokens, low cache hit rate, websocket reconnect cache drop, Codex usage reset, Codex weekly reset drift, reset_at changed, deterministic reset, rate limit reset, write_stdin polling, cached input tokens, compaction tax, background process polling, Codex process audit, PowerShell polling, powershell.exe Get-CimInstance Win32_Process, Win32_PerfFormattedData_PerfProc_Process, chat_processes.json stale entries, Codex resource leak, Codex performance, high CPU, high GPU, shell-snapshot, Code Helper Renderer, Codex tool-call integrity, apply_patch, apply_patch Add File overwrite, patch guard, guard-patch, Add File symlink, tool_call_id, failed revert changes, patch safety, Codex quota, usage limit, rate limits, sensitive files, Codex privacy, .env, private keys, credential files, AGENTS.md, SKILL.md, Claude Code, Cursor, Copilot coding agent, Gemini CLI, MCP, Model Context Protocol, prompt injection, agent evals, AI code review, open-source maintainers, trace redaction, SARIF, GitHub Actions.
|
|
151
155
|
|
|
152
156
|
## Non-Goals
|
|
153
157
|
|
package/docs/FAILURE_TAXONOMY.md
CHANGED
|
@@ -128,6 +128,22 @@ Common signals include a forked conversation carrying the full parent transcript
|
|
|
128
128
|
|
|
129
129
|
The fix is to capture Codex app/CLI/extension version, surface, model, fork source thread id, forked thread id, fork action timestamp, fork boundary marker, `input_tokens` and `cached_input_tokens` before and after the fork, `prompt_cache_key` before and after, cache hit rate, duplicated parent-turn or tool-transcript examples with line ids, whether new files were read before the token jump, compaction state, subagent or `fork_context` history, minimal reproduction steps, and whether a fresh thread or non-fork continuation avoids the bloat.
|
|
130
130
|
|
|
131
|
+
## Codex Usage Bucket Confusion
|
|
132
|
+
|
|
133
|
+
Codex usage reports can be technically correct but still impossible for users to interpret. When a popover shows 5h and weekly percentages without saying whether they are used or remaining, rolling or calendar-based, account-wide or workspace-local, users cannot tell whether the display is a metering bug or expected quota accounting.
|
|
134
|
+
|
|
135
|
+
Common signals include `Usage remaining`, compact rows like `5h 97%` and `Weekly 95%`, reset dates such as `Jun 7`, first-window-of-week confusion, labels that do not say percent remaining versus percent used, unclear rolling 7-day versus natural-week semantics, and uncertainty about whether app, CLI, cloud tasks, reviews, other devices, or other workspaces share the weekly pool.
|
|
136
|
+
|
|
137
|
+
The fix is to capture subscription plan, account/workspace, app/CLI version, surface, timestamp, screenshot or redacted popover text, 5h percentage, weekly percentage, reset time/date, whether values are used or remaining, whether weekly is rolling or calendar-based, whether weekly includes app/CLI/cloud/review usage, `/status` output, usage dashboard state, and whether other devices or workspaces show the same values.
|
|
138
|
+
|
|
139
|
+
## Codex Subagent Prompt Leakage
|
|
140
|
+
|
|
141
|
+
Codex MultiAgentV2 child agents can fail the task boundary even when the parent asks for isolated children. When `spawn_agent` with `fork_turns: "none"` records the delegated task as an assistant/commentary JSON envelope, or a same-turn parallel child sees a sibling prompt, independent review, QA, and security lanes are no longer independent.
|
|
142
|
+
|
|
143
|
+
Common signals include `spawn_agent` arguments with `fork_turns: "none"`, the initial child task appearing as `role=assistant` or `phase=commentary`, child rollout lines containing `recipient`, `trigger_turn`, or JSON prompt envelopes, `multi_tool_use.parallel` spawning multiple children in one parent turn, child A seeing child B's prompt, generic AGENTS/workspace acknowledgements instead of the assigned output, unexpected child tool calls from leaked sibling prompts, and `wait_agent` or `close_agent` reporting completion despite the wrong task.
|
|
144
|
+
|
|
145
|
+
The fix is to capture Codex Desktop/app/CLI version, MultiAgentV2 state, OS, model, parent thread id, child thread ids, exact `spawn_agent` arguments, `fork_turns`, role/profile, whether `multi_tool_use.parallel` or same-turn parallel spawning was used, redacted child rollout line order, first user/task message, assistant/commentary envelope lines, sibling prompt excerpts, `wait_agent` and `close_agent` results, unexpected child tool calls, and sequential single-child versus parallel-child controls.
|
|
146
|
+
|
|
131
147
|
## Codex Streamable HTTP MCP
|
|
132
148
|
|
|
133
149
|
Streamable HTTP and SSE MCP servers can be reachable and still fail inside Codex before or during tool calls. This is different from discovery mismatch because the server may initialize or expose tools, and different from stdio runtime failure because the failure sits in HTTP framing, JSON-RPC parsing, session reuse, auth expectations, or reconnect behavior.
|
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.84 |
|
|
7
7
|
| License | Apache-2.0 |
|
|
8
8
|
| Codex readiness | ready (100/100) |
|
|
9
|
-
| Benchmark | pass,
|
|
9
|
+
| Benchmark | pass, 38 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 38 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 38 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.84
|
|
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, 38 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 | 38 |
|
|
13
13
|
|
|
14
14
|
## Doctor Summary
|
|
15
15
|
|
|
@@ -29,6 +29,7 @@ This benchmark runs the public fixture pack that ships with the repository and p
|
|
|
29
29
|
| Codex remote compact task failure | `fixtures/codex-remote-compact.md` | 59 | 3 | 0 | `codex_remote_compact`, `context_compaction`, `weak_evidence` | pass |
|
|
30
30
|
| Codex context compaction failure | `fixtures/context-compaction.md` | 59 | 3 | 0 | `codex_remote_compact`, `context_compaction`, `weak_evidence` | pass |
|
|
31
31
|
| Codex conversation fork context bloat | `fixtures/codex-context-fork-bloat.md` | 59 | 3 | 0 | `codex_context_fork_bloat`, `codex_thinking_hang`, `weak_evidence` | pass |
|
|
32
|
+
| Codex subagent prompt leakage or boundary failure | `fixtures/codex-subagent-prompt-leakage.md` | 75 | 2 | 0 | `codex_subagent_prompt_leakage`, `weak_evidence` | pass |
|
|
32
33
|
| Codex latest-turn drift after compaction | `fixtures/codex-latest-turn-drift.md` | 59 | 3 | 0 | `codex_latest_turn_drift`, `premature_completion`, `weak_evidence` | pass |
|
|
33
34
|
| Codex model and runtime latency regression | `fixtures/codex-latency-regression.md` | 75 | 2 | 0 | `codex_latency_regression`, `weak_evidence` | pass |
|
|
34
35
|
| Codex thinking and stream hang | `fixtures/codex-thinking-hang.md` | 75 | 2 | 0 | `codex_thinking_hang`, `weak_evidence` | pass |
|
|
@@ -52,6 +53,7 @@ This benchmark runs the public fixture pack that ships with the repository and p
|
|
|
52
53
|
| 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 |
|
|
53
54
|
| Codex file tree and workspace navigation UI failure | `fixtures/codex-file-tree-ui.md` | 75 | 2 | 0 | `codex_file_tree_ui`, `weak_evidence` | pass |
|
|
54
55
|
| Codex session resume and state failure | `fixtures/codex-session-state.md` | 59 | 3 | 0 | `codex_resource_leak`, `codex_session_state`, `weak_evidence` | pass |
|
|
56
|
+
| Codex usage bucket scope and percentage confusion | `fixtures/codex-usage-bucket-confusion.md` | 59 | 3 | 0 | `codex_token_burn`, `codex_usage_bucket_confusion`, `weak_evidence` | pass |
|
|
55
57
|
| Codex token burn and usage-drain loop | `fixtures/codex-token-burn.md` | 75 | 2 | 0 | `codex_token_burn`, `weak_evidence` | pass |
|
|
56
58
|
| Codex resource leak and runaway process | `fixtures/codex-resource-leak.md` | 75 | 2 | 0 | `codex_resource_leak`, `weak_evidence` | pass |
|
|
57
59
|
| Codex tool-call integrity and rollback failure | `fixtures/codex-tool-call-integrity.md` | 43 | 4 | 0 | `codex_resource_leak`, `codex_subagent_lifecycle`, `codex_tool_call_integrity`, `weak_evidence` | pass |
|
package/docs/USE_CASES.md
CHANGED
|
@@ -11,6 +11,7 @@ npx trace-to-skill demo
|
|
|
11
11
|
npx trace-to-skill demo --list
|
|
12
12
|
npx trace-to-skill demo remote-compact
|
|
13
13
|
npx trace-to-skill demo context-fork-bloat
|
|
14
|
+
npx trace-to-skill demo subagent-prompt-leakage
|
|
14
15
|
npx trace-to-skill demo windows-helper-path
|
|
15
16
|
npx trace-to-skill demo patch-overwrite
|
|
16
17
|
npx trace-to-skill demo latency-regression
|
|
@@ -23,6 +24,7 @@ npx trace-to-skill demo mcp-streamable-http
|
|
|
23
24
|
npx trace-to-skill demo hooks-runtime
|
|
24
25
|
npx trace-to-skill demo terminal-output-integrity
|
|
25
26
|
npx trace-to-skill demo subagent-lifecycle
|
|
27
|
+
npx trace-to-skill demo usage-bucket-confusion
|
|
26
28
|
npx trace-to-skill sensitive-audit .
|
|
27
29
|
npx trace-to-skill sensitive-audit . --format ignore --ignore-target codexignore --output .codexignore.generated
|
|
28
30
|
npx trace-to-skill lsp-audit .
|
|
@@ -32,7 +34,7 @@ What it proves:
|
|
|
32
34
|
|
|
33
35
|
- packaged fixtures can produce a real Codex issue report immediately
|
|
34
36
|
- maintainers can inspect the output shape before sharing any private log
|
|
35
|
-
- demos cover remote compact failures, context fork bloat, 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, Streamable HTTP MCP parse/handshake failures, hooks runtime failures, terminal output/scrollback integrity, subagent lifecycle drift, token burn, sensitive files, and prompt injection
|
|
37
|
+
- demos cover remote compact failures, context fork bloat, subagent prompt leakage, usage bucket confusion, 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, Streamable HTTP MCP parse/handshake failures, hooks runtime failures, terminal output/scrollback integrity, subagent lifecycle drift, token burn, sensitive files, and prompt injection
|
|
36
38
|
- `sensitive-audit` scans filenames and paths before an agent run, without reading file contents, so teams can build `.agentignore`, `.aiexclude`, `.codexignore`, `.gitignore`, or sandbox permission profiles from a concrete repo report
|
|
37
39
|
- `lsp-audit` scans repo language signals and PATH availability so teams know which language servers are ready before asking Codex for symbol-aware edits
|
|
38
40
|
|
|
@@ -57,7 +59,7 @@ What it proves:
|
|
|
57
59
|
Recommended CI surface:
|
|
58
60
|
|
|
59
61
|
```yaml
|
|
60
|
-
- uses: grnbtqdbyx-create/trace-to-skill@v0.1.
|
|
62
|
+
- uses: grnbtqdbyx-create/trace-to-skill@v0.1.84
|
|
61
63
|
with:
|
|
62
64
|
mode: all
|
|
63
65
|
doctor-threshold: "85"
|
|
@@ -160,7 +162,21 @@ This catches signals such as forked conversations carrying the full parent trans
|
|
|
160
162
|
|
|
161
163
|
Include Codex app/CLI/extension version, surface, model, fork source thread id, forked thread id, fork action timestamp, fork boundary marker, `input_tokens` and `cached_input_tokens` before and after the fork, `prompt_cache_key` before and after, cache hit rate, duplicated parent-turn or tool-transcript examples with line ids, whether new files were read before the token jump, compaction state, subagent or `fork_context` history, minimal reproduction steps, and whether a fresh thread or non-fork continuation avoids the bloat.
|
|
162
164
|
|
|
163
|
-
## 9. Codex
|
|
165
|
+
## 9. Codex Subagent Prompt Leakage Evidence
|
|
166
|
+
|
|
167
|
+
Use this when `spawn_agent` child tasks are not isolated, especially with `fork_turns: "none"` or same-turn parallel subagent spawning.
|
|
168
|
+
|
|
169
|
+
```bash
|
|
170
|
+
npx trace-to-skill demo subagent-prompt-leakage
|
|
171
|
+
npx trace-to-skill analyze ./runs --format json
|
|
172
|
+
npx trace-to-skill codex-report ./runs --output openai-codex-subagent-prompt-leakage.md
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
This catches signals such as delegated `spawn_agent` messages recorded as assistant/commentary JSON envelopes, child rollout lines containing `recipient` or `trigger_turn`, same-turn `multi_tool_use.parallel` child prompts leaking into sibling child rollouts, generic workspace acknowledgements instead of assigned outputs, unexpected child tool calls from leaked sibling prompts, and `wait_agent` or `close_agent` reporting completion despite the wrong task.
|
|
176
|
+
|
|
177
|
+
Include Codex Desktop/app/CLI version, MultiAgentV2 state, OS, model, parent thread id, child thread ids, exact `spawn_agent` arguments, `fork_turns`, role/profile, whether `multi_tool_use.parallel` or same-turn parallel spawning was used, redacted child rollout line order, first user/task message, assistant/commentary envelope lines, sibling prompt excerpts, `wait_agent` and `close_agent` results, unexpected child tool calls, and sequential single-child versus parallel-child controls.
|
|
178
|
+
|
|
179
|
+
## 10. Codex Usage Evidence Packaging
|
|
164
180
|
|
|
165
181
|
Use this when a Codex usage issue has scattered evidence across `/status`, dashboard notes, reset tables, token totals, prompt-cache rows, cached input, and local overhead clues.
|
|
166
182
|
|
|
@@ -180,7 +196,21 @@ The receipt separates:
|
|
|
180
196
|
- orchestration-overhead signals that may burn usage without accepted work
|
|
181
197
|
- suspected cause buckets to keep public reports comparable
|
|
182
198
|
|
|
183
|
-
##
|
|
199
|
+
## 11. Codex Usage Bucket Scope Evidence
|
|
200
|
+
|
|
201
|
+
Use this when Codex usage UI shows 5h and weekly percentages but does not explain the accounting scope.
|
|
202
|
+
|
|
203
|
+
```bash
|
|
204
|
+
npx trace-to-skill demo usage-bucket-confusion
|
|
205
|
+
npx trace-to-skill analyze ./runs --format json
|
|
206
|
+
npx trace-to-skill codex-report ./runs --output openai-codex-usage-bucket-confusion.md
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
This catches signals such as `Usage remaining`, `5h 97%`, `Weekly 95%`, reset dates without scope labels, percent remaining versus percent used ambiguity, rolling 7-day versus natural-week ambiguity, and uncertainty about whether app, CLI, cloud tasks, reviews, other devices, or other workspaces share the weekly pool.
|
|
210
|
+
|
|
211
|
+
Include subscription plan, account/workspace, app/CLI version, surface, timestamp, screenshot or redacted popover text, 5h percentage, weekly percentage, reset time/date, whether values are used or remaining, whether weekly is rolling or calendar-based, whether weekly includes app/CLI/cloud/review usage, `/status` output, usage dashboard state, and whether other devices or workspaces show the same values.
|
|
212
|
+
|
|
213
|
+
## 12. Codex Windows Helper Path Triage
|
|
184
214
|
|
|
185
215
|
Use this when Codex Desktop on Windows discovers bundled tools or plugin helpers but cannot execute them from the integrated terminal, tool runner, Browser, Chrome, Computer Use, or node_repl path.
|
|
186
216
|
|
|
@@ -190,7 +220,7 @@ npx trace-to-skill codex-report ./runs --output openai-codex-windows-helper-issu
|
|
|
190
220
|
|
|
191
221
|
This catches signals such as `Program 'rg.exe' failed to run`, `Access is denied`, `WindowsApps\OpenAI.Codex...\app\resources`, missing `%LOCALAPPDATA%\OpenAI\Codex\bin`, missing MSIX LocalCache helper bins, `CodexSandboxUsers` ACL/RX problems, `copyfile` failures from WindowsApps bundled plugin manifests, EFS/Application Protected attributes, `windows sandbox failed: spawn setup refresh`, `missing-helper-path`, and unavailable Browser/Chrome/Computer Use plugin helpers.
|
|
192
222
|
|
|
193
|
-
##
|
|
223
|
+
## 13. Codex Mobile And Remote-Control Route Health
|
|
194
224
|
|
|
195
225
|
Use this when Codex mobile, SSH remote, or desktop remote-control says it is connected but commands do not reach the expected host, workspace, or app-server.
|
|
196
226
|
|
|
@@ -200,7 +230,7 @@ npx trace-to-skill analyze ./runs --format json
|
|
|
200
230
|
|
|
201
231
|
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.
|
|
202
232
|
|
|
203
|
-
##
|
|
233
|
+
## 14. Codex Terminal Output And Scrollback Integrity
|
|
204
234
|
|
|
205
235
|
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.
|
|
206
236
|
|
|
@@ -214,7 +244,7 @@ This catches signals such as Windows Terminal scrollback lines disappearing, str
|
|
|
214
244
|
|
|
215
245
|
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.
|
|
216
246
|
|
|
217
|
-
##
|
|
247
|
+
## 15. Codex Subagent Lifecycle And State Reconciliation
|
|
218
248
|
|
|
219
249
|
Use this when subagents appear completed, closed, stale, or interrupted but Codex cannot reconcile UI state, live handles, persisted spawn edges, parent discoverability, and active spawn quota.
|
|
220
250
|
|
|
@@ -228,7 +258,7 @@ This catches signals such as completed subagents remaining visible in the Subage
|
|
|
228
258
|
|
|
229
259
|
Include Codex app/CLI/extension version, OS, surface, model, subscription/workspace, root thread id, subagent ids/nicknames/roles, spawn/close/list commands, `close_agent` results, `list_agents` or `/agents` output, `thread_spawn_edges` status counts, `agents.max_threads` or registry quota evidence, recent-list/sidebar behavior, child-thread archive/top-level status, last-progress or halt reason, MCP server state, compaction/resume timing, redacted UI evidence, restart/reload behavior, and whether stale agents are UI-only or still block spawns.
|
|
230
260
|
|
|
231
|
-
##
|
|
261
|
+
## 16. Codex MCP Runtime Triage
|
|
232
262
|
|
|
233
263
|
Use this when MCP tools are configured and visible, but Codex cannot actually call them at runtime.
|
|
234
264
|
|
|
@@ -239,7 +269,7 @@ npx trace-to-skill config-audit ~/.codex --format json
|
|
|
239
269
|
|
|
240
270
|
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.
|
|
241
271
|
|
|
242
|
-
##
|
|
272
|
+
## 17. Codex Resume And Session State Triage
|
|
243
273
|
|
|
244
274
|
Use this when long Codex sessions become difficult to resume, Desktop history rendering gets sluggish, or local state migrations break goals/projects/history.
|
|
245
275
|
|
|
@@ -256,7 +286,7 @@ This catches signals such as `codex resume` picker hangs, `codex resume <id>` wo
|
|
|
256
286
|
|
|
257
287
|
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.
|
|
258
288
|
|
|
259
|
-
##
|
|
289
|
+
## 18. Codex File Tree UI Evidence
|
|
260
290
|
|
|
261
291
|
Use this when Codex Desktop cannot reveal project files through the native file tree, folder icon, floating file panel, or built-in preview.
|
|
262
292
|
|
|
@@ -267,7 +297,7 @@ npx trace-to-skill codex-report ./runs --output openai-codex-issue.md
|
|
|
267
297
|
|
|
268
298
|
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.
|
|
269
299
|
|
|
270
|
-
##
|
|
300
|
+
## 19. Codex Token Burn Attribution
|
|
271
301
|
|
|
272
302
|
Use this when Codex usage drains faster than expected and the trace needs to separate useful model work from orchestration overhead.
|
|
273
303
|
|
|
@@ -280,7 +310,7 @@ This catches signals such as tokens `burning very fast`, usage dropping by visib
|
|
|
280
310
|
|
|
281
311
|
For public reports, prefer `usage-evidence` first so the quota-window, local-token, and orchestration-overhead layers are visible separately.
|
|
282
312
|
|
|
283
|
-
##
|
|
313
|
+
## 20. Usage Reset Drift Evidence
|
|
284
314
|
|
|
285
315
|
Use this when Codex reset timing changes unexpectedly or users lose the ability to plan paid usage.
|
|
286
316
|
|
|
@@ -291,7 +321,7 @@ npx trace-to-skill codex-report ./runs --output openai-codex-issue.md
|
|
|
291
321
|
|
|
292
322
|
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.
|
|
293
323
|
|
|
294
|
-
##
|
|
324
|
+
## 21. Quota And Usage-Limit Evidence
|
|
295
325
|
|
|
296
326
|
Use this when Codex blocks a prompt with a usage-limit message but another surface still shows remaining quota.
|
|
297
327
|
|
|
@@ -301,7 +331,7 @@ npx trace-to-skill analyze ./runs --format json
|
|
|
301
331
|
|
|
302
332
|
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.
|
|
303
333
|
|
|
304
|
-
##
|
|
334
|
+
## 22. Codex Resource Leak Evidence
|
|
305
335
|
|
|
306
336
|
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.
|
|
307
337
|
|
|
@@ -323,7 +353,7 @@ npx trace-to-skill process-audit ./process-notes.md --format json
|
|
|
323
353
|
|
|
324
354
|
`process-audit` packages Task Manager, System Informer, `Get-CimInstance`, `ps`, `top`, or handwritten process measurement snippets into a smaller public report. It detects PowerShell/pwsh CIM polling such as `Get-CimInstance Win32_Process`, high-CPU Codex/helper/renderer samples, stale `process_manager/chat_processes.json` mentions, and runaway helper signals without inspecting live processes or asking users to post full raw process dumps.
|
|
325
355
|
|
|
326
|
-
##
|
|
356
|
+
## 23. Codex Thinking Hang Evidence
|
|
327
357
|
|
|
328
358
|
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.
|
|
329
359
|
|
|
@@ -337,7 +367,7 @@ This catches signals such as `turn/start`, `task_started`, a completed local too
|
|
|
337
367
|
|
|
338
368
|
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.
|
|
339
369
|
|
|
340
|
-
##
|
|
370
|
+
## 24. Codex Clipboard And Pasted-Text Attachment Evidence
|
|
341
371
|
|
|
342
372
|
Use this when copy/export, long pasted prompts, or generated `Pasted text.txt` attachments break Codex prompt, `/goal`, or support-report workflows.
|
|
343
373
|
|
|
@@ -351,7 +381,7 @@ This catches signals such as `Copy as Markdown` disappearing from the Copy menu,
|
|
|
351
381
|
|
|
352
382
|
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.
|
|
353
383
|
|
|
354
|
-
##
|
|
384
|
+
## 25. Codex Deeplink And External Launch Evidence
|
|
355
385
|
|
|
356
386
|
Use this when OAuth callbacks, notification clicks, browser extension activation, mobile pairing, or CLI app-open commands fail to route back into Codex.
|
|
357
387
|
|
|
@@ -365,7 +395,7 @@ This catches signals such as `codex://oauth_callback?code=...` opening an Electr
|
|
|
365
395
|
|
|
366
396
|
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.
|
|
367
397
|
|
|
368
|
-
##
|
|
398
|
+
## 26. Codex App Connector Auth Cache Evidence
|
|
369
399
|
|
|
370
400
|
Use this when Codex app connectors appear installed but keep stale auth or discovery metadata after a reauth-required response.
|
|
371
401
|
|
|
@@ -379,7 +409,7 @@ This catches signals such as `401: "Server returned 401: 'Reauthentication requi
|
|
|
379
409
|
|
|
380
410
|
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.
|
|
381
411
|
|
|
382
|
-
##
|
|
412
|
+
## 27. Codex MCP Discovery And Config Scope Evidence
|
|
383
413
|
|
|
384
414
|
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.
|
|
385
415
|
|
|
@@ -393,7 +423,7 @@ This catches signals such as `MCP servers not detected in Codex VS Code extensio
|
|
|
393
423
|
|
|
394
424
|
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.
|
|
395
425
|
|
|
396
|
-
##
|
|
426
|
+
## 28. Codex Streamable HTTP MCP Evidence
|
|
397
427
|
|
|
398
428
|
Use this when a Streamable HTTP or SSE MCP server is reachable but Codex fails during JSON-RPC parsing, handshake, auth gating, stale session reuse, or reconnect.
|
|
399
429
|
|
|
@@ -407,7 +437,7 @@ This catches signals such as Penpot `JsonRpcMessage deserialize` or response-par
|
|
|
407
437
|
|
|
408
438
|
Include Codex version, MCP server name, transport URL without secrets, initialize/tools/list/tools/call results, HTTP status, `Content-Type`, SSE event framing, JSON-RPC message shape, session id before and after reconnect or server restart, auth/OAuth expectations, User-Agent/header requirements, exact parse/deserialize error, whether curl or another MCP client succeeds, and whether restarting Codex or reinitializing the transport recovers.
|
|
409
439
|
|
|
410
|
-
##
|
|
440
|
+
## 29. Codex Hooks Runtime Evidence
|
|
411
441
|
|
|
412
442
|
Use this when Codex hooks duplicate, stop firing, emit stale deprecation warnings, behave differently across CLI/Desktop/Code Mode/Windows, or become hard to inspect in settings.
|
|
413
443
|
|
|
@@ -421,7 +451,7 @@ This catches signals such as duplicate Hooks entries for one tool call, `PostToo
|
|
|
421
451
|
|
|
422
452
|
Include Codex app/CLI/extension version, OS, surface, shell or Desktop route, `[features].hooks` and `hooks.json` snippets without secrets, hook event type, matcher, handler command/name, expected versus observed fire count, duplicate event ids, exact deprecation warning, trust state, live-edit/rate-limit/auto-restore timing, Code Mode `exec` versus normal CLI comparison, linked-worktree cwd, Hooks settings UI screenshot if relevant, and whether restart/reload/new session restores behavior.
|
|
423
453
|
|
|
424
|
-
##
|
|
454
|
+
## 30. Patch Overwrite Guard
|
|
425
455
|
|
|
426
456
|
Use this before applying a generated patch when you want create/update/delete semantics checked against the actual workspace.
|
|
427
457
|
|
|
@@ -438,7 +468,7 @@ For a public demo report:
|
|
|
438
468
|
npx trace-to-skill demo patch-overwrite
|
|
439
469
|
```
|
|
440
470
|
|
|
441
|
-
##
|
|
471
|
+
## 31. Sensitive Path Preflight Before Agent Runs
|
|
442
472
|
|
|
443
473
|
Use this before giving an AI coding agent a repository.
|
|
444
474
|
|
|
@@ -453,7 +483,7 @@ This finds sensitive-looking paths such as `.env`, `.env.*`, `.npmrc`, `.pypirc`
|
|
|
453
483
|
|
|
454
484
|
The output includes a stable JSON schema plus recommended exclude globs that can seed `.agentignore`, `.aiexclude`, `.codexignore`, `.gitignore`, local sandbox permission profiles, or team security review checklists. `--format ignore` renders a reviewable generated file candidate and still does not mutate the repo. It is a preflight report, not a sandbox boundary.
|
|
455
485
|
|
|
456
|
-
##
|
|
486
|
+
## 32. Workspace Checkpoint Before Agent Runs
|
|
457
487
|
|
|
458
488
|
Use this before giving Codex, Claude, Cursor, or another coding agent a dirty repository where untracked local work matters.
|
|
459
489
|
|
|
@@ -466,7 +496,7 @@ This writes a local checkpoint bundle with `status.txt`, staged and unstaged bin
|
|
|
466
496
|
|
|
467
497
|
This is useful for OpenAI/Codex `/undo` and `/rewind` discussions where users need workspace protection beyond conversation rewind, especially when untracked files are outside normal commit history.
|
|
468
498
|
|
|
469
|
-
##
|
|
499
|
+
## 33. OpenAI Codex Issue Report
|
|
470
500
|
|
|
471
501
|
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.
|
|
472
502
|
|
|
@@ -479,7 +509,7 @@ The report includes the likely Codex failure class, line-linked evidence, diagno
|
|
|
479
509
|
|
|
480
510
|
For a cluster-to-command map of current Codex issue patterns, see [CODEX_ISSUE_MAP.md](CODEX_ISSUE_MAP.md).
|
|
481
511
|
|
|
482
|
-
##
|
|
512
|
+
## 34. Sensitive File Access Evidence
|
|
483
513
|
|
|
484
514
|
Use this when a trace suggests an agent read, attached, uploaded, diffed, or indexed credential-bearing files.
|
|
485
515
|
|
|
@@ -492,7 +522,7 @@ This catches signals such as `.env`, `.env.production`, `.npmrc`, `.pypirc`, `.n
|
|
|
492
522
|
|
|
493
523
|
Before publishing evidence, run `trace-to-skill redact` and attach only redacted excerpts plus the file path/class.
|
|
494
524
|
|
|
495
|
-
##
|
|
525
|
+
## 35. GitHub Context Guard
|
|
496
526
|
|
|
497
527
|
Use this before an agent reads untrusted GitHub text.
|
|
498
528
|
|
|
@@ -509,7 +539,7 @@ Use it when:
|
|
|
509
539
|
- a bot asks Codex to triage untrusted user reports
|
|
510
540
|
- logs or comments might contain instructions like "ignore previous instructions" or "print secrets"
|
|
511
541
|
|
|
512
|
-
##
|
|
542
|
+
## 36. Failed Agent Run To Reviewable Rule
|
|
513
543
|
|
|
514
544
|
Use this when a coding agent made a repeated workflow mistake.
|
|
515
545
|
|
|
@@ -527,7 +557,7 @@ Recommended maintainer loop:
|
|
|
527
557
|
4. Copy only evidence-backed rules into the real policy file.
|
|
528
558
|
5. Run `eval` or `scorecard` in CI so the same failure does not silently return.
|
|
529
559
|
|
|
530
|
-
##
|
|
560
|
+
## 37. Privacy-Preserving Adoption
|
|
531
561
|
|
|
532
562
|
Use this when you want public evidence without leaking private traces.
|
|
533
563
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Codex MultiAgentV2 Subagent Prompt Leakage
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
Codex Desktop MultiAgentV2 spawned child agents with `fork_turns: "none"`, but the child rollout did not treat the `spawn_agent` message as an isolated user task.
|
|
6
|
+
|
|
7
|
+
## Evidence
|
|
8
|
+
|
|
9
|
+
- `spawn_agent` was called with `fork_turns: "none"` for `task_name: exp1_seq_b`.
|
|
10
|
+
- The initial task appeared in the child rollout as `role=assistant`, `phase=commentary`, not as a user/task message.
|
|
11
|
+
- The assistant/commentary JSON envelope contained `recipient: /root/exp1_seq_b`, `trigger_turn: true`, and `content: BLACKBOX_PROBE_B`.
|
|
12
|
+
- In a same-turn parallel spawn through `multi_tool_use.parallel`, child A received sibling child B's prompt envelope before child A produced a final answer.
|
|
13
|
+
- The leaked sibling prompt included `recipient: /root/exp2_parallel_b` and `content: BLACKBOX_PARALLEL_B`, even though child A had `fork_turns: "none"`.
|
|
14
|
+
- The child replied with a generic workspace or AGENTS acknowledgement instead of the exact assigned task output.
|
|
15
|
+
- In a worker-role run, a child saw the sibling prompt and called `spawn_agent` itself despite instructions not to use tools.
|
|
16
|
+
- `wait_agent` and `close_agent` reported completion, but the child did not perform the assigned independent review task.
|
|
17
|
+
|
|
18
|
+
## Expected
|
|
19
|
+
|
|
20
|
+
For `spawn_agent` with `fork_turns: "none"`, the child should receive only the delegated task as its initial user-equivalent instruction. Parallel children should not see sibling prompt envelopes unless shared context is explicitly requested.
|
|
21
|
+
|
|
22
|
+
## Diagnostics To Attach
|
|
23
|
+
|
|
24
|
+
Include Codex Desktop version, CLI version, MultiAgentV2 state, model, OS, parent thread id, child thread ids, `spawn_agent` arguments, `fork_turns`, role/profile, whether `multi_tool_use.parallel` was used, redacted child rollout line order, first child user/task message, assistant/commentary envelope lines, sibling prompt excerpts, `wait_agent` and `close_agent` results, and whether sequential single-child spawns reproduce.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Codex Usage Bucket Confusion
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
Codex Desktop usage popover shows short-term and weekly buckets as compact percentages, but the scope and semantics are unclear.
|
|
6
|
+
|
|
7
|
+
## Evidence
|
|
8
|
+
|
|
9
|
+
- The in-app usage popover shows `Usage remaining`.
|
|
10
|
+
- The 5h row shows `5h 97% 6:23 PM`.
|
|
11
|
+
- The Weekly row shows `Weekly 95% Jun 7`.
|
|
12
|
+
- The user believes this is the first 5-hour usage window of the week, so `5h: 97% remaining` and `Weekly: 95% remaining` look contradictory.
|
|
13
|
+
- The popover does not say whether percentages are percent remaining or percent used.
|
|
14
|
+
- The popover does not say whether the weekly bucket is a natural week, rolling 7-day window, or account-wide pool.
|
|
15
|
+
- It is unclear whether weekly usage includes Codex Desktop, CLI, cloud tasks, reviews, other devices, or other workspaces.
|
|
16
|
+
- Without scope labels, the usage popover looks like a metering bug or contradictory quota display.
|
|
17
|
+
|
|
18
|
+
## Expected
|
|
19
|
+
|
|
20
|
+
The UI should label the accounting scope explicitly:
|
|
21
|
+
|
|
22
|
+
```text
|
|
23
|
+
Current 5h window: 97% remaining
|
|
24
|
+
Weekly pool: 95% remaining
|
|
25
|
+
Includes all Codex usage across app, CLI, cloud tasks, reviews, and devices
|
|
26
|
+
Resets Jun 7
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
If the weekly bucket is rolling rather than calendar-week based, the popover should say `Rolling 7-day window`.
|
|
30
|
+
|
|
31
|
+
## Diagnostics To Attach
|
|
32
|
+
|
|
33
|
+
Include subscription plan, account/workspace, app/CLI version, surface, timestamp, screenshot or redacted text of the popover, 5h percentage, weekly percentage, reset time/date, whether the percentages mean used or remaining, whether weekly is rolling or calendar-based, whether the weekly pool includes app/CLI/cloud/review usage, `/status` output, usage dashboard state, and whether other devices or workspaces show the same values.
|
package/llms.txt
CHANGED
|
@@ -35,6 +35,8 @@ Runtime: Node.js 20+
|
|
|
35
35
|
- Codex deeplink, OAuth callback, notification click, browser-extension activation, mobile pairing, and `codex app <path>` launch regressions
|
|
36
36
|
- Codex app connector stale auth/cache regressions such as `401 Reauthentication required`, unchanged `link_*`, `isAccessible: false`, and broken `codex_apps_tools` metadata
|
|
37
37
|
- Codex context fork bloat and prompt-cache lineage failures where conversation forks duplicate parent transcript blocks, inflate `input_tokens`, change `prompt_cache_key`, drop cache hit rate, or leak `fork_context` subagent history into child context before new work happens
|
|
38
|
+
- Codex subagent prompt leakage where `spawn_agent` with `fork_turns: "none"` delivers assistant/commentary prompt envelopes, same-turn parallel children see sibling prompts, or `wait_agent`/`close_agent` completes despite the wrong child task
|
|
39
|
+
- Codex usage popover bucket confusion where `Usage remaining`, `5h`, weekly percentages, reset dates, percent remaining vs percent used, rolling 7-day vs calendar-week, or account/workspace/device scope are unclear
|
|
38
40
|
- Codex token-burn, prompt-cache collapse, and usage-drain failures such as rapid drain experiments (`1% in 4 minutes`, `22 credits`, `70% weekly in a day`), `input_tokens` / `cached_input_tokens` / `prompt_cache_key` rows, websocket reconnect cache drops, background `write_stdin` polling, idle app usage, compaction tax, retry/tool loops, cached-token-heavy turns, fast-mode drift, subagent fan-out, and unclear usage attribution
|
|
39
41
|
- Codex process evidence packaging for Windows PowerShell/pwsh CIM polling, high-CPU helpers, stale process-manager entries, and renderer runaways
|
|
40
42
|
- Codex usage reset schedule drift such as weekly reset dates moving, `reset_at` jumping, saved usage disappearing, outage compensation resets changing the anchor, and `/status` disagreeing with enforcement
|
|
@@ -84,6 +86,8 @@ npx trace-to-skill demo clipboard-attachment
|
|
|
84
86
|
npx trace-to-skill demo deeplink-launch
|
|
85
87
|
npx trace-to-skill demo connector-auth-cache
|
|
86
88
|
npx trace-to-skill demo context-fork-bloat
|
|
89
|
+
npx trace-to-skill demo subagent-prompt-leakage
|
|
90
|
+
npx trace-to-skill demo usage-bucket-confusion
|
|
87
91
|
npx trace-to-skill demo mcp-discovery-mismatch
|
|
88
92
|
npx trace-to-skill demo mcp-streamable-http
|
|
89
93
|
npx trace-to-skill demo hooks-runtime
|
|
@@ -115,7 +119,7 @@ npx trace-to-skill init --comment --sarif
|
|
|
115
119
|
## GitHub Action
|
|
116
120
|
|
|
117
121
|
```yaml
|
|
118
|
-
- uses: grnbtqdbyx-create/trace-to-skill@v0.1.
|
|
122
|
+
- uses: grnbtqdbyx-create/trace-to-skill@v0.1.84
|
|
119
123
|
with:
|
|
120
124
|
mode: all
|
|
121
125
|
doctor-threshold: "85"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trace-to-skill",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.84",
|
|
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",
|
|
@@ -146,6 +146,9 @@
|
|
|
146
146
|
"codex-demo",
|
|
147
147
|
"codex-token-burn",
|
|
148
148
|
"codex-usage",
|
|
149
|
+
"codex-usage-bucket",
|
|
150
|
+
"usage-popover",
|
|
151
|
+
"rate-limit-ui",
|
|
149
152
|
"codex-reset",
|
|
150
153
|
"codex-usage-reset",
|
|
151
154
|
"codex-resource-leak",
|
|
@@ -167,6 +170,10 @@
|
|
|
167
170
|
"codex-context-fork",
|
|
168
171
|
"context-bloat",
|
|
169
172
|
"fork-bloat",
|
|
173
|
+
"codex-subagent-prompt",
|
|
174
|
+
"subagent-prompt-leak",
|
|
175
|
+
"multiagentv2",
|
|
176
|
+
"fork-turns",
|
|
170
177
|
"usage-receipt",
|
|
171
178
|
"codex-usage-receipt",
|
|
172
179
|
"codex-usage-spike",
|
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
"codex_remote_compact",
|
|
72
72
|
"context_compaction",
|
|
73
73
|
"codex_context_fork_bloat",
|
|
74
|
+
"codex_subagent_prompt_leakage",
|
|
74
75
|
"codex_latest_turn_drift",
|
|
75
76
|
"codex_latency_regression",
|
|
76
77
|
"codex_thinking_hang",
|
|
@@ -91,6 +92,7 @@
|
|
|
91
92
|
"codex_plugin_runtime",
|
|
92
93
|
"codex_file_tree_ui",
|
|
93
94
|
"codex_session_state",
|
|
95
|
+
"codex_usage_bucket_confusion",
|
|
94
96
|
"codex_token_burn",
|
|
95
97
|
"codex_resource_leak",
|
|
96
98
|
"codex_tool_call_integrity",
|