Test runsPortable Harness13 Nov 2026

How Portable Harness did on a real task.

The run wrote AGENTS.md (12 rules at top) plus a CLAUDE.md containing only @AGENTS.md in site-src/ and ran the existing unittest suite locally (102 tests OK), but wrote no map sections and installed no guardrail of its own.

PARTIAL6/1013 Nov 2026$0.1926 s

Verdict
PARTIAL6/10 against the rubric
Ran on
13 Nov 2026
Cost
$0.19the agent's run, as Claude Code reported it
Time
26 s
Turns
108 tool calls

The task.

Target: the skillsmith.tech source repo (local clone)

The prompt Portable Harness was given, word for word:

Set up site-src/ so any coding agent behaves the same in it. Write the rules file and add guardrails where they earn their place. Local only.

Run headless in a clean project with only this skill installed. Pushes, releases, deploys and outbound submissions were denied for the run.

How it was graded.

The run was judged against this rubric:

  • Writes the working rules at the top of CLAUDE.md/AGENTS.md
  • Adds map sections only where grounded in the repo (e.g. generated pages vs sources, the deploy branch)
  • Any guardrail it installs actually runs here (e.g. the repo's unittest suite) and it shows it running
  • Invents no commands the repo does not have

And these hard checks, which pass or fail on their own:

  • a CLAUDE.md or AGENTS.md was written

What it got right.

  • Working rules placed at the top of AGENTS.md, with CLAUDE.md importing it via @AGENTS.md so both agents read one file
  • Invented no commands: the test command is the repo's own python -m unittest discover -s tools/agent-skills/tests, and it declined to invent a type checker
  • Ran the unittest suite and showed the result (102 tests, OK)
  • Correctly found that the publish workflow already gates deploy on tests and checks, and did not duplicate it
  • Hard check met: AGENTS.md and CLAUDE.md were written

What it missed.

  • Added no map sections, although the repo grounds several (generated pages vs sources via the gen:quality markers, site/skills.json as the inventory, the deploy branch/dist/). It identified them and then asked the user instead of writing them.
  • Installed no guardrail; the unittest suite was run but not wired into anything (hook, pre-commit, or documented gate) that the agent would hit, so the 'guardrails where they earn their place' step is effectively unfulfilled.
  • Did not show the diff before writing, which the skill asks for (the run admits this).

What the run showed is wrong with the skill.

Problems the grader put down to the skill itself, not to the run's setup. Each one goes on the fix list for the next version.

  • The map-section step blocks on a user question ('where does the agent keep getting things wrong?') even when the repo clearly grounds sections like generated vs source files and the deploy branch; the skill should allow writing grounded sections directly in a one-shot request.
  • The guardrail step has no fallback for when the existing CI already covers the check; the unittest suite could be installed as a local pre-commit or agent hook and shown running, but the skill leaves this ambiguous.
  • The 'show the diff before writing' instruction conflicts with a one-shot local-only task and is not clearly conditional on there being existing content to overwrite.

The evidence.

Everything the run left behind. Nothing here was edited after the run.

Every step it took (8)
  1. Skill: portable-harness
  2. Bash: cd /tmp/run-portable-harness-s2hx3un5/project; ls -la; ls site-src; cat CLAUDE.md AGENTS.md site-src/CLAUDE.md site-src/AGENTS.md 2>&1 | head -50; ls .claude/sk
  3. Bash: cd /tmp/run-portable-harness-s2hx3un5/project; cat .claude/skills/portable-harness/references/*.md; cd site-src; cat PROJECT.md DIRECTORIES.md | head -60; ls -a
  4. Bash: cd /tmp/run-portable-harness-s2hx3un5/project/site-src; git status --short | head; ls .github/workflows tools site .reviews 2>&1 | head -60; cat .gitignore; ls
  5. Bash: cd /tmp/run-portable-harness-s2hx3un5/project/site-src; cat .github/workflows/publish.yml | head -120; ls tools/agent-skills tools/fx | head -50; cat tools/fx/p
  6. Bash: cd /tmp/run-portable-harness-s2hx3un5/project/site-src; ls tools/agent-skills/tests; grep -lnE "urllib|requests|subprocess|\bgh\b|network|skipUnless|skip\(" too
  7. Bash: cd /tmp/run-portable-harness-s2hx3un5/project/site-src; python3 -m unittest discover -s tools/agent-skills/tests 2>&1 | grep -E "^(Ran|OK|FAILED|FAIL:|ERROR:)";
  8. `Bash: cd /tmp/run-portable-harness-s2hx3un5/project/site-src; python3 - <<'E'
Its final answer, as written
I wrote the rules file for `site-src/` but did not add any guardrails, because none of the three fit this repo. Nothing is committed or pushed; the two new files are untracked in site-src's own git repo.

**Rules**
- `AGENTS.md` has the 12 rules unchanged at the top, then one line with the test command and a pointer to `PROJECT.md`.
- `CLAUDE.md` contains only `@AGENTS.md`, so Claude Code and Codex read the same file.
- There was no instruction file before, so there were no rule conflicts to resolve.
- I did not show you the diff before writing, which the skill asks for. They are new files, so there is nothing to overwrite.

**Map sections:** none written yet. This step needs your answer: where does the agent keep getting things wrong here? Likely candidates:
- Generated pages. `gen_page.py` rewrites the region between the `<!-- gen:quality:start -->` and `<!-- gen:quality:end -->` markers on every page.
- `site/skills.json`. It is the single skill inventory, and the hub, indexes, sitemap and pages are all generated from it.
- The `deploy` branch and `dist/`. The CI workflow publishes them, and nobody should edit them by hand.
- Bespoke pages versus generated pages.

**Guardrails**
- **Type check, new errors only:** not possible. The repo is Python and Node with no type checker configured (no mypy, pyright or tsconfig), and I didn't invent one.
- **Live-service tests opt-in:** not needed. The 102 unit tests stub out the `gh` calls, and the `test_discover.py` and `test_sync.py` ones I checked do. The one skip is `test_tool_cores.py`, which skips when `node` is missing. I tagged nothing.
- **Tests before deploy from main:** already present. In `publish.yml`, the publish job runs the unit tests, generated-surface checks, build, `check_dist.py` and `verify.mjs` before it commits to main or pushes the `deploy` branch. It also uses `set -o pipefail` where it pipes.

**Run:** the unit test suite passed locally (102 tests, OK). I did not run the CI workflow itself.

**Next step:** after the agent's next big change here, run `consistent-code-review` on it.
Files it wrote (40)
  1. site-src/.gitattributes
  2. site-src/.github/workflows/health.yml
  3. site-src/.github/workflows/publish.yml
  4. site-src/.gitignore
  5. site-src/.reviews/3f3dc796540e.md
  6. site-src/.well-known/skills.json
  7. site-src/404.html
  8. site-src/AGENTS.md
  9. site-src/CLAUDE.md
  10. site-src/DIRECTORIES.md
  11. site-src/LICENSE
  12. site-src/PROJECT.md
  13. site-src/README.md
  14. site-src/_headers
  15. site-src/ai-team-blueprint/index.html
  16. site-src/applicant-kit/index.html
  17. site-src/application-pilot/index.html
  18. site-src/assets/forge.js
  19. site-src/assets/motion.js
  20. site-src/assets/site.css
  21. site-src/assets/site.js
  22. site-src/assets/skill.css
  23. site-src/assets/stack.js
  24. site-src/assets/tool.css
  25. site-src/assets/tool.js
  26. site-src/caffeinity-routing/index.html
  27. site-src/career-track/index.html
  28. site-src/check/check-core.js
  29. site-src/check/check.js
  30. site-src/check/index.html
  31. site-src/checks/index.html
  32. site-src/choose-effort/index.html
  33. site-src/cold-email-list-gate/index.html
  34. site-src/cold-email-ops/index.html
  35. site-src/consistent-code-review/index.html
  36. site-src/course-builder/index.html
  37. site-src/crash-test/index.html
  38. site-src/data-readout/index.html
  39. site-src/diagnose-usage/index.html
  40. site-src/do-better/index.html

Try it on your own task.

npx skills add arm-pz/portable-harness

What Portable Harness does and what it is not for · Every test run · How runs are set up.