codex/skills/review-fold/SKILL.md
Classify and quotient review findings, failing tests, incidents, bug reports, migration failures, and other witnessed falsifiers against accepted intent and the current Construction. Author counterexample-set/v1 without selecting repairs, counting review credit, or granting mutation.
npx skillsauth add tkersey/dotfiles review-foldInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Turn witnessed falsification pressure into one immutable classified-bug artifact.
review or failure source + Goal Contract + current Construction
-> counterexample-set/v1
-> no mutation authority
$review-fold owns fact classification, disposition, and quotienting.
$actuating owns evaluation against the current Construction, successor
selection, orchestration, review credit, and closure. The source owner retains
its own receipt semantics.
claim != observed fact
observed fact != liability
liability != accepted scope
accepted scope != selected repair
Counterexample Set != mutation authority
artifact:
schema: counterexample-set/v1
artifact_id:
goal_id:
semantic_author: review-fold
created_at:
predecessor_refs: []
supporting_refs:
- review-campaign-started-event-ref
- review-attempt-or-failure-event-ref
payload:
subject:
construction_ref:
repository:
artifact_digest:
review_contract_digest:
classes:
- class_id:
boundary_key:
law_ref:
discrepancy: excess | deficit | incoherence | partiality | misbinding
owner_boundary:
severity: critical | high | medium | low
status: accepted | rejected | blocked | follow-up
observed_facts: []
evidence_refs: []
finding_refs: []
witness:
falsifier_ref:
applicability:
quotient_basis:
For CAS-derived evidence, supporting_refs cites the current
review_campaign_started event and each exact terminal attempt or transport
event used by the Set. Actuating resolves those Evidence Ledger events and
requires their campaign_id and request identity to match the campaign derived
from this Set's existing subject tuple. Do not duplicate that derived campaign
identity as a fifth Counterexample subject field. A non-review falsifier needs
no campaign reference.
A current clean source may produce an empty classes list. One class represents
one stable Counterexample to one governing law at one boundary. Review attempt
IDs, commits, publication epochs, filenames, and proposed patches are
provenance, not class identity.
For CAS evidence, each finding_refs entry is the sha256: digest of the
exact canonical compact CAS finding-row bytes. Preserve the enclosing CAS
receipt as attempt, tuple, request, and verdict provenance; none of those
transient identities defines the Counterexample class or substitutes for the
canonical-row digest.
accepted: current evidence establishes an in-scope falsification.rejected: evidence shows the claim is false, stale, already satisfied,
preference-only, or not a liability.blocked: validity, ownership, applicability, or current subject identity
remains unknown.follow-up: valid evidence lies outside the accepted Goal.Rejected classes require rejection evidence. Accepted classes require Actuating to evaluate the current Construction before mutation. A suggested repair remains source prose and never enters the selected construction merely because a reviewer proposed it.
Before the first native Ledger command in this workflow, load $ledger and
complete $ledger ensure once. Reuse Actuating's current adapter gate. When
invoked standalone, require ledger --version to be at least 0.11.0 and
verify that ledger --source actuation --help exposes only
append|prepare|state|project|doctor|path before materialization.
Bind the source to the current Goal, Construction, subject digest, static
Review Contract digest, and source-owner receipt. A failing test, incident,
compatibility failure, or other non-review falsifier requires no review
campaign. A CAS-derived set additionally binds its originating campaign,
whose Review Contract digest must match the static digest in the
Counterexample subject. Never fabricate a campaign for local evidence or
make review_contract_digest optional.
Separate each claim, observed fact, and suggested repair.
Decide whether the fact is a current liability under an accepted Goal law.
Identify the governing law, stable boundary, discrepancy, owner, witness, falsifier, applicability, and evidence.
Quotient duplicate and same-class findings. One class may cite many finding
rows and may recur across Construction successors. When a class recurs, the
new Set's predecessor_refs must include the prior Set that most recently
carried that class.
Assign exactly one disposition to every class.
Materialize canonical JSON with the current six-command artifact adapter:
ledger --source actuation --repo <repo> --goal <goal-id> \
append --input <counterexample-set.json>
Return the materialized Counterexample Set to Actuating. Do not propose or execute a repair.
Use review-fold.valid.example.json as a shape example, never as evidence or authority.
tools
Invokes Apple's macOS 27 fm command-line tool from a local Mac to use the on-device system model or Private Cloud Compute, including instructions, image prompts, schema-constrained JSON, and noninteractive automation. Use when the user asks to run Apple Foundation Models through fm, compare system versus pcc, generate structured output, or automate fm without Swift or an app.
development
Compile historical Codex sessions into governed counterfactual evidence, evaluate an existing owner-applied candidate through blinded paired HCTP trials, and fold observable evidence into RUN, OBSERVE, or STOP. Use for `$hylo`, CRF extraction, counterfactual replay, source-governed direct or historical trials, sealed evidence, paired baseline/candidate evaluation, causal frontiers, or evidence-governed improvement.
testing
Ensure a `ledger` command is available on PATH; materialize, validate, record, replay, and project requested Actuating artifacts without taking semantic or execution authority; coordinate the shared Learnings/Synesthesia/Negative Ledger lifecycle checkpoint and repo-local source-memory reconciliation; address Universalist plans and receipts; and perform pure artifact validation.
development
Render a concise human proof from Actuating's current complete closure receipt. Use after implementation or review closeout to bind the Goal, Construction, subject, Evidence Ledger head, Counterexample disposition, proof, retirements, applicable review convergence, publication, residual risk, and human review focus without deciding closure or publishing.