Skip to content

[Draft] OBI-40: Reports, efficiency and notification delivery #27

Open

Description

@ephico2real2

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_message for the retries, and a new test in cmapi/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

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

  1. ephico2real2 commented on Nov 6, 2026

    @ephico2real2
    OwnerAuthor

    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.

  2. added
    In-Progress
    class:INV
    status:partly-fixed
    story
    on Nov 13, 2026
  3. ephico2real2 commented on Nov 13, 2026

    @ephico2real2
    OwnerAuthor

    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 from gh and git at 2026-11-13T09:18Z.

  4. ephico2real2 commented on Dec 2, 2026

    @ephico2real2
    OwnerAuthor

    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).

  5. added a commit that references this issue on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    In-Progressclass:INVstatus:partly-fixedstory

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions