Problem
Automated decision logging exists, but enterprise workflows need human review, annotations, overrides, and rollback.
Goal
Add human oversight primitives without breaking existing automated decision flows.
In Scope
- Decision and edge annotations.
- Review state transitions (
approve, reject, needs_revision).
- Decision override and rollback with audit trail.
- Query support for review status.
Out of Scope
- End-user review dashboard UI.
- HR/task assignment workflows.
Files and Folders to Contribute
semantica/context/decision_recorder.py
semantica/context/decision_models.py
semantica/context/decision_query.py
semantica/change_management/
tests/context/
tests/change_management/
Proposed New Files
semantica/context/review_models.py
semantica/context/review_workflow.py
tests/context/test_decision_review_workflow.py
docs/reference/human-oversight.md
Implementation Milestones
- Data milestone: add review and annotation model objects.
- Workflow milestone: review state transitions.
- Control milestone: override and rollback APIs.
- Query milestone: filter decisions by review metadata.
Contribution Tracks
- Easy: annotation APIs.
- Medium: review state machine.
- Advanced: rollback guarantees and provenance linkage.
Test Plan
- Unit tests for review state transitions.
- Integration tests for override + rollback.
- Audit-trail tests for action lineage integrity.
Docs to Update
docs/reference/context.md
docs/reference/change_management.md
- cookbook example for human review loop.
Acceptance Criteria
- Decisions support review metadata and annotations.
- Overrides and rollbacks are auditable and reversible.
- Query APIs can retrieve review-state filtered decisions.
- Tests cover full review lifecycle.
Problem
Automated decision logging exists, but enterprise workflows need human review, annotations, overrides, and rollback.
Goal
Add human oversight primitives without breaking existing automated decision flows.
In Scope
approve,reject,needs_revision).Out of Scope
Files and Folders to Contribute
semantica/context/decision_recorder.pysemantica/context/decision_models.pysemantica/context/decision_query.pysemantica/change_management/tests/context/tests/change_management/Proposed New Files
semantica/context/review_models.pysemantica/context/review_workflow.pytests/context/test_decision_review_workflow.pydocs/reference/human-oversight.mdImplementation Milestones
Contribution Tracks
Test Plan
Docs to Update
docs/reference/context.mddocs/reference/change_management.mdAcceptance Criteria