ktg-plugin-marketplace/plugins/ultraplan-local/commands
Kjell Tore Guttormsen f58b892436 fix(ultraplan-local): Bug 2 — eliminate state-file-path template; Read tool + concrete arg
Step 5 of v3.4.1 hot-fix plan. Phase 2 of
commands/ultracontinue-local.md is rewritten to remove every curly-
brace template placeholder. The {state-file-path} substitution failure
caused the path-guard hook to crash on unresolved templates.

New Phase 2 structure:

  2.a — Read the file with the Read tool (no Bash). Deterministic and
        not subject to shell-substitution errors.
  2.b — Schema-validate via the existing CLI shim, with the resolved
        absolute path emitted as a literal string token by the model
        at the time of the Bash call. Anti-substitution invariant:
        STOP if about to emit any unresolved placeholder.
  2.c — Interpret validator result (preserved verbatim from the
        previous Phase 2 — three-way branch on valid + status).

Verification: grep -c "{state-file-path}" returns 0; full Phase 2
section contains no {lowercase-template} curly-brace placeholders.
Suite 322 -> 335 passing (+13: 7 from Step 1, 4 from Step 2, 2 from
Step 4).
2026-05-04 16:40:11 +02:00
..
ultrabrief-local.md feat(ultraplan-local): add --gates autonomy-control flag to all four pipeline commands 2026-05-04 07:54:30 +02:00
ultracontinue-local.md fix(ultraplan-local): Bug 2 — eliminate state-file-path template; Read tool + concrete arg 2026-05-04 16:40:11 +02:00
ultraexecute-local.md feat(ultraplan-local): emit main-merge-gate stats event from Phase 8 2026-05-04 07:55:41 +02:00
ultraplan-end-session-local.md feat(ultraplan-local): add /ultraplan-end-session helper for informal multi-session flows [skip-docs] 2026-05-01 20:58:46 +02:00
ultraplan-local.md feat(ultraplan-local): add --gates autonomy-control flag to all four pipeline commands 2026-05-04 07:54:30 +02:00
ultraresearch-local.md feat(ultraplan-local): add --gates autonomy-control flag to all four pipeline commands 2026-05-04 07:54:30 +02:00
ultrareview-local.md feat(ultraplan-local): add commands/ultrareview-local.md 2026-05-01 16:56:47 +02:00