Skip to content

feat(smart-rma): add synthetic smartctl fixtures - #11

Merged
margrop merged 1 commit into
mainfrom
agent/p3-001-synthetic-smartctl-fixtures
Jul 25, 2026
Merged

margrop merged 1 commit into
mainfrom
agent/p3-001-synthetic-smartctl-fixtures

Conversation

@margrop

@margrop margrop commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a versioned SMART / RMA fixture index and seven fully synthetic smartctl text fixtures
  • cover ATA, NVMe, healthy, warning, critical, unknown, missing fields, vendor extensions, SMART unavailable and conflicting signals
  • add an offline corpus loader with schema, path, size, encoding and synthetic-identifier invariants
  • document fixture ownership and mark P3-001 complete

Privacy

  • no fixture is derived from a real disk or user-provided SMART output
  • models and serials are visibly synthetic; WWNs use an all-zero placeholder
  • corpus validation rejects network identifiers, host names, secrets and real-looking hardware identifiers
  • raw SMART input remains a browser-local concern for P3-002/P3-003

Validation

  • npm run validate
  • 18 test files, 206 tests
  • Astro typecheck/build and all static output contracts pass

Limitations

  • P3-001 does not implement the browser parser, redaction UI, health rules, AI explanation or RMA export
  • expected states are fixture test oracles, not vendor warranty conclusions

Next

P3-002: implement the browser-side read-only SMART parser against this corpus.

@margrop
margrop marked this pull request as ready for review July 25, 2026 11:08
@margrop
margrop merged commit 9f79b5e into main Jul 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant