Revfactory Harness operator
When to use this skill
Use it for the revfactory/harness product: install/inspect the plugin, construct or
extend a domain team, audit generated files, migrate v1 artifacts, or reflect feedback
through its evolve skill. Choose one operation before changing a project.
This catalog's revfactory-harness is an operator guide, not the upstream harness
plugin. The old catalog name harness remains retired in favor of harness2; do not
restore that directory, overwrite a foreign harness, or alias the two projects.
Generic Propose–Probe–Compose work stays with harness2.
Instructions
- Run the offline gate. From this repository root:
```bash
python3 .agent-skills/revfactory-harness/scripts/preflight.py --json
```
From an installed skill, use python3 "$SKILLS_ROOT/revfactory-harness/scripts/preflight.py" --json.
Add --repo /path/to/harness --expect-commit 92d9f1b29e7af81acebf51a9fcd1832e739a1414
to verify the checkout and all pinned public-file hashes. Add --project /path/to/project
to inspect target-path types and direct-copy collisions. The helper never runs Claude,
plugin installation, upstream scripts, models, or network requests; it never reads credentials.
- Separate catalog installation from plugin activation. Read
installation and provenance. Installing this guide copies
documents and helpers only. Preview the router install; obtain approval for a clone,
marketplace registration, plugin install, or writes to .claude/ and CLAUDE.md.
Prefer a verified pinned checkout as the local marketplace. Never silently copy over
.claude/skills/harness, harness-evolve, or evolve, including linked/shared roots.
- Audit before generating. Read factory and evolution workflow.
Inspect .claude/agents/, .claude/skills/, CLAUDE.md, and existing orchestration.
Report new-build, extension, maintenance, or v1 migration scope. Reuse existing roles
and skills instead of creating same-purpose duplicates. Preserve user edits and output language.
- Choose a mode from the control flow and actual host capabilities. Deterministic
lists/loops use the upstream Workflow mode only if Workflow is exposed; repeated
expert negotiation uses named agents plus messaging/tasks only if those tools are
present; one-shot independent work uses available subagents. Check the actual tools,
supported parameters, models, and budget before execution. Upstream documentation is
not proof that this session supports Workflow, Agent(name:), or fable. If a
required capability is absent, report blocked; do not invent APIs or silently fall back.
- Generate the smallest approved team. Choose one of pipeline, fan-out/fan-in,
expert pool, producer-reviewer, supervisor, or bounded hierarchical delegation.
Define reusable roles under .claude/agents/<name>.md; methods and exactly one
orchestrator under .claude/skills/<name>/SKILL.md. Specify inputs, outputs, schemas,
ownership, failure/missing-result policy, and measurable completion. Keep CLAUDE.md
to trigger pointers and change history. Read-only reviewers get no Write/Edit tools.
- Keep execution and feedback bounded. Start with a small sample and explicit token,
iteration, and concurrency limits. Provider calls and generated commands retain host
approval policies. Treat failed, missing, or uncertain outputs as unresolved, not
passes. Freeze producer artifacts at phase boundaries before consumers use them.
For feedback on an existing team, use plugin /harness:evolve (or direct-copy
/harness-evolve), change one cause at a time, and record before/after evidence.
Structural redesign returns to the factory; evolve does not silently add/remove roles.
- Verify the generated result, not merely file presence. Check frontmatter,
cross-references, actual runtime tools, producer/consumer contracts, and trigger cases.
Remove obsolete v1 constructs only after confirming the target runtime's replacement
capabilities. Run a scoped task; compare with/without-skill results only with execution
approval and report real artifacts, errors, timing/tokens when supplied, and unscored
failures. A passed offline preflight does not prove plugin loading or team quality.
Examples
Inspect a pinned checkout and project without execution
python3 .agent-skills/revfactory-harness/scripts/preflight.py --json \
--repo /path/to/harness \
--expect-commit 92d9f1b29e7af81acebf51a9fcd1832e739a1414 \
--project /path/to/project
Build or evolve after the approved plugin install
In the selected Claude Code session, request revfactory/harness로 문헌 검토 팀을 구성해줘.
After a real run, invoke /harness:evolve with the failed output and requested correction.
Keep the initial team, observed delta, adopted change, and the new verification result.
Best practices
- Progressive disclosure: keep this front door small; load only the relevant pinned
upstream reference linked from the local workflow guide.
- Select available models by task difficulty and cost; never assign every role the
most expensive tier or assume an upstream alias resolves on another host.
- Do not enable
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMSas an automatic migration fix. - Preserve
_workspace/evidence and run IDs; do not recreate missing receipts. - Upstream's v1 self-reported A/B gains are not evidence for this v2 integration.