Nacl sa flags

From ITSalt/NaCl · View interactive version

Nacl sa flags is an AI agent skill from the GitHub repository ITSalt/NaCl. Audit and backfill SA validation exemption properties such as has_ui, system_only, shared, internal, and field_category. Use when validation reports missing exemption flags, after SA migration, after manual graph edits, or says `/nacl-sa-flags`.

How to use this skill

Skill file

NaCl SA Flags For Codex

Manage validator metadata only. This skill fills or overrides exemption

properties used by validation checks; it does not change domain semantics,

relationships, or business properties.

Read ../nacl-core/SKILL.md, ../references/migration-rules.md, and

../references/verification-vocabulary.md before using this workflow.

Workflow

Commands:

attributes by conservative name patterns.

set-field-category: set one property on one node after confirmation.

reading and summarizing the planned changes.

System steps L3.8 reports whose description reads as pure render /

navigation / client plumbing, marking those that also contain rule markers

(validate, save, pay, call, permission, reserve, ...) as review. Never writes.

L3.8 valve on one step; refuse true without a non-blank reason.

Managed properties:

| Property | Node | Meaning |

|---|---|---|

| has_ui | UseCase | Whether a UC should have forms. |

| system_only | SystemRole | Whether a role intentionally has no BA role mapping. |

| shared | DomainEntity | Whether cross-module use is intentional. |

| internal | DomainAttribute | Whether a field can be omitted from UI mapping checks. |

| field_category | FormField | input, display, or action; only input must map to a domain attribute. |

| coverage_exempt + coverage_exempt_reason | ActivityStep | System step realizes no rule (L3.8 valve); reason REQUIRED (L3.9). Opt-in, never backfilled. |

Default backfill is conservative: missing has_ui is derived from USES_FORM;

missing system_only, shared, and internal default to false; missing

field_category defaults to input. coverage_exempt is never backfilled

(absent = not exempt). Manual overrides are authoritative.

Graph Contract

This skill writes only metadata properties on existing nodes:

UseCase.has_ui, SystemRole.system_only, DomainEntity.shared,

DomainAttribute.internal, FormField.field_category, and

ActivityStep.coverage_exempt + coverage_exempt_reason. It must not create

or delete nodes, relationships, permissions, requirements, forms, fields, or

domain semantics.

Every mutating command has three steps: audit current values, show the exact

node ids and property deltas, then stop for confirmation. After confirmed

writes, rerun the audit or targeted read-back and report updated missing counts.

set-batch must reject ambiguous ids and unsupported properties. If a batch

file cannot be read or contains changes outside the managed property set, report

Status: BLOCKED and do not apply partial writes unless the user explicitly

approves a narrowed batch.

Capabilities

May Do

Must Not Do

permissions, or requirements.

Conditional Tools And Actions

Blocked Or Unverified Reporting

confirmation is missing.

be checked.

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.