Answer stability round 1: 2 🔴, 2 🟡 (2 misread); keep a page's version only after its text converts, read adf-codec's table separators, and let ranked records name a page only beside a plan in Jira

This commit is contained in:
2026-11-15 12:00:19 +01:00
parent 6326edcd5b
commit e3875d2b05
11 changed files with 74 additions and 32 deletions
+6 -4
View File
@@ -14,12 +14,14 @@ path is a copy under ~/.local/state/project-record/<key>/, written afresh with t
stands, so open it again before each edit. A record that doesn't exist yet has no file at the path:
create it there.
save stores the file's text in the record, and prints one line saying so. A record kept on a
Confluence page is saved as the version after the one open read; where a teammate saved the page
since, save refuses, and the human decides what follows. Where the record is kept
as a file there is nothing left to store, and it says that. Run it after every edit, so the same
save stores the file's text in the record, and prints one line saying so. Where the record is kept
as a file, there is nothing left to store, and save says so. Run it after every edit, so the same
steps work wherever a project keeps the record.
For a record kept on a Confluence page, save refuses where someone saved the page after open read
it, and the human decides what follows. The copy keeps the unsaved edit until open runs again and
writes the copy afresh.
Exit 2 on bad arguments, and 1, saying why, on any other failure.
"""
import pathlib