Nacl tl hotfix

From ITSalt/NaCl · View interactive version

Nacl tl hotfix is an AI agent skill from the GitHub repository ITSalt/NaCl. Coordinate emergency NaCl TL fixes to the production branch with dirty-tree protection, spec-first repair, baseline verification, pull request gating, restoration of prior work, and honest reporting. Use when handling urgent production fixes or for compatibility with `/nacl-tl-hotfix`.

How to use this skill

Skill file

NaCl TL Hotfix For Codex

Read ../nacl-tl-core/SKILL.md and ../nacl-tl-core/references/tl-codex-contract.md before executing this workflow.

Coordinate emergency fixes conservatively. TL artifacts and reports remain

English.

Read ../references/migration-rules.md and

../references/verification-vocabulary.md before executing the workflow.

Goal Boundary

This skill is not safe to wrap in /goal because hotfix routing requires

human production-incident judgment and branch/action confirmation. Use this

skill interactively; production branch actions remain confirmation-gated even

when a later verification alias is goal-wrapped.

Reference ../nacl-goal/SKILL.md,

../references/goal-codex-contract.md, and

../../nacl-goal/refusal-catalog.md. The refusal code is

REFUSE_HOTFIX_JUDGMENT. Do not provide bypass flags. If autonomous execution

is requested, report Status: BLOCKED or Status: NOT_RUN.

Contract

Inputs consumed:

Outputs produced:

confirmed;

Downstream consumers:

Workflow

Step 1: Triage

Confirm the issue is urgent enough for a hotfix. Identify production impact,

affected users, expected behavior, rollback needs, and required verification.

If the issue is not urgent, recommend the normal fix workflow and report

NOT_RUN.

Step 2: Protect Existing Work

Inspect the worktree before changing branches or files. Do not overwrite

unrelated edits. Preserve the current branch, changed files, and any untracked

work in the report.

If worktree protection cannot be performed with available tools, report:

Status: BLOCKED
Reason: current worktree state cannot be protected

Step 3: Prepare Hotfix Scope

Resolve the production branch from project configuration or explicit user

instruction. Create or use a hotfix branch only after confirmation.

If adapting an existing commit, inspect the changed files and apply only the

minimal production-safe change. If conflicts occur, stop and report the files

and conflict details; do not auto-resolve ambiguous conflicts.

Step 4: Apply Spec-First Fix

Use the nacl-tl-fix discipline:

Step 5: Validate Against Production Baseline

Capture baseline evidence from the production branch when available. Run the

same configured test, build, or verification commands after the hotfix and

compare results to the baseline.

The hotfix is shippable only when the required checks are VERIFIED. If some

required checks cannot run, report PARTIALLY_VERIFIED, BLOCKED, or

UNVERIFIED with the exact missing evidence.

When the hotfix is VERIFIED and a regression test path is recorded, write

Task.verification_evidence = 'test-GREEN:<repo-relative path>' to every

affected Task node before proceeding to Step 6 (taxonomy:

../references/verification-evidence.md). If graph tooling is unavailable,

log the gap in the report; do not block the hotfix on a graph-write failure,

but do not declare evidence "written" either.

Step 6: Pull Request And Merge Gate

Prepare a pull request summary only when requested and tooling is available.

Ask for explicit confirmation before creating, labeling, merging, or enabling

automatic merge behavior.

For any status other than VERIFIED, ask for a fresh explicit user decision

before proceeding to merge-related actions.

Step 7: Restore Prior Work

Return to the previous branch and restore protected work only when safe and

confirmed. If restoration conflicts, stop and report the conflict details.

Step 8: Advisory And Report

Return:

Capabilities

May Do

confirmed and tools allow it.

Must Not Do

confirmation.

Conditional Tools And Actions

confirmation and available git or hosting tools.

dependencies.

Blocked Or Unverified Reporting

confirmation, or required tooling is unavailable.

deployment actions.

Source Comparison

Preserved Methodology

Removed Claude Mechanics

Codex Replacement Behavior

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.