[Feature] Define shared PolicyDecision #152

Closed
opened 2026-07-06 15:17:54 +02:00 by zemion · 1 comment
Owner

Imported from a backlog-like text file.

  • Source: /mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/split-concept-action-plan.md
  • Line: 383
  • Source kind: product
  • Section: GovOPlaN Split Concept and Action Plan > Immediate Backlog Items > P0: Policy Extraction Prep

Imported item:

Define shared `PolicyDecision`.
<!-- codex-generic-backlog-fingerprint:20a9b3eaa3740fd776fa7223 --> Imported from a backlog-like text file. - Source: `/mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/split-concept-action-plan.md` - Line: `383` - Source kind: `product` - Section: `GovOPlaN Split Concept and Action Plan > Immediate Backlog Items > P0: Policy Extraction Prep` Imported item: ```text Define shared `PolicyDecision`. ```
zemion added this to the P0: Policy Extraction Prep milestone 2026-07-06 15:17:54 +02:00
Author
Owner

Codex State: done

Summary

  • Added a shared PolicyDecision contract in govoplan_core.core.policy and used it for the retention explain response.

Changed Files

  • Added PolicyDecision, PolicySourceStep, PolicySourceRef, source-path helpers, and API serialization tests.

Verification

  • ./.venv/bin/python -m unittest tests.test_policy_contracts
  • ./.venv/bin/python -m unittest tests.test_api_smoke.ApiSmokeTests.test_system_governance_defaults_templates_and_central_accounts
  • ./.venv/bin/python scripts/check_dependency_boundaries.py
## Codex State: done ### Summary - Added a shared PolicyDecision contract in govoplan_core.core.policy and used it for the retention explain response. ### Changed Files - `Added PolicyDecision, PolicySourceStep, PolicySourceRef, source-path helpers, and API serialization tests.` ### Verification - `./.venv/bin/python -m unittest tests.test_policy_contracts` - `./.venv/bin/python -m unittest tests.test_api_smoke.ApiSmokeTests.test_system_governance_defaults_templates_and_central_accounts` - `./.venv/bin/python scripts/check_dependency_boundaries.py`
zemion added the
type
feature
priority
p0
source/backlog-import
codex/ready
labels 2026-07-07 23:14:55 +02:00
zemion added the
status
triage
label 2026-07-08 02:34:33 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-core#152
No description provided.