fix: merge latest dev updates into main#17
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
🤖 Claude Code ReviewReviewCritical Security Issue The AI review script must not run on PRs that modify itself — this creates a trivial bypass where an attacker can:
Required fix: Add a path filter to on:
pull_request:
branches: [main]
paths-ignore:
- '.github/workflows/ai-review.yml'
- 'scripts/ai-review.mjs'Other Issues:
Minor:
Verdict: Block until self-modification bypass is fixed. The license change also needs separate discussion. Automated review by Claude Sonnet |
- native.ts: add extractContext + formatArgs with matchedField/matchedWord tracing for "Context Sniper" popup — shows dangerous word in context - core.ts: extend evaluatePolicy return with matchedField/matchedWord; per-field scan after dangerous word found; pass through authorizeHeadless - daemon/index.ts: gate SSE broadcast and browser open on browser config flag - LICENSE/package.json/README.md: MIT → Apache-2.0 - .github/workflows/ai-review.yml: add paths-ignore to prevent self-modification - scripts/ai-review.mjs: upgrade to claude-sonnet-4-6, max_tokens 2048 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
🤖 Claude Code ReviewCode ReviewLicense Change (MIT → Apache 2.0)Potential legal issue: This is a breaking change for any downstream users who took a dependency under MIT. Apache 2.0 adds patent termination clauses and attribution requirements that weren't present before. The README CleanupThe removal of the duplicate "Node9 keeps the last 10 snapshots" paragraph and the merge conflict artifacts ( AI Review Workflow (
|
- Wrap diff in <diff>...</diff> markers with untrusted-content notice to mitigate prompt injection - Surface truncation note in posted PR comment when diff exceeds MAX_DIFF_CHARS - Downgrade API errors to warning comments + exit 0 so Anthropic outages don't block PRs - Pin @anthropic-ai/sdk@0.78.0 and @octokit/rest@22.0.1 to prevent supply-chain drift - Add explicit permissions block (contents: read, pull-requests: write) - Exclude dependabot[bot] from triggering review - Add fetch-depth: 0 to checkout step Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
🤖 Claude Code ReviewCode ReviewREADME.mdThe diff cleanly resolves a merge conflict (removes duplicated CLI reference section and the stray LICENSE + package.jsonMIT → Apache 2.0 relicense. The change is internally consistent (LICENSE text, badge,
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
🤖 Claude Code ReviewCode ReviewREADME.md CleanupThe merge conflict artifacts ( License Change (MIT → Apache 2.0)The LICENSE file,
|
… main - ai-review.yml: replace AUTO_PR_TOKEN with GITHUB_TOKEN (permissions block already scopes it correctly — no broad PAT needed) - ai-review.yml: add --ignore-scripts to npm install to block malicious postinstall hooks from transitive dependencies - sync-dev.yml: new workflow — after every push to main, merge main back into dev so release-bot version bumps don't cause recurring README conflicts on the next dev -> main PR Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
🤖 Claude Code ReviewReviewWhat this PR does
Issues Found1. 2. 3. 4. 5. License migration — no contributor acknowledgment 6. README — merge conflict residue removal No issues with
SummaryBlock on: item 4 (the review script is unreviewed). Items 1 and 3 are medium-severity concerns worth addressing before merge.
Automated review by Claude Sonnet |
Move @anthropic-ai/sdk and @octokit/rest into devDependencies and switch the ai-review workflow from bare npm install to npm ci --ignore-scripts. This locks all transitive dependencies to the committed lockfile, eliminating supply-chain drift on every CI run. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
🤖 Claude Code ReviewReviewWhat this PR does
Issues FoundCritical — Merge conflict debris in README The diff removes a large block of content that is clearly unresolved merge conflict markers (
The guard
The comment correctly explains why
Good call using License change MIT → Apache 2.0 is a meaningful license change with downstream implications for users and contributors. Ensure this is intentional and that any existing contributors have been consulted or that prior contributions were sole-authored. Apache 2.0 adds patent termination clauses which MIT lacks. SummaryThe README cleanup is straightforwardly correct (minus the possible truncated
Automated review by Claude Sonnet |
## [1.0.8](v1.0.7...v1.0.8) (2026-03-16) ### Bug Fixes * merge latest dev updates into main ([#17](#17)) ([e809be6](e809be6))
|
🎉 This PR is included in version 1.0.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Auto-generated PR
Merge latest
devchanges intomainto trigger a release.