Nacl sa full

From ITSalt/NaCl · View interactive version

Nacl sa full is an AI agent skill from the GitHub repository ITSalt/NaCl. Coordinate complete NaCl SA graph specification through phased Codex orchestration with explicit handoff contracts and user confirmation gates. Use when creating a full SA specification from BA graph context or for compatibility with `/nacl-sa-full`.

How to use this skill

Skill file

NaCl SA Full For Codex

Packaged Gateway Binding

Read CODE0

and use only its sa-resource sequence. Module, FeatureRequest, and

UseCase scalar mutations require the exact SA approval, live lease/fence,

revision CAS, read-back, and release. Any required relationship or additional

SA surface returns the mapped blocking gap code.

Coordinate full SA graph specification work without assuming a separate isolated

runner. SA artifacts remain Russian where the NaCl methodology requires Russian.

Read ../references/orchestration-model.md,

../references/migration-rules.md, ../references/verification-vocabulary.md,

and ../nacl-core/SKILL.md before executing this skill.

Goal Boundary

This skill is not safe to wrap in /goal because SA completion contains

mandatory phase-confirmation and handoff judgment gates. Use this skill

interactively, then use a goal-wrapped verification alias only after the gate is

complete.

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

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

../../nacl-goal/refusal-catalog.md, and ../../docs/guides/goal-command.md.

The refusal code is REFUSE_HUMAN_GATE_SA_PHASE_CONFIRMATION. 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:

Orchestration Rules

../references/orchestration-model.md.

verification status, downstream consumer, and handling for VERIFIED,

FAILED, PARTIALLY_VERIFIED, BLOCKED, NOT_RUN, and UNVERIFIED.

environment supports the needed tools.

opening the next phase gate.

the next major phase without explicit user confirmation.

Workflow

Phase 0: Resume And Scope

Check config.yaml, schema availability, and graph tool availability when file

or graph access exists. Detect existing SA graph state for Module,

DomainEntity, SystemRole, UseCase, Component, ValidationReport, and

FinalizationReport.

Report detected state with closed vocabulary. Stop and ask the user to confirm

the starting phase.

Phase 1: Architecture

Coordinate module decomposition, inter-module relationships, and non-functional

requirements.

Contract:

automated WorkflowStep, BusinessEntity, BusinessRole, BusinessRule,

user facts, constraints, and current graph state.

Requirement records, SUGGESTS handoff edges, or a graph-ready change plan.

Phase 2: Domain Structure

For each confirmed module, use the nacl-sa-domain procedure when available.

Process modules sequentially unless available tooling supports a safer scoped

handoff.

Contract:

business terminology.

EnumValue, REALIZED_AS, TYPED_AS, and relationship records or a

graph-ready change plan.

Phase 3: Roles

Coordinate system roles, permissions, and BA role mapping when BA graph context

exists.

Contract:

including MAPPED_TO and HAS_PERMISSION {crud}, or a graph-ready change

plan.

Phase 4: Use Case Stories

Coordinate use case registry creation with user stories, acceptance criteria,

priorities, modules, and actors.

Contract:

graph-ready change plan. BA automation candidates are WorkflowStep records

marked stereotype='Автоматизируется' and missing AUTOMATES_AS.

Phase 5: Use Case Detail

For each primary use case, coordinate detailed activity flow, forms, field

mapping, requirements, and dependencies. Secondary use cases are detailed only

when the user confirms that scope.

Contract:

structure, BA rules, and acceptance criteria.

Requirement, HAS_STEP, USES_FORM, HAS_FIELD, MAPS_TO,

HAS_REQUIREMENT, and IMPLEMENTED_BY records or a graph-ready change plan.

Phase 6: UI

Coordinate UI structure, component reuse, form-domain mapping checks, and

navigation.

Contract:

component properties, repaired MAPS_TO edges when confirmed, or a

graph-ready change plan.

Phase 6b: Connected-Spec Extensions (Optional)

Offer adoption of the connected-spec extension layers with one gate for the

whole phase. Skipping is valid; record the skip so the vacuous pass of the

extension checks in Phase 7 is a documented choice.

Launch order is fixed by layer dependencies: screen state machines for UI use

cases first, then behavior slices, then domain errors, then resilience

(cache and degradation) — slices anchor into machines, error-triggered

degradation anchors into errors.

Contract:

Slice, DomainError/ErrorPresentation, CachePolicy/DegradationRule

records or a graph-ready change plan — or an explicit recorded skip.

(task-file embedding).

validation before processing the remaining use cases.

Phase 7: Validation

Run available SA validation procedures against the graph or graph-ready plan.

Check module completeness, use case completeness, domain binding, role coverage,

requirement binding, disconnected records, the connected-spec extension layers

when adopted (staleness, decision provenance, screen machines, slices, errors,

resilience), and BA-to-SA cross-checks when BA graph context exists.

Report each check with the closed vocabulary. Critical findings require a user

decision before fixes are applied or the workflow advances.

Phase 8: Finalize

Coordinate statistics, architecture decisions, readiness assessment, and open

questions.

Contract:

summary, and open-question list.

Phase 9: Publish Option

Publishing is optional. Run it only when publishing tools are available and the

user confirms.

If publishing is not executed, report NOT_RUN with reason. If publishing output

cannot be checked, report UNVERIFIED.

Phase 10: TL Handoff Option

TL planning is optional. Before offering handoff, verify that validation evidence

exists, primary use cases are detailed, and core graph records are present. If

readiness cannot be checked, report UNVERIFIED.

Run TL planning only when the user confirms and the required procedure or tools

are available.

Read-Back And Status Rules

After every phase that writes graph data, inspect the downstream output and read

back the relevant subgraph before opening the next phase gate. Use named queries

where relevant: sa_module_overview, sa_domain_model,

sa_uc_full_context, sa_form_domain_mapping, sa_uc_dependencies,

sa_statistics_summary, sa_readiness_assessment, sa_feature_scope, and

handoff coverage queries.

If a specialist phase returns FAILED, stop and report the failing contract. If

it returns BLOCKED, identify the missing input, tool, permission, or

confirmation. If it returns PARTIALLY_VERIFIED or UNVERIFIED, ask the user

whether to proceed with known risk before advancing. If a phase is intentionally

skipped, record NOT_RUN with a reason.

Capabilities

May Do

available.

Must Not Do

phases without user confirmation.

Conditional Tools And Actions

confirmation.

current environment.

Blocked Or Unverified Reporting

confirmation are unavailable.

Source Comparison

Preserved Methodology

handoff.

Removed Claude Mechanics

Codex Replacement Behavior

conditional.

vocabulary.

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.