Spaces:
Running
Running
solidprivacy-nl commited on
Commit ·
8cc1b2f
1
Parent(s): 617703d
Record v13.6 two-mode UI app verification closeout
Browse files- CHANGELOG.md +103 -61
CHANGELOG.md
CHANGED
|
@@ -26,90 +26,131 @@ For UI/UX-only work, prefer pure helper modules and tests before touching Stream
|
|
| 26 |
|
| 27 |
---
|
| 28 |
|
| 29 |
-
##
|
| 30 |
|
| 31 |
-
Status:
|
| 32 |
|
| 33 |
Purpose:
|
| 34 |
|
| 35 |
-
-
|
| 36 |
-
-
|
| 37 |
-
-
|
| 38 |
-
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
-
|
| 42 |
|
| 43 |
```text
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
```
|
| 49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
Files added or changed:
|
| 51 |
|
| 52 |
-
- Changed `fix_streamlit_nested_expanders.py`.
|
| 53 |
-
- Changed `tests/test_two_mode_ui_patch.py`.
|
| 54 |
- Changed `WORKPACKAGES.md`.
|
| 55 |
- Changed `CHANGELOG.md`.
|
| 56 |
-
- Added `handover/workpackages/
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
-
|
| 61 |
-
-
|
| 62 |
-
-
|
| 63 |
-
-
|
| 64 |
-
-
|
| 65 |
-
|
| 66 |
-
Tests updated:
|
| 67 |
-
|
| 68 |
-
- `tests/test_two_mode_ui_patch.py` now includes a compile guard that reconstructs the generated two-mode source snippet and calls:
|
| 69 |
-
- `compile(..., "generated_two_mode_source.py", "exec")`.
|
| 70 |
-
- This guards against:
|
| 71 |
-
- `IndentationError`;
|
| 72 |
-
- `SyntaxError`;
|
| 73 |
-
- the specific unexpected-indent failure at `st.markdown("**Scrub Key laden**")`.
|
| 74 |
-
- The tests also assert that the reinsert block strings start with exactly one branch indentation level, not two.
|
| 75 |
-
|
| 76 |
-
Validation:
|
| 77 |
-
|
| 78 |
-
- Prior WP12-FIX technical evidence was:
|
| 79 |
-
- `Tests #150 green — commit de01c0b`;
|
| 80 |
-
- `Sync #164 green — commit de01c0b`;
|
| 81 |
-
- `Tests #151 green — commit 911e093`;
|
| 82 |
-
- `Sync #165 green — commit 911e093`.
|
| 83 |
-
- App verification then failed with the runtime `IndentationError` shown above.
|
| 84 |
-
- Local clone/test run for WP12-FIX2 could not be performed in the container because outbound GitHub DNS failed:
|
| 85 |
-
- `Could not resolve host: github.com`.
|
| 86 |
-
- GitHub Actions: awaiting verification for WP12-FIX2 commits.
|
| 87 |
-
- Hugging Face sync: awaiting verification for WP12-FIX2 commits.
|
| 88 |
-
- App verification: required because this was a blocking runtime failure.
|
| 89 |
|
| 90 |
Intentionally not changed:
|
| 91 |
|
| 92 |
-
-
|
|
|
|
|
|
|
|
|
|
| 93 |
- No TXT upload reinsert UI added.
|
| 94 |
- No DOCX upload reinsert UI added.
|
| 95 |
- No PDF reinsert added.
|
| 96 |
- No AI calls added.
|
| 97 |
- No cloud processing added.
|
| 98 |
- No automatic document rehydration added.
|
| 99 |
-
- No existing TXT, CSV, DOCX or PDF scrubbed export/download
|
| 100 |
-
- No Scrub Key JSON export/import
|
| 101 |
- No Scrub Key storage, secrets, tokens or real personal data added.
|
| 102 |
|
| 103 |
Outcome:
|
| 104 |
|
| 105 |
-
-
|
| 106 |
-
- Next recommended workpackage is `
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
|
| 108 |
---
|
| 109 |
|
| 110 |
## WP12-FIX — v13.6 Two-mode UI content separation cleanup
|
| 111 |
|
| 112 |
-
Status:
|
| 113 |
|
| 114 |
Purpose:
|
| 115 |
|
|
@@ -121,20 +162,21 @@ Purpose:
|
|
| 121 |
Outcome:
|
| 122 |
|
| 123 |
- WP12-FIX separated the intended content paths conceptually.
|
| 124 |
-
-
|
| 125 |
-
-
|
| 126 |
|
| 127 |
---
|
| 128 |
|
| 129 |
## WP12 — v13.6 Two-mode UI skeleton and tab separation
|
| 130 |
|
| 131 |
-
Status:
|
| 132 |
|
| 133 |
Outcome:
|
| 134 |
|
| 135 |
- WP12 created the first visible mode skeleton.
|
| 136 |
-
-
|
| 137 |
-
- WP12-
|
|
|
|
| 138 |
|
| 139 |
---
|
| 140 |
|
|
@@ -194,6 +236,7 @@ Outcome:
|
|
| 194 |
|
| 195 |
## Earlier completed work
|
| 196 |
|
|
|
|
| 197 |
- v13.3 deterministic reinsert UI implementation.
|
| 198 |
- v13.3 deterministic reinsert UI planning.
|
| 199 |
- v13.3 deterministic reinsert helper verification reconciliation.
|
|
@@ -221,8 +264,7 @@ Outcome:
|
|
| 221 |
|
| 222 |
Possible directions:
|
| 223 |
|
| 224 |
-
-
|
| 225 |
-
-
|
| 226 |
-
- DOCX reinsert upload/download UI.
|
| 227 |
- PDF text extraction research only after separate reliability review.
|
| 228 |
- Further recognizer expansion by legal domain.
|
|
|
|
| 26 |
|
| 27 |
---
|
| 28 |
|
| 29 |
+
## WP12B — v13.6 Two-mode UI app verification closeout
|
| 30 |
|
| 31 |
+
Status: completed and app-verified after Actions/sync verification.
|
| 32 |
|
| 33 |
Purpose:
|
| 34 |
|
| 35 |
+
- Administratively close WP12, WP12-FIX and WP12-FIX2 after successful technical verification and app verification.
|
| 36 |
+
- Record that v13.6 two-mode UI is now complete.
|
| 37 |
+
- Confirm that no further closeout blocker remains before WP13.
|
| 38 |
+
|
| 39 |
+
Implementation sequence closed:
|
| 40 |
+
|
| 41 |
+
- WP12 introduced the two-mode UI skeleton.
|
| 42 |
+
- WP12-FIX cleaned up content separation.
|
| 43 |
+
- WP12-FIX2 fixed the indentation/runtime error.
|
| 44 |
+
- WP12B records successful Actions/sync and app verification.
|
| 45 |
|
| 46 |
+
Technical verification evidence:
|
| 47 |
|
| 48 |
```text
|
| 49 |
+
Tests #155 green — commit b27d115
|
| 50 |
+
Sync to Hugging Face Space #169 green — commit b27d115
|
| 51 |
+
|
| 52 |
+
Tests #156 green — commit 0e357bb
|
| 53 |
+
Sync to Hugging Face Space #170 green — commit 0e357bb
|
| 54 |
+
|
| 55 |
+
Tests #157 green — commit 268234d
|
| 56 |
+
Sync to Hugging Face Space #171 green — commit 268234d
|
| 57 |
```
|
| 58 |
|
| 59 |
+
Latest verified WP12-FIX2 commit:
|
| 60 |
+
|
| 61 |
+
```text
|
| 62 |
+
268234d9d1aeb9c82658c4c30702f51cfdd58c96
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
App verification confirmed:
|
| 66 |
+
|
| 67 |
+
- The app starts without Script execution error.
|
| 68 |
+
- No `IndentationError` appears.
|
| 69 |
+
- `Anonimiseren` mode remains available.
|
| 70 |
+
- `Originele waarden terugzetten` mode remains available and selectable.
|
| 71 |
+
- `Originele waarden terugzetten` now focuses on Scrub Key load + local pasted-text reinsert.
|
| 72 |
+
- The full anonymization workflow is no longer shown as the main content inside the reinsert mode.
|
| 73 |
+
- Existing anonymization workflow remains available in `Anonimiseren`.
|
| 74 |
+
- Existing Scrub Key export/import remains available.
|
| 75 |
+
- Existing pasted-text reinsert remains available.
|
| 76 |
+
- `Scrub Key laden` is visible.
|
| 77 |
+
- Scrub Key upload/paste is visible.
|
| 78 |
+
- `Valideer en laad Scrub Key` is visible.
|
| 79 |
+
- Local pasted-text reinsert section is visible.
|
| 80 |
+
- Warning about restored sensitive/confidential values is visible.
|
| 81 |
+
- Local-only / no-AI / no-cloud text is visible.
|
| 82 |
+
- Text field for reinsert is visible.
|
| 83 |
+
- Button `Zet originele waarden lokaal terug` is visible.
|
| 84 |
+
|
| 85 |
Files added or changed:
|
| 86 |
|
|
|
|
|
|
|
| 87 |
- Changed `WORKPACKAGES.md`.
|
| 88 |
- Changed `CHANGELOG.md`.
|
| 89 |
+
- Added `handover/workpackages/20260608_0000_v13_6_two_mode_ui_app_closeout.md`.
|
| 90 |
+
|
| 91 |
+
Tests:
|
| 92 |
+
|
| 93 |
+
- No new tests were added because WP12B is closeout-only.
|
| 94 |
+
- Existing validation is based on coordinator evidence:
|
| 95 |
+
- GitHub Actions green;
|
| 96 |
+
- GitHub to Hugging Face sync green;
|
| 97 |
+
- app verification confirmed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
|
| 99 |
Intentionally not changed:
|
| 100 |
|
| 101 |
+
- No code files were changed in WP12B.
|
| 102 |
+
- `fix_streamlit_nested_expanders.py` was not changed in WP12B.
|
| 103 |
+
- `presidio_streamlit.py` was not changed.
|
| 104 |
+
- No test files were changed.
|
| 105 |
- No TXT upload reinsert UI added.
|
| 106 |
- No DOCX upload reinsert UI added.
|
| 107 |
- No PDF reinsert added.
|
| 108 |
- No AI calls added.
|
| 109 |
- No cloud processing added.
|
| 110 |
- No automatic document rehydration added.
|
| 111 |
+
- No existing TXT, CSV, DOCX or PDF scrubbed export/download behavior intentionally changed.
|
| 112 |
+
- No Scrub Key JSON export/import behavior intentionally changed.
|
| 113 |
- No Scrub Key storage, secrets, tokens or real personal data added.
|
| 114 |
|
| 115 |
Outcome:
|
| 116 |
|
| 117 |
+
- v13.6 two-mode UI is closed as completed and app-verified.
|
| 118 |
+
- Next recommended workpackage is `WP13 — v13.7 TXT reinsert upload/download UI`.
|
| 119 |
+
|
| 120 |
+
---
|
| 121 |
+
|
| 122 |
+
## WP12-FIX2 — v13.6 Two-mode indentation/runtime hotfix
|
| 123 |
+
|
| 124 |
+
Status: completed and app-verified through WP12B closeout.
|
| 125 |
+
|
| 126 |
+
Purpose:
|
| 127 |
+
|
| 128 |
+
- Fix the blocking Hugging Face runtime failure introduced by WP12-FIX.
|
| 129 |
+
- Restore app startup.
|
| 130 |
+
- Preserve the two-mode behavior:
|
| 131 |
+
- `Anonimiseren`;
|
| 132 |
+
- `Originele waarden terugzetten`.
|
| 133 |
+
|
| 134 |
+
Blocking runtime error fixed:
|
| 135 |
+
|
| 136 |
+
```text
|
| 137 |
+
File "/home/user/app/presidio_streamlit.py", line 380
|
| 138 |
+
st.markdown("**Scrub Key laden**")
|
| 139 |
+
^
|
| 140 |
+
IndentationError: unexpected indent
|
| 141 |
+
```
|
| 142 |
+
|
| 143 |
+
Outcome:
|
| 144 |
+
|
| 145 |
+
- Generated indentation around `Scrub Key laden` and the local reinsert UI block was corrected.
|
| 146 |
+
- GitHub Actions and Hugging Face sync were later verified green by the coordinator.
|
| 147 |
+
- App verification confirmed the script execution error is gone.
|
| 148 |
|
| 149 |
---
|
| 150 |
|
| 151 |
## WP12-FIX — v13.6 Two-mode UI content separation cleanup
|
| 152 |
|
| 153 |
+
Status: completed through WP12B closeout after WP12-FIX2 runtime hotfix.
|
| 154 |
|
| 155 |
Purpose:
|
| 156 |
|
|
|
|
| 162 |
Outcome:
|
| 163 |
|
| 164 |
- WP12-FIX separated the intended content paths conceptually.
|
| 165 |
+
- WP12-FIX2 corrected the runtime indentation issue.
|
| 166 |
+
- WP12B confirmed app verification.
|
| 167 |
|
| 168 |
---
|
| 169 |
|
| 170 |
## WP12 — v13.6 Two-mode UI skeleton and tab separation
|
| 171 |
|
| 172 |
+
Status: completed and app-verified through WP12B closeout.
|
| 173 |
|
| 174 |
Outcome:
|
| 175 |
|
| 176 |
- WP12 created the first visible mode skeleton.
|
| 177 |
+
- WP12-FIX improved actual content separation.
|
| 178 |
+
- WP12-FIX2 fixed the runtime indentation error.
|
| 179 |
+
- WP12B closed v13.6 after Actions/sync and app verification.
|
| 180 |
|
| 181 |
---
|
| 182 |
|
|
|
|
| 236 |
|
| 237 |
## Earlier completed work
|
| 238 |
|
| 239 |
+
- v13.6 two-mode UI implementation and app verification closeout.
|
| 240 |
- v13.3 deterministic reinsert UI implementation.
|
| 241 |
- v13.3 deterministic reinsert UI planning.
|
| 242 |
- v13.3 deterministic reinsert helper verification reconciliation.
|
|
|
|
| 264 |
|
| 265 |
Possible directions:
|
| 266 |
|
| 267 |
+
- WP13 — v13.7 TXT reinsert upload/download UI.
|
| 268 |
+
- WP14 — v13.8 DOCX reinsert upload/download UI.
|
|
|
|
| 269 |
- PDF text extraction research only after separate reliability review.
|
| 270 |
- Further recognizer expansion by legal domain.
|