Riapplica la fase 5 di aKode (86e7c72e) sulla base ripulita:
- crate codex-* -> akode-*, codex-rs -> akode-rs, codex-cli -> akode-cli, binario e ausiliari akode;
- ~/.codex -> ~/.akode, CODEX_HOME -> AKODE_HOME, variabili CODEX_* -> AKODE_*, .codex/ -> .akode/ di progetto;
nessun fallback a ~/.codex o a CODEX_*;
- testi per l'utente "Codex" -> "aKode"; testi verso il modello e istruzioni di sistema invariati;
- snapshot insta rinominati (non ancora rigenerati).
I conflitti con la base ripulita sono stati risolti riapplicando la rinomina ai file senza le
funzioni di imeAI (script di mappa dei token per file).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
13 lines
673 B
Rust
13 lines
673 B
Rust
//! Lets Core turn-input submissions participate in a host's shutdown drain.
|
|
|
|
/// A host-provided gate checked before Core starts a turn-input submission.
|
|
///
|
|
/// Implementations return a permit for work admitted before shutdown and
|
|
/// Core retains it through submission. `None` skips the start without consuming
|
|
/// pending input. Steering an existing turn does not acquire a new permit.
|
|
/// Memory-only mailbox wakeups and parent-delegated subagent input bypass this
|
|
/// gate so delegated work can finish before exit. Automatic starts remain gated.
|
|
pub trait TurnStartAdmission: std::fmt::Debug + Send + Sync {
|
|
fn admit_turn_start(&self) -> Option<Box<dyn Send>>;
|
|
}
|