NaCl TL Next For Codex
Read ../nacl-tl-core/SKILL.md and ../nacl-tl-core/references/tl-codex-contract.md before executing this workflow.
Recommend a single next action unless the user asks for a list.
Workflow
- Resolve filters such as backend, frontend, technical, review, sync, QA, wave,
or list mode.
- Try graph mode by reading Task and Wave data through available graph tooling.
- Fall back to
.tl/status.jsonand.tl/master-plan.mdwhen graph data is
unavailable and files exist.
- Score actionable candidates by dependencies, wave boundaries, phase order,
priority, and available context.
- Return one recommended command with rationale, plus parallel options when
requested.
Source-Parity Requirements
- Use
tl_active_wave,tl_actionable_tasks,tl_blocked_tasks, and
tl_task_scoring when graph access is available.
- Respect
DEPENDS_ONandIN_WAVE; do not recommend a task with unfinished
dependencies as actionable.
- Remote mode (
config.yamlgraph.mode: remote, shared graph): the
.tl/status.json fallback in step 3 is DISABLED — HALT if the graph is
unreachable. Recommendation is claim-first through the bundled gateway:
call nacl_graph_derive_worker_identity, then
nacl_graph_claim_resource for the exact Task with a stable idempotency
key, bounded TTL, and APPROVE_TL_WRITE. If LEASE_HELD, skip to the next
candidate; otherwise retain the fence for heartbeat, explicit handoff, or
release. If the current public route exposes read-preflight only, return the
mapped TL_STATUS_QUERY_UNAVAILABLE instead of claiming through a local
script. Load