Development record
The orphan-draft report in Promote (internal/core/capture/promote.go) delimits its remedy with backticks — complete the link with (backtick)abcd capture promote ...(backtick) — and the remedy now carries the promotion's own grounds, which are free prose. Grounds containing a backtick therefore close the delimiter early, so a reader (or a test, or any tool) copying the text between the backticks gets a truncated command; the remedy itself is well formed and runs when copied whole. The fix must establish a delimiter the argument cannot close, so what sits between the delimiters is always the whole remedy.
The orphan-draft report in Promote (internal/core/capture/promote.go) delimits its remedy with backticks — complete the link with (backtick)abcd capture promote ...(backtick) — and the remedy now carries the promotion's own grounds, which are free prose. Grounds containing a backtick therefore close the delimiter early, so a reader (or a test, or any tool) copying the text between the backticks gets a truncated command; the remedy itself is well formed and runs when copied whole. The fix must establish a delimiter the argument cannot close, so what sits between the delimiters is always the whole remedy.
Grounds
- pursued: whatever reads the text between the remedy's delimiters gets the whole command; grounds with a backtick run yielding a truncated span would show it wrong
Frontmatter
| id | iss-2609020154474224 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2609020154474224-the-orphan-draft-report-in-promote.md
open on GitHub ↗ · commit history ↗