Skip to content

Structured logging: tracing spans + JSON output + perima --debug-report #100

Closed

Description

@utof

perima uses tracing + tracing-subscriber but has no UseCase-level span discipline, no structured JSON log rotation, and no CLI debug-report bundler. Architecture audit flags this as fix-before-plugins: every UseCase::execute should be wrapped in a tracing span; tracing-subscriber should emit JSON-lines to a rotating file; a perima --debug-report command should bundle last-N traced spans + config + version into a zip for bug reports. Skip OpenTelemetry for now (audit §Q20 — local-only app, no distributed traces).

Task scope: owned by the architecture follow-up spec. Parent: #81.

Activity

  1. added
    type/chore
    on Apr 20, 2026
  2. added a commit that references this issue on Apr 24, 2026
    df93f00
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

    type/chore

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions