Nacl publish

From ITSalt/NaCl · View interactive version

Nacl publish is an AI agent skill from the GitHub repository ITSalt/NaCl. Publish NaCl graph-derived Markdown and board artifacts to external documentation targets. Use when publishing graph docs, syncing Docmost pages, generating or linking boards, previewing publish scope, or when the user says `/nacl-publish`.

How to use this skill

Skill file

NaCl Publish For Codex

Packaged Gateway Binding

Read CODE0.

Use its read preflight and protected ReleaseEnvironment sequence only.

Task/domain reconciliation requires the corresponding packaged named reads;

while they are absent, graph-derived publishing is

BLOCKED/PUBLISH_NAMED_QUERY_UNAVAILABLE. External publication always retains

its separate explicit user confirmation.

Publish is a graph-read and external-write workflow. Read ../nacl-core/SKILL.md

and ../nacl-render/SKILL.md before publishing.

Workflow

  1. Resolve graph, documentation target, space, board directory, and manifest

configuration.

  1. Preview the publish scope and changed pages or boards.
  2. Stop for confirmation before external writes or board file edits.
  3. Run the pre-publish reconciliation gate (see below). On any

disagreement: refuse the publish.

  1. Generate Markdown through render behavior and publish create/update actions

through available documentation tooling.

  1. Generate board files or link board references only when the required tooling

and paths are available.

  1. Update the publish manifest when file editing is available and confirmed.

Pre-publish reconciliation

Publishing inconsistent state to Docmost makes drift visible to

stakeholders and harder to retract than an internal .tl/ artifact.

Before any external write, compare the live graph against

.tl/changelog.md (and .tl/release-status.json when present).

Preview-only operations are exempt.

Live graph reads only — no .cypher export fallback. A stale

export would push out-of-date pages to Docmost; the W5 binding

forbids this fallback. If the graph container is unreachable, report

Status: BLOCKED with workflow detail graph_unavailable and refuse

the publish. Operators who must publish despite an unreachable graph

file a signed exception against gate graph-stale (W4 schema in

.tl/exceptions/_template.yaml); the exception does not re-enable

the export path.

Cross-checks (publish subset):

| Pair | Sources | Assertion |

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

| P-P1 | .tl/changelog.md released FR list vs graph FeatureRequest | every FR named in the latest changelog section exists as a FeatureRequest node in the live graph. |

| P-P2 | .tl/changelog.md released UC list vs graph UseCase | every UC named in the latest changelog section exists as a UseCase node. |

| P-P3 | .tl/release-status.json.release_tag vs graph release_tag | if the JSON tag is non-null, the live graph carries it on ≥1 FeatureRequest / Task node (assertion is informational when JSON is absent). |

A pair PASSES iff the assertion holds, or holds under an active

signed exception. Expired exceptions do not satisfy a pair.

Refusal on disagreement: report Status: BLOCKED with workflow

detail publish-drift and a per-pair delta. Do not write to

Docmost. Do not write boards. Resolution is to reconcile the

graph (run the relevant SA / TL skill) or file a graph-stale

exception.

Reconciliation evidence: on PASS, write

.tl/reconciliation/<ISO-8601>-publish.json per the schema at

<project-root>/.tl/reconciliation/_template.json.

Required fields: timestamp, intake_id (or null for a

publish-only run), sources_checked, deltas,

active_exceptions, expired_exceptions, terminal_status.

Capabilities

May Do

available and confirmed.

Must Not Do

Conditional Tools And Actions

Blocked Or Unverified Reporting

or confirmation are 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.