Skip to content

Clarify WithDraft export behavior#17

Closed
wuchulonly wants to merge 3 commits into
feat/export-filter-with-draftfrom
fix-with-draft-dual-content
Closed

Clarify WithDraft export behavior#17
wuchulonly wants to merge 3 commits into
feat/export-filter-with-draftfrom
fix-with-draft-dual-content

Conversation

@wuchulonly
Copy link
Copy Markdown
Contributor

Summary

  • document that fingerprint exports keep approved raw_content and include raw_content_draft alongside it when draft mode is requested

Tests

  • go test ./pkg/cyberhub

@M09Ic
Copy link
Copy Markdown
Contributor

M09Ic commented May 26, 2026

Superseded by 264f43a — FingerprintExport 直接替换 fingerprintResponse,不再有重复类型。Provider.Fingers() 在 Draft 模式下自动解析 RawContentDraft。

@M09Ic M09Ic closed this May 26, 2026
M09Ic added a commit that referenced this pull request May 26, 2026
…Export

Move WithDraft from Provider to ExportFilter for consistent API surface.
Unify fingerprintResponse into exported FingerprintExport with full
export fields (RawContent, RawContentDraft, Engine, Source). Provider.Fingers()
now parses draft YAML when Draft=true for end-to-end engine compatibility.

Closes #15, closes #17

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

2 participants