Repository navigation
Conversation
Vendor the selected MIT skills, add research-only adapters, and wire review and secret-scan workflows without a deploy path. Co-authored-by: Pigbibi <Pigbibi@users.noreply.github.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4746bddc61
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| published = [item["at"] for item in times if item["role"] == "published"] | ||
| if published: | ||
| newest = max(published) | ||
| age_days = (as_of.date() - newest.date()).days |
There was a problem hiding this comment.
Associate freshness timestamps with the primary evidence URL
When a card contains an old primary source and a recent timestamp for an unrelated URL, the validator accepts it as supported: published collects every source timestamp and max() selects the unrelated recent one. This also allows primary evidence with no retrieval timestamp of its own to pass. For example, changing the synthetic example's primary URL to an old article and adding its 2025 publication time still returns no errors because the original 2026 timestamps remain. Match timestamps to the primary evidence URLs before using them to establish retrieval and freshness.
Useful? React with 👍 / 👎.
| state = card["evidence_state"] | ||
| if state not in EVIDENCE_STATES: |
There was a problem hiding this comment.
Validate the evidence-state type before set membership
When a decoded JSON card supplies an array or object for evidence_state, this membership test raises TypeError instead of returning validation errors. Both validate_card({... , "evidence_state": []}) and the object-valued equivalent reproduce the exception with otherwise valid example data. Since this function is the public card validator and explicitly accepts arbitrary input, malformed model-generated cards should be rejected through its error-list contract rather than terminate the caller. Check that the state is a string before testing membership.
Useful? React with 👍 / 👎.
| if state == "rumor" and _RUMOR_VERIFIED.search(value): | ||
| errors.append("rumor state cannot be described as verified") |
There was a problem hiding this comment.
Account for negation when checking rumor confidence text
For a rumor card, a confidence explanation such as This rumor is not confirmed by any primary source. is rejected because the regex matches confirmed without considering negation. The same happens with the Simplified Chinese explanation 这条传闻尚未获得一手来源支持,不能视为已证实。. Both explicitly preserve uncertainty, as the research workflow requires, but an otherwise valid card receives rumor state cannot be described as verified. Distinguish affirmative verification claims from negated statements so compliant rumor explanations can pass.
Useful? React with 👍 / 👎.
Reject non-string evidence states, keep negated rumor denials, and judge freshness from each primary URL. Co-authored-by: Pigbibi <Pigbibi@users.noreply.github.com>
AI Code Review (opencode /
|
Keep pull-request gates and manual dispatch, and record that agent-approved is not an owner confirmation. Co-authored-by: Pigbibi <Pigbibi@users.noreply.github.com>
|
@codex review |
|
To use Codex here, create a Codex account and connect to github. |
AI Code Review (opencode /
|
AI assistance
Cursor Grok 4.7 cloud agent. The agent did not merge, did not apply
owner-approved, and did not install anything into a Grok Bot.What changed
Initial research configuration for this repository. It vendors six unmodified MIT skill files, adds thin adapters and one local X-topic skill, and checks a public research card in local tests.
Selected upstream files, pinned by full SHA:
4d61af4ae5545a8fae8a78642c4f1a56ea3a20ec: fact-check, earnings-preview, catalyst-calendar, bear-case, etf-analysis.d3d4b493d4d66cc08c31e13626ac3e750613c8b2: adversarial-review.A follow-up commit tightens the card validator: non-string
evidence_statereturns errors, negated rumor wording stays allowed, and freshness is taken from each primary URL.Governance workflows are copied from QuantStrategyLab/.github
1de428f00aeef77ba939edfd3420b202c7166953and Pigbibi/PrGovernance3d44e3d057681d5ae2730ad76af2f53b72d26767. No deployment, broker, account, or Bot routine is added.How verified
Local command on
dd2b6f60f3e40e4f677a42bc91832235c3c14a2a:python3 -m unittest discover -s tests -vResult: 36 tests, OK. No network and no private data. These tests do not show that a model follows the skills. GitHub Actions on this new head had not been observed when the description was updated.
The earlier Codex receipt names
4746bddc61e91d2ad15ba5e8741866508aafbb5fand recorded findings. It does not cover the current head.Why
The repository needs a versioned, research-only way to check US equity and ETF candidates and emit an evidence card. Execution stays disallowed.
Risk
R2. The diff adds
.github/workflows/,.github/governance/policy.json,schema/, andadapters/. A general request to continue or to allow an eventual merge is not approval of this head.Current head:
dd2b6f60f3e40e4f677a42bc91832235c3c14a2a. Base ismainat48eac4bf4aec78574937d4f5e06b7c885d9339d1.Before merge, the same head still needs:
ai-review-receipt:v1,codex-review-receipt:v1, orcodex-review-state:v1) that namesdd2b6f60f3e40e4f677a42bc91832235c3c14a2a, is complete, and has no unresolved findingowner-approvedonly by the owner, oragent-approvedby a writer)Branch protection, GitHub secret scanning, and push protection are not enabled by these files. The skill texts are not installed in a Grok Bot. See
docs/activation-gaps.mdanddocs/install.md.