Repository navigation
Description
Part of #11
Story
As a platform owner, I want to assess usage and request outcomes.
Business value
The plan (#6) sets this release exit for phase 5: "safe expiration/deletion, adoption, policy visibility, operations, reports, integrated portal, CLI, isolated staging/prod, restore proof; all 24 KPIs/eight dashboards accounted for and one month of KPI/export evidence; v1 frozen."
Context
The comment of 2026-11-06 on this issue says: "Partly delivered by #40, not proven. On main: jobs/channel_notify.py, with the stale-worker fix in #82. Not built: the usage sweep, reports, kpi_export."
Acceptance criteria
- Daily off-peak usage sweep produces documented verdicts with a 30-day shadow period; missing data is explicit, shown by a new test in
cmapi/tests/service/, not written yet - Reports and monthly KPI export agree with stored records, shown by a new test in
cmapi/tests/service/, not written yet - Email approval links enforce identity and current request state; notification retries do not duplicate approvals, shown by
cmapi/tests/service/test_third_pass_converged.py::test_stale_channel_notify_sends_no_messagefor the retries, and a new test incmapi/tests/service/for the email links, not written yet - Remaining portal policies, workflow, capacity and KPI views use live data, shown by a new test in
cmapi-portal-ui/tests/, not written yet
Tasks
- Build the usage sweep, the reports and the worker job
kpi_export(Wave 8).
Out of scope
- The source states none for this story.
Evidence
- PR cmapi service, image and charts: the foundation for the first deploy on CRC #40, merged at
1f30ab1on 2026-11-05.build-tracker.mdlinks it to this story ("Stories and epics").
Definition of done
- Mockup approved, or the work has no screen and no API shape
- Draft pull request open
- Build: tests fail before the change and pass after it
- Documented where a reader looks for it
- Review ruled
- Merged with its proof
- Released on the default branch
- The owner approves, after a comment cites the proof for each criterion and its cluster
Class
INV. The story adds a new capability to the product.
Source
Status: Draft backlog. No sprint commitment.
Owner in Paperclip: Ahsoka. Ahsoka mentors Luke and assigns bounded engineering work after technical review.
Source: OBI-40.
Epic: #11. Plan, release windows, and review gates: #6.
Dependencies: #10 (OBI-34), OBI-19, OBI-20.
Planned story; phase 5, provisional 8 points (Ahsoka/Yoda to validate).
- Attach automated or reproducible evidence for each criterion; cover denial/failure paths.
- Read the plan; Yoda owns design choices. Keep this in backlog until prerequisite phase evidence is accepted. Ahsoka may split and delegate to Luke with mentorship.
Language acceptance criterion
Before sprint entry, the owner must define technical terms and attach language review evidence for this text revision.
Use simple-english 2.1.1, Strict mode. Index #6 records the vocabulary source and review limits.
The source criteria remain unchanged. Language review remains open.
Activity
ephico2real2 commentedon Nov 6, 2026
Partly delivered by #40, not proven. On
main:jobs/channel_notify.py, with the stale-worker fix in #82. Not built: the usage sweep, reports,kpi_export. This story stays open until each acceptance criterion has evidence.ephico2real2 commentedon Nov 13, 2026
Work tag: In-Progress. A part of this story is merged: PR #40, merge commit
1f30ab1, on 2026-11-05 (build-tracker.md, "Stories and epics"). The story is not complete, and no cluster proves it. Read fromghandgitat 2026-11-13T09:18Z.ephico2real2 commentedon Dec 2, 2026
Stream
cap: PR #910 builds criterion 1 (off-peak daily sweep, 30-day shadow period, missing data explicit) and the capacity history/forecast/check. Defect filed: #896 (sev:low).Merge pull request #910 from ephico2real2/feat/27-29-capacity-analysis