Ahmed Darrazi
cd0e569bbc
spec(004): Add comprehensive implementation plan for Assignments & Scope Tags
...
- plan.md: 10 implementation phases, MVP scope (16-22h), full scope (30-40h)
- research.md: 7 research questions answered (JSONB storage, Graph API fallback, group resolution, etc.)
- data-model.md: Database migrations, model changes, audit log entries
- quickstart.md: Developer setup, manual test scenarios, debugging tools
2025-12-22 01:43:30 +01:00
Ahmed Darrazi
9eb3a849e2
feat(005): Generate task breakdown for Bulk Operations feature
...
98 tasks across 10 phases organized by user story:
- Phase 1-2: Setup + Foundational (13 tasks)
- Phase 3-4: US1 Bulk Delete + US2 Export (22 tasks) - MVP
- Phase 5: US5 Type-to-Confirm (7 tasks)
- Phase 6: US6 Progress Tracking (12 tasks)
- Phase 7-9: US3 Prune + US4 Delete Runs + Backup Sets (31 tasks)
- Phase 10: Polish + QA (13 tasks)
MVP Scope: 35 tasks (16-22 hours)
Full P1/P2: 85 tasks (26-34 hours)
Production Ready: 98 tasks (30-40 hours)
Each user story independently testable:
- US1: Bulk delete policies (local, ignored_at flag)
- US2: Bulk export to backup set
- US3: Prune old policy versions (eligibility checks)
- US4: Delete restore runs (skip running)
- US5: Type-to-confirm for ≥20 items
- US6: Progress tracking with Livewire polling
Parallel opportunities identified:
- All tests per story can run parallel
- User stories can be worked on by different devs
- Models/jobs in different files can be created parallel
Critical path to MVP: T001→T007→T014→T024 (12-16 hours)
2025-12-22 01:32:05 +01:00
Ahmed Darrazi
673fbd6b22
spec(005): Add comprehensive implementation plan for Bulk Operations
...
Adds:
- plan.md: Technical context, constitution check, phases
- research.md: 7 research decisions (progress tracking, chunking, type-to-confirm)
- data-model.md: BulkOperationRun model, schema changes, query patterns
- quickstart.md: Developer onboarding, testing workflows, debugging
Key Decisions:
- BulkOperationRun model + Livewire polling for progress
- collect()->chunk(10) for memory-efficient processing
- Filament form + validation for type-to-confirm
- ignored_at flag to prevent sync re-adding deleted policies
- Eligibility scopes for safe Policy Version pruning
Estimated: 26-34 hours (3 phases for P1/P2 features)
Next: /speckit.tasks to generate task breakdown
2025-12-22 01:27:42 +01:00
Ahmed Darrazi
28f440718a
fix(spec-004): Use documented CRUD on /assignments instead of undocumented /assign
...
Changes:
- Replace POST /assign with standard CRUD operations
- Restore strategy: DELETE existing + POST new assignments
- Graph Contract: assignments_create/update/delete_path + methods
- Handle 201 Created (POST) and 204 No Content (DELETE)
- Fail-soft: continue if individual assignment fails
Based on: Microsoft Learn Graph API docs + real-world usage patterns
2025-12-22 01:14:03 +01:00
Ahmed Darrazi
1fa15b4db2
spec: Feature 004 & 005 with production-tested Graph API strategies
...
Feature 004 (Assignments & Scope Tags):
- Use fallback strategy for assignments read (direct + $expand)
- Use POST /directoryObjects/getByIds for stable group resolution
- POST /assign only (not PATCH) for assignments write
- Handle 204 No Content responses
Feature 005 (Bulk Operations):
- Policies: Local delete only (ignored_at flag, no Graph DELETE)
- Policy Versions: Eligibility checks + retention policy
- BulkOperationRun model for progress tracking
- Livewire polling for UI updates (not automatic)
- Chunked processing + circuit breaker (abort >50% fail)
- array $ids in Job constructor (not Collection)
2025-12-22 01:07:03 +01:00
Ahmed Darrazi
1e66f3e335
docs: update 001 plan - T179/T185 moved to feature 003
2025-12-22 00:20:32 +01:00
Ahmed Darrazi
388a7b889d
chore: remove duplicate feature 185-settings-catalog-readable
2025-12-22 00:18:58 +01:00
321312d446
dev-merges/c709b36 ( #3 )
...
## Summary
<!-- Kurz: Was ändert sich und warum? -->
## Spec-Driven Development (SDD)
- [ ] Es gibt eine Spec unter `specs/<NNN>-<feature>/`
- [ ] Enthaltene Dateien: `plan.md`, `tasks.md`, `spec.md`
- [ ] Spec beschreibt Verhalten/Acceptance Criteria (nicht nur Implementation)
- [ ] Wenn sich Anforderungen während der Umsetzung geändert haben: Spec/Plan/Tasks wurden aktualisiert
## Implementation
- [ ] Implementierung entspricht der Spec
- [ ] Edge cases / Fehlerfälle berücksichtigt
- [ ] Keine unbeabsichtigten Änderungen außerhalb des Scopes
## Tests
- [ ] Tests ergänzt/aktualisiert (Pest/PHPUnit)
- [ ] Relevante Tests lokal ausgeführt (`./vendor/bin/sail artisan test` oder `php artisan test`)
## Migration / Config / Ops (falls relevant)
- [ ] Migration(en) enthalten und getestet
- [ ] Rollback bedacht (rückwärts kompatibel, sichere Migration)
- [ ] Neue Env Vars dokumentiert (`.env.example` / Doku)
- [ ] Queue/cron/storage Auswirkungen geprüft
## UI (Filament/Livewire) (falls relevant)
- [ ] UI-Flows geprüft
- [ ] Screenshots/Notizen hinzugefügt
## Notes
<!-- Links, Screenshots, Follow-ups, offene Punkte -->
Co-authored-by: Ahmed Darrazi <ahmeddarrazi@adsmac.local>
Reviewed-on: #3
2025-12-21 23:15:12 +00:00
Ahmed Darrazi
d505f3c65c
feat: merge 001-filament-json
2025-12-14 20:23:18 +01:00
Ahmed Darrazi
05be853d93
Merge remote-tracking branch 'origin/spec/003-settings-catalog-readable' into dev
2025-12-14 20:12:14 +01:00
Ahmed Darrazi
a01888f629
Merge remote-tracking branch 'origin/spec/002-filament-json' into dev
2025-12-14 20:11:54 +01:00
Ahmed Darrazi
18316146a5
spec: add 003 settings catalog readable
2025-12-14 19:56:31 +01:00
Ahmed Darrazi
9752e5e90e
spec: add 002 filament json
2025-12-14 19:56:17 +01:00
Ahmed Darrazi
469f0fac8c
spec: add 001 rbac onboarding
2025-12-14 19:56:02 +01:00
Ahmed Darrazi
2ddb3dd20a
chore(specs): add baseline specs folder
2025-12-14 19:42:35 +01:00