agent-harness-design
Designing agent harnesses and tool systems — risk taxonomy for tools, permission decisions, draft/commit pattern, structured tool…
Use when an agent says a test, VM, proof, evaluator, or release gate is overloaded, too strict, blocking staging, or causing false positives; split checks by profile, measure the burden, preserve high-risk evidence, and verify the smallest corrected workflow. Do not use for
$ npx -y skills add AnastasiyaW/codex-claude-code-config --skill harness-feedback --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/harness-feedbackContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when an agent says a test, VM, proof, evaluator, or release gate is overloaded, too strict, blocking staging, or causing false positives; split checks by profile, measure the burden, preserve high-risk evidence, and verify the smallest corrected workflow. Do not use for
name: harness-feedback description: Use when an agent says a test, VM, proof, evaluator, or release gate is overloaded, too strict, blocking staging, or causing false positives; split checks by profile, measure the burden, preserve high-risk evidence, and verify the smallest corrected workflow. Do not use for ordinary test selection, a single test failure, or a full security audit without a harness-scope question.
Treat "the harness is too strict" as an engineering finding, not as permission to disable a safety check. Find the boundary that owns the mismatch and move the check to the narrowest profile that actually needs its evidence.
Use these profiles unless the project has a more specific, documented contract:
| Profile | Purpose | Typical blocking checks | |---|---|---| | `staging-smoke` | Fast proof that the changed build starts and the critical path works | build, focused regression, one stable smoke/contract check | | `security-proof` | Prove an adversarial or trust-boundary claim | hostile tests, source/collector proof, fresh-context evaluator | | `release-attestation` | Prove the exact releasable artifact and its identity | signing, Authenticode/tool identity, installer/package checks | | `nightly-stress` | Find intermittent and capacity failures | race, stress, AV/OS matrix, long-running evals |
`staging-smoke` must not require signing, production credentials, a release certificate, or a long VM stress run. `security-proof` may run on an unsigned staging build when its claim is source or runtime behavior. A release check may remain blocking for release promotion without becoming a per-edit gate.
For every overload signal, record:
1. requested profile and change boundary; 2. gate that blocked or dominated the run; 3. command, elapsed time, failure count, and evidence actually produced; 4. whether the gate was relevant, duplicated, flaky, or misplaced; 5. the smallest profile split or deletion of duplicate coverage; 6. a before/after run of the affected profile and a fresh review of the rule.
Use the deterministic `harness-load-advisor.py` signal as an intake event. It stores metadata outside the repository and forces the final report to name the mismatch. Durable policy changes belong in Git; raw session traces do not.
Do not write "overkill" and move on. Report:
Harness feedback: OVERLOAD | CLEAR Requested profile: staging-smoke | security-proof | release-attestation | nightly-stress Mis-scoped gate: <name> Evidence: <command, result, elapsed time, or explicit missing proof> Correction: <profile split or rule change> Verification: <before/after commands and result> Residual risk: <what remains intentionally gated and where>
checks into every VM smoke.
does not invalidate a staging smoke unless the staging claim depends on it.
a profile contract error.
| Symptom | Likely cause | Action | |---|---|---| | Staging smoke asks for signing | Release gate leaked into staging profile | split `release-attestation` and run the smoke on the unsigned staging artifact | | Security proof blocks on a production VM | Runtime environment and release identity are coupled | keep the VM, remove release-only assertions from the security profile | | Same gate fails repeatedly | Wrong scope, flaky boundary, or missing fixture | classify the failure and add a focused reproducer; never silently retry | | Agent says "tests passed" with no profile | Evidence contract is incomplete | require the report fields above and the exact command/result | | Fix removes a safety check | Causal ownership was not traced | restore the check, document the narrower boundary, and re-verify it there |
A practical configuration kit for Claude Code, Codex, and other coding agents. It contains architectural principles, enforcement hooks, skills, drop-in rules, starter templates, and dynamic-workflow commands.
Designing agent harnesses and tool systems — risk taxonomy for tools, permission decisions, draft/commit pattern, structured tool…
Use when designing, auditing, refactoring, or explaining an agentic harness for any domain, especially when work must continue…
Практическая инженерия диффузионных моделей: архитектуры, обучение, инференс, оптимизация памяти. Использовать при любых задачах…
Expert prompt engineering for FLUX.2 [klein] image generation and editing model. Use this skill whenever the user wants to create…
Plan or review LoRA and edit-training work specifically for FLUX.2 Klein or Qwen-Image-Edit, including paired datasets,…
Forensic image-to-prompt compiler for image generation models. Use this skill whenever the user wants to: convert/describe an…