FixMyPC

Diagnose without changing anything. And be able to prove it.

Most PC cleaner tools blur diagnosis with repair. FixMyPC does the opposite: it only diagnoses, with explicit evidence, conservative rules and honest uncertainty — and verifies its own read-only policy before every run.

Year
Role
Technical Product / Product + Hands-on Development
Stage
Functional · v0.1.0
Product
Skill · CLI · Diagnostics
Focus
Reliability · Privacy · Evidence · Read-only policy

Summary

Problem
Diagnose real Windows problems without changing anything on the machine and without blurring diagnosis with repair.
My role
Product definition and hands-on implementation: read-only policy, collectors, rules, score, report and test suite.
Result
A v0.1.0 skill with an offline HTML report, explainable 0–100 score and sanitized JSON, validated by an offline suite of 128 assertions.
Key decision
Treat uncertainty as first-class data: unknown data never becomes a claim of health or failure.

Status and evidence

Stage
Functional v0.1.0, validated with synthetic fixtures.
What exists or has been validated
Offline test suite with 128 assertions (128 passed) and a read-only policy verified by AST scanning of the project's own source.
Next validation
Validate the collectors on real Windows machines — the critical next step recorded in the project's technical report.

Technical Scope

  • 0–100 Explainable score
  • 2 Languages (EN · pt-BR)
  • 7 Check states
  • 128 Test assertions

The problem

“PC cleaning” tools usually blur diagnosis with repair: they promise fixes, change the system and rarely explain what they did. FixMyPC starts from the opposite premise — diagnose only, with explicit evidence and honest uncertainty. And with a verifiable commitment: touching nothing on the audited machine.

How it works

An audit runs on plain PowerShell (5.1 or 7), installs nothing and needs no admin rights. Before any collection, the tool’s own code goes through a scanner that confirms the read-only policy.

  1. Run fixmypc.ps1
  2. Read-only policy gate (AST)
  3. Explicit consent
  4. Passive collection (6 collectors)
  5. 22 deterministic rules
  6. 0–100 score + findings
  7. HTML report + sanitized JSON

Three commitments

Diagnosis without repair

Read-only, no network, no elevation, no repairs. An AST scanner checks the source code against command, parameter and member allowlists before loading the modules.

See the read-only policy

Explicit uncertainty

Every check ends in one of seven states (pass, finding, unknown, unsupported, access_denied, not_collected, error). Unknown data never becomes a claim of health or failure.

See the seven states

A score that admits its limits

The 0–100 score is deterministic and explainable: it starts at 100 and only drops for substantiated findings. Partial coverage yields “provisional score” or “score unavailable” — never a reassuring 100.

See how the score works

The technical report

The output is a self-contained HTML report — zero JavaScript, local CSS, print-ready A4 — in English or Brazilian Portuguese, plus a sanitized JSON to share with a technician or an AI assistant.

Demonstration report (synthetic data) — score 79/100 with penalties explained per category
See the report in detail

Result

A functional v0.1.0: an offline suite with 128 assertions (128/128), a report in two languages with validated parity and a verifiable read-only policy. The collectors are ready but not yet validated on real Windows hardware — and that is declared in the project, not hidden.

The technical report, end to end

The report is a single HTML file: zero JavaScript, local CSS, a CSP header, HTML escaping and an A4 print layout. Below, the demonstration report generated from synthetic fixtures — no value describes a real computer, and the report itself shows a permanent synthetic-data banner.

Report opening — audit mode, version, run identifier and the permanent synthetic-data notice

The executive summary opens with the score, the diagnostic risk reported separately, coverage and data confidence — four different signals that should not be confused with each other.

Executive summary — score, risk, coverage and confidence are shown separately, each with its own meaning

Main findings

Each finding carries severity, confidence, known limitations and the recommended human check to confirm it. The report never asks for trust: it shows the evidence and the next verification step.

Detailed findings — severity, confidence, limitations and the recommended human check for each item

Storage and events

Storage uses the health reported by Windows; SMART enters only as failure prediction — no prediction is inconclusive, not healthy. Events gathers seven days of error/critical entries, grouped by provider and ID, with recurrence and a sample.

Storage and performance — Windows-reported health, free space and resource usage
Events and reliability — seven days of errors and criticals, grouped, with recurrence

Privacy inside the report itself

The report’s last section explains what was sanitized and what to review before sharing. The privacy policy is not a legal paragraph: it is part of the product.

Privacy and next steps — what was sanitized and what to review before sharing

The problem

The “slow PC” category is served today by tools that promise miraculous cleaning, change settings and turn unknown into diagnosis. The result is an optimism industry: users don’t know what was touched or whether the “problem” even existed.

FixMyPC is the opposite proof of concept: a tool that only diagnoses, declares limitations, preserves privacy and leaves every change as the computer owner’s decision. The agent contract (via SKILL.md) inherits the same rules: no modifying the machine, no inventing collection commands, no skipping consent.

What it evaluates

Two audit modes. Simple covers hardware and OS, events, startup, performance and storage. Full adds problem devices, Defender status and third-party antivirus, installed apps (from passive uninstall keys, never Win32_Product), pending-reboot indicators and hotfix recency.

Collection is passive and filtered at the source: 7 days of error/critical events capped per log, startup inventory as metadata only, short CPU sampling (3×2 s, locale-independent counters) and RAM.

A score that admits what it doesn’t know

The health score is deterministic: it starts at 100 and is only reduced by substantiated findings (finding state with a penalty above zero). Category weights — Storage 30, Events 25, Performance 20, Startup 15, OS 10 — with per-category caps and dedupe groups so the same problem never penalizes twice.

  1. Collected evidence
  2. 22 deterministic rules
  3. Per-category penalties
  4. Caps + group dedupe
  5. Coverage renormalization
  6. 0–100 score + explanations

Two honesty rules make a real difference:

  • Categories without evidence stay out of the score (renormalization) — instead of counting as healthy. Partial coverage yields a “provisional score” or “score unavailable”.
  • Diagnostic risk is reported apart. A substantiated critical storage failure (Windows Unhealthy or SMART PredictFailure) sets risk to “critical” and caps the score at 49 — regardless of everything else being fine.

Seven states, zero disguised uncertainty

Every check ends in exactly one of these states: pass, finding, unknown, unsupported, access_denied, not_collected, error. The central rule: unknown data never becomes a claim of health or failure — neither to reassure nor to alarm.

  • pass
  • finding
  • unknown
  • unsupported
  • access_denied
  • not_collected
  • error

Each state has defined consequences in the score and the report: what penalizes, what stays out, what requires human verification. The full methodology (thresholds, severities, coverage and confidence) is documented in the repository.

A read-only policy you can verify, not just promised

“Read-only” is easy to promise. Here the promise is verifiable in three layers:

  1. Before loading the modules, an AST scanner analyzes the declared source against command, parameter and member allowlists. Any deviation blocks execution.
  2. The prohibition list is explicit: no Win32_Product, no powercfg /energy, no perfmon /report, no repairs, no elevation, no network. Thirteen forbidden snippets (registry writes, reg add, net stop, Invoke-Expression, Start-Process and friends) are detected by the tests.
  3. Anyone can audit it: fixmypc.ps1 -ValidateOnly runs the scan and exits — 14 files, 0 violations in the validated version.

Consent is explicit and separate: without accepting the policy, execution ends with exit code 3 before any collection.

Privacy by construction

Sanitization happens in two layers, before any file reaches the end user:

  • What is never collected: serial numbers, product keys, process arguments, raw event messages.
  • What is masked in the sanitized JSON: paths and account fields.

The demonstration report shows the result: a report that can be attached for a technician or AI assistant without exposing identity. The only review instruction left is the application name inventory — and that is written in the report itself.

My role

I defined the product and the tool’s editorial line: what it diagnoses, what it refuses to promise and how it communicates with non-technical people. And I implemented it: the read-only policy with its AST scanner, the collectors, the rules engine, the health score, the report renderer, sanitization and the test suite.

  • Technical Product
  • Read-only policy
  • AST scanner
  • Passive collectors
  • Deterministic rules
  • Explainable score
  • HTML report
  • Privacy
  • i18n
  • Test suite
  • Trade-offs

Engineering and testing

Architecture

  1. fixmypc.ps1 Single audited entry point
  2. ReadOnlyPolicy AST gate + consent
  3. Passive collectors System · Events · Startup · Performance · Storage · Advanced
  4. Evidence + Rules 22 deterministic rules · 7 states
  5. HealthScore Weights · caps · dedupe · coverage
  6. Outputs Zero-JS HTML report · sanitized JSON · internal JSON

No network, no external services, no persistence outside the authorized directory.

  • Read-only policy (AST)
  • Locales pt-BR / en
  • JSON Schema (documentation)

The test suite as an honesty contract

The offline suite has 128 assertions, all passing, and runs without touching the real system — every scenario comes from 10 synthetic fixtures:

  • Policy (16): the whole project passes the AST scan; all 13 forbidden snippets are detected; dynamic invocation is rejected.
  • Privacy (12): redaction of profile, IP, e-mail, GUID, credential and account — and sanitization leaves the internal document unchanged.
  • Analysis and score (66): healthy Windows 11, unsupported Windows 10, critical disk with dedupe, mixed events with a category cap, non-admin run producing a provisional score, degenerate fixture with XSS payloads and nulls raising no exception.
  • HTML (12): zero <script>, zero external resources, escaped XSS, preserved unicode.
  • i18n (4): full pt-BR↔en key parity; every rule with title, detail and human check in both languages.
  • CLI (8): full flow in a real process, including an unconsented run ending with exit 3.

Engineering decisions worth naming

Zero JavaScript in the report removes an entire class of risk: with no script, there is no arbitrary execution when opening the report. CSS is local, HTML is escaped and there is a CSP header.

Locales with validated parity (~250 keys per language) make i18n a test requirement, not a manual translation: every new rule must exist in both languages, human check included.

Where the project stands — and what’s missing

v0.1.0 is functional and validated with synthetic fixtures. The declared not-yet-validated part: the collectors have not run against a real Windows in the field — CIM class names and localized exception messages may differ, and the design degrades to per-sub-check error/unknown states meanwhile. Real-hardware validation is the critical next step, recorded in the project’s technical report.

On the roadmap, an online software research feature — deliberately not implemented, because the policy bans network access in the skill. When it exists, it will be an explicit opt-in, outside the collection process.