Repository navigation
docs(debug-tend-run): fix codex message content-item jq path - #771
Merged
Merged
Conversation
The prose described text at .payload.content[].input_text.text (nested
shape) but the working recipe uses the flat type-tagged shape. Codex's
ContentItem enum is internally tagged (serde tag = "type"), so items
serialize as {"type": "input_text", "text": ...}. Align the prose.
max-sixty
added a commit
that referenced
this pull request
Jul 16, 2026
## Summary Version bump + CHANGELOG for 0.1.11. See [CHANGELOG.md](https://github.com/max-sixty/tend/blob/release/CHANGELOG.md#0111) for the full notes. 13 commits since 0.1.10: - Adopter sandbox levers (`sandbox_path`/`sandbox_env`/`sandbox_setup`, #768) - Sandbox `PATH` derived from the runner's own `PATH` (#767) - Invited upstream contributions (#770) - `tend-mention` self-comment no-op skip (#751) - Actionable self-review handling (#762, #775) - `tend-outage` dedup self-heal (#744) - Dropped-cron-tick recovery in `list-recent-runs` (#753) - Drop self-authored attribution sign-offs (#773) - Docs fixes (#776, #771) - `claude_version` bump (#774) ## Test plan - [x] `wt test` (275 passed) - [x] `pre-commit run --all-files` (all hooks passed) - [ ] CI green on this PR > _This was written by Claude Code on behalf of Maximilian Roos_
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.
Nightly survey found an internal inconsistency in the Codex log-parsing reference: the prose description of a
messageitem's text location contradicts the workingjqrecipe further down the same file..payload.content[].input_text.text— a nestedinput_textobject shape..payload.content[] | select(.type == "input_text") | .text— a flat,type-tagged shape.A reader who follows the prose path gets
null. The flat shape is correct: Codex'sContentItemenum is internally tagged, so each content item serializes as{"type": "input_text", "text": "…"}.Source:
codex-rs/protocol/src/models.rs—#[serde(tag = "type", rename_all = "snake_case")]produces{"type": "input_text", "text": ...}, not{"input_text": {"text": ...}}.This fix aligns the prose with the working recipe. Pure documentation change — no test feasible.