Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
16
16
family
stringclasses
139 values
source_surface
stringclasses
1 value
source_ref
stringlengths
102
187
messages
listlengths
4
200
outcome
dict
difficulty
stringclasses
3 values
dsh-599d4b10-30f
unknown
dsh-sessions
/Users/<user>/.dsh/sessions/--root--/session-599d4b10-30fc-420d-975f-e85b7012b3e1/session.v4.jsonl.zstd
[ { "role": "user", "content": "Execute exactly this shell command and print its JSON output verbatim, adding nothing else: /usr/bin/python3 /Users/<user>/.dsh/media-watcher/watch.py" }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "chatcmpl-tool-b08ad581931f0404...
{ "gate": "ddr-landed-or-committed", "verdict": "fail", "evidence": "no DDR dated 2026-11-08 in 3 stores; no commit in / within window" }
low
dsh-9470ccba-3c3
worktrees
dsh-sessions
"/Users/<user>/.dsh/sessions/--Users-tmiller-worktrees--/session-9470ccba-3c38-4c89-b62d-d6a78aa9c3c(...TRUNCATED)
[{"role":"assistant","content":"I'll start by inspecting the current durable state — the goal, the(...TRUNCATED)
{"gate":"ddr-landed","verdict":"pass","evidence":"DDR 2026-10-22-tmp-dsh-remote-harness.ddr.yaml exi(...TRUNCATED)
high
dsh-288d8562-c6e
unknown
dsh-sessions
"/Users/<user>/.dsh/sessions/--root--/session-288d8562-c6e0-4d78-b7e0-5b090a34623e/session.v4.jsonl.(...TRUNCATED)
[{"role":"user","content":"Execute exactly this shell command and print its JSON output verbatim, ad(...TRUNCATED)
{"gate":"ddr-landed-or-committed","verdict":"fail","evidence":"no DDR dated 2026-11-05 in 3 stores; (...TRUNCATED)
low
dsh-539a66c1-b0d
gray-turtle
dsh-sessions
"/Users/<user>/.dsh/sessions/--Users-tmiller-.paseo-worktrees-1u75ycvv-gray-turtle--/session-539a66c(...TRUNCATED)
[{"role":"user","content":"<paseo_session_context>\n<shell-yeah>\nThis chat has a /sh feature: the u(...TRUNCATED)
{"gate":"committed","verdict":"pass","evidence":"commit 4d973ff731 chore(bakeoff): loop-qwen3.8-27b-(...TRUNCATED)
high
dsh-7c187f5a-515
unknown
dsh-sessions
"/Users/<user>/.dsh/sessions/--root--/session-7c187f5a-5154-43d3-999a-cd79cd2080d3/session.v4.jsonl.(...TRUNCATED)
[{"role":"user","content":"Execute exactly this shell command and print its JSON output verbatim, ad(...TRUNCATED)
{"gate":"ddr-landed-or-committed","verdict":"fail","evidence":"no DDR dated 2026-11-05 in 3 stores; (...TRUNCATED)
low
dsh-5f368d53-fb3
juicy-giraffe
dsh-sessions
"/Users/<user>/.dsh/sessions/--Users-tmiller-.paseo-worktrees-1u75ycvv-juicy-giraffe--/session-5f368(...TRUNCATED)
[{"role":"user","content":"<goal_enhancer>\nThe user issued /goal with this raw objective:\n\"give a(...TRUNCATED)
{"gate":"ddr-landed","verdict":"pass","evidence":"DDR 2026-10-29-mac-studio-dns-identity.yaml exists(...TRUNCATED)
high
dsh-7433642f-660
unknown
dsh-sessions
"/Users/<user>/.dsh/sessions/--root--/session-7433642f-6608-46a4-8b17-54631ba5f3a1/session.v4.jsonl.(...TRUNCATED)
[{"role":"user","content":"Execute exactly this shell command and print its JSON output verbatim, ad(...TRUNCATED)
{"gate":"ddr-landed","verdict":"pass","evidence":"DDR 2026-11-06-google-workspace-mcp-wedge-restart.(...TRUNCATED)
low
dsh-fafc11af-324
new-installs
dsh-sessions
"/Users/<user>/.dsh/sessions/--Users-tmiller-worktrees-New~0020Installs--/session-fafc11af-324b-46d1(...TRUNCATED)
[{"role":"assistant","content":"I'll start by loading the relevant skills and checking the workspace(...TRUNCATED)
{"gate":"ddr-landed","verdict":"pass","evidence":"DDR 2026-10-24-admin-merge-escape-window.yaml exis(...TRUNCATED)
high
dsh-3e32f3f2-a9d
unknown
dsh-sessions
"/Users/<user>/.dsh/sessions/--root--/session-3e32f3f2-a9d7-412f-9f19-00767b03410f/session.v4.jsonl.(...TRUNCATED)
[{"role":"user","content":"Execute exactly this shell command and print its JSON output verbatim, ad(...TRUNCATED)
{"gate":"ddr-landed-or-committed","verdict":"fail","evidence":"no DDR dated 2026-11-08 in 3 stores; (...TRUNCATED)
low
dsh-82175498-27b
break-fix
dsh-sessions
"/Users/<user>/.dsh/sessions/--Users-tmiller-worktrees-Break-Fix--/session-82175498-27b6-408f-b2d1-f(...TRUNCATED)
[{"role":"user","content":"we are now stuck in a loop in two sessions that are waiting for answers t(...TRUNCATED)
{"gate":"ddr-landed","verdict":"pass","evidence":"DDR 2026-10-25-tmp-dsh-desktop-cookie-overflow.yam(...TRUNCATED)
high
End of preview. Expand in Data Studio

Harness Adapter Corpus

Outcome-gated agent session trajectories from one operator's real infrastructure work, published as training data for harness adapters — small LoRA adapters that make a coding-agent harness more efficient, following the Hugging Face harness-adapters recipe. Every record ties a real session to a verifiable outcome: a governance record that landed and passed its schema gate, or a commit inside the session's worktree window.

4,193 trajectories · 4,017 outcome-verified · 2026-07-06 .. 2026-11-08

Dataset structure

Three configs, one per source surface. Each line is one session trajectory:

{
  "id": "dsh-3f9c2a1b",
  "family": "session-trajectory",
  "source_surface": "dsh",
  "source_ref": "session-store-relative-path",
  "messages": [
    {"role": "user", "content": "..."},
    {"role": "assistant", "tool_calls": [...]},
    {"role": "tool", "content": "..."}
  ],
  "outcome": {"gate": "ddr-landed", "verdict": "pass",
               "evidence": "the governance record exists in the landed set"},
  "difficulty": "high"
}
  • messages are the real session turns (user requests, assistant replies with tool calls, tool results), clipped at 6,000/4,000 characters, max 200 messages per trajectory.
  • outcome.verdict is pass for 4,017 records; the remaining 176 are held with their failing evidence — useful negatives for reward shaping.
  • Thinking parts, mount notices and credential-pin events are dropped.

Loading

from datasets import load_dataset

ds = load_dataset("dabsLabs/harness-adapter-corpus", "omp-macbook")

Provenance

config records source period
dsh-studio 1,726 DSH agent sessions, Mac Studio 2026-10-22 .. 2026-11-08
omp-studio 260 OMP agent sessions, Mac Studio (post-trim remnant) 2026-10-25 .. 2026-11-07
omp-macbook 2,207 OMP agent sessions, MacBook Pro (the pre-trim history) 2026-07-06 .. 2026-11-06

Session stores were inventoried read-only before extraction (3,674 DSH transcripts, 4,553 OMP files); substantive sessions (>20 KB) were selected stratified across size terciles.

Redaction and sensitive information

Two layers, applied before upload:

  1. safeagents scrub (the harness-hub tooling) — credentials, secret-named environment values, emails, home directories and public IP addresses redacted in place; records are kept with values masked so the trajectory shape survives.
  2. gitleaks as the drop-gate, iterated to zero findings — records that still tripped a secret detector were dropped, never published: 69 from the Studio sources, 614 from the MacBook source.

Report a leak: open a Discussion on this dataset or contact the owners through the dabsLabs org — confirmed leaks are pulled immediately and the affected records re-scrubbed.

Out-of-scope uses

Not a benchmark; not instruction-tuning data for public assistants. The sessions are one operator's infrastructure operations (Kubernetes, GitOps, CI, governance records) — general coding assistants will not find web-app-style tasks here.

Limitations

  • Outcome gates are date-correlated, not causal. A session counted as DDR-landed may correlate with a record the operator landed the same day. Treat the OMP gates as weak supervision; the DSH worktree-commit subset is the sharper signal.
  • The OMP period coverage is complete for what survives at the source: the Studio-side store was trimmed on 2026-10-26, and the MacBook-side store supplied the pre-trim history. Earlier sessions were deleted at the source, not by us.
  • Tool results are clipped; very long sessions are truncated at 200 messages.
  • Assistant turns come from several models over the period (a local fleet); no per-model attribution is included.

License

The dataset files are released under CC-BY-4.0. The underlying session content is the operator's own work product on his own infrastructure.

Citation

@misc{dabslabs_harness_adapter_corpus_2026,
  author = {dabsLabs},
  title = {Harness Adapter Corpus: outcome-gated agent session trajectories},
  year = {2026},
  howpublished = {\\url{https://huggingface.co/datasets/dabsLabs/harness-adapter-corpus}}
}
Downloads last month
23