# Przekazanie pracy między sesjami

EN: **Cross-session handoff for agents** · id `sessionhandoff` · aliases: session handoff, initializer agent, feature list, przekazanie sesji

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Aplikacje LLM i agenci](https://aiatlasgraph.com/t/applications.md) › [Agenci i orkiestracja](https://aiatlasgraph.com/t/agentsnode.md) › [Uprząż agenta](https://aiatlasgraph.com/t/agentharness.md) › Przekazanie pracy między sesjami

## Description

- PL: Przekazanie stanu między oknami kontekstu przez dziennik, listę cech i historię zmian, nie przez samą kompakcję.
- EN: Passing state between context windows through a log, a feature list and change history, not through compaction alone.

## In one sentence

- PL: Zapis postępu i listy zadań, dzięki któremu nowa sesja podejmuje pracę tam, gdzie poprzednia skończyła.
- EN: A progress note and task list so a new session picks up the work where the previous one stopped.

## Problem it solves

- PL: Po zapełnieniu rozmowy asystent zaczyna od zera, ogłasza koniec albo psuje niedokończoną pracę.
- EN: After the conversation fills up, the assistant starts over, declares the job done or breaks unfinished work.

## What it does

- PL: Jak zmiana warty: zostawia dziennik, listę otwartych punktów i czysty stan, a następna sesja najpierw to czyta.
- EN: Like a shift change: it leaves a log, a list of open items and a clean state, and the next session reads that first.

## Everyday example

- PL: Wieczorem asystent zapisuje, co już działa, i zostawia listę niedokończonych punktów. Rano nowa sesja czyta ten plik zamiast zgadywać.
- EN: In the evening the assistant records what already works and leaves a list of unfinished items. In the morning a new session reads that file instead of guessing.

## This concerns you if you…

- PL: zadanie nie mieści się w jednej rozmowie
- PL: asystent ogłasza koniec, choć część pracy jest niedokończona
- EN: the task does not fit in one conversation
- EN: the assistant declares victory while part of the work is unfinished

## Keywords

long-running agents · initializer agent · feature list · progress file · context reset · git history · incremental progress

## How it works

- PL: Pierwsza sesja stawia środowisko, dziennik postępu i listę cech ze statusem niewykonania. Każda kolejna zaczyna od odczytu dziennika i historii zmian, robi jeden krok i zostawia sprawdzony stan. Sama kompakcja rozmowy nie wystarcza, bo nowa sesja nie pamięta poprzedniej.
- EN: The first session sets up the environment, a progress log and a feature list marked not done. Each later session starts by reading the log and change history, takes one step and leaves a checked state. Compaction alone is not enough, because a new session does not remember the previous one.

## Limits

- PL: Zły dziennik utrwala fałszywy obraz postępu. Lista cech w swobodnym tekście bywa nadpisywana; sztywny zapis zmniejsza to ryzyko, ale go nie usuwa. Technika wymaga narzędzi do sprawdzenia, czy krok naprawdę działa.
- EN: A bad log locks in a false picture of progress. A feature list in free text gets overwritten; a rigid record reduces that risk but does not remove it. The technique needs tools to check that a step really works.

## Key terms

- PL: **dziennik postępu**: Plik z tym, co poprzednia sesja zrobiła i co zostało.
- PL: **lista cech**: Spis punktów pracy ze statusem wykonano albo nie.
- PL: **sesja startowa**: Pierwsze uruchomienie, które zostawia środowisko i listę zadań.
- EN: **progress log**: A file saying what the previous session did and what remains.
- EN: **feature list**: A list of work items marked done or not done.
- EN: **initializer session**: The first run, which leaves the environment and the task list.

## Know first

- [Zarządzanie oknem kontekstu (Context window management: placement, compaction and context rot)](https://aiatlasgraph.com/t/contextmanagement.md)
- [Pamięć i stan (Memory and state)](https://aiatlasgraph.com/t/memory.md)

## Related topics

Untyped, symmetric "see also" links.

- [Zarządzanie oknem kontekstu (Context window management: placement, compaction and context rot)](https://aiatlasgraph.com/t/contextmanagement.md)

## Sources

- [Effective harnesses for long-running agents](<https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents>) `anthropic-long-harness-2025` · by Anthropic · sponsored

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/sessionhandoff · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
