This release makes Nelson suitable to two Claude Code features so power users can drive both from the framework: dynamic workflows (deterministic multi-agent orchestration) and /goal (session-scoped Stop hooks that keep a session working until a completion condition is met). Nelson wraps each with doctrine, gates, and verification — it governs these features, it does not auto-invoke them.
Features
- Dynamic workflow alignment (v1) — Two new execution modes,
workflow(one approved autonomous run for large fan-out, audits, migrations, or cross-checked research) andhybrid-workflow(a Nelson-gated sequence of runs with human approval between stages, for Station 2/3 work). Addsreferences/workflow-doctrine.md(suitability, Sounding-the-Channel probes, cost guardrails, verification contracts, telemetry), battle-plan Workflow Charter fields, a charter-to-runnable-script bridge so the approved charter maps onto a real Workflow script, andworkflow_*telemetry events. Saved workflows live in.claude/workflows/*.jsand run as/<name>. - Goal alignment — Nelson now aligns with Claude Code's
/goal. Newreferences/goal-alignment.mddoctrine, built on the load-bearing fact that the/goalevaluator judges only the conversation transcript — so completion evidence must be surfaced into chat, not left on disk. Newnelson-data.py goal-conditioncomposes a transcript-verifiable/goalstring from the sailing orders (outcome + metric + stop criteria, plus ascuttle-and-reformescape), with--max-turns,--record(persists the condition + logs agoal_setevent for resumption), and--json. Wired into SKILL.md at Sailing Orders (offer/reconcile), Stand Down (surface evidence so the goal auto-clears), and session resumption (re-establish on a fresh session). Addsgoal_set/goal_clearedevents and an optional persistedgoal_conditionfield. The standing goal and the Mission Complete Gate reinforce each other.
Maintainability & docs
- Backlog triage (#124) — admiralty-decision documentation, mission session-marker sidecar cleanup, and an incremental (per-module) strict-mypy sensor rollout.
- New
test_nelson_data_goal.py(composer purity/immutability, CLI output/JSON/record/limit, event validity, schema preservation);tool-mapping.md,structured-data.md,README.md, anddocs/project_structure.mdupdated. All sensors green: Ruff, formatter, pytest, pre-commit, markdownlint, typos, and the doc cross-reference check.