Skip to content

docs: propose one owner for conversation transcript entries - #169296

Merged
obviyus merged 1 commit into
mainfrom
docs-transcript-ownership-adr
Oct 11, 2026
Merged

obviyus merged 1 commit into
mainfrom
docs-transcript-ownership-adr

Conversation

@obviyus

@obviyus obviyus commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator

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 existing docs/refactor/ proposal pattern and is not in navigation.

Evidence

@clawsweeper

clawsweeper Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XS labels Oct 11, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 11, 2026
@clawsweeper

clawsweeper Bot commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Adds 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.

  • Before: Separate delivery paths can leave the receiving model unaware of the message.
  • After: The proposal calls for one model-visible entry after confirmed delivery; this PR changes documentation only.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful, source-backed documentation with no actionable findings; runtime proof does not apply.
Proof confidence 🌊 off-meta tidepool Not applicable: This PR adds a design proposal and changes no executable behavior.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Docs · Worth it: Yes
User problem: Users can reply to delivered messages that the receiving model does not have in its history.
Reason: The page records a coherent shared-owner direction, preserves known exceptions, and clearly identifies future implementation work.

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
Reviewed head: bcd4f3ac37720b9baf0ca4fb2d0bd652317ac60e

Before merge

None.

Findings

None.

Agent review details

How this fits together

Outbound 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]
Loading

Technical review

Best 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.

Security

None.

Evidence

What I checked:

Likely related people:

  • Ayaan Zaidi: Raw commit e63e209 adds src/cron/conversation-result.ts:63 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: e63e209ef430; files: src/cron/conversation-result.ts)

PR surface

Docs +119. Total +119 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 1 119 0 +119
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 119 0 +119

Labels

Label changes:

  • add P3: This is a documentation-only architecture proposal with no runtime or stored-data change.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This is a documentation-only architecture proposal with no runtime or stored-data change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 11, 2026, 3:09 PM ET / 19:09 UTC.

@obviyus
obviyus merged commit fc664de into main Oct 11, 2026
72 checks passed
@obviyus
obviyus deleted the docs-transcript-ownership-adr branch October 11, 2026 20:24
@obviyus

obviyus commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator Author

Landed as fc664de. Records the transcript ownership rule that #168996 applied to cron results, and the order for the remaining paths (#168683, #168684, #168685).

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 12, 2026
…#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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant