docs(04): create phase 4 plan (9 plans, 7 waves)

Folders, Sharing, Quotas & Document UX — plans verified (0 blockers,
2 non-blocking warnings). Covers FOLD-01..05, SHARE-01..05, SEC-08/09,
ADMIN-06, DOC-01/02.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
curo1305
2026-05-25 18:20:16 +02:00
parent 752cf987aa
commit 747303246a
14 changed files with 4832 additions and 11 deletions
+10 -7
View File
@@ -3,12 +3,12 @@ gsd_state_version: 1.0
milestone: v1.0
milestone_name: milestone
current_phase: 4
status: ready
last_updated: "2026-05-25T00:00:00Z"
status: planned
last_updated: "2026-05-25T16:00:00.000Z"
progress:
total_phases: 5
completed_phases: 3
total_plans: 15
total_plans: 33
completed_plans: 15
percent: 60
---
@@ -32,8 +32,8 @@ progress:
## Current Position
**Phase:** 04-folders-sharing-quotas-document-ux — Ready to start
**Plan:** 0/Nawaiting /gsd:discuss-phase 4
**Phase:** 04-folders-sharing-quotas-document-ux — Ready to execute
**Plan:** 0/99 plans created, verification passed
**Progress:** ██████░░░░ 60% (3/5 phases complete)
## Performance Metrics
@@ -116,6 +116,7 @@ Two mandatory cross-cutting gates added to all phases going forward:
**1. Test gate** — every plan must leave `pytest -v` passing with zero failures. Every new function/endpoint/component requires at least one test. All security-invariant negative tests (wrong owner, admin block, token replay) must exist and pass.
**2. Security gate** — a security agent runs after every plan execution and is a blocking requirement before phase advancement. It:
- Runs `bandit -r backend/`, `pip audit`, `npm audit --audit-level=high`
- Checks for path traversal, IDOR, SSRF, timing attacks, mass assignment, token replay
- Verifies admin endpoints never return `password_hash`, `credentials_enc`, or document content
@@ -137,6 +138,8 @@ _Updated at each phase transition._
|---|---|
| Last session | 2026-05-25 — Phase 3 UAT complete (10/10); security gate passed (3 fixes: bandit B324, Referrer-Policy, IDOR on /topics/suggest); test fix for test_lmstudio.py import |
| Last session | 2026-05-25 — Phase 4 context gathered (4 areas: folder nav, sharing, PDF proxy, audit log) |
| Next action | Run `/gsd:plan-phase 4` to create execution plan |
| Last session | 2026-05-25 — Phase 4 UI-SPEC approved (6 dimensions: 2 PASS clean, 3 FLAG non-blocking, 0 BLOCK) |
| Last session | 2026-05-25 — Phase 4 plans created (9 plans, 7 waves) + verification passed (0 blockers, 2 warnings) |
| Next action | Run `/gsd:execute-phase 4` to begin execution (Wave 1: plans 04-01 + 04-02 in parallel) |
| Pending decisions | None |
| Resume file | `.planning/phases/04-folders-sharing-quotas-document-ux/04-CONTEXT.md` |
| Resume file | `.planning/phases/04-folders-sharing-quotas-document-ux/04-UI-SPEC.md` |