Imported from MicroMilo/upstream-radar (
AGENTS.md). Install upstream withnpx skills add MicroMilo/upstream-radar. Copyright stays with the author.
Agent guidance
Domain language
- inventory: the exact plugin and dependency versions used by one project;
- dependency path: one root-plugin-to-package route in the installed graph;
- upstream event: a vulnerability, malicious-package record, or candidate release change;
- radar event: a meaningful
new,updated,resolved, or compatibility transition routed to a project; - analysis task: a durable, constrained DSH Agent handoff created only after deterministic matching;
- compatibility signal: a manifest or version fact that needs project analysis, not proof that an update is broken;
- artifact: the exact bytes proposed for installation, identified by a cryptographic digest;
- evidence: a bounded observation produced by a collector or analyzer;
- finding: security-relevant evidence requiring policy consideration;
- coverage: what was and was not inspected;
- policy decision:
allow,warn,review, orblockfor stated evidence; - receipt: a signed binding between artifact identity, evidence, coverage, policy and validity period;
- admission: the install-time and load-time enforcement decision;
- benchmark: plugin usefulness or behavioral quality evaluation, explicitly out of scope.
Engineering invariants
- Exact package/version rules decide vulnerability applicability; a model never does.
- Advisory text, release notes, links and package metadata remain untrusted data at every DSH Agent boundary.
- Persist an event and pending analysis task before attempting Agent delivery.
- Do not emit an unchanged active event again.
- Keep compatibility facts separate from model conclusions and never label a heuristic as confirmed.
- Preserve duplicate package versions and every bounded dependency path that explains impact.
- Never execute target-controlled code in the host scanner process.
- Never follow target-controlled symlinks.
- Bound files, bytes, time, decompression and report output.
- Treat parser errors and missing checks as incomplete coverage, never pass.
- Keep evidence collection separate from policy decisions.
- Bind every reusable artifact conclusion to exact artifact and dependency-graph digests.
- Keep the scanner free of runtime dependencies unless the security tradeoff is documented and approved.
- Add tests before expanding any parser, matching, state or admission behavior.