codex/skills/goal-contract/SKILL.md
Compile accepted intent into the sole source-bound goal-contract/v3 artifact. Use before multi-step implementation, review closeout, migration, or hard debugging to bind outcomes, laws, authority, scope, compatibility, and acceptance without selecting architecture, choosing operations, or granting mutation.
npx skillsauth add tkersey/dotfiles goal-contractInstall 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.
Compile accepted intent into the only per-goal semantic-authority document.
The accepted specification or direct user authority owns required semantics;
$goal-contract records them without extending or reinterpreting them.
The Goal Contract records whether mutation was authorized. It never grants mutation, selects a Construction, chooses an operation, records mutable progress, or performs an effect.
Read the exact v3 contract.
Identify the accepted specification or direct user authority and preserve its exact source reference and digest.
Separate semantic source authority from execution authority. A plan, review, gate, or validator pass never implies mutation permission.
Copy required outcomes and non-goals without architectural elaboration.
Bound repository scope with the exact repository, base reference, allowed paths, and prohibited paths.
Preserve required compatibility contracts, expressly permitted breaks, and migration requirements.
Compile every required predicate into one stable law with applicability and a required observation. An unobservable required law blocks.
Select only the source-authorized terminal route, publication posture, and proof kinds.
Set the draft artifact_id to JSON null. After $ledger ensure, request
the workflow's current Actuating adapter gate. When invoked standalone,
require ledger --version to be at least 0.11.0 and verify that
ledger --source actuation --help exposes only the current six-command
adapter.
Materialize and register the authored draft through the existing structural adapter before handoff:
ledger --source actuation --repo <repo> --goal <goal-id> \
append --input <goal-contract-draft.json>
Require actuating-append-result/v1, a non-null top-level artifact_id
equal to artifact.artifact_id, the complete returned canonical artifact,
and its registration event_digest. Retain that returned artifact as the
current Goal Contract. Ledger canonicalizes, identifies, and registers its
structure; it does not author semantics or grant authority.
Inspect the complete source-to-Goal projection before handing the returned
immutable artifact and exact identity to $actuating for Construction
selection.
$universalist may elaborate only source-permitted, underdetermined
architecture choices. The selected result belongs in a Construction
Contract, not the Goal Contract.$plan may supply execution policy but never mutation authority.goal_id, exactly one predecessor artifact_id, a new content-addressed
artifact_id, and a fresh initial Construction. Never edit the predecessor
in place.Do not put candidate constructions, selected architecture, Counterexample classification, review bindings or attempts, operations, evidence events, mutable progress, campaign state, or closure state in a Goal Contract.
Return:
Goal Contract identity
goal_contract_registered event identity
accepted source identity
execution-authority identity
mutation posture
scope
laws and observations
compatibility obligations
acceptance route
The handoff is semantic input to Actuating. It is not an operation request or proof of completion.
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.