You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Report an export, selection, formatting, or privacy issue.
3
+
title: "[Bug]: "
4
+
labels:
5
+
- bug
6
+
body:
7
+
- type: markdown
8
+
attributes:
9
+
value: |
10
+
Thanks for reporting a problem. Please do not paste private session content, secrets, or full local paths unless they are necessary and already sanitized.
11
+
- type: textarea
12
+
id: summary
13
+
attributes:
14
+
label: Summary
15
+
description: What went wrong?
16
+
placeholder: The exporter selected the wrong session when...
17
+
validations:
18
+
required: true
19
+
- type: textarea
20
+
id: expected
21
+
attributes:
22
+
label: Expected Behavior
23
+
description: What did you expect to happen?
24
+
validations:
25
+
required: true
26
+
- type: textarea
27
+
id: actual
28
+
attributes:
29
+
label: Actual Behavior
30
+
description: What happened instead?
31
+
validations:
32
+
required: true
33
+
- type: textarea
34
+
id: reproduction
35
+
attributes:
36
+
label: Reproduction
37
+
description: Minimal steps or sanitized JSONL records that reproduce the issue.
38
+
render: text
39
+
validations:
40
+
required: true
41
+
- type: input
42
+
id: python
43
+
attributes:
44
+
label: Python Version
45
+
placeholder: "python3 --version"
46
+
- type: input
47
+
id: codex
48
+
attributes:
49
+
label: Codex Version
50
+
placeholder: "Codex CLI/Desktop version, if known"
51
+
- type: textarea
52
+
id: notes
53
+
attributes:
54
+
label: Additional Notes
55
+
description: Any extra context, sanitized logs, or related links.
Session JSONL and Markdown rendering changes are syntax-sensitive. Before changing parser, serializer, escaping, redaction, or selection behavior, define the invariant being changed and add regression tests for:
29
+
30
+
- positive cases that prove the bug is fixed
31
+
- negative cases that prove nearby literal text is preserved
32
+
- contextual cases that prove the rewrite only applies in the intended structure
33
+
34
+
For delimiter-sensitive changes, include near-miss examples such as literal Markdown fences, quoted context markers, and prose that only looks like injected context.
@@ -72,6 +79,7 @@ Markdown is the default output because LLM conversations already use Markdown he
72
79
-**Current-session selection**: prefers the active Codex conversation when available.
73
80
-**Workspace-aware fallback**: falls back to the latest session for the current workspace, then latest globally.
74
81
-**Privacy-conscious defaults**: excludes system prompts, developer instructions, AGENTS context injection, environment context injection, reasoning records, and tool logs by default.
82
+
-**Path redaction by default**: Markdown metadata shows only local source basenames unless full source paths are explicitly requested.
75
83
-**Optional tool-log export**: include tool logs only when you explicitly ask for them.
76
84
77
85
## Safety Boundaries
@@ -82,6 +90,8 @@ By default, the export includes:
82
90
- visible assistant messages
83
91
- session metadata such as session id, source file, cwd, timestamps, originator, and CLI version
84
92
93
+
Local source file paths and cwd metadata are redacted by default. The exported Markdown keeps only basenames such as `rollout-...jsonl` and the workspace folder name.
94
+
85
95
By default, the export excludes:
86
96
87
97
- system prompts
@@ -93,6 +103,8 @@ By default, the export excludes:
93
103
94
104
Tool calls and command output are exported only when you explicitly ask the Skill to include tool logs.
95
105
106
+
Advanced script users can pass `--json` for machine-readable output, or `--show-paths` when they intentionally need full local source paths in Markdown metadata.
107
+
96
108
## Session Selection
97
109
98
110
When you do not specify a session, the Skill tries to export the current Codex conversation first. If the current conversation id is unavailable, it falls back to the latest session recorded for the active workspace, then to the latest session globally.
@@ -115,4 +127,6 @@ Issues and pull requests are welcome. Please keep changes aligned with the core
0 commit comments