@tangle-network/traces 0.9.6 → 0.9.8

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 CHANGED
@@ -81,6 +81,7 @@ The deterministic pass (free, no key) surfaces:
81
81
  |---|---|---|
82
82
  | `claude-code` (`claude`, `claudish`, `openclaw`, `nanoclaw`) | `~/.claude/projects/<cwd>/*.jsonl` (+ subagent sidechains) | verified |
83
83
  | `codex` (`codex-acp`) | `~/.codex/sessions/**/rollout-*.jsonl` | verified |
84
+ | `codex-exec` (`codex-json`) | explicit `codex exec --json` JSONL file | fixture |
84
85
  | `opencode` | `~/.local/share/opencode/storage/` | verified |
85
86
  | `gemini` (`gemini-cli`) | `~/.gemini/tmp/<hash>/chats/session-*.json` | verified |
86
87
  | `pi` | `~/.pi/agent/sessions/<cwd>/*.jsonl` | verified |
@@ -105,6 +106,7 @@ traces convert --harness claude-code --last 1 --otlp spans.jsonl # OTLP only
105
106
  traces index --all --since 24h --out session-index.json
106
107
  traces inspect session-index.json --out inspection-report.md
107
108
  traces evidence --harness codex --last 20 --out policy-evidence.jsonl
109
+ traces evidence --harness codex-exec --session /tmp/codex.jsonl --cwd "$PWD" --out policy-evidence.jsonl
108
110
  traces export policy-evidence.jsonl --out spans.openinference.jsonl
109
111
  traces watch --all # live observer; loops + semantic findings
110
112
  traces stream --all --mode findings # low-volume semantic feed
@@ -249,10 +251,13 @@ traces evidence --all --since 24h --out policy-evidence.jsonl --otlp spans.otlp.
249
251
 
250
252
  `--last` follows recent file activity and is useful for live inspection.
251
253
  For a reproducible report, run `traces list` first and pass its session ID with `--session`.
254
+ Ephemeral `codex exec --json` output has no discovery location, so select its file with `--harness codex-exec --session <path>`.
255
+ The adapter rejects empty, incomplete, or other JSONL formats instead of emitting zero-valued session evidence.
252
256
 
253
257
  Each JSONL row is one session:
254
258
 
255
259
  - session provenance: harness, session id, cwd, path, mtime
260
+ - explicit-session source binding: `provenance.sourceSha256` over the exact stable input bytes
256
261
  - repo labels: `tangle.subject.key`, `git.repository`, branch, commit
257
262
  - behavior metrics: span counts, LLM turns, tool calls, errored tool calls, tokens, models, tool histogram
258
263
  - mining signals: stuck loops and tool error rate