codex/skills/actuating/SKILL.md
Turn accepted intent and review evidence into correct-by-construction software through Goal Contracts, Counterexample Sets, Construction Contracts, and an Evidence Ledger. Use bare $actuating for implementation, Ship publication, and review convergence; use explicit implement, triage, remediation-plan, or review-closeout for their bounded routes. Actuating owns construction selection, orchestration, Counterexample evaluation, and the next action; Ledger is a non-executing artifact substrate and Ship alone owns public effects.
npx skillsauth add tkersey/dotfiles actuatingInstall 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 accepted intent into a lawful construction, directly orchestrated effects, independent falsification, and an evidence-backed closure judgment.
Use exactly four authoritative per-goal artifact families:
goal-contract/v3 — accepted semantics, authority, scope, compatibility,
laws, and acceptance, compiled by $goal-contract.counterexample-set/v1 — classified witnessed falsifications, authored by
$review-fold.construction-contract/v3 — the selected architecture, four compared
candidate families, factor surfaces, supersession, proof obligations,
preserved observations, and retirements, authored by $actuating after a
$universalist nomination and, when required, one $reduce challenge.actuating-evidence-event/v1 — append-only observations whose event bodies
retain their domain owners.The Goal Contract is the sole semantic-authority artifact. The Counterexample Set is the sole classified-bug artifact. The Construction Contract is the sole architecture-selection artifact. The Evidence Ledger is the sole mutable per-goal truth. Read artifact-kernel.md for the owner map.
Plans, CAS receipts, Ship receipts, verifier output, work graphs, and Ledger
state or project views are supporting evidence or discardable structural
aids. An Actuating-authored closure receipt is a semantic report, not another
authority family.
Actuating owns:
$review-fold must classify witnessed facts before Actuating selects any
repair. $universalist nominates the essential boundary shape; $reduce may
challenge its factors by testing congruent quotients, ablations, and
recomposition. The composition order is nominate -> challenge once -> adjudicate; Actuating alone performs the adjudication. Neither supporting
skill, review prose, nor an optional plan or Reduction Certificate selects a
Construction, Repair Disposition, operation, next action, or closure.
Ledger may materialize, canonicalize, validate, append, replay, and emit
requested disposable structural projections. Ledger never executes repository
changes; evaluates CAS facts or review credit; interprets Ship evidence; selects
a repair, Construction, or next action; grants mutation; emits a semantic
closure verdict; or authors the closure receipt. Before the first Ledger
command in a workflow, load $ledger and complete $ledger ensure once. Then
require Ledger 0.13.0 or newer and Seq 0.5.0 or newer, apply the current
zero-legacy Ledger and CAS runtime gates, and use the exact transient schemas
and one-shot capability law in
evidence-ledger.md. Apply the same Actuating
gate when entering from a standalone Goal Contract or Review Fold handoff.
Construction v1 and v2 are unsupported. Do not migrate, translate, replay, or
consult their stored state as current authority; start a fresh goal-local
Evidence store and ignore the legacy data.
$ship is the sole owner of public PR or tracker effects. Actuating supplies a
current ready-to-ship proof and records Ship's returned receipt as evidence;
it never performs the public effect itself.
| Intent | Route | Mutation | Terminal result |
|---|---|---:|---|
| Bare $actuating or /goal $actuating | implement -> Ship -> review-closeout | Authority-bound | complete |
| $actuating implement | implementation only | Authority-bound | Local complete |
| $actuating triage | acquire and classify review | Forbidden | Counterexample Set and report |
| $actuating remediation-plan | propose a successor Construction | Forbidden | Non-executable Construction Contract |
| $actuating review-closeout | repair, ablate, Ship when required, and re-review | Authority-bound | complete |
An unqualified request to review, inspect, audit, or classify selects triage.
Require explicit implement, fix, resolve, address, or closeout intent before
mutation.
Compile the accepted source with
$goal-contract. Do not select architecture in
the Goal Contract. Require its returned canonical artifact, non-null
artifact_id, and goal_contract_registered event before continuing.
Inspect the repository boundary, existing owner, host enforcement
capabilities, and required observations. Apply $universalist at every
changed or preserved boundary and retain its compact nomination: candidate,
owner, laws, observations, residuals, invalidators, and falsifier.
Compile exactly four ordinary candidate families in canonical order:
realization-preserve, admitted-domain-restriction,
representation-or-owner-strengthening, and ablation-normalization.
Give each candidate an explicit factor inventory and falsifier, and mark
exactly one selected. Classify the nominated candidate's factors. Invoke
$reduce exactly once for that candidate version when it
adds or preserves an independent semantic owner, parallel representation,
bypass, compatibility branch, semantic mechanism, or apparently dominated
residue. Otherwise record Reduction: not-required. When an accepted
Counterexample class can lead to mutation, record this
compact view over the current Construction selection before choosing an
operation; it is not a fifth authority artifact:
Repair Disposition
Law:
Owner:
Reduction: not-required | minimal | dominated | incomparable | essential-shape-gap | blocked
Route: delete | consolidate | edit | add
Why not smaller:
Falsifier:
A finding authorizes the invariant, not its suggested implementation.
Choose the least additive route that satisfies the law; add must explain
why delete, consolidate, and edit are insufficient.
Adjudicate the nomination and challenge. Select the smallest non-dominated
Construction that satisfies every Goal law, makes invalid states
unrepresentable where feasible, and names exact proof and retirement
obligations. Record the predecessor and successor factor surfaces and a
total supersession partition: every factor is preserved, retired,
introduced, or explicitly replaced. A dominated challenge selects the
smaller admissible candidate; incomparable, essential-shape-gap, or
blocked requires an Actuating disposition or obstruction, never recursive
skill ping-pong.
Follow
construction-contract.md.
Set the selected Construction draft's artifact_id to JSON null, then
materialize and register it before selecting any operation:
ledger --source actuation --repo <repo> --goal <goal-id> \
append --input <construction-contract.json>
Require construction-contract/v3 and actuating-append-result/v1, retain
its complete canonical artifact, exact-match its non-null artifact_id to
artifact.artifact_id, and retain event_digest as the
construction_contract_registered observation. Only the returned artifact
is the current Construction; Ledger does not select or revise it.
For each repository effect, Actuating selects one exact operation projected
by the current Goal, returned Construction, and live subject, including its
expected_subject_digest. For Git repositories, select the checked-in
scripts/subject_observation.py command with the Goal's literal repository
and path scope. Its actuating-subject-observation/v1 requires two identical
captures of HEAD, index, scoped worktree, and selected ignored or unignored state.
Before the effect the executor reruns that exact command. A mismatch aborts without effect.
The executor cannot choose another observer or broaden scope, and Ledger
compares only the opaque digest.
Run the Construction's exact verifier and falsifier observations. Record their immutable outputs and the resulting subject identity in the Evidence Ledger using evidence-ledger.md.
Re-evaluate the current artifacts and observations. Actuating selects the next operation, review action, Ship handoff, closure judgment, or blocker.
The one-operation law is select -> prepare -> effect -> observe -> evaluate -> select or close. Actuating performs the semantic evaluation; Ledger may only
record and replay its inputs. No stage may smuggle a second repository effect.
A document, operation envelope, validator pass, Ledger append, review result, or Construction Contract never grants mutation by itself. Mutation requires current accepted authority, a current Construction, a matching subject, and an Actuating-selected in-scope operation.
Every witnessed bug, failing test, incident, compatibility failure, or review
finding passes through $review-fold before repair. It separates facts from
suggestions and quotients duplicates into stable law-and-boundary classes.
Actuating then determines whether each accepted class is:
The successor records falsified and preserved predecessor claims, excluded Counterexample classes, stronger proof, and retirements. It must preserve already-valid observations. A witnessed example is not resolved until the Construction excludes its class or proves it instance-specific.
An accepted Review Fold makes the current Construction stale. Its successor
uses accepted-review-fold, binds the latest Counterexample Set on the exact
current subject, and records the same canonical accepted-class list in both
counterexample_class_refs and evaluated_class_refs. A zero-class successor
is legal only when it clears a nonempty predecessor debt set on that subject.
Predecessor-factor proof refs resolve through the predecessor artifact;
candidate, successor-factor, addition, and completeness refs resolve through
the successor artifact.
Before selecting an affected repair, fold the current and predecessor Counterexample Sets against the current and predecessor Constructions for this Goal. Trigger the gate when either:
Shared filenames, diff size, or similar wording do not establish a common cause. When the evidence does, record this compact view over the successor Construction decision:
Causal Recurrence Disposition
Evidence and class refs:
Shared cause:
Current Construction factor:
Candidate comparison: realization preserve / admitted-domain restriction / representation strengthening / ablation normalization
Disposition: instance-specific | architecture-repair | ablation-repair | blocked
Why another local repair is sufficient or forbidden:
Proof:
Falsifier:
This is not a fifth authority artifact. The successor Construction carries the
complete cluster in counterexample_class_refs, names the shared cause in
falsified_predecessor_claims, and owns the selected proof and retirements.
Do not select another affected repository mutation after the gate triggers.
instance-specific is legal only when a non-example proof separates the
cluster and establishes that the current representation remains sufficient.
Otherwise select an architecture or ablation successor, or block.
When the repeated route adds validators, correlations, caches, bypasses, or path-dependent recovery to recreate information the selected representation forgets, require the Reduction challenge to test the existence of that repair mechanism—not merely whether its newest implementation is locally minimal. Compare all four v3 candidate families before retaining residual validation authority. Ledger may replay the cited history but never computes shared cause or the disposition.
Before dispatching fresh review after a repair, compare the realized production
delta with the challenged candidate. Line count is only a reclassification
signal. Reinvoke $reduce once for a successor candidate only when the delta
introduces or materially changes an independent semantic owner, parallel
representation, bypass, compatibility branch, semantic mechanism, or dominated
residue. Otherwise retain the pre-mutation challenge. Actuating still selects
the successor Construction and next operation; the same candidate and evidence
never enter a recursive reduction loop.
Follow review-contract.md. Preserve all of these laws:
Actuating owns dispatch timing and consumes CAS's structured owner receipts.
With $review-fold's current Counterexample Sets, Actuating decides whether a
CAS attempt has a current semantic verdict, earns credit, resets the streak, or
requires a successor Construction. Ledger may record receipt references and
project structural history, but it does not dispatch CAS or translate any CAS
field or process status into clean, findings, or credit.
Bare mode and publication-bearing review closeout hand a current
ready-to-ship proof to $ship. After Ship returns current
owner-issued evidence, Actuating records it and begins or resumes review on the
published subject.
Apply closure.md only to current artifacts and
observations. Actuating authors the resulting actuating-closure-receipt/v1;
Ledger neither emits the verdict nor authors the receipt. $proof-patch may
render a complete result but cannot decide it. Complete the handoff or report
before the source-memory checkpoint; learning status cannot delay, invalidate,
or roll back delivery closure.
Always block on stale or missing authority, Goal, Construction, or subject;
unresolved accepted or blocked Counterexamples; out-of-scope operations;
incomplete proof or retirement; a public effect outside Ship; or any attempt by
Ledger or an executor to take Actuating's semantic authority. For a
final-closeout complete verdict, also block on stale or missing review
identity, CAS receipt mismatch, unresolved request-local recovery, or fewer than
five current-subject standard clean attempts, and—when the Goal requires
publication—stale or missing Ship identity. A ready-to-ship verdict requires
neither publication nor review evidence; local-implementation complete
requires neither and rejects both as inapplicable.
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.
testing
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.