Marchio: allineamento fine della rinomina (A)

Le righe che differivano dalla rinomina di aKode solo per codex/akode (header e user agent
codex_cli_rs -> akode_cli_rs, nomi di file, testi di test) sono riportate come in aKode 0.9.2;
dove la mappa automatica aveva rinominato troppo (stringhe di protocollo, residenza) e'
ripristinato il testo originale.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-17 12:53:28 +01:00
parent 832a749d76
commit 203cd7a3f6
150 changed files with 456 additions and 560 deletions

View File

@@ -173,7 +173,7 @@ async fn assert_catalog_budget(evidence: BudgetEvidence) -> Result<()> {
}));
fixture
.test
.akode
.codex
.inject_response_items(history.clone())
.await?;
let history: Arc<dyn ConversationHistorySnapshot> = match evidence {
@@ -184,7 +184,7 @@ async fn assert_catalog_budget(evidence: BudgetEvidence) -> Result<()> {
compaction_model_hash: Some("budget-checkpoint".to_owned()),
review_context_revision: fixture
.test
.akode
.codex
.conversation_history_snapshot()
.await
.guardian_review_context_revision(),

View File

@@ -233,7 +233,7 @@ async fn delayed_preparation_does_not_block_newer_requests_and_capacity_is_bound
let sampler = Arc::new(LunaSampler::new(sampler_config(server.uri())));
fixture
.test
.akode
.codex
.thread_extension_data()
.insert(ConversationBackend::new(sampler));
let events = ["C", "B", "A", "D"].map(|label| {
@@ -245,7 +245,7 @@ async fn delayed_preparation_does_not_block_newer_requests_and_capacity_is_bound
let mock = responses::mount_sse_sequence(&server, events.to_vec()).await;
let backend = fixture
.test
.akode
.codex
.thread_extension_data()
.get::<ConversationBackend>()
.unwrap();
@@ -349,7 +349,7 @@ async fn stale_authorization_expiry_and_stopped_generations_reject_preparation()
let sampler = Arc::new(LunaSampler::new(config));
fixture
.test
.akode
.codex
.thread_extension_data()
.insert(ConversationBackend::new(sampler));
let thread_store = fixture.test.codex.thread_extension_data();
@@ -370,7 +370,7 @@ async fn stale_authorization_expiry_and_stopped_generations_reject_preparation()
request.pending_score.index = current_index;
fixture
.test
.akode
.codex
.inject_response_items(vec![user_instruction(
"Stop. Do not inspect any more files.",
)])
@@ -414,7 +414,7 @@ async fn prepared_reviews_recheck_expiry_authorization_and_stopped_generations()
let sampler = Arc::new(LunaSampler::new(config));
fixture
.test
.akode
.codex
.thread_extension_data()
.insert(ConversationBackend::new(sampler));
let thread_store = fixture.test.codex.thread_extension_data();
@@ -437,7 +437,7 @@ async fn prepared_reviews_recheck_expiry_authorization_and_stopped_generations()
let prepared = stale.prepare(request).await.unwrap();
fixture
.test
.akode
.codex
.inject_response_items(vec![user_instruction(
"Stop. Do not inspect any more files.",
)])
@@ -751,7 +751,7 @@ async fn concurrent_requests_retain_only_the_newest_completed_history() -> Resul
for (index, label) in [(1, "older"), (2, "newer")] {
fixture
.test
.akode
.codex
.inject_response_items(vec![ResponseItem::Message {
status: None,
encrypted_content: None,
@@ -940,7 +940,7 @@ async fn expiry_preserves_the_completed_checkpoint_and_transcript_cursor() -> Re
// advance that cursor or cause its evidence to disappear from the next delta.
fixture
.test
.akode
.codex
.inject_response_items(vec![serde_json::from_value(
responses::ev_function_call(
"observed-after-checkpoint",

View File

@@ -1382,7 +1382,7 @@ async fn contributor_fails_closed_when_model_configuration_is_invalid() -> Resul
});
fixture
.test
.akode
.codex
.thread_extension_data()
.insert_arc(parent_model.model);
@@ -1425,7 +1425,7 @@ async fn contributor_fails_closed_when_luna_classification_fails() -> Result<()>
.await;
fixture
.test
.akode
.codex
.thread_extension_data()
.get::<LunaSampler>()
.expect("Guardian v2 should initialize")
@@ -2341,7 +2341,7 @@ async fn contributor_samples_tool_calls_with_the_existing_luna_pool() -> Result<
test.codex.ensure_rollout_materialized().await;
assert!(
!test
.akode
.codex
.load_history(/*include_archived*/ false)
.await?
.items
@@ -2478,7 +2478,7 @@ async fn contributor_persists_nested_code_mode_action_with_score() -> Result<()>
let score = tokio::time::timeout(ASYNC_TEST_TIMEOUT, async {
loop {
if let Some(score) = test
.akode
.codex
.load_history(/*include_archived*/ false)
.await?
.items
@@ -2856,7 +2856,7 @@ async fn incompatible_compaction_blocks_cached_score_and_initial_cua_allowance()
let authorization = fixture.test.codex.guardian_authorization_version().await;
fixture
.test
.akode
.codex
.inject_response_items(vec![ResponseItem::Compaction {
id: Some(ResponseItemId::from_server(
"incompatible-checkpoint".to_owned(),
@@ -3496,7 +3496,7 @@ async fn assert_parent_compaction_reuse(parent_context_for_review: bool) -> Resu
)
.await?;
let review_context_revision = test
.akode
.codex
.conversation_history_snapshot()
.await
.guardian_review_context_revision();

View File

@@ -736,7 +736,7 @@ async fn run_executor_plugin_projection_scenarios() -> anyhow::Result<()> {
let test = builder.build(&server).await?;
if installed {
let selection = test
.akode
.codex
.environment_selections()
.await
.into_iter()

View File

@@ -515,7 +515,7 @@ async fn starting_a_selected_item_while_active_leaves_it_queued() -> anyhow::Res
.await?;
let active_turn = test
.akode
.codex
.start_or_steer_turn(TurnInputRequest::user_input(vec![UserInput::Text {
text: "active turn".to_string(),
text_elements: Vec::new(),