Spaces:
Running
Running
solidprivacy-nl commited on
Commit ·
7a682b2
1
Parent(s): adb6760
Update workpackage status for Scrub Key UI export
Browse files- WORKPACKAGES.md +60 -10
WORKPACKAGES.md
CHANGED
|
@@ -225,6 +225,60 @@ Outcome:
|
|
| 225 |
|
| 226 |
---
|
| 227 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 228 |
## Parallel strategic workpackage
|
| 229 |
|
| 230 |
### WP4 — v13.0 Scrub Key specification and pure model
|
|
@@ -283,21 +337,17 @@ Validation:
|
|
| 283 |
Boundaries respected:
|
| 284 |
|
| 285 |
- No edit to `presidio_streamlit.py`.
|
| 286 |
-
- No edit to `fix_streamlit_nested_expanders.py` for v13.
|
| 287 |
-
- No export/download buttons added for v13.
|
| 288 |
- No reinsert UI added.
|
| 289 |
- No cloud processing introduced.
|
| 290 |
- No secrets or real personal data stored.
|
| 291 |
|
| 292 |
-
Parallelization:
|
| 293 |
-
|
| 294 |
-
- Safe to continue non-UI v13 model/spec work if needed.
|
| 295 |
-
- Do not integrate into UI until v12.4–v12.6 are stable.
|
| 296 |
-
|
| 297 |
---
|
| 298 |
|
| 299 |
## Recommended execution order
|
| 300 |
|
| 301 |
-
1.
|
| 302 |
-
2.
|
| 303 |
-
3.
|
|
|
|
|
|
| 225 |
|
| 226 |
---
|
| 227 |
|
| 228 |
+
## Active workpackage
|
| 229 |
+
|
| 230 |
+
### WP4B — v13.1 Scrub Key JSON export UI integration
|
| 231 |
+
|
| 232 |
+
Status: implemented; awaiting GitHub Actions, Hugging Face sync and app verification.
|
| 233 |
+
|
| 234 |
+
Goal:
|
| 235 |
+
|
| 236 |
+
- Add a local Scrub Key JSON download option after review, without adding import, reload, reinsert or AI-output flows.
|
| 237 |
+
|
| 238 |
+
Implemented foundation from WP4:
|
| 239 |
+
|
| 240 |
+
- `SCRUB_KEY_SPEC.md`
|
| 241 |
+
- `scrub_key.py`
|
| 242 |
+
- `tests/test_scrub_key.py`
|
| 243 |
+
|
| 244 |
+
Implemented UI integration:
|
| 245 |
+
|
| 246 |
+
- `fix_streamlit_nested_expanders.py` imports `build_scrub_key`, `scrub_key_to_json` and `validate_scrub_key`.
|
| 247 |
+
- The app shows `Scrub Key (JSON)` near the existing final review/download section.
|
| 248 |
+
- The app shows a warning that a Scrub Key is pseudonymization, not full anonymization.
|
| 249 |
+
- The app warns users not to share the key with AI services or third parties unless consciously intended and allowed.
|
| 250 |
+
- The app offers `Download Scrub Key (.json)` with filename `solidprivacy_scrub_key.json`.
|
| 251 |
+
- The UI layer adds timestamps at export time, preserving the pure model decision that `scrub_key.py` does not create timestamps itself.
|
| 252 |
+
|
| 253 |
+
Implemented tests:
|
| 254 |
+
|
| 255 |
+
- `tests/test_scrub_key_ui_patch.py`
|
| 256 |
+
|
| 257 |
+
Boundaries preserved:
|
| 258 |
+
|
| 259 |
+
- No direct edit to `presidio_streamlit.py`.
|
| 260 |
+
- No Scrub Key import/reload.
|
| 261 |
+
- No reinsert UI.
|
| 262 |
+
- No AI-output flow.
|
| 263 |
+
- No cloud processing.
|
| 264 |
+
- No secret storage.
|
| 265 |
+
- No real personal data.
|
| 266 |
+
- No change to TXT, CSV, DOCX or PDF export/download behavior.
|
| 267 |
+
|
| 268 |
+
Validation status:
|
| 269 |
+
|
| 270 |
+
- Local pytest not run from this connector environment.
|
| 271 |
+
- GitHub Actions pending for commits:
|
| 272 |
+
- `a9011ccc3fdb981c3101490fdc8b8996696f75e3` — Integrate Scrub Key JSON export into UI patch.
|
| 273 |
+
- `adb676000d07e6f00b39a378da40adfa9701e0d1` — Add Scrub Key UI patch tests.
|
| 274 |
+
|
| 275 |
+
Next step:
|
| 276 |
+
|
| 277 |
+
- Verify GitHub Actions and Hugging Face sync.
|
| 278 |
+
- Ask the user/coordinator to verify in the Hugging Face app that `Download Scrub Key (.json)` appears and that existing TXT/CSV/DOCX/PDF downloads still work.
|
| 279 |
+
|
| 280 |
+
---
|
| 281 |
+
|
| 282 |
## Parallel strategic workpackage
|
| 283 |
|
| 284 |
### WP4 — v13.0 Scrub Key specification and pure model
|
|
|
|
| 337 |
Boundaries respected:
|
| 338 |
|
| 339 |
- No edit to `presidio_streamlit.py`.
|
| 340 |
+
- No edit to `fix_streamlit_nested_expanders.py` for v13.0.
|
| 341 |
+
- No export/download buttons added for v13.0.
|
| 342 |
- No reinsert UI added.
|
| 343 |
- No cloud processing introduced.
|
| 344 |
- No secrets or real personal data stored.
|
| 345 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 346 |
---
|
| 347 |
|
| 348 |
## Recommended execution order
|
| 349 |
|
| 350 |
+
1. Verify GitHub Actions `Tests` and GitHub to Hugging Face sync for WP4B.
|
| 351 |
+
2. Ask the user/coordinator to verify the Hugging Face app shows `Download Scrub Key (.json)` and the pseudonymization warning.
|
| 352 |
+
3. Confirm TXT/CSV/DOCX/PDF downloads still work.
|
| 353 |
+
4. After v13.1 is verified, plan v13.2 Scrub Key import/reload as a separate sequential UI workpackage.
|