Spaces:
Running
Running
solidprivacy-nl commited on
Commit ·
3d918b2
1
Parent(s): 6061197
Record deterministic reinsert UI planning status
Browse files- WORKPACKAGES.md +66 -5
WORKPACKAGES.md
CHANGED
|
@@ -350,28 +350,89 @@ Outcome:
|
|
| 350 |
|
| 351 |
---
|
| 352 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 353 |
## Active / next recommended workpackage
|
| 354 |
|
| 355 |
-
###
|
| 356 |
|
| 357 |
Status: recommended next workpackage; not started here.
|
| 358 |
|
| 359 |
Goal:
|
| 360 |
|
| 361 |
-
-
|
| 362 |
- Keep AI-output behavior separate unless explicitly approved.
|
| 363 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 364 |
Boundaries:
|
| 365 |
|
|
|
|
| 366 |
- Do not add AI calls by default.
|
| 367 |
- Do not add cloud processing.
|
| 368 |
- Do not silently rehydrate documents.
|
| 369 |
- Do not change existing TXT/CSV/DOCX/PDF export behavior.
|
|
|
|
| 370 |
|
| 371 |
---
|
| 372 |
|
| 373 |
## Recommended execution order
|
| 374 |
|
| 375 |
-
1.
|
| 376 |
-
2.
|
| 377 |
-
3.
|
|
|
|
|
|
|
|
|
| 350 |
|
| 351 |
---
|
| 352 |
|
| 353 |
+
### WP8 — v13.3 Deterministic reinsert UI planning
|
| 354 |
+
|
| 355 |
+
Status: implemented; reinsert UI implementation can start as a separate sequential workpackage.
|
| 356 |
+
|
| 357 |
+
Implemented files:
|
| 358 |
+
|
| 359 |
+
- `REINSERT_UI_SPEC.md`
|
| 360 |
+
- `WORKPACKAGES.md`
|
| 361 |
+
- `CHANGELOG.md`
|
| 362 |
+
- `handover/workpackages/20260607_1900_v13_3_reinsert_ui_planning.md`
|
| 363 |
+
|
| 364 |
+
Planning outcome:
|
| 365 |
+
|
| 366 |
+
- Specifies that the future UI block should appear after the existing Scrub Key import/reload section near the download/export area.
|
| 367 |
+
- Defines Dutch UI labels including `Originele waarden terugzetten`, `Plak hier de tekst waarin u originele waarden lokaal wilt terugzetten`, `Zet originele waarden lokaal terug`, `Herstelde tekst` and `Download herstelde tekst (.txt)`.
|
| 368 |
+
- Specifies how the user pastes scrubbed or AI-generated text.
|
| 369 |
+
- Specifies how the UI should use a validated Scrub Key.
|
| 370 |
+
- Specifies the helper call contract for `reinsert_from_scrub_key(text, scrub_key)`.
|
| 371 |
+
- Specifies output behavior and `.txt` download behavior for restored text.
|
| 372 |
+
- Specifies required audit summary fields.
|
| 373 |
+
- Specifies required warnings for restored sensitive values, manual review, pseudonymization/reversibility, local key protection and no-AI/no-cloud processing.
|
| 374 |
+
- Specifies what must not happen automatically.
|
| 375 |
+
- Specifies required future UI patch tests.
|
| 376 |
+
|
| 377 |
+
Validation status:
|
| 378 |
+
|
| 379 |
+
- Tests: not applicable; planning/specification-only workpackage.
|
| 380 |
+
- App verification: not applicable; no UI behavior changed.
|
| 381 |
+
|
| 382 |
+
Boundaries preserved:
|
| 383 |
+
|
| 384 |
+
- No UI code changed in WP8.
|
| 385 |
+
- No edit to `fix_streamlit_nested_expanders.py`.
|
| 386 |
+
- No edit to `presidio_streamlit.py`.
|
| 387 |
+
- No tests added or changed.
|
| 388 |
+
- No AI calls.
|
| 389 |
+
- No cloud processing.
|
| 390 |
+
- No automatic document rehydration.
|
| 391 |
+
- No TXT, CSV, DOCX or PDF export behavior changed.
|
| 392 |
+
- No Scrub Key JSON export behavior changed.
|
| 393 |
+
- No Scrub Key import/reload behavior changed.
|
| 394 |
+
- No secrets, tokens or real personal data stored.
|
| 395 |
+
|
| 396 |
+
Outcome:
|
| 397 |
+
|
| 398 |
+
- v13.3 deterministic reinsert UI is planned and ready for a separate sequential implementation workpackage.
|
| 399 |
+
|
| 400 |
+
---
|
| 401 |
+
|
| 402 |
## Active / next recommended workpackage
|
| 403 |
|
| 404 |
+
### WP8B — v13.3 Deterministic reinsert UI implementation
|
| 405 |
|
| 406 |
Status: recommended next workpackage; not started here.
|
| 407 |
|
| 408 |
Goal:
|
| 409 |
|
| 410 |
+
- Implement the planned local deterministic reinsert UI using `reinsert_from_scrub_key(...)`.
|
| 411 |
- Keep AI-output behavior separate unless explicitly approved.
|
| 412 |
|
| 413 |
+
Likely files:
|
| 414 |
+
|
| 415 |
+
- `fix_streamlit_nested_expanders.py`
|
| 416 |
+
- `tests/test_scrub_key_reinsert_ui_patch.py`
|
| 417 |
+
- `WORKPACKAGES.md`
|
| 418 |
+
- `CHANGELOG.md`
|
| 419 |
+
- `handover/workpackages/YYYYMMDD_HHMM_v13_3_reinsert_ui_implementation.md`
|
| 420 |
+
|
| 421 |
Boundaries:
|
| 422 |
|
| 423 |
+
- UI integration must be sequential.
|
| 424 |
- Do not add AI calls by default.
|
| 425 |
- Do not add cloud processing.
|
| 426 |
- Do not silently rehydrate documents.
|
| 427 |
- Do not change existing TXT/CSV/DOCX/PDF export behavior.
|
| 428 |
+
- Preserve local-only Scrub Key handling and pseudonymization warnings.
|
| 429 |
|
| 430 |
---
|
| 431 |
|
| 432 |
## Recommended execution order
|
| 433 |
|
| 434 |
+
1. Start WP8B deterministic reinsert UI implementation as a separate sequential UI workpackage.
|
| 435 |
+
2. Add UI patch tests before/with UI integration.
|
| 436 |
+
3. Verify GitHub Actions and Hugging Face sync.
|
| 437 |
+
4. Ask for app verification because UI behavior will change.
|
| 438 |
+
5. Keep AI-output workflow separate and explicitly reviewed before AI-specific UI behavior.
|