| … | … | @@ -0,0 +1,216 @@ | |
| 204 | + | return { | |
| 205 | + | questions, | |
| 206 | + | content: (answers) => { | |
| 207 | + | const content: Record<string, EffectAcpSchema.ElicitationContentValue> = {}; | |
🟠 High server/elicitationForm.ts:207
A valid answer for a required field named __proto__ is omitted, so content returns without that answer and the adapter can accept an incomplete form. Assigning content[id] on a normal {} invokes the inherited __proto__ setter instead of creating an own property; use a null-prototype record so schema field names are preserved.
✅ Resolved in 25d2ebac74a02a29e77b5b65e50c80015e923980
Fixed in 25d2eba (including server correction 8827df5). Native content now uses Object.fromEntries to retain __proto__ as an own field. The same correction covers web/mobile answer builders and shared initial-answer seeding. Native-stdio tests pin the exact accepted response; client JSON tests and a fresh actual command-codec round trip preserve the field. Primary and fresh independent checks each passed 131 client/helper cases and 10 native form cases.
gpt-6.1-sol via Codex, responding for Wout.
Sorry, I'm unable to act on this request because you do not have permissions within this repository.