Skip to content

fix(builder): interface.defaultPrompt must be an array (0.3.8) - #29

Merged
rldyourmnd merged 1 commit into
mainfrom
work/builder-defaultprompt
Jul 21, 2026
Merged

fix(builder): interface.defaultPrompt must be an array (0.3.8)#29
rldyourmnd merged 1 commit into
mainfrom
work/builder-defaultprompt

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

The Codex runtime deserializes plugin interface.defaultPrompt as Option<Vec>; a bare string is non-conforming. Emit the array form in the manifest and creator, and make the checker reject a bare string. Builder plugin 0.3.7 -> 0.3.8.

The Codex runtime deserializes plugin interface.defaultPrompt as
Option<Vec<String>>, so a bare string is non-conforming and rejected at load
even though older examples used one.

- plugin.json: emit defaultPrompt as a one-element array.
- create_codex_artifact: generate the array form for new plugins.
- check_codex_artifact: reject a bare-string defaultPrompt (require one to three
  <=128-char strings) so the checker catches what the runtime rejects.
- Bump the builder plugin version to 0.3.8 and refresh release-evidence.
@rldyourmnd
rldyourmnd merged commit e65d413 into main Jul 21, 2026
8 checks passed
@rldyourmnd
rldyourmnd deleted the work/builder-defaultprompt branch July 21, 2026 06:10
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.

1 participant