Skip to content

refactor(signoff): unify discontinue naming — park → discontinue (#48) - #50

Merged
eduralph merged 1 commit into
mainfrom
feat/48-unify-discontinue-naming
Jun 17, 2026
Merged

refactor(signoff): unify discontinue naming — park → discontinue (#48)#50
eduralph merged 1 commit into
mainfrom
feat/48-unify-discontinue-naming

Conversation

@eduralph

Copy link
Copy Markdown
Owner

Summary

The park disposition (#42) named one feature three inconsistent ways: the terminal state was DISCONTINUED, the documented intent "discontinue", but the action/flag/outcome tokens were park/--park/parked — which additionally collided in spelling with the PARKED halt-set (the states the driver stops at, incl. COMPLETE).

This unifies the disposition on one word across action → outcome → state:
discontinue (action/flag) → discontinued (outcome) → DISCONTINUED (state).

Per the issue's deferred decisions:

  • Clean rename--park/parked dropped entirely (no hidden alias, no legacy parked tolerance; no known bundle carries the parked §9 outcome yet).
  • PARKED halt-set → HALTED so the word "park" disappears from the codebase entirely.

Changes

  • Disposition tokens: leaves.py (VALID_DECISIONS + prompt), signoff.py (VALID_OUTCOMES, ACTION_TO_OUTCOME), state.py (_OUTCOME_TO_STATE key), cli.py (--park--discontinue).
  • Halt-set: state.py PARKEDHALTED, driver.py.
  • Prose: queue.py, flow.py, cli.py ("parked state" → "halted state").
  • Docs: 02-cycle-artifacts.md, 03-cycle-automation.md.
  • Tests: test_driver_slice.py, test_flow_slice.py, test_gates_unverifiable.py.

Verification

  • All 109 tests pass (python3 -m unittest discover -s testsOK).
  • grep -rniE "park" template/ → no hits.
  • pdca signoff --help shows --discontinue, no --park.

Closes #48

🤖 Generated with Claude Code

The `park` disposition (#42) named one feature three inconsistent ways:
the terminal state was DISCONTINUED, the documented intent "discontinue",
but the action/flag/outcome tokens were park/--park/parked — which also
collided in spelling with the PARKED halt-set (states the driver stops at).

Rename the disposition to one word across action → outcome → state:
discontinue (action/flag) → discontinued (outcome) → DISCONTINUED (state).
Clean rename: --park/parked dropped entirely (no alias, no legacy
tolerance — no known bundle carries the parked outcome yet). The PARKED
halt-set is renamed HALTED so "park" disappears from the codebase.

Closes #48

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@eduralph
eduralph merged commit 9596517 into main Jun 17, 2026
1 check passed
@eduralph
eduralph deleted the feat/48-unify-discontinue-naming branch June 17, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unify the discontinue disposition naming: park/parked → discontinue/discontinued (match the DISCONTINUED state; free the PARKED halt-set)

1 participant