harness-quality-control
Skill0 starsChanged 2 months agoApache-2.0View on GitHub
Audit Zhiyu Work Harness quality from structured run evidence, diagnose recurring failures, run isolated baseline-versus-candidate evaluations, and submit owner-reviewable Harness Change Proposal v2 records. Use for scheduled Harness quality audits, repeated Work or Loop failures, candidate regression checks, and evidence-backed prompt, skill, loop, memory-profile, context-policy, or artifact-policy improvements. Never use it to publish changes, alter permissions or grants, weaken denied rules, expose cross-Work memory, or execute real-world actions.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-browserSkill
- ai-knowledge-creatorSkill
- docxSkill
- frontend-designSkill
- openzhiyu-apiSkill
- openzhiyu-feature-guideSkill
- openzhiyu-memorySkill
- paper-trading-intraday-checkSkill
- paper-trading-post-market-reviewSkill
- paper-trading-pre-market-planSkill
- paper-trading-trend-followingSkill
- pdfSkill
- pptxSkill
- single-etf-position-advisorSkill
- single-etf-timing-advisorSkill
- ui-ux-pro-maxSkill
- watchlist-selection-controlSkill
- weatherSkill
- xlsxSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. About 0 are common, 17 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Treat a Work Harness as a versioned controller.
- Very specific: line 17
Call workshopInspectHarnessQuality for one target Work.
- Distinctive: line 18
Check evidence completeness before interpreting failures.
- Distinctive: line 20
Look for a recurring pattern across at least two independent Evidence Bundles.
- Distinctive: line 21
If evidence is insufficient, write an observation and request more capture.
- Very specific: line 23
Create a falsifiable Proposal v2 with workshopCreateHarnessProposal.
- Distinctive: line 24
Stop. The owner must approve and materialize the candidate.
- Very specific: line 25
After owner materialization, call workshopCreateHarnessEvaluationCampaign, then workshopRunHarnessEvaluation.
- Distinctive: line 28
Read references/proposal-contract.md before constructing a proposal or interpreting a campaign.
- Distinctive: line 33
Use event or run references only when the target Work can independently resolve them.
- Distinctive: line 34
Do not copy raw event bodies, memory content, credentials, user messages, or hidden evaluation fixtures into a proposal.
- Very specific: line 41
Never target system_protected, observe_only, or risk protected components.
- Distinctive: line 42
Never remove denied actions, change permission or grant policy, disable audit, weaken protected verifiers, or expand real-world action …
- Distinctive: line 43
Prefer a JSON Merge Patch that changes the smallest useful surface.
- Distinctive: line 44
Keep the base Work Version, Snapshot ID, component hash, and before Revision exactly as returned by inspection.
- Distinctive: line 46
Use numeric prediction thresholds so attribution can confirm or refute them.
- Distinctive: line 51
Run only built-in deterministic replay, dry-run, or simulation fixtures.
- Distinctive: line 52
Treat external send, real funds, deletion, payment, permission changes, and grant changes as forbidden.
- Distinctive: line 54
Treat missing runs, timeouts, runtime-contract drift, and insufficient samples as inconclusive.
- Distinctive: line 55
Do not inspect, rewrite, or optimize against hidden holdout fixtures.
- Distinctive: line 69
Never claim that production changed unless a separate owner-controlled publish event exists.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Harness Quality Control
Treat a Work Harness as a versioned controller. Improve it only through an observable, falsifiable loop:
run evidence -> diagnosis -> narrow hypothesis -> proposal -> owner approval
-> isolated candidate -> matched evaluation -> verdict -> owner decisionAudit Workflow
- Call
workshopInspectHarnessQualityfor one target Work. - Check evidence completeness before interpreting failures. Treat partial capture as uncertainty.
- Separate data, access, tool, context, memory, planning, verification, artifact, and external-dependency symptoms.
- Look for a recurring pattern across at least two independent Evidence Bundles. A deterministic configuration defect may be proposed from one verified case.
- If evidence is insufficient, write an observation and request more capture. Do not create a speculative proposal.
- Select one primary Harness component type. Set
attributionLimited=trueonly when a coupled change is unavoidable and explain why attribution will be weaker. - Create a falsifiable Proposal v2 with
workshopCreateHarnessProposal. - Stop. The owner must approve and materialize the candidate.
- After owner materialization, call
workshopCreateHarnessEvaluationCampaign, thenworkshopRunHarnessEvaluation. - Report the scenario-level verdict and leave production publishing to the owner.
Read references/proposal-contract.md before constructing a proposal or interpreting a campaign.
Evidence Rules
- Cite only
verifiedEvidenceRefvalues returned by the inspection tool as verified Harness evidence. - Use event or run references only when the target Work can independently resolve them.
- Do not copy raw event bodies, memory content, credentials, user messages, or hidden evaluation fixtures into a proposal.
- A denied candidate count normally proves policy enforcement. It does not prove a missing grant.
- Missing context logs mean unobserved execution, not a dormant or broken Work.
- Correlation across runs is a root-cause candidate, not proof. Keep confidence and alternative causes explicit.
Change Rules
- Never target
system_protected,observe_only, or riskprotectedcomponents. - Never remove denied actions, change permission or grant policy, disable audit, weaken protected verifiers, or expand real-world action powers.
- Prefer a JSON Merge Patch that changes the smallest useful surface.
- Keep the base Work Version, Snapshot ID, component hash, and before Revision exactly as returned by inspection.
- Include at least one predicted fix, one regression guard, measurable success criteria, and a component or Work-version rollback plan.
- Use numeric prediction thresholds so attribution can confirm or refute them.
Evaluation Rules
- Compare baseline and candidate under the same runtime contract and budget.
- Run only built-in deterministic replay, dry-run, or simulation fixtures.
- Treat external send, real funds, deletion, payment, permission changes, and grant changes as forbidden.
- Let hard-invariant failures dominate aggregate scores.
- Treat missing runs, timeouts, runtime-contract drift, and insufficient samples as inconclusive.
- Do not inspect, rewrite, or optimize against hidden holdout fixtures.
- A confirmed candidate is still not published. It remains an owner decision.
Finish Each Run
Record:
- observation window and Evidence Bundle ids;
- failure pattern and confidence;
- whether a proposal was created or withheld;
- proposal, campaign, and verdict ids when present;
- hard-invariant failures and regressions;
- the next checkpoint or owner action.
Never claim that production changed unless a separate owner-controlled publish event exists.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

