-
Notifications
You must be signed in to change notification settings - Fork 91
Add source provenance and publish-scope preflight checks #103
Copy link
Copy link
Open
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:securityThis issue is about security boundaries, credentials, authz, sandboxing, or sensitive data.This issue is about security boundaries, credentials, authz, sandboxing, or sensitive data.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.
Description
Metadata
Metadata
Assignees
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:securityThis issue is about security boundaries, credentials, authz, sandboxing, or sensitive data.This issue is about security boundaries, credentials, authz, sandboxing, or sensitive data.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Parent: #100
Related Gitcrawl context: openclaw/gitcrawl#81
Observed Workflow
Discrawl supports both Discord bot API sync and local Discord Desktop cache import. That combination is useful, but the source mix can matter for metadata quality.
During initial use, a combined sync path refreshed messages from wiretap but left guild metadata insufficient for public/private publish classification. A later
discrawl sync --source discordrestored the role/visibility metadata needed forpublish --public-onlychecks.Current Workaround
The workaround was to remember that privacy-sensitive publish checks need bot-sourced guild metadata and to run a Discord-only repair sync before repeating the publish check.
That is easy to miss, especially when
discrawl syncdefaults to a combined source.Request
Add source/provenance and publish-scope preflight diagnostics.
Example shape:
Useful Output
publish --public-onlyis likely to export zero rows because metadata is incompletediscrawl sync --source discord, when bot metadata is requiredWhy This Matters
The use case is not just "can I search locally?" It is local maintainer archive work with private/public boundaries. A user or Codex agent should be able to tell whether the archive has enough provenance and metadata to make a publish-scope decision.
Acceptance Criteria
doctor --jsonor a dedicated check reports metadata quality relevant to public/private filtering.publish --public-only --checkcan validate scope without writing a snapshot.Prepared with Codex, confirmed as accurate by human.