Handbook
Autonomy maturity (Studio, experimental)
Lenses Studio can assess each workspace project against the Forge autonomy maturity framework: what autonomy level and grade the repo has actually proven, a 0–100 score, and the cheapest next promotion. The canonical…
Updated
Enabling
The panel is off by default, behind two flags:
| Flag | Where | Effect |
|---|---|---|
LENSES_EXPERIMENTAL_AUTONOMY_MATURITY=1 |
Lenses server environment | Enables the three API endpoints (otherwise they return 404 disabled) |
VITE_EXPERIMENTAL_AUTONOMY_MATURITY=1 |
Studio build environment | Registers the routes and the Knowledge → govern sidebar entry |
Surfaces
/studio/autonomy-maturity— workspace table: one row per git project with its observed claim (e.g.L2.2b), score, and top recommendation, weakest first./studio/projects/:name/autonomy-maturity— one project in detail: hero score and claim, ladder position (L0–L4 band), score components with weights, gate signals, gap checklist ordered cheapest-promotion-first, and run-evidence summary.
What is measured
Signals are observed from the repo, never from Wizard session intent:
- Gate definition (weight 40) —
forge/forge.config.yamlwith the three assay keys, synced.cursor/rules, CI config, and a test suite. - Demonstrated evidence (30) — Dark Factory style machine records (
runs/**/machine/assay.json) with a declared level or sub-level and a green assay. - Repeatability (20) — ≥5 green runs at the observed level with escalation rate below 40%.
- Operational metrics (10) — escalation trend and review-sampling records (grade d territory).
A bare repo observes L0a with a full recommendation list; a repo with one green L2.2 run and full gates observes L2.2b.
API
| Endpoint | Payload |
|---|---|
GET /api/autonomy-maturity/enabled |
{ ok, enabled } |
GET /api/autonomy-maturity/overview |
{ ok, projects[], count } — weakest first |
GET /api/project/<name>/autonomy-maturity |
Full per-project report (claim, components, signals, recommendations) |
Project access follows the standard Lenses per-project RBAC; the overview only lists projects visible to the caller's scan.