os-me tests: move from decision-model Adapters::Fixed to Adapters::PresetAnswers #1478
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
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
rule-proposal
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#1478
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?
Problem
decision-model#16 renamed
Decision::Model::Adapters::FixedtoDecision::Model::Adapters::PresetAnswers. It also renamed the eval adapter-file type "fixed" to "preset_answers". The os-me tests still use the old names. They break when os-me next updates decision-model.Changes in decision-model
Decision::Model::Adapters::PresetAnswers.PresetAnswers#callnow requiresquestions:. It builds each answer from the type of its question.Client#askpassesquestions:. Direct.callcallers must pass it.Affected files
All paths are under plugins/os-me/test/.
.callwith no arguments)defined?(Decision::Model::Adapters::Fixed))"type": "fixed".Approach
Replace
Adapters::FixedwithAdapters::PresetAnswers. Passquestions:to each direct.call. Change "fixed" to "preset_answers" in adapter.json files.Discoverer: /home/jared/dev/ruby-gems/decision-model, session d6b3dec8-0b4c-4965-a835-96e5db2d6b75, 2026-10-31. Found while doing decision-model#16, which renames the adapter.