Skip to content

Make report retrieval automatic and complete - #64

Merged
marvin-bitterlich merged 6 commits into
mainfrom
marvin-bitterlich/pardes/feedback-triage-and-approved-remediation
Jul 11, 2026
Merged

marvin-bitterlich merged 6 commits into
mainfrom
marvin-bitterlich/pardes/feedback-triage-and-approved-remediation

Conversation

@marvin-bitterlich

Copy link
Copy Markdown
Contributor

Why?

Reading a worker report required callers to understand storage fields and pagination even though the intended action is always to read the canonical report completely.

How?

Expose report_get(reportId) only, select details-or-summary automatically, and deliver bounded report parts through isolated settled model turns with lifecycle, context, and compaction controls.

Decisions

  • Keep storage fields, offsets, and page sizing out of the model-facing schema; legacy arguments are accepted only through compatibility preparation.
  • Persist report history but retain only the current raw part in provider context, and replace raw parts with bounded identity metadata during compaction.
  • Abort, unrelated input, reload, shutdown, or manager stop cancels undispatched delivery; monotonic permits prevent stale asynchronous reads from starting after stop/restart.

Callouts

  • Review exact acknowledgement and settlement ordering across multipart delivery.
  • Review compaction preparation sanitization, stop/restart epochs, and fail-closed behavior under Pi’s fire-and-forget APIs.

@marvin-bitterlich
marvin-bitterlich merged commit b93bff2 into main Jul 11, 2026
1 check passed
@marvin-bitterlich
marvin-bitterlich deleted the marvin-bitterlich/pardes/feedback-triage-and-approved-remediation branch July 11, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant