Skip to main content

implementation-runtime-core

Implement the shared session runtime from process startup through context composition and the recursive model loop. Use when defining runtime ownership, tracing a turn across bootstrap, state, and query boundaries, or deciding whether a core behavior belongs to startup/settings, live state/context, or model orchestration.

Datos de origen

Repositorio
greenpau/agentx
Última actividad en el origen
23 de julio de 2026 a las 23:00
Idioma detectado de SKILL.md
inglés
Estrellas
1
Forks
0

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Explorador de archivos
3 archivos

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
implementation-runtime-core
description
Implement the shared session runtime from process startup through context composition and the recursive model loop. Use when defining runtime ownership, tracing a turn across bootstrap, state, and query boundaries, or deciding whether a core behavior belongs to startup/settings, live state/context, or model orchestration.
# Implementation Runtime Core ## Implement the shared engine Keep process bootstrap facts, mutable session state, durable conversation state, and background work as separate lifetimes. Build one semantic engine that all interactive, headless, SDK, bridge, and remote adapters can drive without redefining messages, turns, limits, tools, or terminal outcomes. Use the [architecture diagram](assets/architecture.drawio) to orient the core ownership and dependency flow. Preserve this dependency direction: ```text entrypoint and policy -> session/bootstrap state and registries -> normalized input and effective context -> recursive query/model loop -> capability and continuity boundaries -> semantic events consumed by presentation adapters ``` Do not let presentation state become authoritative conversation state. Do not let a transport-specific retry, permission response, or display event invent a different meaning for a shared operation. ## Specialized workflows - Use [implementation-startup-settings](../implementation-startup-settings/SKILL.md) to implement entrypoint selection, early initialization, trust, settings precedence, migrations, and managed policy. - Use [implementation-state-context](../implementation-state-context/SKILL.md) to implement bootstrap lifetimes, the observable application store, state reactions, working-directory identity, and effective prompt/context assembly. - Use [implementation-query-model](../implementation-query-model/SKILL.md) to implement input submission, the recursive query state machine, message normalization, model streaming, retries, continuation, limits, and terminal results. ## Core acceptance criteria - A session restored after interruption reaches the same semantic state regardless of presentation surface. - A UI-only progress update never enters model context or durable conversation history unless explicitly translated into a message. - A new surface consumes shared events and permission contracts instead of forking the conversation engine. - Cancellation, budget exhaustion, model failure, and successful completion each produce one explicit terminal outcome and leave recoverable evidence.
Ver en GitHub