# Start a Lemon Goal Session
Generated: 2026-11-11T10:31:40.800Z
Source build: local
Canonical docs: https://teammately.ai/docs
---
id: improve.start-session
title: Start a Lemon Goal Session
summary: Choose a saved Harness, numerical criteria, permitted changes, and execution settings, then start goal-driven work.
kind: task
product_area: improve
status: stable
updated: 2026-10-30
canonical: /docs/improve/start-improvement-session
---
# Start a Lemon Goal Session
Start a Session when you want Teammately to improve a saved Harness toward an explicit measured outcome.
## Prerequisites
- A selected Benchmark Version and saved starting Harness.
- Permission to start work in that scope.
- Measurable criteria and a clear boundary for permitted changes.
- An available execution machine and model choice from the supplied catalog.
## Before and after
| Before | After |
| --- | --- |
| A saved candidate and intended change | An accepted Goal with exact criteria |
| Available starting measurements | Recorded starting context, with missing values kept unmeasured |
| Free-form instructions | Original instructions attached to the new Session |
| Candidate work has not started | The Goal and Session are created together |
## Steps
1. Open **Harness improvement → Lemon Goal**.
2. Choose the saved Harness Version to improve.
3. Add numerical criteria and check their supported conditions, units and target values.
4. Select the permitted improvement direction and write any additional instructions.
5. Review available starting measurements. Missing initial results do not require inventing a baseline.
6. Choose the machine, execution count, candidate settings and available model option.
7. Review the selected scope and start the Session.
8. Follow the conversation. Answer an explicit question when one appears, and inspect Goal, Results, Evolution and Harnesses as work progresses.
The agent chooses useful actions within the accepted scope. Selecting a direction does not prescribe a fixed sequence of semantic steps.
## Object and state changes
Starting records the Goal and Session atomically. Subsequent work can produce candidate Harness Versions, evaluations, findings and usage records. Accepted inputs remain attached to that work rather than being rewritten by later project settings.
## Success criteria
- Criteria refer to the intended objects and preserve their actual units.
- The saved starting Version and original instructions are identifiable.
- Candidate conclusions refer to actual recorded measurements.
- Completion is interpreted from the reported outcome, not status alone.
## Common failure modes
- Selecting a different saved Version than intended.
- Mistaking unmeasured values for zero.
- Using a rounded display as the exact target formula.
- Treating Session completion as proof that every criterion was achieved.
- Using candidate work to hide a mistaken Case or Rubric.
## Related reference pages
{% related-card-grid title="Related reference pages" %}
- [Lemon Goals](/docs/improve/goals)
- [Candidates and Results](/docs/improve/candidates-and-frontier)
- [Session Conversation and History](/docs/improve/chronology-and-trajectories)
- [Evaluation Results](/docs/benchmark-evaluations/results)
{% /related-card-grid %}
## Related troubleshooting pages
{% related-card-grid title="Related troubleshooting pages" %}
- [Benchmark run troubleshooting](/docs/troubleshooting/benchmark-runs)
- [Benchmark Results Changed Unexpectedly](/docs/troubleshooting/benchmark-results-changed-unexpectedly)
{% /related-card-grid %}
---
id: improve.goal-contracts
title: Lemon Goals
summary: Define measurable candidate targets and constraints while preserving exact units, starting measurements, and original instructions.
kind: reference
product_area: improve
status: stable
updated: 2026-10-30
canonical: /docs/improve/goals
---
# Lemon Goals
## Definition
A Lemon Goal states the measured result a saved Harness should reach and the directions permitted to get there. Its accepted target identities, conditions, units and original instructions explain later candidate work.
## Fields, states, or lifecycle rules
- A criterion refers to an exact benchmark metric, Policy, Rubric or Case scope.
- Conditions can express absolute thresholds, increases, decreases or preservation where supported by that metric.
- Resource criteria keep their actual units, such as latency, tokens or cost.
- Starting measurements are recorded when available; an absent measurement is shown as unmeasured.
- The Goal and its Session are created together.
- Original accepted instructions and earlier results remain attributable.
## Define numerical criteria
Choose the criterion and a supported condition. Read the unit before entering the target: a score percentage, a count and a latency value have different meanings.
An absolute target states a threshold. A relative target states a change from the relevant starting measurement. Preserve the exact relationship rather than substituting a rounded display value. Percentage reduction from a measured zero cannot be interpreted as a positive reduction.
Choose constraints and an improvement direction that match the authorized scope. The available direction options can restrict work to prompts, model choice, a model family or configuration. They do not select a fixed implementation strategy for the agent.
## Starting point
Select the saved Harness Version whose behavior should change. Inspect existing comparable measurements when present. An initial evaluation is not a universal creation prerequisite; the current target and admission rules determine what remains to be measured.
Missing data does not become a zero score, inferred baseline or invented success claim. The Session keeps starting evaluation and candidate evaluation distinct.
## Traceability
Users edit or submit the current Goal through its supported controls. Accepted settings and instructions are captured automatically for interpretation and replay. Users do not need to name, publish or manage a separate prompt/configuration version.
Read Goal, Results and Evolution together when deciding whether a candidate satisfied the requested outcome. A completed Session and an achieved Goal are different statements.
## Related task pages
{% related-card-grid title="Related task pages" %}
- [Start a Lemon Goal Session](/docs/improve/start-improvement-session)
- [Candidates and Results](/docs/improve/candidates-and-frontier)
- [Run Details and Metadata](/docs/benchmark-evaluations/run-details)
{% /related-card-grid %}
---
id: improve.candidates-frontier
title: Candidates and Results
summary: Interpret exact candidate Harness Versions, comparable evaluations, constraints, and retained results in a Lemon Goal Session.
kind: reference
product_area: improve
status: stable
updated: 2026-10-30
canonical: /docs/improve/candidates-and-frontier
---
# Candidates and Results
## Definition
A candidate is an identifiable Harness change examined during a Lemon Goal Session. Its source, ancestry, accepted Goal and actual evaluations explain what was attempted and what the result supports.
## Fields, states, or lifecycle rules
- An evaluated candidate identifies an exact saved Harness Version.
- Results retain the Benchmark Version and measurement population.
- Starting evaluation and candidate evaluation have different roles.
- A missing, failed or incomparable evaluation does not establish improvement.
- Retained candidates remain distinguishable from every explored draft or branch.
## Read Results
Open the Session's **Results** panel to inspect candidate outcomes and comparison context. Its Evaluations view links the recorded executions. Check completeness and criteria before interpreting a lead.
A candidate can improve one target while violating another constraint. Keep that tradeoff visible. A high overall score cannot replace a missing judgment on a protected criterion.
The retained result is not automatically the newest candidate. An unsuccessful direction can still explain why the agent tried another change, while an incomparable result cannot justify a numerical improvement claim.
## Read Evolution
Evolution connects progress and execution history. Strategies describe the approaches used in the Session. The chart remains available after work ends; Session completion does not erase the sequence that produced the result.
Use **Harnesses** to inspect the actual candidate artifacts rather than inferring code changes from narration. Saving or evaluating a candidate is distinct from deciding to use it in a future benchmark execution.
## Population and history
Compare against the same Benchmark Version and recorded conditions. Ordinary candidate scores use the reference Run selected before outcomes were known. Extra independent Runs retain their own history instead of silently contributing only their best Trials.
A focused observation can guide exploration without replacing the complete comparison required by the Goal. Read the reported conclusion and its measurements before deciding how to use the resulting candidate.
## Related task pages
{% related-card-grid title="Related task pages" %}
- [Lemon Goals](/docs/improve/goals)
- [Session Conversation and History](/docs/improve/chronology-and-trajectories)
- [Evaluation Results](/docs/benchmark-evaluations/results)
- [Harnesses](/docs/assets/harnesses)
{% /related-card-grid %}
---
id: improve.chronology-trajectories
title: Session Conversation and History
summary: Follow Lemon Goal messages, questions, progress, candidate history, and measured results.
kind: reference
product_area: improve
status: stable
updated: 2026-11-06
canonical: /docs/improve/chronology-and-trajectories
---
# Session Conversation and History
## Definition
The Session conversation presents the user's original instructions, the agent's messages, explicit questions and linked artifacts. History connects those messages to observable candidate work and evaluation results.
## Fields, states, or lifecycle rules
| Status | Meaning |
| --- | --- |
| Working | Agent work, child work, evaluation or ordinary background delivery is ongoing |
| Waiting for your answer | An explicit question requires a response |
| Completed | The agent concluded; read the actual reported outcome |
| Stopped | The Session's work was stopped |
| Something went wrong | An execution problem needs attention |
Ordinary background delay is not a request for the user to repair or advance the Session. A Completed status is not by itself a statement that the Goal was achieved.
## Session panels
- **Goal** shows criteria, measurements, the starting Harness and recorded original instructions.
- **Results** combines candidate results and comparison context with an Evaluations view.
- **Evolution** combines progress and execution history with Strategies.
- **Harnesses** shows the related candidate source artifacts.
- **Details** retains supporting records, subagents and token usage.
Open an artifact's owning panel rather than treating every mention as a new object. Read the exact measurement behind a conclusion, including any unavailable or incomplete result.
## Observable work
Narration can explain an action and link to its recorded result. It does not disclose hidden reasoning or certify private work outside the product. A source change, an evaluation request and a completed result remain different events.
History can span multiple pages. The first visible portion is not necessarily the complete Session. Preserve ordering and original instructions when interpreting a later correction or steering message.
## Stop and conclusion
Use the available stop control when further work should cease. Read confirmation of that request separately from the recorded results that already exist. Stopping preserves history and the Evolution chart.
External Agents is a different workflow: copying a task there does not create a hosted Session or let Teammately observe the coding agent's private conversation.
## Related task pages
{% related-card-grid title="Related task pages" %}
- [Start a Lemon Goal Session](/docs/improve/start-improvement-session)
- [Candidates and Results](/docs/improve/candidates-and-frontier)
- [Work with External Agents](/docs/improve/external-agents)
{% /related-card-grid %}
---
id: benchmark-evaluations.compare
title: Evaluation Results
summary: Inspect Case and rubric outcomes and compare exact managed or imported Runs within a Benchmark Version.
kind: task
product_area: benchmark_evaluations
status: stable
updated: 2026-11-06
canonical: /docs/benchmark-evaluations/results
---
# Evaluation Results
Results presents a matrix of selected Runs and the Cases or criteria they evaluated. Use one Run for inspection or several comparable Runs to locate gains, regressions and missing judgments.
## Prerequisites
- At least one Run for the intended Benchmark Version.
- Permission to inspect its Cases, responses and judgments.
- Comparable recorded conditions when interpreting differences.
## Steps
1. Open **Benchmark Evaluations → Results** and confirm the Benchmark Version.
2. Select the visible Runs. Managed and imported Runs can both be inspected and compared; an imported Run does not require a saved Harness Version for comparison. Confirm the external candidate identity and recorded conditions before interpreting a difference.
3. Choose Cases, Policies, Rubrics, Dimension ontology values, Topics, Topic Groups or Scenarios as the row grouping.
4. Read completeness before comparing scores. An empty or incomplete result is not a failed judgment.
5. Open a Case or rubric detail to inspect the response, captured trajectory where supplied, criterion, observed judgment and rationale. Check capture status before using recorded actions to explain a trajectory judgment.
6. For repeated Trials, inspect the selected aggregation rule and the individual Trial outcomes.
7. Route an actual candidate problem to Harness improvement, a standard problem to Correctness Governance, or an input-coverage problem to Coverage Design.
## Representative and historical Runs
Default candidate results use the Run selected before its outcomes were known. **Used for score** identifies that reference. Other executions remain in Run history and can be inspected without silently replacing the representative result.
Selecting matrix columns changes the analysis view. It does not activate a Harness, execute a candidate or declare a winner.
## Object and state changes
Filtering, row grouping and inspection are read-only. An authorized project manager can separately use **Correct judgment** on an exact rubric result. That operation records a correction and preserves the original AI judgment; refreshed aggregates come from the authoritative result snapshot.
## Success criteria
- Every compared column has an identified Run and Benchmark Version.
- Differences resolve to actual Cases and applicable criteria.
- Missing outcomes stay distinct from negative scores or failed gates.
- Manual corrections remain attributable.
## Common failure modes
- Treating an imported Run as an executable Harness.
- Combining later successful Trials into an earlier reference score.
- Reading a filtered population as the entire benchmark.
- Changing a rubric judgment when the real problem is an incorrect Case or standard.
## Related reference pages
{% related-card-grid title="Related reference pages" %}
- [Inspect Evaluation Results](/docs/benchmark-evaluations/inspect-results)
- [Evaluation Dashboard](/docs/benchmark-evaluations/dashboard)
- [Rubric Points and Benchmark Scores](/docs/correctness-governance/scoring)
{% /related-card-grid %}
## Related troubleshooting pages
{% related-card-grid title="Related troubleshooting pages" %}
- [Benchmark Results Changed Unexpectedly](/docs/troubleshooting/benchmark-results-changed-unexpectedly)
- [Overlapping Rubrics](/docs/troubleshooting/overlapping-rubrics)
{% /related-card-grid %}
---
id: troubleshooting.benchmark-runs
title: Benchmark run troubleshooting
summary: Diagnose a Run that cannot start, has no usable outputs, or produces results that cannot be compared safely.
kind: error
product_area: troubleshooting
status: stable
updated: 2026-11-06
canonical: /docs/troubleshooting/benchmark-runs
---
# Benchmark run troubleshooting
## Symptoms
- The evaluation surface has no Benchmark Version to run.
- Output import or mapping cannot identify a Case or output column.
- A Run is created but remains empty, incomplete, or failed.
- Results appear under the wrong candidate label or Harness Version.
- Two Runs show a score change but do not share a comparable snapshot boundary.
## Likely causes
- No immutable Snapshot exists for the intended evaluation set.
- Imported outputs are mapped to the wrong Case or column.
- The saved Harness Version or candidate metadata does not match the evaluated system.
- The Run is partial, failed, or being compared across different Benchmark Versions.
## Check the boundary before the failure
1. Confirm the URL and page identify the intended Project, Benchmark, and Benchmark Version.
2. Open the Version or Snapshot and verify it contains the expected Cases and evaluators. If it does not, repair coverage and create a new Snapshot; do not edit the historical Run.
3. For managed execution, confirm the saved Harness Version and recorded settings. For imported results, confirm that the external candidate context describes the system that produced the submitted responses.
4. If importing outputs, inspect the mapping preview. Match the Case identifier and candidate-output column deliberately; do not use a reference-output column as candidate behavior.
5. Open Run detail and inspect status, Case count, errors, metadata, and per-Case results before trusting aggregates.
## Fix
- **No runnable version:** finish Case selection and create a Snapshot first.
- **Missing imported outputs:** append only missing Cases to an uncompleted Trial using the exact manifest IDs. Correcting an accepted response or adding Cases after completion requires a new Trial in the external Run or a new Run. Preserve the original results.
- **Wrong Harness or metadata:** create a correctly configured Run. Do not relabel completed results to represent a different system.
- **Partial managed failure:** inspect and preserve the existing Run's recorded outcomes. For another independent execution under unchanged conditions, use **Run again**. **Run evaluation** reopens matching work, including failed work. Publish a new Harness Version when its code changes, or create a new Snapshot and Benchmark Version when Case content or criteria change.
- **Confusing comparison:** compare the Benchmark Version, Harness Version, candidate metadata, and evaluator boundary. Qualify or avoid the comparison when more than the intended variable changed.
## Prevention
Create a Snapshot before evaluation. For managed execution, save the exact Harness Version. For imported results, preserve external candidate context and preview the mapping on representative Cases. Before comparing, confirm that every difference between the two Runs is intentional and visible.
## Recovery check
Open the recovered Run and sample several Case results. Confirm the displayed input, candidate output, reference output where present, applicable Rubrics, and metadata all belong together. A completed status alone does not prove correct mapping.
{% example-demo title="Example: scores drop after output import" %}
A team imports a new candidate file and sees a sudden score collapse. Run detail shows that the column containing reference outputs was mapped as candidate output. The operator creates a new Run, maps the actual candidate column, preserves the mistaken Run as an identifiable failed attempt, and compares only the corrected Run with the prior candidate under the same Benchmark Version.
{% /example-demo %}
## Related task pages
{% related-card-grid title="Related workflows" %}
- [Run a Benchmark Evaluation](/docs/benchmark-evaluations/run-evaluation)
- [Import External Evaluation Outputs](/docs/benchmark-evaluations/output-mapping)
- [Inspect Evaluation Results](/docs/benchmark-evaluations/inspect-results)
- [Evaluation Results](/docs/benchmark-evaluations/results)
- [Run Details and Metadata](/docs/benchmark-evaluations/run-details)
{% /related-card-grid %}
## Related reference pages
{% related-card-grid title="Related reference" %}
- [Benchmarks and versions](/docs/concepts/benchmarks-and-versions)
- [Benchmark snapshots](/docs/coverage-engineering/benchmark-snapshots)
- [Outputs](/docs/object-model/outputs)
{% /related-card-grid %}
---
id: troubleshooting.benchmark-results-changed
title: Benchmark Results Changed Unexpectedly
summary: Diagnose result changes across target behavior, benchmark cases, standards, and versions.
kind: error
product_area: troubleshooting
status: stable
updated: 2026-11-06
canonical: /docs/troubleshooting/benchmark-results-changed-unexpectedly
---
# Benchmark Results Changed Unexpectedly
Use this when benchmark results change and the team is not sure whether the cause is model behavior or an artifact change.
## Symptom
A pass rate, policy-level result, rubric result, or case-level outcome changes between runs even though the expected candidate behavior did not obviously change.
## Likely causes
- Benchmark membership changed through case import, promotion, removal, or refresh.
- Policy, rubric, or applicability versions changed between runs.
- A different saved Harness Version, execution setting, or imported output-only Run was inspected.
- Run metadata or benchmark version selection differs from the previous run.
## Diagnostic checks
- Compare benchmark version, case count, policy versions, rubric versions, and applicability boundary.
- Inspect changed Cases and confirm whether each result came from a managed Run or imported output-only Run.
- Check run metadata for candidate, prompt, retrieval, or model differences.
- Open policy/rubric result changes and trace them to exact cases.
## Fix
- If artifacts changed, label the comparison as an artifact-boundary change rather than a pure behavior regression.
- If the candidate identity or settings changed, run the intended saved Harness Version with the intended settings.
- If the Benchmark boundary changed, create and name the appropriate Snapshot and Benchmark Version; do not rewrite the older Run.
- If the cause remains unclear, hold downstream action until the changed inputs, criteria, or results can be explained.
## Prevention
- Record benchmark, case, policy, rubric, and candidate versions for every run.
- Use comparison views before summarizing score movement.
- Treat mapping, coverage, and standard changes as review-context boundaries.
- Keep previous runs reproducible for audit.
## Related task pages
{% related-card-grid title="Related task pages" %}
- [Evaluation Results](/docs/benchmark-evaluations/results)
- [Inspect Evaluation Results](/docs/benchmark-evaluations/inspect-results)
- [Evaluation Execution Settings](/docs/benchmark-evaluations/execution-settings)
{% /related-card-grid %}
## Related reference pages
{% related-card-grid title="Related reference pages" %}
- [Versions, staleness, and resolution](/docs/object-model/versions-staleness-and-resolution)
- [Benchmark Evaluations](/docs/benchmark-evaluations)
- [Benchmark Versioning](/docs/governance/benchmark-versioning)
{% /related-card-grid %}