L1 — Function

Status: Demonstrated (grade b) — PoC runs with machine evidence (Blueprints Examples 1–2; retro-tags L1.1b and L1.2b).

Updated

Level at a glance

Autonomous unit One method/function to a given signature/contract
What stays fixed Architecture, API, tests
Human gate Approve branch/merge

Canonical policy: Autonomy levels (Blueprints).

Sub-levels

Sub-level Autonomous unit Status Page
L1.1 Single function against provided tests Demonstrated (retro-tag L1.1b) L1.1
L1.2 Function + agent-authored unit tests Demonstrated (retro-tag L1.2b) L1.2
L1.3 Batch of N independent functions in one run Defined L1.3

Building blocks at this level

Building block Role at L1 Handbook link
Forge Dark Factory (PoC) Reference unattended loop: classify → route → plan → draft → apply → verify Bounded execution examples
forge-lcdl Patch units, verify, repair, proof Platform reference architecture §5
forge-workcells Optional local_llm_worker in worker ladder Forge micro-agent
blueprints Assay gate ceremony; forge.config.yaml core evidence Assay Gate
forgesdlc-kitchensink Harness rules, deterministic scaffolds Platform reference architecture §8

Platform ForgeRun / workcells are not required for the PoC path today; L1 is demonstrated in Dark Factory outside the Platform submodule tree.


Reference architecture flow

L1 function unattended loop

How a campaign-declared L1 item runs through Dark Factory to governed evidence and human merge approval.

  1. [Campaign item declares L1]Tags the work item as function-level bounded autonomy.
  2. Dark Factory PoCClassifies the item and routes it into the unattended PoC loop.
  3. forge-lcdlPlans patch units and runs verify-and-repair cycles.
  4. forge-workcellsOptional local_llm_worker in the worker ladder.
  5. apply + verifyApplies the patch and re-runs verification, typically one file.
  6. assay gate (forge.config)Checks tests_pass, acceptance_criteria_met, and risks_reviewed.
  7. dual-wiki traceWrites machine evidence and a human-readable report.
  8. [Human: approve branch/merge]The operator approves branch merge after reviewing evidence.

Gates and evidence

Core evidence from forge/forge.config.yaml:

  • tests_pass
  • acceptance_criteria_met
  • risks_reviewed

At L1, one patch unit and typically one changed file suffice. The Assay gate does not require multi-file proof (that is L2).

PoC evidence: poc-sandbox-offline (deterministic, 0 tokens) and L1-a-broken-link (lenses-production campaign) — see Bounded execution examples.


Implemented vs planned

Implemented Dark Factory loop; LCDL patch units; assay gate in assay_gate.py; worker ladder (local → cursor → deterministic → fake); dual-wiki trace
Not implemented Platform-native L1 enforcement on ForgeRun/workcells; unsupervised push/deploy
Planned Wire PoC patterns into governed Campaign workcells under Lenses ForgeRun