Add Opera cache cleaner extension baseline

This commit is contained in:
ToxicCrzay270
2026-05-15 00:41:37 +02:00
commit fe17014aff
23 changed files with 1541 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
# Agent Handoff
## Current State
The Codex repository baseline has been applied to the local Opera Cache Cleaner extension.
## Notes For Next Agent
- The project is not currently a Git repository in this workspace.
- Expected Gitea repository: `https://git.wilkensxl.de/Toxic/Opera-Extensions.git`.
- The project has no package manager and no external dependencies.
- Use syntax checks and manual Opera extension testing as the main verification path.
## Open Items
- Initialize or connect a Git repository if the project should be pushed to Gitea.
- Confirm whether this extension should live at the repository root or inside `opera-cache-cleaner-extension/` before enabling package publishing or Gitea API polling.

View File

@@ -0,0 +1,34 @@
# Release Checklist
## Version
- [ ] Version number updated in `manifest.json`.
- [ ] `CHANGELOG.md` updated.
- [ ] README checked for current installation and usage instructions.
## Quality
- [ ] Working tree is clean.
- [ ] `node --check background.js` passes.
- [ ] `node --check popup/popup.js` passes.
- [ ] Manual unpacked-extension smoke test in Opera passes.
## Security
- [ ] `docs/security-review.md` is current.
- [ ] No new permissions were added without review.
- [ ] No secrets are committed.
- [ ] Release artifact does not contain local config files.
## Artifacts
- [ ] `dist/opera-cache-cleaner-extension.zip` exists.
- [ ] Zip contains `manifest.json`, `background.js`, `popup/`, and `icons/`.
- [ ] Zip does not contain `dist/`, `.git/`, `.codex/`, `.gitea/`, or docs-only files.
## Release
- [ ] Git tag created.
- [ ] Release notes written.
- [ ] Release published.
- [ ] Post-release download smoke test completed.

View File

@@ -0,0 +1,54 @@
# Security Review
## Scope
Project:
```text
Opera Cache Cleaner
```
Reviewed version or commit:
```text
1.0.0 local workspace
```
## Code Patterns Checked
- [x] No `eval`.
- [x] No dynamic `Function` constructor.
- [x] No unsafe HTML injection found in the reviewed code.
- [x] No shell execution.
- [x] No external network calls.
- [x] No secrets committed in the current source files.
- [x] No unsafe file writes. Browser data changes are limited to cache removal.
## Dependency Review
Command:
```bash
No dependency audit command exists because the project has no package manifest or external dependencies.
```
Result:
```text
Not applicable.
```
## Runtime Review
- [x] Manifest uses least-privilege permissions for the current feature set.
- [x] No host permissions are declared.
- [x] Local storage is used only for selected range, timer settings, and last run timestamp.
- [x] Cache clearing uses `chrome.browsingData.remove({ since }, { cache: true })`.
## Release Notes
Known residual risks:
```text
No automated browser-extension integration tests exist. Perform an unpacked-extension smoke test in Opera before release.
```