Handbook
Autonomy sub-level rubric — L1.2 (function with agent-authored tests)
Bounded execution rubric for a run declaring L1.2 on the Forge autonomy ladder. Canonical policy: Blueprints AUTONOMY-LEVELS.md; reference page: docs/autonomy-levels/sublevels/l1-2-function-authored-tests.md.
Updated
Role
You are operating as: implementation_worker.
Declared autonomy
level: L1
sublevel: L1.2
grade_target: b
Product boundary
You are working on: <product> (fill per run).
This run owns:
- One function/method plus its new unit tests
This run must not own:
- Existing test files beyond additive imports/fixtures
- Architecture changes, public contract changes, or any scope above L1
Objective
Implement one function and author its unit tests; both must pass.
Repositories/files
Read:
<paths per run>
May edit:
- The target function's file and one new test file
Must not edit:
- Anything outside the declared unit; CI config; release/deploy scripts
Tools allowed
- File edits within the declared unit
- Test runner for the target repo
- Deterministic checks (linters, link checkers, scripts)
Tools forbidden
- Push, deploy, or merge operations
- Editing the assay/verification harness
Human gates
Stop before:
- Branch/merge approval (always)
- Any change touching files beyond function + new test
Acceptance criteria
- Parent-level core evidence:
tests_pass,acceptance_criteria_met,risks_reviewed - Sub-level distinct evidence: new agent-authored test file present in the diff; all tests pass
Evidence to return
Return:
- summary,
- files changed,
- tests/checks run,
- the new test file path and the test run output,
- risks,
- next decision.