# ApiVault v1.3.8 — Bug Reporter V2

Bug Reporter V2 turns the existing Error Inbox, Bug Advisor and BugSack/BugGrabber bridge into one cockpit workflow.

## Commands

- `/av errors` — open Bug Reporter V2.
- `/av bugsack` — open Bug Reporter V2 and refresh/show bridge status.
- `/av buggrabber` — same bridge-status workflow.
- `/av reports` — includes Bug Reporter error export.

## Behavior

- Captured errors are deduplicated by addon/message/file fingerprint.
- Duplicate captures increase the occurrence count and mark the error as new again.
- Error rows can be marked reviewed without deleting them.
- Clear Session only clears ApiVault's runtime ErrorInbox. It does not mutate BugGrabber, BugSack, BugGrabberDB or external addon state.
- Copy GitHub and Copy Curse generate report text from captured error metadata and ApiVault's Bug Advisor analysis.

## Policy

- Data-only UI.
- No runtime source file reads.
- No protected/secure execution.
- No SafeRunner policy changes.
- BugGrabber/BugSack buffers are imported read-only.

## Test checklist

1. `/reload`
2. `/av errors`
3. Confirm Bug Reporter V2 opens.
4. `/av bugsack`
5. Confirm the same cockpit panel opens and bridge status is shown.
6. Ingest a test error with `ApiVault:IngestError({ addon="TestAddon", message="TestAddon/Core.lua:10: attempt to index field 'db' (a nil value)", stack="Interface/AddOns/TestAddon/Core.lua:10: in function <Core.lua:1>", source="manual test" })` from a dev console.
7. Click Latest, Copy GitHub, Copy Curse, Mark Reviewed and Clear Session.
8. Confirm no BugGrabber/BugSack state is deleted by Clear Session.
