Repository navigation
Feat/30 priority sla dependencies notifications - #74
Merged
jacksonsr451 merged 2 commits intoOct 20, 2026
Merged
Conversation
jacksonsr451
deleted the
feat/30-priority-sla-dependencies-notifications
branch
October 20, 2026 00:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #30
Implements priority management, Service Level Agreements (SLA), WorkItem dependencies, and notifications in the EventFlow Work Management bounded context.
The implementation extends the existing Consultation → Triage → Proposal → Approval → WorkItem → BoardCard workflow while preserving authorization, tenant isolation, idempotency, auditability, and established domain invariants.
A subsequent hardening pass addresses notification concurrency, sensitive-content redaction, SLA business-calendar calculations, dependency graph concurrency, and authorization coverage.
Changes
1. Priority Management
Introduces impact- and urgency-based priority management integrated with the existing Work Management domain.
Key capabilities:
The implementation preserves the existing Priority contract rather than introducing an incompatible parallel priority model.
2. SLA Management
Introduces configurable SLA policies and lifecycle management.
Capabilities include:
Business-Calendar Hardening
SLA warning calculations now use elapsed business minutes instead of a wall-clock fraction of the adjusted deadline window.
This improves consistency when calculating warnings across:
The implementation also emits the documented
sla.fulfillednotification when an SLA completes without a breach.3. WorkItem Dependencies
Introduces dependency management integrated with the existing WorkItem and board workflow.
Capabilities include:
Concurrency Hardening
Added PostgreSQL integration coverage for concurrent dependency operations.
Direct and transitive concurrency scenarios were verified against the existing Workspace advisory-locking strategy.
Dependency operations preserve the established approval and WorkItem creation invariants.
4. Notifications
Introduces Work Management notifications for relevant domain events.
Capabilities include:
Notification Reliability
The hardening pass addresses concurrent duplicate notification emission and strengthens database-backed deduplication behavior.
Sequential retry safety remains supported.
Sensitive-Content Protection
Notification content for security-category WorkItems is redacted to reduce the risk of exposing sensitive information through notification payloads.
Existing broader WorkItem read-authorization policies remain outside this PR's scope.
5. API and Contract Updates
Updated the Work Management OpenAPI and JSON Schema contracts.
The changes cover:
Added contract examples:
create-sla-policy.request.jsondependencies.response.jsonnotifications.page.jsonoverride-priority.request.jsonwork-item-sla.response.jsonContract Consistency Fixes
Removed
Idempotency-Keydeclarations from notification mark-read and identical notification-preference writes where the implemented operations rely on natural idempotency rather than explicit key-based replay.Updated the corresponding contract and security tests.
6. Browser Client Compatibility
Updated API behavior to support browser-based clients.
Changes include:
These changes support integration with the Web client while preserving compatibility with VS Code and Desktop clients.
7. Authorization and Tenant Isolation
The implementation extends existing Work Management authorization policies.
Security validation covers:
Workspace and Project boundaries remain authoritative.
8. Documentation
Updated the relevant documentation covering:
Updated ADR-008 to reflect the persistence changes.
Testing
All reported local validation checks passed.
Main Test Suites
Additional Targeted Validation
Targeted test runs are reported separately and are not added to the main suite total.
Quality Gates
git diff --checkpassed.The Work Management suite reported one existing skipped test and one Starlette/httpx deprecation warning.
No test failures were reported.
Acceptance Criteria
Known Limitations
Email Delivery
Email delivery is not available in this implementation.
Notification functionality must not be interpreted as proof of external email delivery.
Concurrent Preference Updates
Concurrent identical notification-preference PUT operations are not explicitly serialized.
Sequential idempotency is covered.
Security WorkItem Read Authorization
Security-category notification content is redacted.
Broader read-access rules for security-category WorkItems remain part of the pre-existing authorization scope.
Existing Deprecation Warning
The Work Management test suite reports an existing Starlette/httpx TestClient deprecation warning.
This warning is unrelated to Issue #30.
Review Focus
Please review:
Git Information
Branch:
feat/30-priority-sla-dependencies-notificationsCommits:
781610e— feat(work-management): implement priority SLA dependencies and notifications (#30)2a93266— fix(work-management): harden SLA dependencies and notification reliability (#30)Latest commit:
2a932669f16fafecbe96694bcbf4239099f7f87aWorking tree: Clean.
Local validation: 328 passed, 0 failed, 1 skipped.
Final Status
READY FOR PR
Issue #30 has been implemented, hardened, and verified locally.
The implementation provides priority management, SLA tracking, WorkItem dependency controls, and durable notification capabilities while preserving the existing EventFlow Work Management architecture.
Remote CI validation and code review remain pending.