You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
- Replace exporter HTML text extraction/entity decoding paths that
triggered CodeQL with shared scanner helpers, preserving literal
comparison text like `2 < 3` while still stripping real tags.
- Add regression tests for Markdown and editable PPTX export text
extraction.
- Pin GitHub Actions to commit SHAs and restrict default workflow token
permissions.
- Harden `pull_request_target` PR review automation so fork PRs require
the `safe-to-review` label before the write-token bot runs.
- Remove unnecessary release friction: Snap remains best-effort and no
longer gates provenance/publish.
- Clarify AGENTS/CLAUDE license policy so shipped/runtime dependencies
stay permissive while workflow-only tools can use copyleft licenses when
not bundled or distributed.
- Restore winget release automation and explicitly allow its
workflow-only action in Dependency Review.
## Why
GitHub code scanning currently reports CodeQL high alerts in exporter
text cleanup and Scorecard alerts around workflow token permissions,
unpinned actions, and `pull_request_target` risk. The exporter issue
came from regex-based tag/entity handling; the workflow issues came from
broad defaults and floating action tags.
The previous blanket AGPL/GPL rule was too broad for CI-only tooling.
This PR keeps the product/distribution boundary strict while allowing
isolated release automation that does not ship in the app.
## Validation
- `pnpm --filter @open-codesign/exporters exec vitest run
src/pptx.test.ts src/markdown.test.ts`
- `pnpm typecheck`
- `pnpm test`
- `pnpm lint`
- `git diff --check`
- Workflow YAML parsed successfully with Ruby YAML loader
- Verified no remaining `uses: ...@(vN|main|master)` references in
`.github/workflows`
## Notes
- Local `codeql` and `actionlint` CLIs are not installed here, so final
CodeQL/Scorecard closure needs GitHub Actions to rescan this PR.
- Created the `safe-to-review` label in the repository for maintainers
to opt external fork PRs into bot review.
Copy file name to clipboardExpand all lines: .github/prompts/codex-pr-review.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Open CoDesign is an open-source AI design tool — Electron desktop app that tur
25
25
26
26
**Project constraints:**
27
27
- ≤ 30 prod dependencies
28
-
- MIT-compatible permissivelicenses only (reject GPL/AGPL/SSPL/proprietary/unclear copied assets)
28
+
-Shipped app/runtime dependencies and copied/bundled assets must be MIT-compatible permissive. Workflow-only CI/release actions may use copyleft licenses when they are not vendored or distributed and their outputs are ordinary metadata/manifests.
29
29
- All LLM calls via `@mariozechner/pi-ai` (no direct provider SDK imports in app code)
30
30
- No silent fallbacks for user-visible failure, data loss, auth/security decisions,
31
31
or persisted state. Best-effort cleanup, optional discovery, and non-critical
0 commit comments