Rename settlement vocabulary inside the os-sdlc runner to intent-based terms #505
Labels
No labels
P0
P1
P2
P3
bug
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#505
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Slice
Rename all "settle/settlement" vocabulary in the os-sdlc runner — agent-facing output and internal code — to the handoff/intent vocabulary the prompts use, while the
subagent-stopcommand name and payload contract stay stable.Context
The 2026-08-25 prompt reword (ADR-0148 session) replaced "settle your dispatch" with "submit the handoff to the runner" across all agent prompts, but the runner itself (CLI output, error text, gate feedback, class/method names) still speaks "settlement". Decision 2026-08-25 (maintainer, 100%): full rename — option B. Internal names follow because the original leak was runner-internal vocabulary bleeding into prompts; renaming only surfaces would recreate it.
Inventory (2026-08-25): agent-facing —
stopped_without_settlementstep value,/tmp/settle-<N>.jsonpattern in 11 agent .md files, "settlement command" in change-interpreter.md. Internal —GateSettlement,BlankContentSettlement,settle!,settle_verdict,settle_parsed_completion,already_settled_payload,ALREADY_SETTLED_TYPE, test helpers; concentrated incompletion_intake.rb(19) andcli_subagent_stop_test.rb.Governing ADRs: ADR-0144 (agent-initiated settlement mechanism — unchanged in behavior, informs the contract-stability constraint), ADR-0148 (prompt fossil/vocabulary rule — this ticket extends it to the runner), ADR-0149 (violations recorder touches
gate_settlement.rb).Acceptance criteria
stopped_without_settlement→ a handoff-vocabulary equivalent)os-sdlc-runner subagent-stop, when the payload is processed, then the command name and payload contract are unchanged (or the change is deliberately versioned with a recorded decision)Non-goals
subagent-stopsubcommand itselfnever-ask-twice.md,self-improvement-loops.md, OVERVIEW status markers) where "settled" is a design-status sense of the wordNotes for implementer
Schema-adjacent string values (e.g. the
STEPconstant) are part of observable output — rename the value only if no persisted DB rows or external consumers depend on the literal; otherwise disclose. Runbin/refresh-pluginsafter prompt/SKILL edits.Origin
Triaged 2026-08-25. Maintainer decision: option B, full rename (internal names follow the agent-facing rename), confidence 100%. Body refined to ticket template with inventory and governing ADRs (0144, 0148, 0149). Labels applied: enhancement, ready-for-agent. Work starting in a dedicated worktree; confidence passes (code-probe, change-interpreter, behavior-verifier) precede implementation.
Resolution
Done: Full option-B settlement→handoff rename shipped on branch worktree-ticket-505-settlement-rename (commits
f4b07fc+36581d1, in worktree pending merge to main). GateSettlement→GateHandoff, BlankContentSettlement→BlankContentHandoff, settle-family methods→record-family, step literal now stopped_without_handoff, agent prompts use /tmp/handoff-.json, subagent-stop command and payload contract byte-for-byte unchanged.Evidence: Suite 1110 runs, 2863 assertions, 0 failures (better than the 1-failure baseline: the stale pre-reword prompt assertions in change_interpreter_agent_test were in-scope and fixed). New settlement_vocabulary_guard_test pins the rename in lib/. Rubocop clean on touched files. Behavior-verifier audit passed after one finding (pipeline-state-investigate SKILL.md ADR-0140 reference) was fixed. Disclosure: historical step_results rows keep the literal stopped_without_settlement; no reader filters on it anywhere in the repo.
Follow-ups: none — optional cosmetic leftovers (fixture data strings like 'settle checkbox parsing', policy-sense 'settled decisions' comments) are deliberate exemptions recorded in the ticket's non-goals