Skip to content

chore: adds nyt source claim proof#7

Merged
semmet95 merged 3 commits into
mainfrom
chore/add-source-claim-proof
Apr 28, 2026
Merged

chore: adds nyt source claim proof#7
semmet95 merged 3 commits into
mainfrom
chore/add-source-claim-proof

Conversation

@semmet95
Copy link
Copy Markdown
Contributor

@semmet95 semmet95 commented Apr 28, 2026

Summary by cubic

Adds The New York Times as a source and records a claim on U.S. data‑center backlash with a supporting proof from Idaho News. Enables manual validation via workflow_dispatch while keeping PR checks, and hardens validate.py/post_requests.py with better logging and error handling.

  • New Features

    • Added sources/nyt.yaml with NYT metadata.
    • Added claims/nyt/ai-backlash.yaml and supporting proof proofs/nyt/ai-backlash/supports/idahonews.yaml.
  • Refactors

    • In scripts/validate.py and scripts/post_requests.py: added INFO/ERROR logs with stack traces, explicit Draft 2020‑12 validation, stricter file handling (skip non-docs, normalize paths, existence/type checks), a BASE_URL/path duplication warning, and “validate all” when run without args.

Written for commit a83b512. Summary will update on new commits. Review in cubic

Signed-off-by: Amit Singh <singhamitch@outlook.com>
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 3 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="proofs/nyt/ai-backlash/supports/idahonews.yaml">

<violation number="1" location="proofs/nyt/ai-backlash/supports/idahonews.yaml:2">
P1: Use a boolean here; quoting `true` makes this field a string instead of the required boolean.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread proofs/nyt/ai-backlash/supports/idahonews.yaml Outdated
@semmet95 semmet95 force-pushed the chore/add-source-claim-proof branch from 2245513 to 1e32b1a Compare April 28, 2026 09:33
Signed-off-by: Amit Singh <singhamitch@outlook.com>
@semmet95 semmet95 force-pushed the chore/add-source-claim-proof branch from 1e32b1a to 7273e0e Compare April 28, 2026 09:35
@semmet95
Copy link
Copy Markdown
Contributor Author

@cubic-dev-ai

@cubic-dev-ai
Copy link
Copy Markdown

cubic-dev-ai Bot commented Apr 28, 2026

@cubic-dev-ai

@semmet95 I have started the AI code review. It will take a few minutes to complete.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 2 files (changes from recent commits).

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="scripts/validate.py">

<violation number="1" location="scripts/validate.py:65">
P1: Return after scanning here skips validation entirely when no filenames are passed.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread scripts/validate.py Outdated
@semmet95 semmet95 force-pushed the chore/add-source-claim-proof branch 2 times, most recently from bae70de to ae8b415 Compare April 28, 2026 10:25
@semmet95
Copy link
Copy Markdown
Contributor Author

@cubic-dev-ai

@cubic-dev-ai
Copy link
Copy Markdown

cubic-dev-ai Bot commented Apr 28, 2026

@cubic-dev-ai

@semmet95 I have started the AI code review. It will take a few minutes to complete.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 6 files

Signed-off-by: Amit Singh <singhamitch@outlook.com>
@semmet95 semmet95 force-pushed the chore/add-source-claim-proof branch from ae8b415 to a83b512 Compare April 28, 2026 10:47
@semmet95
Copy link
Copy Markdown
Contributor Author

@cubic-dev-ai

@cubic-dev-ai
Copy link
Copy Markdown

cubic-dev-ai Bot commented Apr 28, 2026

@cubic-dev-ai

@semmet95 I have started the AI code review. It will take a few minutes to complete.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 6 files

@semmet95 semmet95 merged commit 2db822f into main Apr 28, 2026
2 checks passed
@semmet95 semmet95 deleted the chore/add-source-claim-proof branch April 28, 2026 10:52
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.

1 participant