Add Opera cache cleaner extension baseline
This commit is contained in:
17
opera-cache-cleaner-extension/docs/agent-handoff.md
Normal file
17
opera-cache-cleaner-extension/docs/agent-handoff.md
Normal 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.
|
||||
34
opera-cache-cleaner-extension/docs/release-checklist.md
Normal file
34
opera-cache-cleaner-extension/docs/release-checklist.md
Normal 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.
|
||||
54
opera-cache-cleaner-extension/docs/security-review.md
Normal file
54
opera-cache-cleaner-extension/docs/security-review.md
Normal 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.
|
||||
```
|
||||
Reference in New Issue
Block a user