Repository navigation
docs: propose one owner for conversation transcript entries - #169296
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesAdds a proposal for one outbound transcript owner and separate in-chat and background job modes. Example: A scheduled job posts “Budget report: $420 remaining” into a receiving chat.
Review scores
ProductKind: Docs · Worth it: Yes Merge readiness✅ Ready for maintainer review Keep open: this PR adds a useful, source-backed design proposal that distinguishes completed cron work from remaining transcript ownership changes; no actionable defect was found. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherOutbound delivery sends automation results, tool messages, and alerts to channels; transcript writers record selected messages for subsequent model turns. flowchart LR
A[Automation results] --> D[Proposed outbound owner]
B[Message tool sends] --> D
C[Failure alerts] --> D
D --> E[Channel delivery]
E --> F[Confirmed visible payload]
F --> G[Conversation transcript]
G --> H[Next model turn]
Technical reviewBest possible solution: Keep the proposal focused on shared ownership and leave runtime migrations and reset semantics to their implementation discussions. Do we have a high-confidence way to reproduce the issue? No runtime reproduction applies to this documentation-only change; current source and linked reports support the ownership split it describes. Is this the best way to solve the issue? A clearly marked proposal is an appropriate way to coordinate these related changes without introducing another runtime owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ea392ae71ec9. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceDocs +119. Total +119 across 1 file. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 11, 2026, 3:09 PM ET / 19:09 UTC. |
…#169296) Related: openclaw#168996, openclaw#168683, openclaw#168684, openclaw#168685, openclaw#169258 ## What Problem This Solves Messages that a chat shows are not always in that chat's model history, and some history entries were never shown, because several separate paths write transcript entries for outbound messages. ## User Impact No behavior change. This adds a design proposal for maintainers: every visible message is in its chat's model history once, one owner writes those entries, and scheduled jobs either run in a chat or in the background. ## Why This Change Was Made openclaw#168996 fixed this for cron results. The remaining paths (message-tool sends, failure alerts, `session:<key>` jobs that deliver elsewhere) need the same rule. Recording the rule, the rejected options (opt-in continuation as in Hermes Agent, always writing to the creating chat, recipient mirrors) and the order of work keeps later changes consistent. It follows the existing `docs/refactor/` proposal pattern and is not in navigation. ## Evidence - `git diff --check` clean; the repository formatter (pre-commit, oxfmt) passed on the new page. - Facts cited in the page were checked against current `main`: `src/sessions/background-session-result.ts`, `src/cron/conversation-result.ts`, the `CronSessionTarget` type in `src/cron/types.ts`, and the transcript-only mirror rationale in openclaw#99470. Co-authored-by: Ayaan Zaidi <[email protected]>
Related: #168996, #168683, #168684, #168685, #169258
What Problem This Solves
Messages that a chat shows are not always in that chat's model history, and some history entries were never shown, because several separate paths write transcript entries for outbound messages.
User Impact
No behavior change. This adds a design proposal for maintainers: every visible message is in its chat's model history once, one owner writes those entries, and scheduled jobs either run in a chat or in the background.
Why This Change Was Made
#168996 fixed this for cron results. The remaining paths (message-tool sends, failure alerts,
session:<key>jobs that deliver elsewhere) need the same rule. Recording the rule, the rejected options (opt-in per-job continuation, always writing to the creating chat, recipient mirrors) and the order of work keeps later changes consistent. It follows the existingdocs/refactor/proposal pattern and is not in navigation.Evidence
git diff --checkclean; the repository formatter (pre-commit, oxfmt) passed on the new page.main:src/sessions/background-session-result.ts,src/cron/conversation-result.ts, theCronSessionTargettype insrc/cron/types.ts, and the transcript-only mirror rationale in # delivery-mirror transcript entries leak into model prompts as duplicate assistant messages → models repeat themselves #99470.