From 57034e5adfb17f9915bb7ba562c0c5af37831914 Mon Sep 17 00:00:00 2001 From: Grok Bot Date: Sun, 18 Oct 2026 02:44:01 +0800 Subject: [PATCH 1/5] chore(ledger): queue the #WFYDV6 fold-back through ledger-inbox Queued with ledger-inbox (no ledger hand edits): - reopen #WFYDV6 as P1 in place (original ID and ULID) with the owner-decision detail that the duplicate row carried - done #Z12CBC: the duplicate identity added before the reopen action existed, folded back into #WFYDV6 - done #GYR7Q3 (task 177b7474): the reopen action landed in #3627 Nothing is signed off: #WFYDV6 stays open until owner, legal and clinical sign-off of the Form 6A/6B wording. --- .../41ff2284-11dd-45ca-a6f6-eb08eae49bb4.json | 16 ++++++++++++++++ .../8f7e4297-79cb-4a57-bc0f-e4b9e52f9f02.json | 12 ++++++++++++ .../bfa17445-b2b8-47a5-9f9e-90d4c82dc372.json | 12 ++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 docs/outstanding-issues-inbox/41ff2284-11dd-45ca-a6f6-eb08eae49bb4.json create mode 100644 docs/outstanding-issues-inbox/8f7e4297-79cb-4a57-bc0f-e4b9e52f9f02.json create mode 100644 docs/outstanding-issues-inbox/bfa17445-b2b8-47a5-9f9e-90d4c82dc372.json diff --git a/docs/outstanding-issues-inbox/41ff2284-11dd-45ca-a6f6-eb08eae49bb4.json b/docs/outstanding-issues-inbox/41ff2284-11dd-45ca-a6f6-eb08eae49bb4.json new file mode 100644 index 0000000000..b1529bc7ef --- /dev/null +++ b/docs/outstanding-issues-inbox/41ff2284-11dd-45ca-a6f6-eb08eae49bb4.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "id": "41ff2284-11dd-45ca-a6f6-eb08eae49bb4", + "createdOn": "2026-10-17", + "action": "reopen", + "payload": { + "id": "#WFYDV6", + "pri": "P1", + "detail": "Owner decision 17 Oct 2026 21:37 AWST: #WFYDV6 must stay open; PR #3609 archived it without the required sign-off. src/components/forms/wa-mha-form-print.tsx (PR #3538) was reworded on 16 Oct (Form 6B now a report to the Chief Psychiatrist; Non-Statutory Study Layout header), but section lists, the 7-day pre-expiry examination and copy recipients remain unverified and no legal or clinical sign-off is recorded. Nothing imports or renders it; it must stay unwired. Delete it once the 30-day dead-code window passes (after 13 Nov 2026) unless legal and clinical sign-off is obtained first.", + "source": "PR 3538 review, 15 Oct 2026; owner decision on PR #3609, 17 Oct 2026; reopened in place with the ledger reopen action (PR #3627), replacing duplicate row #Z12CBC", + "baseRowFingerprint": "0941d904e1d7f9ce734abf1146bcee4d394614250dda6e1ea8cb5b67d0f8d015", + "allowArchived": true, + "targetTable": "archive", + "targetUlid": "01M4ZM793BWFYDV65NNBHBP53K" + } +} diff --git a/docs/outstanding-issues-inbox/8f7e4297-79cb-4a57-bc0f-e4b9e52f9f02.json b/docs/outstanding-issues-inbox/8f7e4297-79cb-4a57-bc0f-e4b9e52f9f02.json new file mode 100644 index 0000000000..c915b673e7 --- /dev/null +++ b/docs/outstanding-issues-inbox/8f7e4297-79cb-4a57-bc0f-e4b9e52f9f02.json @@ -0,0 +1,12 @@ +{ + "version": 2, + "id": "8f7e4297-79cb-4a57-bc0f-e4b9e52f9f02", + "createdOn": "2026-10-17", + "action": "done", + "payload": { + "id": "#Z12CBC", + "outcome": "Duplicate identity for #WFYDV6, added before the ledger had a reopen action. Folded back: #WFYDV6 is reopened in place as P1 with its original ID and ULID (ledger reopen action, PR #3627) and carries this row's detail. Tracking continues on #WFYDV6. Nothing is signed off; the Form 6A/6B wording still needs owner, legal and clinical sign-off.", + "baseRowFingerprint": "6c1fd8a0d427be6db5b172f3d9bf8a666d470e534d56b18c1dace5bccc4ef4a5", + "targetUlid": "01M551BSHWZ12CBC9F0K21CPEN" + } +} diff --git a/docs/outstanding-issues-inbox/bfa17445-b2b8-47a5-9f9e-90d4c82dc372.json b/docs/outstanding-issues-inbox/bfa17445-b2b8-47a5-9f9e-90d4c82dc372.json new file mode 100644 index 0000000000..cda095d375 --- /dev/null +++ b/docs/outstanding-issues-inbox/bfa17445-b2b8-47a5-9f9e-90d4c82dc372.json @@ -0,0 +1,12 @@ +{ + "version": 2, + "id": "bfa17445-b2b8-47a5-9f9e-90d4c82dc372", + "createdOn": "2026-10-17", + "action": "done", + "payload": { + "id": "#GYR7Q3", + "outcome": "The ledger reopen action landed in PR #3627: an archived durable issue moves back to the open table with its original ID and ULID, with identity, fingerprint and prior-outcome checks. It was used to fold duplicate #Z12CBC back into #WFYDV6.", + "baseRowFingerprint": "0b6108b7834cc2ec53f80a0642abe1de0ef1d983a629e8501c4920802c46270e", + "targetUlid": "01M552JNXFGYR7Q31XTTJSNQZD" + } +} From 89a47d1496e807b612d757eeb8ee9a7ea4d82184 Mon Sep 17 00:00:00 2001 From: Grok Bot Date: Sun, 18 Oct 2026 02:44:16 +0800 Subject: [PATCH 2/5] docs(decisions): describe the in-place #WFYDV6 reopen The decision itself is unchanged: #WFYDV6 stays open and the form stays unwired until owner, legal and clinical sign-off. Only the tracking mechanism now reads reopen-in-place (#3627) instead of a new P1 row. --- .../2026-10-17-wfydv6-stays-open-until-sign-off.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/decisions/2026-10-17-wfydv6-stays-open-until-sign-off.md b/docs/decisions/2026-10-17-wfydv6-stays-open-until-sign-off.md index fe6472137c..e096da271f 100644 --- a/docs/decisions/2026-10-17-wfydv6-stays-open-until-sign-off.md +++ b/docs/decisions/2026-10-17-wfydv6-stays-open-until-sign-off.md @@ -6,9 +6,10 @@ PR #3609 archived ledger issue #WFYDV6 (the unwired `src/components/forms/wa-mha-form-print.tsx` with unverified statutory text) without the legal and clinical sign-off the issue required. The owner decided on 17 Oct 2026 at 21:37 AWST that the issue stays open and the form stays unwired until that sign-off is -recorded. The Form 6A/6B wording still needs owner, legal and clinical sign-off; nothing in this decision signs it off. The ledger tooling has no reopen action, so the issue is tracked again as a new open P1 row -queued through the ledger inbox, and the archived #WFYDV6 row's outcome records the reopen. A reconciliation -must not archive that row again without the recorded owner, legal and clinical sign-off, or the deletion of the file after the +recorded. The Form 6A/6B wording still needs owner, legal and clinical sign-off; nothing in this decision signs it off. At first the ledger tooling had no reopen action, so the issue was tracked again as a new open P1 row +(#Z12CBC). Once the reopen action landed (#3627), a ledger inbox `reopen` request moved #WFYDV6 itself back to the +open table as a P1 with its original ID and ULID, and #Z12CBC was closed as folded into it, so the issue keeps one +identity. A reconciliation must not archive #WFYDV6 again without the recorded owner, legal and clinical sign-off, or the deletion of the file after the 30-day dead-code window (13 Nov 2026). If this summary and the source ever differ, the source wins. From f04b1ec0606bf1b7106ff411a89030a4b2d2ec0f Mon Sep 17 00:00:00 2001 From: "qodo-code-review[bot]" <151058649+qodo-code-review[bot]@users.noreply.github.com> Date: Sat, 17 Oct 2026 18:49:14 +0000 Subject: [PATCH 3/5] fix: Fold BDFFYF into reopened WFYDV6 --- .../2026-10-17-wfydv6-stays-open-until-sign-off.md | 11 ++++++----- .../41ff2284-11dd-45ca-a6f6-eb08eae49bb4.json | 2 +- .../9de4b1c7-6f28-4a95-9c03-2d8f6e71b4a0.json | 11 +++++++++++ 3 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 docs/outstanding-issues-inbox/9de4b1c7-6f28-4a95-9c03-2d8f6e71b4a0.json diff --git a/docs/decisions/2026-10-17-wfydv6-stays-open-until-sign-off.md b/docs/decisions/2026-10-17-wfydv6-stays-open-until-sign-off.md index e096da271f..76fec60124 100644 --- a/docs/decisions/2026-10-17-wfydv6-stays-open-until-sign-off.md +++ b/docs/decisions/2026-10-17-wfydv6-stays-open-until-sign-off.md @@ -6,10 +6,11 @@ PR #3609 archived ledger issue #WFYDV6 (the unwired `src/components/forms/wa-mha-form-print.tsx` with unverified statutory text) without the legal and clinical sign-off the issue required. The owner decided on 17 Oct 2026 at 21:37 AWST that the issue stays open and the form stays unwired until that sign-off is -recorded. The Form 6A/6B wording still needs owner, legal and clinical sign-off; nothing in this decision signs it off. At first the ledger tooling had no reopen action, so the issue was tracked again as a new open P1 row -(#Z12CBC). Once the reopen action landed (#3627), a ledger inbox `reopen` request moved #WFYDV6 itself back to the -open table as a P1 with its original ID and ULID, and #Z12CBC was closed as folded into it, so the issue keeps one -identity. A reconciliation must not archive #WFYDV6 again without the recorded owner, legal and clinical sign-off, or the deletion of the file after the -30-day dead-code window (13 Nov 2026). +recorded. The Form 6A/6B wording still needs owner, legal and clinical sign-off; nothing in this decision signs it off. At first the ledger tooling had no reopen action, so the issue was tracked again as new open P1 rows +(#Z12CBC and #BDFFYF). Once the reopen action landed (#3627), a ledger inbox `reopen` request moved #WFYDV6 itself back to the +open table as a P1 with its original ID and ULID; #Z12CBC and #BDFFYF are queued as folded into it, with the distinct +Form 6A/6B detail retained on #WFYDV6. The issue therefore keeps one identity. A reconciliation must not archive +#WFYDV6 again without the recorded owner, legal and clinical sign-off, or the deletion of the file after the 30-day dead-code +window (13 Nov 2026). If this summary and the source ever differ, the source wins. diff --git a/docs/outstanding-issues-inbox/41ff2284-11dd-45ca-a6f6-eb08eae49bb4.json b/docs/outstanding-issues-inbox/41ff2284-11dd-45ca-a6f6-eb08eae49bb4.json index b1529bc7ef..186e507614 100644 --- a/docs/outstanding-issues-inbox/41ff2284-11dd-45ca-a6f6-eb08eae49bb4.json +++ b/docs/outstanding-issues-inbox/41ff2284-11dd-45ca-a6f6-eb08eae49bb4.json @@ -6,7 +6,7 @@ "payload": { "id": "#WFYDV6", "pri": "P1", - "detail": "Owner decision 17 Oct 2026 21:37 AWST: #WFYDV6 must stay open; PR #3609 archived it without the required sign-off. src/components/forms/wa-mha-form-print.tsx (PR #3538) was reworded on 16 Oct (Form 6B now a report to the Chief Psychiatrist; Non-Statutory Study Layout header), but section lists, the 7-day pre-expiry examination and copy recipients remain unverified and no legal or clinical sign-off is recorded. Nothing imports or renders it; it must stay unwired. Delete it once the 30-day dead-code window passes (after 13 Nov 2026) unless legal and clinical sign-off is obtained first.", + "detail": "Owner decision 17 Oct 2026 21:37 AWST: #WFYDV6 must stay open; PR #3609 archived it without the required sign-off. src/components/forms/wa-mha-form-print.tsx (PR #3538) was reworded on 16 Oct (Form 6B now a report to the Chief Psychiatrist; Non-Statutory Study Layout header), and PR #3573 replaced the official Department of Health branding with non-statutory study headers, but section lists, the 7-day pre-expiry examination and copy recipients remain unverified and no legal or clinical sign-off is recorded. Nothing imports or renders it; it must stay unwired. Delete it once the 30-day dead-code window passes (after 13 Nov 2026) unless legal and clinical sign-off is obtained first.", "source": "PR 3538 review, 15 Oct 2026; owner decision on PR #3609, 17 Oct 2026; reopened in place with the ledger reopen action (PR #3627), replacing duplicate row #Z12CBC", "baseRowFingerprint": "0941d904e1d7f9ce734abf1146bcee4d394614250dda6e1ea8cb5b67d0f8d015", "allowArchived": true, diff --git a/docs/outstanding-issues-inbox/9de4b1c7-6f28-4a95-9c03-2d8f6e71b4a0.json b/docs/outstanding-issues-inbox/9de4b1c7-6f28-4a95-9c03-2d8f6e71b4a0.json new file mode 100644 index 0000000000..d67492953a --- /dev/null +++ b/docs/outstanding-issues-inbox/9de4b1c7-6f28-4a95-9c03-2d8f6e71b4a0.json @@ -0,0 +1,11 @@ +{ + "version": 2, + "id": "9de4b1c7-6f28-4a95-9c03-2d8f6e71b4a0", + "createdOn": "2026-10-18", + "action": "done", + "payload": { + "id": "#BDFFYF", + "outcome": "Duplicate identity for #WFYDV6. Folded into reopened #WFYDV6, which remains the sole open P1 issue for the WA MHA Form 6A/6B statutory-text sign-off or removal work. The canonical #WFYDV6 detail retains the distinct PR #3573 branding and Form 6B wording changes; nothing is signed off.", + "targetUlid": "01M54ZYAB6BDFFYFA3ZA5MNPVB" + } +} From 2bbed64ec5e73c6a4cb4bd7ecc935a6f4c16eb8e Mon Sep 17 00:00:00 2001 From: BigSimmo Date: Sun, 18 Oct 2026 02:55:33 +0800 Subject: [PATCH 4/5] Revert "fix: Fold BDFFYF into reopened WFYDV6" This reverts commit f04b1ec06 (qodo-code-review[bot]). It rewrote queued request 41ff2284 in place and hand-wrote request 9de4b1c7. Ledger inbox requests are immutable and must be written by ledger-inbox, so the #BDFFYF fold is re-queued with the tool in the next commit. --- .../2026-10-17-wfydv6-stays-open-until-sign-off.md | 11 +++++------ .../41ff2284-11dd-45ca-a6f6-eb08eae49bb4.json | 2 +- .../9de4b1c7-6f28-4a95-9c03-2d8f6e71b4a0.json | 11 ----------- 3 files changed, 6 insertions(+), 18 deletions(-) delete mode 100644 docs/outstanding-issues-inbox/9de4b1c7-6f28-4a95-9c03-2d8f6e71b4a0.json diff --git a/docs/decisions/2026-10-17-wfydv6-stays-open-until-sign-off.md b/docs/decisions/2026-10-17-wfydv6-stays-open-until-sign-off.md index 76fec60124..e096da271f 100644 --- a/docs/decisions/2026-10-17-wfydv6-stays-open-until-sign-off.md +++ b/docs/decisions/2026-10-17-wfydv6-stays-open-until-sign-off.md @@ -6,11 +6,10 @@ PR #3609 archived ledger issue #WFYDV6 (the unwired `src/components/forms/wa-mha-form-print.tsx` with unverified statutory text) without the legal and clinical sign-off the issue required. The owner decided on 17 Oct 2026 at 21:37 AWST that the issue stays open and the form stays unwired until that sign-off is -recorded. The Form 6A/6B wording still needs owner, legal and clinical sign-off; nothing in this decision signs it off. At first the ledger tooling had no reopen action, so the issue was tracked again as new open P1 rows -(#Z12CBC and #BDFFYF). Once the reopen action landed (#3627), a ledger inbox `reopen` request moved #WFYDV6 itself back to the -open table as a P1 with its original ID and ULID; #Z12CBC and #BDFFYF are queued as folded into it, with the distinct -Form 6A/6B detail retained on #WFYDV6. The issue therefore keeps one identity. A reconciliation must not archive -#WFYDV6 again without the recorded owner, legal and clinical sign-off, or the deletion of the file after the 30-day dead-code -window (13 Nov 2026). +recorded. The Form 6A/6B wording still needs owner, legal and clinical sign-off; nothing in this decision signs it off. At first the ledger tooling had no reopen action, so the issue was tracked again as a new open P1 row +(#Z12CBC). Once the reopen action landed (#3627), a ledger inbox `reopen` request moved #WFYDV6 itself back to the +open table as a P1 with its original ID and ULID, and #Z12CBC was closed as folded into it, so the issue keeps one +identity. A reconciliation must not archive #WFYDV6 again without the recorded owner, legal and clinical sign-off, or the deletion of the file after the +30-day dead-code window (13 Nov 2026). If this summary and the source ever differ, the source wins. diff --git a/docs/outstanding-issues-inbox/41ff2284-11dd-45ca-a6f6-eb08eae49bb4.json b/docs/outstanding-issues-inbox/41ff2284-11dd-45ca-a6f6-eb08eae49bb4.json index 186e507614..b1529bc7ef 100644 --- a/docs/outstanding-issues-inbox/41ff2284-11dd-45ca-a6f6-eb08eae49bb4.json +++ b/docs/outstanding-issues-inbox/41ff2284-11dd-45ca-a6f6-eb08eae49bb4.json @@ -6,7 +6,7 @@ "payload": { "id": "#WFYDV6", "pri": "P1", - "detail": "Owner decision 17 Oct 2026 21:37 AWST: #WFYDV6 must stay open; PR #3609 archived it without the required sign-off. src/components/forms/wa-mha-form-print.tsx (PR #3538) was reworded on 16 Oct (Form 6B now a report to the Chief Psychiatrist; Non-Statutory Study Layout header), and PR #3573 replaced the official Department of Health branding with non-statutory study headers, but section lists, the 7-day pre-expiry examination and copy recipients remain unverified and no legal or clinical sign-off is recorded. Nothing imports or renders it; it must stay unwired. Delete it once the 30-day dead-code window passes (after 13 Nov 2026) unless legal and clinical sign-off is obtained first.", + "detail": "Owner decision 17 Oct 2026 21:37 AWST: #WFYDV6 must stay open; PR #3609 archived it without the required sign-off. src/components/forms/wa-mha-form-print.tsx (PR #3538) was reworded on 16 Oct (Form 6B now a report to the Chief Psychiatrist; Non-Statutory Study Layout header), but section lists, the 7-day pre-expiry examination and copy recipients remain unverified and no legal or clinical sign-off is recorded. Nothing imports or renders it; it must stay unwired. Delete it once the 30-day dead-code window passes (after 13 Nov 2026) unless legal and clinical sign-off is obtained first.", "source": "PR 3538 review, 15 Oct 2026; owner decision on PR #3609, 17 Oct 2026; reopened in place with the ledger reopen action (PR #3627), replacing duplicate row #Z12CBC", "baseRowFingerprint": "0941d904e1d7f9ce734abf1146bcee4d394614250dda6e1ea8cb5b67d0f8d015", "allowArchived": true, diff --git a/docs/outstanding-issues-inbox/9de4b1c7-6f28-4a95-9c03-2d8f6e71b4a0.json b/docs/outstanding-issues-inbox/9de4b1c7-6f28-4a95-9c03-2d8f6e71b4a0.json deleted file mode 100644 index d67492953a..0000000000 --- a/docs/outstanding-issues-inbox/9de4b1c7-6f28-4a95-9c03-2d8f6e71b4a0.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 2, - "id": "9de4b1c7-6f28-4a95-9c03-2d8f6e71b4a0", - "createdOn": "2026-10-18", - "action": "done", - "payload": { - "id": "#BDFFYF", - "outcome": "Duplicate identity for #WFYDV6. Folded into reopened #WFYDV6, which remains the sole open P1 issue for the WA MHA Form 6A/6B statutory-text sign-off or removal work. The canonical #WFYDV6 detail retains the distinct PR #3573 branding and Form 6B wording changes; nothing is signed off.", - "targetUlid": "01M54ZYAB6BDFFYFA3ZA5MNPVB" - } -} From f8cb90977cc37a79692a75de2de86e2c14cc3d1f Mon Sep 17 00:00:00 2001 From: Grok Bot Date: Sun, 18 Oct 2026 02:55:50 +0800 Subject: [PATCH 5/5] chore(ledger): fold duplicate tracker #BDFFYF into #WFYDV6 via ledger-inbox #BDFFYF tracks the same wa-mha-form-print.tsx sign-off-or-remove condition as #WFYDV6. Queued with ledger-inbox done; the decision's mechanism sentence names it. --- .../2026-10-17-wfydv6-stays-open-until-sign-off.md | 4 ++-- .../1c016874-7222-448f-a28d-f01c4b50288d.json | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 docs/outstanding-issues-inbox/1c016874-7222-448f-a28d-f01c4b50288d.json diff --git a/docs/decisions/2026-10-17-wfydv6-stays-open-until-sign-off.md b/docs/decisions/2026-10-17-wfydv6-stays-open-until-sign-off.md index e096da271f..1fd994b802 100644 --- a/docs/decisions/2026-10-17-wfydv6-stays-open-until-sign-off.md +++ b/docs/decisions/2026-10-17-wfydv6-stays-open-until-sign-off.md @@ -8,8 +8,8 @@ unverified statutory text) without the legal and clinical sign-off the issue req 17 Oct 2026 at 21:37 AWST that the issue stays open and the form stays unwired until that sign-off is recorded. The Form 6A/6B wording still needs owner, legal and clinical sign-off; nothing in this decision signs it off. At first the ledger tooling had no reopen action, so the issue was tracked again as a new open P1 row (#Z12CBC). Once the reopen action landed (#3627), a ledger inbox `reopen` request moved #WFYDV6 itself back to the -open table as a P1 with its original ID and ULID, and #Z12CBC was closed as folded into it, so the issue keeps one -identity. A reconciliation must not archive #WFYDV6 again without the recorded owner, legal and clinical sign-off, or the deletion of the file after the +open table as a P1 with its original ID and ULID. #Z12CBC, and the duplicate sign-off tracker #BDFFYF, were closed as +folded into it, so the issue keeps one identity. A reconciliation must not archive #WFYDV6 again without the recorded owner, legal and clinical sign-off, or the deletion of the file after the 30-day dead-code window (13 Nov 2026). If this summary and the source ever differ, the source wins. diff --git a/docs/outstanding-issues-inbox/1c016874-7222-448f-a28d-f01c4b50288d.json b/docs/outstanding-issues-inbox/1c016874-7222-448f-a28d-f01c4b50288d.json new file mode 100644 index 0000000000..eeeffdcd1f --- /dev/null +++ b/docs/outstanding-issues-inbox/1c016874-7222-448f-a28d-f01c4b50288d.json @@ -0,0 +1,12 @@ +{ + "version": 2, + "id": "1c016874-7222-448f-a28d-f01c4b50288d", + "createdOn": "2026-10-17", + "action": "done", + "payload": { + "id": "#BDFFYF", + "outcome": "Duplicate tracker for #WFYDV6: the same src/components/forms/wa-mha-form-print.tsx, the same unverified statutory section lists, 7-day pre-expiry examination timing and copy recipients, and the same 'legal/clinical sign-off or removal after 2026-11-13' condition. Folded into #WFYDV6, which is reopened in place as P1 (ledger reopen action, PR #3627) and whose detail already covers the PR #3573 non-statutory study headers. Tracking continues on #WFYDV6. Nothing is signed off.", + "baseRowFingerprint": "840dd59529b40fccd31777189478ca9fe605eb1cadd819583f293dd49cf83e5f", + "targetUlid": "01M54ZYAB6BDFFYFA3ZA5MNPVB" + } +}