Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Bug report
about: Report a bug or unexpected behavior in OtimizaPC
title: "[Bug] "
labels: bug
---

## Description
A clear description of what went wrong.

## Environment
- Windows version (e.g., Windows 11 24H2):
- Running as Administrator? (Yes / No):
- OtimizaPC version / commit:

## Steps to Reproduce
1. Open tab '...'
2. Click '...'
3. Observe error

## Expected Behavior
What you expected to happen.
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Feature request
about: Suggest a safe optimization, cleanup category, or UX improvement
title: "[Feature] "
labels: enhancement
---

## Problem or Use Case
What problem or bottleneck would this improvement solve?

## Proposed Solution
Describe how the feature should work while keeping explicit user confirmation before modifying files, registry keys, or services.
23 changes: 23 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Contributing to OtimizaPC

Thank you for contributing to **OtimizaPC**!

## Development Setup

- **OS:** Windows 10 / 11
- **SDK:** [.NET 8 SDK](https://dotnet.microsoft.com/download/dotnet/8.0)
- **Architecture:** WPF + MVVM (`Views` ↔ `ViewModels` ↔ `Services`) using `CommunityToolkit.Mvvm`

```bash
git clone https://github.com/gavicoding/OtimizaPC.git
cd OtimizaPC
dotnet restore OtimizaPC.sln
dotnet build OtimizaPC.sln -c Release
```

## Guidelines

1. Branch from `main` using descriptive branch names (`feat/...`, `fix/...`, `docs/...`).
2. **Safety first:** Never implement silent or unconfirmed deletions. Every cleanup, duplicate removal, or residue action must present exact paths/byte totals for explicit user approval.
3. Preserve standard Windows non-admin fallback behavior and surface elevation prompts cleanly via `ElevationHelper`.
4. Ensure `dotnet build OtimizaPC.sln -c Release` passes with zero errors before submitting a Pull Request.
12 changes: 12 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Security Policy

## Reporting a Vulnerability

OtimizaPC performs privileged file cleanup, service inspection, and Windows Registry tweaks when elevated. If you discover a security flaw (such as unsafe elevation, symlink/junction traversal during cleanup, or unquoted service path issues), please **do not** disclose it in public issues.

Report privately via **GitHub Security Advisories** or email `gavicoding@gmail.com` with:

- Affected service or module (e.g. `CleanupService`, `ResidueService`, `ElevationHelper`)
- Reproduction steps and impact assessment

Reports are triaged promptly so fixes can be released safely.
Loading