Fix report presets and add Xquik social pulse research - #9
Open
kriptoburak wants to merge 2 commits into
Open
Conversation
kriptoburak
force-pushed
the
codex/add-xquik-social-pulse
branch
from
July 30, 2026 07:26
385f9a7 to
57e0597
Compare
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.
Summary
Independent Repository Fix
The CLI accepted
--preset, but every live insights operation still sentlast_7dto Meta. Reports could therefore label 30-day requests while returning 7-day data. The adapter now forwards the selected preset to campaign, ad, and daily insight operations.Xquik Integration
./run.sh social-pulsenow supports 1 to 10 focused queries with up to 200 results per query. Mock mode reads a local fixture. Other supported modes call the read-only Xquik search endpoint.The adapter validates response shape, follows cursors through empty pages, rejects repeated or missing cursors, deduplicates posts without reordering them, and records every matching query. It normalizes nested authors and current engagement fields.
Public post text remains untrusted evidence. The skill tells agents not to follow embedded instructions, expose private campaign data, copy posts, or mix public engagement with Meta performance.
Safety
Validation
bash -n run.sh scripts/*.sh scripts/lib/*.shsocial-pulseexecutionshellcheck run.sh scripts/meta-kit.sh scripts/lib/meta-cli.sh scripts/lib/xquik.shuvx --python 3.12 --from meta-ads--preset last_30dreaches Metagit diff --check