long-running-agent
/long-running-agent
Organizuje długie, wieloetapowe zadania agenta: przewodnik działań, punkty kontrolne z dowodami, odzyskiwanie kontekstu i ograniczony przegląd końcowy.
- Autor
- inclusionai ↗
- Repozytorium
- aworld ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 14.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 3
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 14.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Organizuje długie, wieloetapowe zadania agenta: przewodnik działań, punkty kontrolne z dowodami, odzyskiwanie kontekstu i ograniczony przegląd końcowy.
Oryginalny opis (EN)
Organize extended, multi-stage AWorld tasks with a rolling charter, evidence-backed checkpoints, context recovery, and a bounded final review. Use when a task is expected to require sustained tool use, several dependent milestones, or repeated replanning; do not use for short, direct tasks.
Jak działa
- Bypass short work
- Make the execution decision explicitly
- Establish a rolling charter
- Work in bounded steps
- Preserve evidence discipline
- Recover before continuing
- Review before declaring completion
- Fail open
Podgląd SKILL.md
--- name: long-running-agent description: Organize extended, multi-stage AWorld tasks with a rolling charter, evidence-backed checkpoints, context recovery, and a bounded final review. Use when a task is expected to require sustained tool use, several dependent milestones, or repeated replanning; do not use for short, direct tasks. default_enabled: true execution_assets: - references/execution-semantics.md - references/checkpoints-and-review.md --- # Long-Running Agent Use this skill to keep a long task coherent without turning its initial plan into an inflexible script. The AWorld framework inside the wheel owns protocol state, review scheduling, and repair policy while consuming the caller-provided task deadline and capabilities. This skill guides how to plan and reason when those capabilities are enabled; the outer harness does not select those task strategies. Read [references/execution-semantics.md](./references/execution-semantics.md) when creating or revising the charter and rolling plan. Read [references/checkpoints-and-review.md](./references/checkpoints-and-review.md) when responding to a checkpoint, recovering context, or reviewing a candidate final result. ## Bypass short work For a direct task that can be completed and checked in a few actions, execute it normally. Do not manufacture a charter, milestones, or checkpoints merely because this skill is enabled. Adopt the long-running workflow only when the AWorld execution engine requests a checkpoint or final review, or when sustained dependent work actually needs a recoverable rolling plan. ## Make the execution decision explicitly Before the first ordinary Tool action, AWorld may expose only the internal `aworld__execution_decision` Tool. Use it once to record both the bounded `__aworld_execution_profile` and the current `__aworld_plan_update` checkpoint. This action changes no user state: it makes your decision recoverable, then AWorld restores the ordinary Tool surface. Choose `horizon=long` only for sustained dependent work, such as multiple milestones or an expected sequence of at least several Tool actions. Choose `short` for direct work and `unknown` when the available evidence does not yet support either classification. Report a bounded estimate through `confidence`, `milestone_count`, `expected_tool_actions`, and `verification_required`, then state the next bounded action in `__aworld_plan_update`. This is a planning claim, never completion evidence. Tool counts and stagnation do not silently override an explicit horizon; a later model-owned checkpoint may revise it. The deadline reserve is a mechanical stop boundary, not a long-task classification. If a malformed decision is re-requested, correct it rather than repeating the same payload. AWorld bounds this control exchange and may resume normal Tools with an unknown/unacknowledged classification; do not treat that fail-open as evidence that the task is short or complete. ## Establish a rolling charter Restate the requested outcome as a compact working charter: - the objective and explicit constraints; - the current milestone and its intended outcome; - open assumptions or uncertainties; - observable evidence that would support completion. Treat the charter and plan as working claims, not established facts. Preserve the user's scope and revise the plan when observations disprove an assumption. Do not spend the opening of the task designing every later step. ## Work in bounded steps Maintain only the next one to three useful actions. For each action, know what new observation would justify continuing, revising the plan, or abandoning the approach. Prefer actions that reduce uncertainty or produce inspectable progress over broad exploration. When the request names a concrete deliverable or observable state change, do not reserve all writes for the end of the investigation. Once the core format and safety constraints are known, create the smallest inspectable candidate and persist useful calculations or scripts. Refine that candidate as later evidence arrives. A draft is not completion evidence, but it prevents repeated analysis from consuming the task without producing anything that can be checked. At a meaningful milestone boundary or a framework-requested checkpoint: 1. Compare the expected outcome with actual tool observations. 2. Separate confirmed observations from interpretations and unresolved claims. 3. Retire disproved assumptions and record approaches that should not be repeated without new evidence. 4. Update the current milestone and choose the next bounded action. When stagnation or another material boundary causes AWorld to expose `aworld__execution_decision` again, record a bounded `__aworld_plan_update`. Set `decision` to `continue` when the current approach remains sound, or `replan` when evidence justifies changing it. Record the current horizon, milestone, next action, verification plan, completion assessment, assumptions, retired approaches, evidence references, and selected candidate id. Reading checkpoint guidance alone does not count as replanning; the structured update records your actual decision before ordinary Tools resume. At every execution decision, including the initial decision and every replan, choose one typed `delivery_intent`: `continue_exploration`, `produce_candidate`, `validate_candidate`, `submit_current`, or `submit_uncertain`. Use `submit_current` when the best current result is ready to return; use `submit_uncertain` only when a material unresolved gap must be disclosed. Give an evidence-linked `delivery_rationale`. Continued exploration remains your decision when one more discriminating observation is genuinely needed; say what that observation is and why it can change the decision. AWorld records whether the next observed Tool outcome aligns with the declared intent. It does not choose a command, equate unrelated workspace churn with a candidate, or decide task correctness. Delivery-debt and deadline-reserve checkpoints make this choice especially urgent, but do not change the schema or choose the intent for you. For `continue_exploration`, `produce_candidate`, or `validate_candidate`, set `next_action_tool` to the exact available Tool function name and set `next_action_arguments` to a JSON-encoded object string containing the exact arguments for that next call. Neither value may be null. For `submit_current` or `submit_uncertain`, both values must be null; either choice enters Tool-free finalization. Do not substitute a prose command, a native object, partial arguments, or placeholder JSON. AWorld removes its own control fields before execution, converts the declared Tool plus arguments to a SHA-256 signature, and persists only that fingerprint; the raw declared arguments are not retained in execution-protocol state or telemetry. Before the later Tool-free finalization reserve, AWorld may request this choice once while ordinary Tools remain available and report whether a public candidate is observed. Use that remaining window deliberately, but do not manufacture a candidate or unsafe mutation merely to satisfy the checkpoint. If the declared action cannot be carried out, revise the plan or submit the uncertainty accurately. Do not create a checkpoint after every tool call. Let AWorld record low-level events; keep the semantic checkpoint small enough to survive context pressure. ## Preserve evidence discipline Only tool observations establish external state. Plans, summaries, reviewer opinions, and your own statements remain claims until supported by an observation. Before an action can mutate, consume, delete, or replace the only copy of important input or evidence, prefer a read-only inspection or create a recoverable checkpoint. Treat commands and APIs by their possible effects, not their names: an operation described as a read may still trigger implicit state changes. If recovery is unavailable, make the risk explicit and choose the smallest action that can resolve the current uncertainty. After a state-changing action, prefer fresh evidence before relying on an older result. A successful command status proves that command completed; it does not by itself prove the broader objective. When evidence is partial, state exactly what it supports instead of promoting it to full completion. Treat a test written from the same assumptions as the implementation as a self-authored oracle, not an independent check. For ambiguous semantics, compare at least one plausible alternative interpretation or construct a counterexample that would distinguish them. For accuracy, performance, size, or other threshold requirements, seek a repeatable safety margin rather than stopping at a single measurement barely above the boundary. Re-run material checks in a clean process or environment when shared state could make a test circular. Do not search AWorld control-state directories, external scoring artifacts, or runtime diagnostic logs for an expected answer. They are not public task evidence. Inspect them only when the user explicitly asks to diagnose the framework itself; otherwise spend the task budget on the public workspace and requirements. When a Tool schema exposes `__aworld_public_probe`, you may attach a model-designed smoke, regression, invariant, or counterexample probe to the real Tool call that executes it. State the hypothesis and highest-risk counterexample. AWorld binds the separately observed result to the public request and current candidate in the evidence ledger. The receipt is local self-check evidence only; it is never hidden-grader evidence, canonical acceptance, or benchmark reward. Rerun a probe after later candidate or artifact changes make its receipt stale. ## Recover before continuing After context loss, compaction, interruption, or handoff, first recover the charter, current milestone, latest observations, retired approaches, unresolved assumptions, and any review feedback supplied by AWorld. Resume from that state rather than reconstructing the task from memory or repeating prior work. When the runtime supplies a structured previous-attempt receipt, use its acceptance disposition and unsatisfied evidence codes to select the next bounded action. Treat an iteration or attempt limit only as a resource halt, never as proof that the objective succeeded. Do not repeat a completion claim when the receipt says verification failed or evidence is missing; produce new evidence or report the unresolved gap accurately. ## Review before declaring completion When preparing a candidate final result: 1. Reconcile every public requirement in the charter with current evidence. 2. Check whether later changes made earlier evidence stale. 3. Identify direct contradictions and material evidence gaps. 4. When `AWORLD_ADVISORY_VERIFIER.review_candidate` is exposed and a fresh check could change the completion decision, invoke it with the bounded candidate claim, public deliverable locations, and evidence summary. AWorld binds the authoritative caller task itself; do not restate or narrow it. Treat the fresh-context, read-only report as advice, not external scoring evidence or completion authority. If the capability is absent, an explicitly selected `verifier` collaborator may serve the same advisory role. 5. When comparison or implementation can be safely isolated, use the fresh-context `evaluator` or `developer` collaborator only if its result can materially change the next decision. Give it a bounded public subtask and integrate its answer; availability never requires delegation. 6. If a candidate-management Workbench is available and the task has multiple valuable artifact candidates, use it to snapshot, validate, compare, and publish the selected candidate. Do not manufacture a Workbench contract for direct work. Its receipts remain agent self-check evidence. 7. If a concrete gap can be resolved within the remaining budget, resume the normal bounded-step workflow, use the Tools needed to finish it, and reassess before producing a new candidate final result. 8. Otherwise return the best current result and describe material uncertainty accurately. Keep the review itself bounded. A model decision that work is incomplete may resume normal execution under the original task deadline and step budget; it does not grant a new budget or permission for open-ended exploration. Do not manufacture evidence to make the result appear complete. ## Fail open An inconclusive review, unavailable reviewer, protocol error, or exhausted review budget does not erase useful work and does not justify converting the task into a new failure. Preserve the best current result, report known limits, and let the caller apply its own acceptance criteria.
Pliki w paczce (3)
- SKILL.md 13 KB
- references/checkpoints-and-review.md 5 KB
- references/execution-semantics.md 2 KB
Wersje
W bazie nie ma innych skilli o nazwie long-running-agent.
Migawka bazy z 13.11.2026 · wersja paczki 9dedd4f3e132 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90agent-session-management
Zarządza długimi sesjami agenta przez punkty kontrolne, resety kontekstu i wyraźne granice zadań, aby jakość nie spadała. - 100context-manager
Obsługuje długotrwałe zadania agenta: budżetowanie kontekstu, punkty kontrolne, kompaktowanie, wyszukiwanie i routing do modeli według możliwości. - 95self_evolve
Ewoluuje skille w środowisku AWorld: tworzy propozycje na podstawie trajektorii i sprawdza wyniki optymalizacji. - 100agent-design
Pomaga budować agenta LLM używającego narzędzi w wielu krokach: projekt narzędzi, pętla agenta, odzyskiwanie po błędach, zakończenie, punkty kontrolne człowieka i ocena, kiedy agent jest złą architekturą. - 90titen-memory
Odczytuje ograniczony kontekst z pamięci projektu Titen przez MCP, zapisuje potwierdzone sygnały i koordynuje punkty kontrolne lub przekazania. - 100short-context-agent
Utrzymuje długie zadania agenta w krótkim kontekście: zwięzłe notatki przekazania, kompakcję rozmowy i czytanie dużych plików fragmentami.