Spaces:
Sleeping
Sleeping
solidprivacy-nl commited on
Commit ·
de01c0b
1
Parent(s): cdcaebb
Record v13.6 two-mode content separation cleanup
Browse files- WORKPACKAGES.md +86 -41
WORKPACKAGES.md
CHANGED
|
@@ -273,43 +273,70 @@ Outcome:
|
|
| 273 |
|
| 274 |
---
|
| 275 |
|
| 276 |
-
## Current implementation
|
| 277 |
|
| 278 |
### WP12 — v13.6 Two-mode UI skeleton and tab separation
|
| 279 |
|
| 280 |
-
Status: implemented;
|
| 281 |
|
| 282 |
-
|
| 283 |
|
| 284 |
-
|
| 285 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 286 |
|
| 287 |
Changed files:
|
| 288 |
|
| 289 |
- `fix_streamlit_nested_expanders.py`
|
|
|
|
| 290 |
- `WORKPACKAGES.md`
|
| 291 |
- `CHANGELOG.md`
|
| 292 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 293 |
Implemented behavior:
|
| 294 |
|
| 295 |
-
-
|
| 296 |
-
-
|
| 297 |
-
- `
|
| 298 |
-
-
|
| 299 |
-
-
|
| 300 |
-
-
|
| 301 |
-
-
|
| 302 |
-
-
|
| 303 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 304 |
|
| 305 |
Validation status:
|
| 306 |
|
| 307 |
-
-
|
| 308 |
-
-
|
| 309 |
-
-
|
| 310 |
-
-
|
| 311 |
-
-
|
| 312 |
-
-
|
|
|
|
|
|
|
| 313 |
- no TXT upload reinsert UI;
|
| 314 |
- no DOCX upload reinsert UI;
|
| 315 |
- no PDF reinsert;
|
|
@@ -330,15 +357,15 @@ Boundaries preserved:
|
|
| 330 |
- No AI calls added.
|
| 331 |
- No cloud processing added.
|
| 332 |
- No automatic document rehydration added.
|
| 333 |
-
- No existing scrubbed export/download semantics intentionally changed.
|
| 334 |
-
- No Scrub Key export
|
| 335 |
- No secrets, tokens or real personal data stored.
|
| 336 |
|
| 337 |
---
|
| 338 |
|
| 339 |
## Active / next recommended workpackage
|
| 340 |
|
| 341 |
-
###
|
| 342 |
|
| 343 |
Status: recommended next closeout workpackage after coordinator evidence.
|
| 344 |
|
|
@@ -346,23 +373,41 @@ Goal:
|
|
| 346 |
|
| 347 |
- Verify GitHub Actions tests.
|
| 348 |
- Verify GitHub to Hugging Face sync.
|
| 349 |
-
- Verify
|
| 350 |
-
- Close WP12 only after evidence shows the UI
|
| 351 |
|
| 352 |
Required app verification:
|
| 353 |
|
| 354 |
-
|
| 355 |
-
|
| 356 |
-
-
|
| 357 |
-
-
|
| 358 |
-
-
|
| 359 |
-
- Scrub Key
|
| 360 |
-
-
|
| 361 |
-
-
|
| 362 |
-
|
| 363 |
-
|
| 364 |
-
|
| 365 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 366 |
|
| 367 |
Recommended later workpackages:
|
| 368 |
|
|
@@ -376,10 +421,10 @@ WP15 — PDF text extraction reliability review only
|
|
| 376 |
|
| 377 |
## Recommended execution order
|
| 378 |
|
| 379 |
-
1. Verify WP12 GitHub Actions and Hugging Face sync.
|
| 380 |
-
2. Verify the Hugging Face app for
|
| 381 |
-
3. Close WP12 through
|
| 382 |
-
4. After WP12 is app-verified, implement TXT reinsert upload/download UI.
|
| 383 |
5. After TXT UI is verified, implement DOCX reinsert upload/download UI.
|
| 384 |
6. Keep PDF full reinsert out of scope until a separate reliability review.
|
| 385 |
7. Keep AI/cloud behavior out unless explicitly approved.
|
|
|
|
| 273 |
|
| 274 |
---
|
| 275 |
|
| 276 |
+
## Current implementation workpackages
|
| 277 |
|
| 278 |
### WP12 — v13.6 Two-mode UI skeleton and tab separation
|
| 279 |
|
| 280 |
+
Status: implemented; coordinator evidence showed Actions/sync green, but app verification found insufficient content separation.
|
| 281 |
|
| 282 |
+
Coordinator evidence:
|
| 283 |
|
| 284 |
+
```text
|
| 285 |
+
Tests #145 green — commit 5d879cc
|
| 286 |
+
Sync #159 green — commit 5d879cc
|
| 287 |
+
Tests #146 green — commit 79d771e
|
| 288 |
+
Sync #160 green — commit 79d771e
|
| 289 |
+
Tests #147 green — commit e106f7c
|
| 290 |
+
Sync #161 green — commit e106f7c
|
| 291 |
+
```
|
| 292 |
+
|
| 293 |
+
Outcome:
|
| 294 |
+
|
| 295 |
+
- The visual mode navigation existed.
|
| 296 |
+
- App verification showed the full anonymization workflow still appeared above the reinsert flow when using `Originele waarden terugzetten`.
|
| 297 |
+
- This required WP12-FIX.
|
| 298 |
+
|
| 299 |
+
### WP12-FIX — v13.6 Two-mode UI content separation cleanup
|
| 300 |
+
|
| 301 |
+
Status: implemented; awaiting GitHub Actions, Hugging Face sync and app verification.
|
| 302 |
|
| 303 |
Changed files:
|
| 304 |
|
| 305 |
- `fix_streamlit_nested_expanders.py`
|
| 306 |
+
- `tests/test_two_mode_ui_patch.py`
|
| 307 |
- `WORKPACKAGES.md`
|
| 308 |
- `CHANGELOG.md`
|
| 309 |
|
| 310 |
+
Added files:
|
| 311 |
+
|
| 312 |
+
- `handover/workpackages/20260608_0000_v13_6_two_mode_content_separation_cleanup.md`
|
| 313 |
+
|
| 314 |
Implemented behavior:
|
| 315 |
|
| 316 |
+
- Replaced skeleton-only tab captions with an actual work-mode selector using `solidprivacy_work_mode = st.radio(...)`.
|
| 317 |
+
- If mode is `Originele waarden terugzetten`, the patched app renders only:
|
| 318 |
+
- `Scrub Key laden`;
|
| 319 |
+
- Scrub Key upload/paste validation;
|
| 320 |
+
- local pasted-text reinsert;
|
| 321 |
+
- restored-output warning;
|
| 322 |
+
- local-only/no-AI/no-cloud text;
|
| 323 |
+
- `Zet originele waarden lokaal terug`;
|
| 324 |
+
- `Herstelde tekst`;
|
| 325 |
+
- `Download herstelde tekst (.txt)`;
|
| 326 |
+
- `Controleverslag terugzetten`.
|
| 327 |
+
- The existing anonymization workflow is placed under the `else` branch for `Anonimiseren`.
|
| 328 |
+
- The anonymization/export review summary keeps Scrub Key export, but no longer embeds Scrub Key import/reinsert inside the export block.
|
| 329 |
|
| 330 |
Validation status:
|
| 331 |
|
| 332 |
+
- Updated `tests/test_two_mode_ui_patch.py` to verify:
|
| 333 |
+
- both modes exist;
|
| 334 |
+
- conditional work-mode rendering exists;
|
| 335 |
+
- reinsert markers are associated with the reinsert branch;
|
| 336 |
+
- anonymization markers are associated with the `else` branch;
|
| 337 |
+
- reinsert flow is not embedded in the anonymization review/export summary block;
|
| 338 |
+
- existing Scrub Key export/import labels remain;
|
| 339 |
+
- existing scrubbed download markers remain;
|
| 340 |
- no TXT upload reinsert UI;
|
| 341 |
- no DOCX upload reinsert UI;
|
| 342 |
- no PDF reinsert;
|
|
|
|
| 357 |
- No AI calls added.
|
| 358 |
- No cloud processing added.
|
| 359 |
- No automatic document rehydration added.
|
| 360 |
+
- No existing scrubbed export/download semantics intentionally changed inside `Anonimiseren`.
|
| 361 |
+
- No Scrub Key JSON export behavior intentionally changed inside `Anonimiseren`.
|
| 362 |
- No secrets, tokens or real personal data stored.
|
| 363 |
|
| 364 |
---
|
| 365 |
|
| 366 |
## Active / next recommended workpackage
|
| 367 |
|
| 368 |
+
### WP12-FIX-CLOSEOUT — v13.6 Two-mode content separation app verification closeout
|
| 369 |
|
| 370 |
Status: recommended next closeout workpackage after coordinator evidence.
|
| 371 |
|
|
|
|
| 373 |
|
| 374 |
- Verify GitHub Actions tests.
|
| 375 |
- Verify GitHub to Hugging Face sync.
|
| 376 |
+
- Verify app behavior for both modes.
|
| 377 |
+
- Close WP12-FIX only after evidence shows the UI content is truly separated.
|
| 378 |
|
| 379 |
Required app verification:
|
| 380 |
|
| 381 |
+
In `Anonimiseren`:
|
| 382 |
+
|
| 383 |
+
- anonymization workflow is visible;
|
| 384 |
+
- source text/file input is visible;
|
| 385 |
+
- review table still appears;
|
| 386 |
+
- Scrub Key JSON export still appears;
|
| 387 |
+
- scrubbed TXT/CSV/DOCX/PDF downloads remain available;
|
| 388 |
+
- pasted-text reinsert is not presented as part of the anonymization workflow.
|
| 389 |
+
|
| 390 |
+
In `Originele waarden terugzetten`:
|
| 391 |
+
|
| 392 |
+
- anonymization source input is not shown as the main workflow;
|
| 393 |
+
- review table is not shown;
|
| 394 |
+
- scrubbed export section is not shown;
|
| 395 |
+
- `Scrub Key laden` is visible;
|
| 396 |
+
- Scrub Key upload/paste validation is visible;
|
| 397 |
+
- pasted-text reinsert is visible;
|
| 398 |
+
- `Zet originele waarden lokaal terug` works;
|
| 399 |
+
- `Herstelde tekst` appears after reinsert;
|
| 400 |
+
- `Download herstelde tekst (.txt)` works;
|
| 401 |
+
- audit summary / `Controleverslag terugzetten` appears;
|
| 402 |
+
- warning about restored sensitive/confidential data is visible;
|
| 403 |
+
- local-only/no-AI/no-cloud text is visible.
|
| 404 |
+
|
| 405 |
+
Also confirm:
|
| 406 |
+
|
| 407 |
+
- no TXT upload reinsert UI appears yet;
|
| 408 |
+
- no DOCX upload reinsert UI appears yet;
|
| 409 |
+
- no PDF reinsert appears;
|
| 410 |
+
- no AI/cloud behavior appears.
|
| 411 |
|
| 412 |
Recommended later workpackages:
|
| 413 |
|
|
|
|
| 421 |
|
| 422 |
## Recommended execution order
|
| 423 |
|
| 424 |
+
1. Verify WP12-FIX GitHub Actions and Hugging Face sync.
|
| 425 |
+
2. Verify the Hugging Face app for actual two-mode content separation.
|
| 426 |
+
3. Close WP12-FIX through closeout if verification is green.
|
| 427 |
+
4. After WP12-FIX is app-verified, implement TXT reinsert upload/download UI.
|
| 428 |
5. After TXT UI is verified, implement DOCX reinsert upload/download UI.
|
| 429 |
6. Keep PDF full reinsert out of scope until a separate reliability review.
|
| 430 |
7. Keep AI/cloud behavior out unless explicitly approved.
|