Support agent-managed X sources with TweetClaw - #62
Open
kriptoburak wants to merge 1 commit into
Open
Conversation
kriptoburak
force-pushed
the
codex/tweetclaw-source-packet
branch
from
July 30, 2026 05:59
4c695f8 to
02cf83c
Compare
Author
|
I rebuilt this PR from current Commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
需求理解 / Requirement Understanding
我理解的需求是:
ClawFeed's current server stores source definitions and finished digests, but it does not collect X content. This change lets an OpenClaw agent administer sources with the existing server API key, collect reviewed public X items through optional TweetClaw reads, and submit the finished digest without adding social-account writes to ClawFeed.
原始指令/Issue:
Fixes #35. Issue #37 also documents why configured Twitter sources need an external collector on the current architecture.
Summary
API_KEYto resolve, list, create, update, read, and soft-delete sources without Google OAuth.data/test.db, and rejects non-loopback targets unless explicitly allowed.Type
Test plan
npm ciunder Node.js 20.20.2, matching CInpm run lintwith 0 errors and 5 pre-existing warningsshellcheck test/e2e.sh test/setup.sh test/teardown.shbash -n test/e2e.sh test/setup.sh test/teardown.shnode --check src/server.mjs && node --check src/db.mjsnpm audit --omit=devreports 0 vulnerabilitiesThe host's default Node.js 26 runtime cannot compile this repository's pinned
better-sqlite3@11.10.0. The clean install and all runtime checks were rerun successfully under the repository's Node.js 20 CI version without changing dependencies.Checklist
console.logadded to production code