Counterpart to ElcanoTek/lens#13 — Create a Lens skill to kick off jobs or get files from fleet.
Fleet orchestrates operational tasks and workflows and currently has no integration into Lens. The Fleet-side skill or runner will need a scoped way to:
- Kick off a Lens job (trigger a classification or analysis run via a scoped API key, not an admin key).
- Get files out of Lens (fetch classified outputs, reports, or artifact files) so Fleet can ingest results or route them downstream.
Lens-side work
- Document (or add, if missing) the minimal API surface Fleet should call: trigger classification job, poll/read job status, download output files.
- Support a scoped runner key for Fleet (e.g.,
trigger_job / read_artifacts) — do not hand it an admin key.
- Ensure file and artifact retrieval is fully supported for non-interactive programmatic callers (REST API, not the Lens dashboard).
- Fail loudly on invalid credentials, Lens service downtime, or missing outputs rather than hanging or timing out silently.
Out of scope here
The Fleet-side workflow logic, task orchestration runner, and trigger definitions live in the Fleet repository. This issue covers only the Lens seam that Fleet depends on.
Acceptance
Refs lens#13.
Counterpart to ElcanoTek/lens#13 — Create a Lens skill to kick off jobs or get files from fleet.
Fleet orchestrates operational tasks and workflows and currently has no integration into Lens. The Fleet-side skill or runner will need a scoped way to:
Lens-side work
trigger_job/read_artifacts) — do not hand it an admin key.Out of scope here
The Fleet-side workflow logic, task orchestration runner, and trigger definitions live in the Fleet repository. This issue covers only the Lens seam that Fleet depends on.
Acceptance
Refs lens#13.