<feed xmlns='http://www.w3.org/2005/Atom'>
<title>superpowers.git/tests/inline-eval/score.py, branch spike/inline-execution</title>
<subtitle>Agentic skills framework and development workflow
</subtitle>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/'/>
<entry>
<title>inline-eval: fixture directories with scoring maps and defect probes; ledgerlite fixture</title>
<updated>2026-09-16T23:16:55+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@primeradiant.com</email>
</author>
<published>2026-09-16T23:16:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=6834055a87c9daa5f63e7bf98507d0f38ef16073'/>
<id>6834055a87c9daa5f63e7bf98507d0f38ef16073</id>
<content type='text'>
The runner takes INLINE_EVAL_FIXTURE (default fixtures/wordstat, which
links to the sdd-tiny evals fixture). A fixture dir carries plan.md,
design.md, starter files, plus scoring.json (task-&gt;test map, impl dir,
suite command) and probe.sh (planted-defect checks), both stripped from
the worker's copy. The scorer reads both and prints one row per probe.

fixtures/ledgerlite is a six-task plan with a real producer/consumer
chain, one planted Interfaces mismatch (Task 6 says parse_csv takes a
path; Task 2 produces parse_csv(text)), and one spec-stated behavior no
task tests (malformed amount -&gt; stderr message, exit 2). Adds the sddrf
arm (SDD with the Review Focus section) for evaluating that change
against SDD.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The runner takes INLINE_EVAL_FIXTURE (default fixtures/wordstat, which
links to the sdd-tiny evals fixture). A fixture dir carries plan.md,
design.md, starter files, plus scoring.json (task-&gt;test map, impl dir,
suite command) and probe.sh (planted-defect checks), both stripped from
the worker's copy. The scorer reads both and prints one row per probe.

fixtures/ledgerlite is a six-task plan with a real producer/consumer
chain, one planted Interfaces mismatch (Task 6 says parse_csv takes a
path; Task 2 produces parse_csv(text)), and one spec-stated behavior no
task tests (malformed amount -&gt; stderr message, exit 2). Adds the sddrf
arm (SDD with the Review Focus section) for evaluating that change
against SDD.
</pre>
</div>
</content>
</entry>
<entry>
<title>inline-eval: add barefork arm (forked adversarial reviewer per task)</title>
<updated>2026-09-16T22:03:10+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@primeradiant.com</email>
</author>
<published>2026-09-16T22:03:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=87200ddd3009ea97106fd8e3fa19d6077d05d8c5'/>
<id>87200ddd3009ea97106fd8e3fa19d6077d05d8c5</id>
<content type='text'>
Bare plan execution plus, after each task, a forked subagent told that it
is a fork of the implementer, shares its context and assumptions, and
must find issues rather than confirm. No end-of-run fresh review, so any
catch is the fork's or the primed implementer's. Scorer dedupes tool_use
ids because a fork's transcript repeats its parent's history.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bare plan execution plus, after each task, a forked subagent told that it
is a fork of the implementer, shares its context and assumptions, and
must find issues rather than confirm. No end-of-run fresh review, so any
catch is the fork's or the primed implementer's. Scorer dedupes tool_use
ids because a fork's transcript repeats its parent's history.
</pre>
</div>
</content>
</entry>
<entry>
<title>inline-eval: add sdd arm and merge subagent tool calls into scoring</title>
<updated>2026-09-16T20:18:52+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@primeradiant.com</email>
</author>
<published>2026-09-16T20:18:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=099eb6d3a306e23f2d5e889a3809344eaec1e3df'/>
<id>099eb6d3a306e23f2d5e889a3809344eaec1e3df</id>
<content type='text'>
The sdd arm runs the same fixture and checkout with the prompt asking
for subagent-driven-development, so inline and SDD can be compared on
one plan. In SDD runs the implementer subagents do the writes and test
runs, so the scorer now merges tool calls from the main transcript and
every subagent transcript into one timestamp-ordered stream before
checking RED-before-GREEN per task.

Clean 3x3 results (dev inline, spike inline, sdd) are under
results/2026-09-16-clean/.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The sdd arm runs the same fixture and checkout with the prompt asking
for subagent-driven-development, so inline and SDD can be compared on
one plan. In SDD runs the implementer subagents do the writes and test
runs, so the scorer now merges tool calls from the main transcript and
every subagent transcript into one timestamp-ordered stream before
checking RED-before-GREEN per task.

Clean 3x3 results (dev inline, spike inline, sdd) are under
results/2026-09-16-clean/.
</pre>
</div>
</content>
</entry>
<entry>
<title>inline-eval: run each rep in a clean CLAUDE_CONFIG_DIR</title>
<updated>2026-09-16T19:55:18+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@primeradiant.com</email>
</author>
<published>2026-09-16T19:55:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=55e24aeedcb0fb0c11da705ad441ecbefee6574c'/>
<id>55e24aeedcb0fb0c11da705ad441ecbefee6574c</id>
<content type='text'>
The first 3x2 run was confounded: workers inherited the host's global
CLAUDE.md (which mandates TDD), user hooks, and installed plugins, so
the baseline arm behaved better than a real user's would. Those
scorecards are kept under results/2026-09-16-host-confounded/.

Each rep now gets a fresh CLAUDE_CONFIG_DIR seeded with the three
fields Claude Code's first-run wizard writes (hasCompletedOnboarding,
lastOnboardingVersion, customApiKeyResponses.approved) plus workspace
trust, API-key auth from evals/.env, and a private tmux server per rep
so per-rep env vars reach the worker. The dev checkout is a detached
worktree (a branch already checked out elsewhere cannot be added
again), and its absence now fails loudly instead of launching a worker
with no plugin. wait requires 30s of sustained idle, since csd reports
idle briefly between a turn's stop and a background subagent's first
tool call.

Clean 3x2 results are under results/2026-09-16-clean/.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The first 3x2 run was confounded: workers inherited the host's global
CLAUDE.md (which mandates TDD), user hooks, and installed plugins, so
the baseline arm behaved better than a real user's would. Those
scorecards are kept under results/2026-09-16-host-confounded/.

Each rep now gets a fresh CLAUDE_CONFIG_DIR seeded with the three
fields Claude Code's first-run wizard writes (hasCompletedOnboarding,
lastOnboardingVersion, customApiKeyResponses.approved) plus workspace
trust, API-key auth from evals/.env, and a private tmux server per rep
so per-rep env vars reach the worker. The dev checkout is a detached
worktree (a branch already checked out elsewhere cannot be added
again), and its absence now fails loudly instead of launching a worker
with no plugin. wait requires 30s of sustained idle, since csd reports
idle briefly between a turn's stop and a background subagent's first
tool call.

Clean 3x2 results are under results/2026-09-16-clean/.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add inline-eval: lightweight A/B harness for executing-plans</title>
<updated>2026-09-16T19:31:05+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@primeradiant.com</email>
</author>
<published>2026-09-16T19:31:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=8a8acb46d3014bbac3fab5844e4e9703f133a791'/>
<id>8a8acb46d3014bbac3fab5844e4e9703f133a791</id>
<content type='text'>
Drives real Claude Code sessions through claude-session-driver (csd)
against the sdd-tiny fixture with only the superpowers checkout under
test loaded: a --settings override disables every installed plugin and
--plugin-dir loads one copy, so the SessionStart hook, bootstrap, and
Skill tool are the real thing. Two arms: dev (baseline) and this
checkout.

Three environment problems the runner handles: Claude's workspace-trust
dialog for a never-seen directory (pre-recorded in ~/.claude.json), the
macOS keychain being unreachable from an old tmux server (private tmux
socket dir), and the ~104-char unix socket path limit (short socket
path). Workers that dispatch a background Agent end their turn early,
so wait loops until the worker is idle.

score.py reads the session transcript for ordered tool calls (Bash
heredoc writes count as writes, since bypass mode steers workers to
them), checks RED-before-GREEN per task, counts Agent dispatches and
ledger writes, runs the suite, and totals tokens across the main
session and its subagent transcripts.

Results of the first 3x2 run are in results/2026-09-16/.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Drives real Claude Code sessions through claude-session-driver (csd)
against the sdd-tiny fixture with only the superpowers checkout under
test loaded: a --settings override disables every installed plugin and
--plugin-dir loads one copy, so the SessionStart hook, bootstrap, and
Skill tool are the real thing. Two arms: dev (baseline) and this
checkout.

Three environment problems the runner handles: Claude's workspace-trust
dialog for a never-seen directory (pre-recorded in ~/.claude.json), the
macOS keychain being unreachable from an old tmux server (private tmux
socket dir), and the ~104-char unix socket path limit (short socket
path). Workers that dispatch a background Agent end their turn early,
so wait loops until the worker is idle.

score.py reads the session transcript for ordered tool calls (Bash
heredoc writes count as writes, since bypass mode steers workers to
them), checks RED-before-GREEN per task, counts Agent dispatches and
ledger writes, runs the suite, and totals tokens across the main
session and its subagent transcripts.

Results of the first 3x2 run are in results/2026-09-16/.
</pre>
</div>
</content>
</entry>
</feed>
