Skip to content

Group artifacts into 30 categories - #2071

Merged
abrignoni merged 3 commits into
mainfrom
categories/consolidate
Nov 25, 2026
Merged

abrignoni merged 3 commits into
mainfrom
categories/consolidate

Conversation

@abrignoni

@abrignoni abrignoni commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

This folds ALEAPP's 380 artifact categories into 30 so the GUI's category picker groups artifacts by what they hold.

  • Android Bug Report, Firebase Cloud Messaging, MSL, ALEX, Intrusion Logging and KDL stay whole. The rest use iLEAPP's purpose names.
  • 27 names get their app added (Chromium, Nova, Google Drive).
  • A New Category Alert workflow comments on PRs that use a category outside admin/data/artifact_categories.json. It never fails the build.
  • Main and this branch on hc_pixel8pro_a16 gave the same 327 LAVA tables and row counts.

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5 Tier: plus

The PR appears safe to merge, with one non-blocking gap in category alerts.

Findings

  1. P2 Bad lists stop category alerts ▶

Summary

Groups artifacts into 30 purpose-based categories and adds an advisory PR category alert.

  • Artifact results use shared categories and clearer app names.
  • Pull requests get an alert when artifact categories are missing from the shared list.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[PR artifact files] --> B[Parse source as text]
  B --> C[Compare against base category list]
  D[PR category list] --> E[Mark proposed additions]
  C --> F[Update bot comment and label]
  E --> F
Loading

Reviews (2) · Last reviewed commit: "Point chromeCacheVideos notes at the Bro..." · Reviewed by Greptile

abrignoni and others added 2 commits November 25, 2026 09:45
Fold the 380 artifact categories into 30 so the GUI category picker
groups artifacts by what they hold. Android Bug Report, Firebase Cloud
Messaging, MSL Web Artifacts, ALEX Live Data, Android Intrusion Logging
and KDL keep their own category; every other artifact moves to a
purpose category named as in iLEAPP.

Add the app to 27 artifact names that would lose it once folded
(Chromium, Nova, Google Drive).

Tests that pinned old categories now expect the new ones, and the
category spelling test counts artifacts read instead of requiring more
than 200 categories.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
admin/data/artifact_categories.json lists the agreed categories. The
New Category Alert workflow reads a PR's changed artifact modules as
text, finds any artifact category not on the list, and keeps one
comment on the PR that names it and mentions the maintainer. It never
fails the PR, so an artifact that fits no category can still add one to
the list in the same PR.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni force-pushed the categories/consolidate branch from a48e825 to 0ea4504 Compare November 25, 2026 14:50
@abrignoni
abrignoni marked this pull request as ready for review November 25, 2026 14:50
Comment thread admin/scripts/check_new_categories.py Resolved
Comment thread admin/scripts/check_new_categories.py Resolved
Comment thread scripts/artifacts/chromeCacheVideos.py Resolved
The provenance file is written to the report's Browsers folder now, so
the notes say so. The new-category check reports a category set from a
name as unreadable, edits only its own comment, says when the PR adds
the category to the list, and never fails the job.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Comment thread admin/scripts/check_new_categories.py Resolved
@abrignoni
abrignoni merged commit 2384e24 into main Nov 25, 2026
29 checks passed
@abrignoni
abrignoni deleted the categories/consolidate branch November 25, 2026 15:19
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