Repository navigation
RepoBeagle v1.180.0
Persona severity lenses: --as consumer|agent-operator|ci|maintainer.
Highlights
--as <persona>re-grades findings along the rule table before the verdict: each lens is a set of rule-id globs with severity deltas on the ascendinginfo→criticalscale. Findings are never added or dropped; the profile still sets the verdict thresholds.repobeagle --list-personasprints each lens, what it cares about and its deltas. The human report printspersona: …andmeta.personarecords the lens.- Lenses: ci (workflow shell, install hooks, unpinned bases, dependency confusion up), agent-operator (hidden markdown instructions, invisible text, MCP/tool permissions up), consumer (install payloads/secrets up, CI/dev rules down, telemetry up), maintainer (telemetry/privacy noise down).
- Works on
scan/privacy,head,gateandbatch(--asis passed to the child scans). An explicit.repobeagle.ymlrule override wins over a persona delta; an unknown persona is a CLI error. Persona and profile are documented as separate dimensions (severity lens vs thresholds). - The derived rule-id registry used for config validation now covers the dynamically constructed ids (md-, submodule-, typosquat, sentence-style agent findings) — a test asserts all 103 rule ids fired by the fixtures are known.
Verification
- PR #92:
offline1 m 41 s (472 assertions incl.tests/test_personas.py),compare6 m 2 s,dedupe6 s,image-toolchain1 m 4 s,gate / gate9 s,upload×2 — green. - Acceptance from the released image (digest
sha256:567e8b0e21b783a5cc68e8defe60816bd0a4a8849553d3000289504023042249,cosign verifyVALID,stableidentical):
trap-gha --as ci -> RED {critical: 3, high: 2, medium: 3} | persona: ci (default: YELLOW)
trap-skill --as agent-operator -> RED {critical: 10, high: 3} (default: RED)
trap-telemetry --as maintainer -> YELLOW {medium: 3, low: 6, info: 7} (default: YELLOW)
report header: mode: local (no docker) profile: balanced persona: ci ...
Upgrade
./install.sh, or repobeagle update. Light mode: pipx install . after pulling this tag.
Notes
- Persona deltas can raise
infofindings tolow(e.g. ci on unpinned actions) — that is the lens's intent, listed by--list-personas. - For config overrides on sentence-style rule ids, the glob form (
md-*,gha-*) is the supported ergonomics.