fix(solicitation-create): unwrap data: {...} envelope in Step 6 code example#413
Merged
Merged
Conversation
…example
The verification re-run of /ace:step solicitation-create
(malaria-itn-app/20260521-1400 — solicitation 3141) flagged that
the Step 6 code-block example still showed the wrapped data: {...}
shape even though PR #411 corrected the surrounding prose to flat
fields.
A literal reader who copy-pasted the code block would have ended
up with a payload labs rejects with additionalProperties:false.
Fixed the code block to match the prose + live tools/list contract.
Also tightened the criterion shape in the example to lead with
`id` (canonical labs field order) and the question shape to lead
with `id, text, type` (the three required fields per live schema).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tiny follow-up to PR #411. The verification re-run of
/ace:step solicitation-create(malaria-itn-app/20260521-1400 — solicitation 3141, successful clean execution) flagged that the Step 6 code-block example still showed the wrappeddata: {...}shape even though #411 corrected the surrounding prose to flat fields. A literal reader who copy-pasted the code block would have produced a payload labs now rejects underadditionalProperties: false. Code block fixed to match the prose + livetools/listcontract.Also tightened the criterion shape in the example to lead with
id(canonical labs field order) and the question shape to lead withid, text, type(the three required fields per live schema).🤖 Generated with Claude Code