[Feature] Add delete/copy/archive policy handling, including campaign archive and version archive #26

Closed
opened 2026-07-06 11:24:18 +02:00 by zemion · 2 comments
Owner

Imported from the consolidated GovOPlaN product backlog.

  • Source: /mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/backlog.md
  • Line: 181
  • Section: Milestones > Milestone 10 - Collaboration And Advanced Governance
  • Source status: PARTIAL.

Imported backlog item:

- [ ] Add delete/copy/archive policy handling, including campaign archive and version archive.
<!-- codex-backlog-fingerprint:5a45b6fec78767a1a6bdaa2f --> Imported from the consolidated GovOPlaN product backlog. - Source: `/mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/backlog.md` - Line: `181` - Section: `Milestones > Milestone 10 - Collaboration And Advanced Governance` - Source status: `PARTIAL.` Imported backlog item: ```markdown - [ ] Add delete/copy/archive policy handling, including campaign archive and version archive. ```
zemion added this to the Milestone 10 - Collaboration And Advanced Governance milestone 2026-07-06 13:15:56 +02:00
Author
Owner

Progress and closure audit (2026-08-03)

The permission-aware campaign archive action is now implemented and pushed in 3f3545f; the endpoint declaration is UI-reachable in GovOPlaN/govoplan@1cfdaec. The overview requires confirmation, explains retained evidence, blocks archiving with unsaved overview edits, and reports backend lifecycle conflicts. Focused UI contracts, 22 documentation/audit tests, the full WebUI production build, manifest checks, and strict endpoint inventory pass.

This broader backlog item is not yet closable. Remaining work:

  • expose separately confirmed deletion for eligible untouched drafts;
  • define and implement whole-campaign copy as a fresh draft without delivery/audit/share evidence;
  • define and implement archival of historical versions while preserving read/report/audit access;
  • add lifecycle policy provenance and complete the state/authorization/concurrency matrix.

Recommended conservative copy default: copy one selected version configuration into a new campaign owned by the actor, generate a new external ID, retain only stable referenced configuration, and copy no jobs, outcomes, shares, locks, or audit evidence. Recommended version rule: only non-current historical versions may be archived; archival hides them by default but never deletes evidence.

## Progress and closure audit (2026-08-03) The permission-aware campaign archive action is now implemented and pushed in `3f3545f`; the endpoint declaration is UI-reachable in `GovOPlaN/govoplan@1cfdaec`. The overview requires confirmation, explains retained evidence, blocks archiving with unsaved overview edits, and reports backend lifecycle conflicts. Focused UI contracts, 22 documentation/audit tests, the full WebUI production build, manifest checks, and strict endpoint inventory pass. This broader backlog item is **not yet closable**. Remaining work: - expose separately confirmed deletion for eligible untouched drafts; - define and implement whole-campaign copy as a fresh draft without delivery/audit/share evidence; - define and implement archival of historical versions while preserving read/report/audit access; - add lifecycle policy provenance and complete the state/authorization/concurrency matrix. Recommended conservative copy default: copy one selected version configuration into a new campaign owned by the actor, generate a new external ID, retain only stable referenced configuration, and copy no jobs, outcomes, shares, locks, or audit evidence. Recommended version rule: only non-current historical versions may be archived; archival hides them by default but never deletes evidence.
Author
Owner

Codex State: done

Summary

  • Completed governed campaign deletion, copying, version archival, and the related interface audit coverage.

Changed Files

  • commits df5a93d and 8f52311

Verification

  • 5 focused Python tests and Campaign lifecycle WebUI test passed; all-module startup smoke passed.
## Codex State: done ### Summary - Completed governed campaign deletion, copying, version archival, and the related interface audit coverage. ### Changed Files - `commits df5a93d and 8f52311` ### Verification - `5 focused Python tests and Campaign lifecycle WebUI test passed; all-module startup smoke passed.`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GovOPlaN/govoplan-campaign#26