Convert ADF to markdown and back through adf-codec's lossless pair
CI / tests (pull_request) Successful in 1m47s

This commit is contained in:
2026-11-16 13:07:30 +01:00
parent 7fc64d860a
commit 4985e6a2a9
5 changed files with 119 additions and 20 deletions
+1
View File
@@ -2,6 +2,7 @@
## Unreleased
- A tool can now convert ADF to markdown and back without losing anything Jira stores. `adf_codec.convert` has `markdown_to_adf_lossless`, `adf_to_markdown_lossless` and `adfs_to_markdown_lossless`, which keep every block's `localId` and the empty paragraphs Jira uses for spacing, so a Jira or Confluence document read and saved back unedited comes back identical. The portable functions stay for new text and for markdown shown to a person. No tool uses the lossless functions yet.
- A config whose `plan` names a Jira epic must now set `jira-score-formula` and `jira-score-bar`, and fails to load without them. `todo-item add` scores the item by them, refuses one under the bar unless it is exempt, and ranks the new issue among the issues the loop filed: questions first, then security findings, then by score. A person's issues keep their rank.
- `todo-item edit` and `move` work on a plan kept in a Jira epic. They change only an issue the loop filed, and never a link. Of an issue a person filed, `edit` sets only the scores, and posts the new `--comment` on the issue to tell the team why; a plan in a file takes the flag and keeps no comment.
- A release someone else cut while it still held plan items no longer stops the loop: those items count as the next release's, `chunk-preflight` tells the worker to move them there, and `loop-claude` routes on them. Where the plan names no later release and `todo.md` named none since the cut, the loop still asks which release they belong to.