Skip to content

Opportunities: work meik finds for you

meik can look at a product's repositories and history and propose work: known vulnerabilities, dependencies a major version behind, code that changes often and is hard to change, untested files, flaky checks, crashing workloads, missing translations, consumers a backend change will break, and more. Every proposal carries its evidence (the file and line, the advisory, the job, the metric) and why now. Nothing reaches your tracker until a person promotes it.

Find work

Find work is on the project page, a repository's page, the Opportunities page and the command palette (Ctrl/Cmd+K → "Find work…"). The wizard asks:

  1. Where: one repository, several, or a whole product (its repositories and, optionally, the services the org map connects them to).
  2. What: pick lenses, or describe it in your words, in English, Azerbaijani or Russian (for example "təhlükəsizlik və köhnəlmiş asılılıqlar", "what will break in the UI if we change the payments API"). meik shows how it read your words (which lenses, which repositories); correct it before going on.
  3. Details: the history window (default 180 days), a severity floor, areas to include or leave out, the budget.
  4. Estimate: how many repositories and files, which lenses use a model, the expected cost and duration. The run starts only when you confirm. A lens that cannot run here (no CI history, no runtime connector, no OSV database) says so instead of reporting "nothing found".

Runs are listed under Runs; a run's page shows progress per lens, the cost so far, and its noise report.

LensLooks forModel
SecurityKnown vulnerabilities (pinned OSV database), secrets in code and in history, risky patternsanalyst, optional
DependenciesMajor versions behind, abandoned or deprecated packages, licenses your policy denies—
Tech debtHot spots (complexity × churn), duplicated code, old TODOs, very large filesanalyst, optional
ArchitectureImport cycles, forbidden imports and patterns (from the repo profile)analyst, optional
Test gapsOften-changed files without tests, disabled tests, flaky or slow checks—
ReliabilityCrash loops, restarts, recurring error signatures (runtime connectors)—
PerformanceSlow checks and endpoints, code the analyst flagsanalyst
API contractUndocumented operations, missing API documents, breaking changes, consumers on old versions—
UI impactScreens that must show a new or changed field—
LocalizationMissing keys per language, placeholder mismatches, hard-coded strings—
AccessibilityImages without alt text, clicks without keyboard, unlabelled inputs—
DocsMissing README, undescribed operations, a stale repository profile—
Dead codeUnused exports, files nothing imports, unused dependencies—
CostRepositories whose agent runs cost far more than the rest, repeated environment failures—
Product ideasIdeas from usage, issues and your documents, each tied to its evidenceproduct scout

The lenses without a model cost nothing; the model-backed ones run within the budget you confirm.

The board

Opportunities lists the open proposals of the scope you choose, sorted by priority. Each row shows the lens, the severity, the effort, how many times meik has seen it, and the repository. Filter by text, lens, kind, repository, risk zone, state, score range, or "found in your system" / "ideas to consider"; the filters live in the address, so a filtered board can be bookmarked or shared.

A proposal's details show:

  • Evidence, each item linked: a file at its line (opens in the Code tab at the commit it was seen at), an advisory (osv.dev), a job, a metric.
  • Why now and the priority, explained factor by factor (severity, risk zone such as payments or personal data, age against the deadline for its severity, a fix available, consumers affected, effort). Weights lets you try other weights live and save them for the product.
  • Effort, with its basis: the median of similar finished work in meik, or a stated rule of thumb when there is too little history.
  • Open questions, for anything the evidence does not settle.

Suggested change

Where it can, a proposal comes with the change itself — meik never applies it; you (or the agent that takes the issue) decide:

  • From the evidence (free, exact): the command and manifest line that move a vulnerable or outdated package to its fixed version (per workspace package in a monorepo; an overrides / resolutions entry for an indirect one; Maven, Gradle, pip, Go, pub and cargo too), the replacement of a deprecated package, reading a leaked secret from the environment (and rotating it), the fixed tag of an accessibility problem, the missing translations as catalog entries with their base-language texts, a text moved into the catalog, the unused exports / files / dependencies to remove, an OpenAPI skeleton from the routes the code declares, a README with the repository's own commands, a test file skeleton in the repository's test runner and naming.
  • From the model (budgeted): for work that needs judgment — a hot spot to split, a clone to extract, a cycle to break, the code analyst's findings, a screen that must show a new field — up to three before → after changes. The model sees only the cited code (secrets redacted), and a change whose "before" is not exactly the file's text is thrown away. A run writes them for its five most important such proposals within its budget; Suggest code with the model on any proposal that cites code asks for them (one model call, usually a few cents).

A promoted issue carries the suggested change as code blocks. meik opportunities suggest <id> [--model] does the same from the command line.

Decide

  • Accept: you agree it is worth doing (nothing is created yet).
  • Reject with a reason: meik remembers. The same finding does not come back unless its evidence changes; when it does, the proposal reopens with a note saying what changed ("1 new file evidence: …").
  • Snooze: until a date, or until something changes (its evidence, its severity reaches a level, a measurement goes above a value).
  • Edit the title and description, merge duplicates, assign to a team or a sprint.
  • Select several rows to act on them together; meik shows exactly what will happen before you confirm.

Promote

Promote turns a proposal into real work:

  • A tracker issue in the product's tracker (you choose the tracker when there are several), labelled meik-proposal, lens:<lens> and priority:<n>, with the evidence and a link back. When the proposal names a sprint, the issue joins it. Start meik on it starts the work right away.
  • An item of a feature: an existing feature of the product, or Create feature from a suggested group.

meik checks your tracker before proposing: an open issue that already covers the same thing (the same advisory, the same file, a near-identical title) suppresses the proposal and links it instead.

Suggested features

Proposals that belong together (the same package across repositories, a backend change and the consumers it breaks) are offered as a suggested feature with an order (what must come first), an estimate and a forecast. Create feature makes it a feature with items and dependencies in one step.

Analyse impact: "what changes in the UI if we change the backend"

On a repository (or meik impact), Analyse impact takes an endpoint and field ("GET /transfers/{id}, field rateSource"), a branch, or two versions of the API document. meik walks the org map to the consumers, finds the call sites and the screens that show the data, and proposes one item per consumer and per screen ("must render the field"). The reverse works too: pick a screen of a UI repository and the fields it needs; meik names the backend operations to change.

Scheduled scans

Scheduled scans (per product or team, by admins and maintainers): weekly or monthly, chosen lenses, a budget per run. Each scan posts a digest to the team channel and the inbox: how many proposals are new and how many critical, the top ones, how many were updated and how many came back after a rejection because their evidence changed, and the cost. A new critical security finding is announced right away.

Volume and noise

To keep the board readable, a run keeps at most 25 proposals per lens, 40 per repository and 100 in total; each lens first gets a fair share. Findings below a lens's evidence bar, below the severity floor, in excluded areas, already in the tracker, rejected or snoozed are not lost: the run's noise report lists them by reason with examples, so you can lower the bar deliberately.

Permissions

PermissionWhoAllows
opportunities.readevery project rolethe board and runs
opportunities.runadmin, maintainer, developer, POstarting runs (audited with the estimate)
opportunities.decideadmin, maintainer, developer, POaccept, reject, snooze, edit, merge, group
opportunities.promoteadmin, maintainer, developer, POcreating tracker issues, feature items and sprint items
opportunities.scheduleadmin, maintainerscheduled scans

Command line

meik opportunities lenses                                    # the lenses and what each needs
meik opportunities run --project 3 --product --text "security and outdated dependencies" --yes
meik opportunities list --scope project:3 --lens security
meik opportunities show 128
meik opportunities decide 128 reject --reason "accepted risk until Q1"
meik opportunities promote 128 --start
meik impact --repo 12 --endpoint "GET /transfers/{id}" --field rateSource

# Without a server, on local checkouts (nothing stored):
meik opportunities db fetch --root ~/.meik-osv               # the OSV snapshot (or `db import` for air-gapped sites)
meik opportunities scan api=../payments-api web=../web-portal --lens security,dependencies --osv-root ~/.meik-osv

Where the data comes from

  • Code is read from a read-only copy of the repository's default branch; files you stored as secret repo files are never read.
  • Vulnerabilities come from a pinned copy of the OSV database the orchestrator refreshes (or an administrator imports for air-gapped installations); package metadata from the configured registries.
  • Model-backed lenses see only bounded, redacted excerpts, and every finding they make must quote the lines it is about; findings that do not are dropped and counted in the noise report.