Skip to content

πŸ› Inbox recording: saved panel follows the transcript, plain previews, hive audio retention note - #18500

Merged
kubestellar-prow[bot] merged 2 commits into
v5from
fix/recording-ux-display
Nov 16, 2026
Merged

kubestellar-prow[bot] merged 2 commits into
v5from
fix/recording-ux-display

Conversation

@clubanderson

Copy link
Copy Markdown
Member

Fixes four UX issues found while live-testing ● Record in the Inbox.

  1. Saved to the Inbox panel goes stale and never closes. After every Inbox read the panel looks up the recording's item: it says Transcribed. See the item below. when the transcript lands, Transcription failed: <reason>. The recording is saved in the Inbox below; retry the transcription from the item. on failure (or the unavailable reason), or that transcription is off. Once the outcome is final it auto-dismisses with the toast countdown (toastCountdownBar, TOAST_DURATION_MS, same bar, pause on hover/focus). While waiting with no job state yet, it re-reads the Inbox every 5 s for up to 2 min (named constants), then says Saved in the Inbox below. Transcription has not started yet; follow it on the item. and counts down. Close still works.
  2. Preview showed the raw fact envelope. excerpt() now skips the provenance line and the untrusted-inbox-data open/close markers and preamble. Display only: the stored fact keeps them.
  3. Provenance wording for hive's own audio. For hive-recording and upload: _Transcript made by this hive with whisper/base.en on 2026-11-16._. Third-party sources (Plaud etc.) keep the existing "because … replaced when …" wording.
  4. Player note for hive-stored audio. Items carry audio_expires_at (recording: finalized + retention_days; upload media: added + media retention). The note reads The audio is kept on this hive until <date>, then deleted; the transcript stays. Click β–Ά Play recording again to restart. Third-party sources keep Streaming through this hive; the recording is not stored.

Tests: Go (recording_display_test.go: wording, excerpt hides envelope while the fact keeps it, expiry), JS (inbox_recorder.test.js outcome/panel text and countdown wiring, inbox_audio_note.test.js). Docs: src/docs/inbox-recording.md.

Delete for recordings comes in a separate PR.

πŸ€– Generated with Claude Code

…, hive audio retention note

- The Saved to the Inbox panel updates to "Transcribed. See the item below."
  (or the failure/off reason) and auto-dismisses with the toast countdown
  (toastCountdownBar, TOAST_DURATION_MS, pause on hover/focus); Close stays.
- Inbox excerpts drop the machine-transcript provenance line and the
  untrusted-inbox-data envelope (display only; the fact keeps them).
- hive-recording and upload transcripts get a provenance line without the
  "replaced when the source produces its own" clause.
- Items expose audio_expires_at; the player note for hive-stored audio says
  it is kept until that day, then deleted.

Signed-off-by: Andy Anderson <andy@clubanderson.com>
@kubestellar-prow kubestellar-prow Bot added dco-signoff: yes Indicates the PR's author has signed the DCO. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 16, 2026
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Open PR overlap check

Base branch: v5

Conflicts are checked with every PR merged onto the current tip of v5, so a PR that only needs a rebase is not reported as conflicting with its siblings.

PR Title Relation Files
#18499 ✨ prompt sources: owners can approve their own managed repos same files src/pkg/dashboard/static/index.html
#18523 ✨ Dashboard: Collaborate sidebar group (Inbox, Calendar, Meetings, Sessions) same files src/pkg/dashboard/static/index.html
#18504 ✨ Inbox: delete hive recordings same files src/docs/inbox-recording.md
src/pkg/dashboard/static-src/js/inbox.js
src/pkg/dashboard/static/index.html
src/pkg/inbox/recordingsource.go
#18527 πŸ› dashboard: Meetings and Calendar wait for the role, sit in the layout, and read cleanly same files src/pkg/dashboard/static/index.html
#18540 πŸ› inference: refresh rotated gateway keys and refuse ignored api_key_file paths same files src/pkg/dashboard/static/index.html
#18505 ✨ Discover agents declared in a managed repo's .hive/agents/ behind owner approval same files src/pkg/dashboard/static/index.html
#18528 ✨ meetings: agent-backend model mode with a warm tool-less Claude Code CLI and Settings picker (part 1 of #18517) same files src/pkg/dashboard/static/index.html
#18536 ✨ feature: choose remote repository write identity same files src/pkg/dashboard/static/index.html

@hivecommons-hive

hivecommons-hive Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Hive status β€” updated in place; edits do not notify. Full history is in the Activity Monitor.

clubanderson this PR is held at stage/071-needs-author and the hive will not merge it yet.

Failing checks:

  • overlayfs-exec-guard

Next: the hive does not push to your branch. Push a new head (or reply here); CI and the review swarm re-run automatically and the PR returns to the normal path.

Evidence bundle `#185000e2eb98` sha256:7a84025cd454bef740592ecacd1affc3b5657bf061a4c8222fde19f3ed2316d2 β€” download from the dashboard or `hivectl review evidence #18500`.

@github-actions

Copy link
Copy Markdown
Contributor

Mutation testing

gremlins found 5 surviving mutant(s) in changed files: the code ran under tests, but changing it did not fail any test.

File Line Mutation
src/pkg/inbox/upload_source.go 161 CONDITIONALS_BOUNDARY
src/pkg/inbox/upload_source.go 161 CONDITIONALS_NEGATION
src/pkg/inbox/upload_source.go 161 CONDITIONALS_NEGATION
src/pkg/inbox/upload_source.go 162 ARITHMETIC_BASE
src/pkg/inbox/upload_source.go 162 ARITHMETIC_BASE

ℹ️ 1 mutant(s) on added lines were SKIPPED because gremlins v0.6.0 only honours the first lines added lines of each default-context hunk, so non-contiguous edits in one hunk are partly missed. This does not affect the verdict.

File Line Mutation
src/pkg/inbox/factsource.go 233 CONDITIONALS_NEGATION

Verdict: lived (#17349).

@hivecommons-hive

Copy link
Copy Markdown
Contributor

Scanner triage: the failing checks are PR-local, not a shared baseline incident. The branch is 3 commits behind v5 (baseline helper: MERGE_BASE). This is a human-authored branch, so the scanner will not push to it. Please merge v5 into the branch (signed off) and re-check; if it still fails, the job logs are the next stop.


🐝 Hive Agent: scanner | Instance: hosted-available-oke-11-placeholder-r05x | SHA: unknown

β€” hive: agent=scanner backend=claude model=claude-sonnet-5-5 claude=2.1.325

Signed-off-by: Andy Anderson <andy@clubanderson.com>
@clubanderson clubanderson added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Nov 16, 2026
@kubestellar-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has signed the DCO. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant