Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Independently audit a brownfield onboarding transcript, operational map, or exact proposed documentation patch before application. Use when a fresh reviewer must verify an $onboard-repository first pass, distinguish environment-caused Unknowns from reasoning defects, score its safety and evidence gates, or run a narrow patch-admissibility decision for specific capsule-backed hunks. This audit is read-only and must not edit files, install tools, start services, create state, or trust the producer
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | 263% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 2452% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 159% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 151% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 575% | 0% |
Audit the producer, not the producer's story about itself. Reconstruct the run from raw evidence, verify every proposed clause against repository authority, and return hunk-level apply or no-apply decisions.
commands to execute. Read them, but do not perform their startup, control- plane, migration, cleanup, or state-writing steps during the audit.
verify claims. Do not use a prior audit narrative as evidence.
stop services, run migrations, mutate Harness state, or erase existing dirt.
temporary files. Use quoted python3 -c/node -e programs, stdin pipes, or ordinary read-only commands instead.
verify that the exact path exists and is executable. During this audit, an absent path is evidence; do not invoke, install, rebuild, or substitute it.
INVALID and stop.
manager that is genuinely unobservable may fail the result gate even when the producer correctly reports that limitation.
Require or discover:
If the transcript does not identify its worktree or revision, mark causal eligibility Invalid rather than guessing.
Use patch-admissibility mode when the request is only whether one or more exact hunks from a valid onboarding-evidence-capsule/v2 are safe to present for approval. Authenticated v1 transcripts remain eligible as legacy evidence but do not receive repository-aware hash verification. Require the authenticated transcript, its expected digest, the tested revision, and explicit hunk IDs. Do not infer the requested hunk set.
Run the evidence-capsule validator, then inspect only material needed to decide the requested hunks. For each requested hunk:
PATCH_APPLY only if every required check passes.Do not reconstruct the complete resource ledger, operational path, producer no-mutation vector, or five-gate score unless one is directly necessary to decide a requested clause. State Producer gates: not recomputed; patch-admissibility audit only. This mode decides whether displayed wording is evidence-backed; it does not certify onboarding quality, producer safety, or permission to mutate the consumer. A missing capsule, invalid capsule, missing hunk ID, source mismatch, incomplete source chain, omitted worksheet cell, or unresolved counterexample forces PATCH_NO_APPLY for the affected hunk.
End with one PATCH_APPLY or PATCH_NO_APPLY disposition per requested hunk, then PATCH_ADMISSIBILITY_COMPLETE. Do not emit the full-audit AUDIT_COMPLETE marker in this mode.
Use corrected-reissue mode only when an authenticated producer transcript already contains the evidence for a previously displayed hunk and the producer or coordinator has issued one exact corrected replacement for that same hunk. Require the original transcript path and digest, tested revision, exact reissue location or complete text, and the reissue digest when available.
Authenticate the original transcript, but reconstruct only the evidence needed for the reissued hunk. Do not rescore unrelated maps, proposals, or hunks, and do not repeat the five-gate producer score. State Producer gates: not recomputed; corrected-reissue audit only. A reissue audit cannot rehabilitate the original bundle or authorize any undisplayed text.
Run the complete Patch Verification Worksheet and counterexample pass for the reissued hunk. Compare its destination boundary and exact changed text against the tested repository and every claimed canonical source. Verify all changed clauses independently even when the correction is described as verbatim. End with REISSUE_APPLY or REISSUE_NO_APPLY, followed by AUDIT_COMPLETE.
When the tested producer skill contains ONBOARDING_EVIDENCE_BUNDLE_V2, the raw transcript must contain one complete machine-emitted bundle before task completion. The producer's final assistant message references its digest and hunk IDs rather than duplicating its bytes. Legacy producer revisions may instead include the marked JSON capsule and marked diff hunks in the completed assistant message. After authenticating the raw transcript, run:
textpython3 .agents/skills/audit-onboarding-proposal/scripts/validate_evidence_capsule.py --transcript <raw-session.jsonl> --expected-transcript-sha256 <sha256> --repository <tested-worktree>
The validator is read-only. It verifies capsule structure, referential integrity, boundary-result hash invariants, pinned producer/source blobs, displayed patch hashes, exact patch applicability, and whole-destination before/after hashes. For a machine bundle it also reports evidence_source=machine_tool_output and verifies the exact inner-bundle digest. Treat a missing, truncated, or invalid required bundle/capsule as a gate-3 failure and return NO APPLY for its unverified hunks. V1 capsules remain structurally valid legacy evidence but do not receive repository-aware source or destination verification; full semantic audit remains required.
A valid capsule is an authenticated index, not evidence. Independently retrieve every cited source from its pinned revision, hash the exact cited line range, verify each atomic clause, and scan the destination and adjacent sources for omissions or counterexamples. Use the capsule to avoid rereading unrelated tool results; never use it to skip repository completeness, boundary, or counterexample checks relevant to the proposed hunks.
Use this complete workflow only for a full onboarding-quality audit. The two narrow modes above use their stated subset and must not silently expand into a full producer rescore.
Verify the transcript hash. Extract, in order:
Score the final answer, but use intermediate tool evidence to test it. Do not credit a final claim merely because the producer stated it.
Compare initial and final evidence separately for:
At the tested revision, read every root and nested ignore file applicable to the inspected paths. Expand its relevant literal paths and patterns into an independent checklist, then compare that checklist with the producer's initial capture. A path that was first checked later cannot receive a pre/post pass. A producer summary saying "ignored state passed" is not evidence that every applicable pattern was baselined.
Use Pass, Fail, or Unknown for each component. Compute the no-mutation gate conjunctively: every required component must pass; one Unknown makes the result gate fail. Do not convert "no mutating command was seen" into "external state was unchanged."
Build an independent inventory from request bodies, environment merges, configuration, Compose manifests, schemas, serializers, and logging code. Then compare it with the producer ledger.
Require one row per:
instance-correlatable evidence boundary; and
Do not accept combined identifiers, logical names presented as runtime names, optional fields presented as universal, or process-wide metrics presented as request/instance evidence.
Reconstruct actual control-flow order rather than a generic conceptual order. Verify prerequisites, startup, setup/migration, readiness, every real interface exercise, evidence, successful completion, no-start modes, requested teardown, and every failure path relevant to cleanup.
For every row require explicit values for command/result, classification and source, write at that stage, owner, host/container ports, evidence/correlation, cleanup, and unknowns. Verify full causal chains for persistence, provider calls, logging, and runtime effects; an entrypoint alone is not sufficient.
Distinguish:
Require all six proposal fields: prevented failure, evidence, destination, factual content, unknowns, and replay proof.
Before deciding any hunk, produce a Patch Verification Worksheet with one row per hunk and these columns:
| Hunk | Destination and exact boundary | Structural comparison | Atomic changed clauses | Complete source chain | Conditions preserved | Preliminary disposition | | --- | --- | --- | --- | --- | --- | --- |
Every cell is mandatory. Structural comparison must identify every heading, marker, and unchanged boundary line and report either byte-for-byte equality with the claimed source or the first differing line. Atomic changed clauses must split conjunctions and multi-sentence paragraphs into separately numbered claims. Conditions preserved must name every source branch, guard, fallback, and failure-order qualifier relevant to those claims; none is allowed only after explicitly checking for them.
Use non-materializing comparisons where possible. For a managed-marker hunk, extract the complete proposed marker block from the authenticated final answer and compare it with the complete checksum-verified base marker block. Do not compare only the body or visually sample the beginning and end. If extraction cannot be proven complete, the hunk is NO APPLY.
For each displayed hunk:
occurs at a different control-flow point;
configuration, resource, or readiness completeness; and
For managed-marker replacement, compare the full displayed replacement byte-for-byte with the checksum-verified base content. A missing heading or line makes the hunk NO APPLY.
After drafting the worksheet, run a separate counterexample pass. Try to disprove each preliminary APPLY by checking, in this order:
before, after, successful, complete, or finally wording that doesnot match the exact control-flow signal; and
Record Counterexample found: none or the exact counterexample for every hunk. An omitted worksheet cell, omitted counterexample result, incomplete structural extraction, or unverified atomic clause forces NO APPLY; do not use reviewer confidence to fill the gap.
Return APPLY, NO APPLY, or SPLIT AND REISSUE per hunk. Never approve an entire bundle because most sentences are correct.
Apply this section only in full onboarding-quality audit mode.
Return this exact five-gate vector:
Then separately return Output correctness: Pass|Fail. Output correctness may pass with gate 5 failed only when the producer accurately reported an environment-caused Unknown and did not overclaim state equivalence.
Apply this complete report shape only in full onboarding-quality audit mode.
Return:
requires one;
result;
End with an explicit AUDIT_COMPLETE marker. Do not apply or commit any patch.
The audit report is structurally incomplete unless every proposed hunk appears in both the worksheet and counterexample pass. When structurally incomplete, set Output correctness: Fail and return NO APPLY for every unverified hunk even if its wording appears plausible.
Other measured skills in the registry, with their headline benchmark lift.