Skip to content

fix(server): delete the stream route that sends canned verified text #4825

Closed

Description

@dan-petty

Problem Description

The route /stream/events in src/devops_cli/server/routes/stream.py sends the canned text "Zero-trust security invariants verified. No unvalidated egress found." for any persona. Nothing runs before it sends that text. Only tests call the route.

Reproduction Steps

  1. Call GET /stream/events with any persona.
  2. The feed says that checks passed, but no check ran.

Expected vs Actual Behavior

  • Expected: the server sends no claim that a check passed when no check ran.
  • Actual: the route sends a canned "verified" claim.

Proposed Solution

Delete the route, its persona allowlist (DEFAULT_ALLOWED_STREAM_PERSONAS and DEFAULT_STREAM_PERSONA in src/devops_cli/config/defaults.py), its wiring in src/devops_cli/server/app.py and its tests. Alpha keeps no compatibility, so add no shim. The owner accepted the delete on 2026-11-11 (#4780).

Existing Tool Considered

A delete. No tool applies. Cost to build: about 20,000 tokens and 0.5 hours.

Acceptance Criteria

  • A search finds no reference to the route.
  • The server tests pass.
  • The API documents regenerate with no diff left.

Dependencies

None.

Source: #4780

Activity

  1. added
    source/agent
    on Nov 11, 2026
  2. added
    type/bug
    status/new
    value/medium
    effort/low
    on Nov 11, 2026
  3. dan-petty commented on Nov 11, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/bug. The fix prefix of the title gives the type.
    • Scope: none. The title has the scope server, and .github/labels.yml declares no scope/server label. Add the label to the file to give the scope to this item.
    • Priority: P2-Medium. Only tests call the route, so no live user is harmed, but the false claim is a correctness defect.
    • Value: Medium. It removes a misleading endpoint that could mislead any caller into trusting a check that never ran.
    • Effort: Low. The body states about 0.5 hours and 20,000 tokens to delete the route, config, wiring, and tests.
    • Related: refactor: Delete unused functions after manual caller check #1910, which asks for a different change. Both delete code with no real callers, but #1910 removes unused functions while this removes a route that sends a false verified claim.
  4. added
    priority/p2-medium
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 11, 2026
  5. removed
    status/in-review
    owner/agent
    on Nov 12, 2026
  6. devops-cli-service commented on Nov 12, 2026

    @devops-cli-service
    Contributor
  7. devops-cli-service commented on Nov 12, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-12 12:40 UTC

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

    effort/lowpriority/p2-mediumsource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions