feat(docs): add non-destructive image anchors#843
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 18, 2026, 6:53 AM ET / 10:53 UTC. Summary Reproducibility: yes. The linked issue provides scratch-doc commands and live confirmation, and current main source shows matched ranges are deleted before image or fallback-link insertion; I did not run live Google API tests in this read-only review. Review metrics: 2 noteworthy metrics.
Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land this PR after maintainer review and green required checks, keeping Do we have a high-confidence way to reproduce the issue? Yes. The linked issue provides scratch-doc commands and live confirmation, and current main source shows matched ranges are deleted before image or fallback-link insertion; I did not run live Google API tests in this read-only review. Is this the best way to solve the issue? Yes. Separate AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against c02fdf7bc1a1. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
Summary
docs insert-image --beforeand--afteranchor modes--atplaceholder replacement and default end append behaviorFixes #839.
Testing
go test ./internal/cmd -run 'TestDocsInsertImage' -count=1make ci