harness-engineering-audit-a1b133 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited harness-engineering-audit-a1b133 (Agent Skill) and scored it 96/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 1 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 1 flagged
The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Use this skill to turn a repository into a production-ready, agent-legible engineering environment optimized for Codex, OMX, and long-running AI-assisted development.
This skill is audit-first, AGENTS-first, and low-risk auto-approved. It may generate reports and planning artifacts before edits, then low-risk recommendations from the audit are approved for follow-up execution without another user approval. Medium/high-risk changes still require explicit approval.
AGENTS.md as P0 when it is missing, oversized, stale, or lacks docs/validation pointers.greenfield-bootstrap, brownfield-cleanup, or mature-audit.The default report location is:
.codex/reports/harness-engineering-audit/Each new run replaces the previous generated report directory at that path to avoid stale audit confusion. The included scripts only overwrite the known report directory or an explicitly provided output directory that is marked as a harness-engineering audit report directory.
Use this skill when a user asks to audit or improve:
AGENTS.md scope and quality.codex/config.tomlTreat OpenAI/Codex guidance as normative:
AGENTS.md should be a concise map, not an encyclopedia.explicit, inferred, or unresolved; unresolved and sensitive inferred behavior stays approval-gated.Use Claude/Cursor/Karpathy/third-party resources only as comparison material, not as authority over Codex behavior. The vocabulary/domain-language audit surface is informed by Matt Pocock's Dictionary of AI Coding as comparison material: shared terms, handoff artifacts, progressive disclosure, and the distinction between deterministic checks and review are useful harness concepts, but this skill should not copy that repo's prose. The doc-gardening audit surface is informed by Andrej Karpathy's LLM Wiki gist as comparison material: persistent markdown knowledge bases, source/wiki/schema layering, ingest/query/lint workflows, indexes/logs, and wiki health checks are useful harness concepts, but this skill should not copy that gist's prose.
Always inventory these surfaces when present:
AGENTS.mdAGENTS.md and AGENTS.override.md.codex/config.toml.codex/hooks.json.codex/rules/**.codex/prompts/**.agents/skills/**.omx/**.github/workflows/**docs/**docs/product/**, docs/stories/**, docs/screens/**, docs/design/**, docs/architecture/**, docs/contracts/**, and docs/quality/**docs/screens/**/target*.png, docs/screens/**/target*.svg, docs/ui/targets/**, and equivalent Figma/design-export packsscreen.contract.yaml, interactions.yaml, motion.yaml, data-requirements.yaml, route maps, state machines, acceptance matrices, and traceability matricestokens.json, docs/design/tokens/**, docs/design/components/**, Style Dictionary/Tokens Studio config, component recipes, and Storybook stories.storybook/**, *.stories.*, playwright.config.*, screenshot baselines, visual-regression policy, accessibility policy, and viewport/theme/reduced-motion matricesdocs/GLOSSARY.md, docs/TERMINOLOGY.md, internal/CONTEXT.md, internal/domain.md, and dictionary/**docs/adr/**, docs/ADR/**, and internal/adr/**index.md, log.md, ingest/query/lint workflows, and stale/contradiction/orphan/broken-link checksCLAUDE.md, .claude/**, .cursor/**, .windsurf/**, .cline/**, .gemini/**, .github/copilot-instructions.mdThe audit now includes a stack-neutral Docs-to-Production App Readiness family. It detects repository capabilities and evaluates whether the repo exposes the harness layers needed for Codex/OMX to build a locally usable product from docs and design targets:
For UI-led work, the skill applies these tenets:
screen.contract.yaml or an equivalent artifact must state route, viewport, theme, visual state, interactions, data/API assumptions, motion, accessibility, and approval-gated inferences;The audit writes pre-mortem and readiness artifacts under .codex/reports/harness-engineering-audit/, including premortem.md, failure-mode-register.yaml, harness-gap-matrix.yaml, docs-to-production-readiness.md, capability-adapter-report.yaml, instruction-trust-report.md, and reusable OMX prompt files under recommended-omx-prompts/.
product-harness-setup can create low-risk harness templates and repo-scoped skill templates for visual-target ingest, design-token/component contracts, frontend parity, product usability, runtime evidence, traceability, visual QA, and final review. It must not implement application features, enable live providers, mutate security-sensitive configuration, or use real data.
Before running the audit in an interactive session, prompt the user for the audit level and proceed with their selection. Offer these choices:
| Choice | Side effects | Approval posture |
|---|---|---|
minimal (default) / audit | Report-only audit; no target source mutation. | Safe default. |
safe-setup | Create missing low-risk docs/templates only; never creates .codex/agents. | Explicit setup selection. |
force-ideal-harness | Stronger low-risk docs/template consolidation; no deletes or CI/config/hooks/security changes. | Explicit setup selection. |
symphony-repo-local | Repo-local Symphony contracts/templates and inert handoff text. | Explicit setup selection; live installs still approval-gated. |
symphony-live-handoff | Approval-gated handoff text in the report directory only; no target source or install/config mutation. | Explicit handoff selection. |
full-orchestration | Lane-pack orchestration contracts and harness custom-agent TOML; never runs agents or live install/config commands. | Explicit opt-in only; never the default. |
product-harness-setup | Docs-to-production harness templates, local-product-done docs, and repo-scoped Codex skill templates; no app implementation. | Explicit setup selection. |
The Python script also prompts for this level when run from an interactive TTY without --mode. Non-interactive runs default to minimal/audit so automation remains stable.
From the repo root after installing this skill, run the script from the installed location.
Project-scoped install:
python3 .agents/skills/harness-engineering-audit/scripts/run_audit.py .User-scoped install:
python3 ~/.codex/skills/harness-engineering-audit/scripts/run_audit.py .The script writes:
.codex/reports/harness-engineering-audit/
inventory.json
scorecard.json
stack-inventory.json
tool-inventory.json
upgrade-recommendations.json
upgrade-recommendations.md
web-verification-queue.json
source-trust-policy.md
update-status.json
report.md
findings.md
recommended-fixes.md
agents-priority.md
omx-handoff.md
next-step.md
next-step.json
docs-to-production-readiness.md
premortem.md
premortem.json
failure-mode-register.yaml
harness-gap-matrix.yaml
capability-adapter-report.yaml
instruction-trust-report.md
recommended-omx-prompts/
prompts/
deep-interview.md
ralplan.md
team.md
ralph.md
symphony-adoption.md
tool-upgrade-ralplan.mdRecommendation defaults are intentionally conservative:
Local Python scripts cannot browse. They therefore write a web verification queue and keep web_verified: false until a browsing-capable human/agent records evidence. Generated install/config/validation/rollback commands are inert handoff text and must not be executed without explicit approval.
Primary artifacts now include a “What happened / What did not happen / What needs approval” section plus machine-readable mode_summary, approval_state, tool_recommendation_state, and current_step_explanation fields in next-step.json.
Use a custom output directory only when needed:
python3 ~/.codex/skills/harness-engineering-audit/scripts/run_audit.py . --out /tmp/harness-engineering-auditThe default prompt choice remains report-only. Use minimal or audit explicitly when you want to skip the prompt while preserving report-only behavior:
python3 ~/.codex/skills/harness-engineering-audit/scripts/run_audit.py . --mode minimal
python3 ~/.codex/skills/harness-engineering-audit/scripts/run_audit.py . --mode auditAdditional explicit modes create only low-risk harness artifacts with provenance markers and setup-rollback-manifest.json:
AUDIT_SCRIPT=~/.codex/skills/harness-engineering-audit/scripts/run_audit.py
# For a project-scoped install, use:
# AUDIT_SCRIPT=.agents/skills/harness-engineering-audit/scripts/run_audit.py
python3 "$AUDIT_SCRIPT" . --mode safe-setup
python3 "$AUDIT_SCRIPT" . --mode force-ideal-harness
python3 "$AUDIT_SCRIPT" . --mode symphony-repo-local
python3 "$AUDIT_SCRIPT" . --mode symphony-live-handoff
python3 "$AUDIT_SCRIPT" . --mode full-orchestration
python3 "$AUDIT_SCRIPT" . --mode product-harness-setup--force keeps its existing output-overwrite meaning; it is not the force-ideal-harness mode.
Mode boundaries:
audit: reports only, no target source mutation.safe-setup: creates missing low-risk docs/templates only.force-ideal-harness: explicit stronger low-risk consolidation; no deletes or CI/config/hooks/security changes.symphony-repo-local: repo-local Symphony contracts/templates and inert handoff text only.symphony-live-handoff: approval-gated handoff text only; no install/config mutation.full-orchestration: explicit opt-in for lane-pack orchestration contracts and project custom-agent TOML. It is never the default, never runs agents, and never executes live install/config commands.product-harness-setup: explicit opt-in for docs-to-production harness docs and repo-scoped skill templates, including visual product spec pack templates; it never implements app code or enables live providers.Lane-pack boundaries:
safe-setup creates lane-pack Markdown docs under docs/harness/** only and must not create .codex/agents..codex/agents/*.toml custom-agent definitions are generated only by full-orchestration, use harness-* names, and are invoked only when the user explicitly asks Codex to use subagents.Normal audit runs check this skill's update status by default and write update-status.json plus a Skill update status section in report.md. This check is report-only and never updates skill files. Disable it with:
python3 ~/.codex/skills/harness-engineering-audit/scripts/run_audit.py . --no-check-updateSelf-update is explicit and approval-gated. To update this one user-scoped skill installation, run:
python3 ~/.codex/skills/harness-engineering-audit/scripts/run_audit.py . --self-update --update-scope userThe self-update path runs only this command and exits immediately after success:
gh skill install ryne2010/harness-engineering-audit skills/harness-engineering-audit --agent codex --scope user --forceProject-scoped installs should generally be updated intentionally through the repository and reviewed in a PR. Avoid gh skill update --all for this flow because system or manually installed skills may lack GitHub metadata and because this skill should update only itself.
The report scores:
Scores are strict and intentionally opinionated. A score is not a final truth; it is an evidence-backed signal to guide planning.
The scorecard also includes a lifecycle object and a readiness registry:
score_schema_version: "2"lifecycle.classificationreadiness_registry.categoriesThe readiness registry exposes additional harness/Symphony categories without silently adding every category as a top-level score dimension.
Classify every recommendation by confidence and risk.
Auto-approved by default for an OMX follow-up pass. AGENTS.md items are P0 and should be handled first:
AGENTS.md contentAGENTS.md with docs and validation pointersAGENTS.md scope boundariesRequires explicit approval before execution:
Do not execute without explicit approval:
Do not make the user copy or retype the long suggested prompts.
After the audit script runs:
report.md enough to present the summary required below.next-step.json / next-step.md to identify the default next stage.next-step.json (default/recommended)prompts/; do not ask them to paste the command.$harness-engineering-audit continue.When the user runs $harness-engineering-audit continue, inspect .codex/reports/harness-engineering-audit/next-step.json. If it exists, resume from its default/recommended stage or present the same selection. If it does not exist, run the audit first.
Treat AGENTS.md improvements as first-class harness fixes:
AGENTS.md is P0 when missing, larger than the concise hot-path target, missing validation commands, missing docs/source-of-truth pointers, or missing nested instruction scope guidance.AGENTS.md as a concise operating map.AGENTS.md map-like. Move detailed process prose into docs and link to it.After generating omx-handoff.md, the generated prompt files encode this flow:
$ralplan "Read .codex/reports/harness-engineering-audit/prompts/ralplan.md and follow it."
$team "Read .codex/reports/harness-engineering-audit/prompts/team.md and follow it."
$ralph "Read .codex/reports/harness-engineering-audit/prompts/ralph.md and follow it."
$deep-interview "Read .codex/reports/harness-engineering-audit/prompts/deep-interview.md and follow it." # only for medium/high-risk questionsWhen presenting results, include:
Do not claim the repo is production-ready unless validation truth, instruction hygiene, docs authority, and feedback loops are all strong and evidenced.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.