openclaw / openclaw/gogcli

Feature request: opt-in degradation policy for unresolved quoted inline-image CID references

Open
#1,113 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr issue-rating: 🌊 off-meta tidepool P3
Dominant language
Go
Stars
8.4k
Forks
697
Avg merge
15h 39m
Merged PRs (30d)
89

Description

Gog v0.39.1 intentionally rejects quoted replies when an inline-image cid: reference has no matching MIME part. This request preserves that fail-closed default.

Would you consider an explicit, opt-in composition policy for this narrowly defined condition: an otherwise valid quoted message contains an inline-image cid: reference with no matching MIME part?

When that condition is unambiguous, the policy could:

  • replace the unresolved cid: reference in the quoted rendering with a visible placeholder;
  • preserve quoted text and valid inline resources;
  • otherwise preserve normal reply composition semantics;
  • report that degradation occurred, ideally in machine-readable output.

For example, a synthetic source contains:

<p>Example message.</p>
<img src="cid:missing@example.test">

…with no matching Content-ID MIME part.

Our intended use case is producing reviewable drafts. The calling workflow would interpret the degradation report and require human review; GOGCLI would not need to manage that workflow.

This is not a request for general MIME repair. Ambiguous or structurally malformed MIME would continue to fail closed, and default behavior would remain unchanged. We leave placement of the policy within the composition/draft/send architecture to the maintainers.

Would this fit the project’s direction, and what detection, preservation and reporting constraints would you require?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Trace the composition, draft, and send architecture and locate handling for unresolved quoted inline-image CID references. Done means an explicit opt-in policy replaces only unambiguous missing references with visible placeholders, preserves quoted text and valid resources, reports degradation in machine-readable output, and leaves default and malformed-MIME behavior unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.