Rimossi i provider integrati OpenAI, Bedrock e GCP e ogni fallback a OpenAI (B)

Parte "sicurezza" della fase 3 di aKode (e39aae00), senza le funzioni di imeAI:

- via i provider integrati openai, amazon-bedrock, amazon-bedrock-runtime e gcp
  (crate model-provider: moduli amazon_bedrock, gcp, chatgpt_base_url; login Bedrock;
  onboarding Bedrock/GCP; richieste app-server di setup cloud);
- nessun URL predefinito verso api.openai.com / chatgpt.com: un provider senza
  base_url non viene mai contattato; senza model_provider configurato exec e TUI
  mostrano come scriverne uno in config.toml (NO_MODEL_PROVIDER_CONFIGURED_ERROR);
- via la skill openai-docs, la sample skill-installer (scaricava da github.com/openai/skills),
  request_plugin_install, AppsInstructions, URL predefiniti di realtime e updater;
- test di sicurezza adattati (provider "mock" al posto di quello integrato), non cancellati.

Restano fuori da questo commit (categoria F/D/E, non portate): chiave per provider nel
portachiavi, modelli da /models, unione dei messaggi di sistema, crate web-tools e
SearXNG, header @@ in apply_patch, modello ausiliario, tool function per apply_patch.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-17 12:31:29 +01:00
parent 22a79feba1
commit 2f8b6a3e16
481 changed files with 4319 additions and 25142 deletions

View File

@@ -1,6 +1,6 @@
---
source: core/tests/suite/scenarios.rs
assertion_line: 4352
assertion_line: 4349
expression: "context_snapshot::format_labeled_requests_snapshot(\"First and final requests show generic plugin guidance and the complete append-only history. All ten intermediate model, wording, fallback, availability and resume states are asserted in the test.\",\n&[(\"Initial bundled guidance\", &requests[0]),\n(\"Final retained history\", &requests[9])],\n&ContextSnapshotOptions::default().include_request_settings(),)"
---
Scenario: First and final requests show generic plugin guidance and the complete append-only history. All ten intermediate model, wording, fallback, availability and resume states are asserted in the test.

View File

@@ -1,6 +1,6 @@
---
source: core/tests/suite/scenarios.rs
assertion_line: 2431
assertion_line: 2430
expression: "context_snapshot::format_request_history_snapshot(scenario, &requests,\n&ContextSnapshotOptions::default().include_request_settings(),)"
---
Scenario: Catalog Code Mode instructions and wait parameter descriptions accompany a yielded cell through completion.

View File

@@ -61,9 +61,8 @@ Settings:
- `r1` = `<SKILLS_ROOT>`
- `r2` = `<SKILLS_ROOT>/.system`
### Available skills
- openai-docs: API first-timers, Codex/Work Q&A. If the user already has an OpenAI API integration, skip...upplied text or data. (file: r2/openai-docs/SKILL.md) [hash=49bd51d04976968c]
- skill-creator: Create or update a Codex skill with appropriately scoped instructions and any needed supporting resources. (file: r2/skill-creator/SKILL.md)
- skill-installer: Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo pat...g private repos). (file: r2/skill-installer/SKILL.md) [hash=4e5268af6fd1d1cf]
- skill-installer: Install aKode skills into $CODEX_HOME/skills from the default skills repository (the ...g private repos). (file: r2/skill-installer/SKILL.md) [hash=f6410540b4022853]
- app-store-screenshots: App Store and Google Play screenshot creation with exact platform specs. Covers...ore listing (file: r1/app-store-screenshots/SKILL.md) [hash=bf12813c90883863]
- assistant-ui: Overview and router for assistant-ui, the React library for building AI chat interfaces ...d by those siblings. (file: r1/assistant-ui/SKILL.md) [hash=28f6cc75921a4c0b]
- browser-testing: Run browser tests for web applications. (file: r0/browser-testing/SKILL.md)
@@ -219,9 +218,8 @@ Settings: same as window 1
- `r1` = `<SKILLS_ROOT>`
- `r2` = `<SKILLS_ROOT>/.system`
### Available skills
- openai-docs: API first-timers, Codex/Work Q&A. If the user already has an OpenAI API integration, skip...upplied text or data. (file: r2/openai-docs/SKILL.md) [hash=49bd51d04976968c]
- skill-creator: Create or update a Codex skill with appropriately scoped instructions and any needed supporting resources. (file: r2/skill-creator/SKILL.md)
- skill-installer: Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo pat...g private repos). (file: r2/skill-installer/SKILL.md) [hash=4e5268af6fd1d1cf]
- skill-installer: Install aKode skills into $CODEX_HOME/skills from the default skills repository (the ...g private repos). (file: r2/skill-installer/SKILL.md) [hash=f6410540b4022853]
- app-store-screenshots: App Store and Google Play screenshot creation with exact platform specs. Covers...ore listing (file: r1/app-store-screenshots/SKILL.md) [hash=bf12813c90883863]
- assistant-ui: Overview and router for assistant-ui, the React library for building AI chat interfaces ...d by those siblings. (file: r1/assistant-ui/SKILL.md) [hash=28f6cc75921a4c0b]
- code-review: Review code changes for correctness. (file: r0/code-review/SKILL.md)
@@ -364,12 +362,12 @@ Settings: same as window 1
- `r1` = `<SKILLS_ROOT>`
- `r2` = `<SKILLS_ROOT>/.system`
### Available skills
- openai-docs: (file: r2/openai-docs/SKILL.md)
- skill-creator: (file: r2/skill-creator/SKILL.md)
- skill-installer: (file: r2/skill-installer/SKILL.md)
- app-store-screenshots: (file: r1/app-store-screenshots/SKILL.md)
- assistant-ui: (file: r1/assistant-ui/SKILL.md)
- code-review: (file: r0/code-review/SKILL.md)
- find-skills: (file: r1/find-skills/SKILL.md)
</skills_instructions>
[02] <permissions instructions>
Filesystem sandboxing defines which files can be read or written. `sandbox_mode` is `danger-full-access`...ll commands are permitted. Network access is enabled. [hash=c134061cebb94a1b]
@@ -517,12 +515,12 @@ Settings: same as window 1
- `r1` = `<SKILLS_ROOT>`
- `r2` = `<SKILLS_ROOT>/.system`
### Available skills
- openai-docs: (file: r2/openai-docs/SKILL.md)
- skill-creator: (file: r2/skill-creator/SKILL.md)
- skill-installer: (file: r2/skill-installer/SKILL.md)
- app-store-screenshots: (file: r1/app-store-screenshots/SKILL.md)
- assistant-ui: (file: r1/assistant-ui/SKILL.md)
- documentation: (file: r0/documentation/SKILL.md)
- find-skills: (file: r1/find-skills/SKILL.md)
</skills_instructions>
[02] <permissions instructions>
Filesystem sandboxing defines which files can be read or written. `sandbox_mode` is `danger-full-access`...ll commands are permitted. Network access is enabled. [hash=c134061cebb94a1b]

View File

@@ -102,22 +102,23 @@ Settings:
</environment_context>
07:message/user:
Plan the release.
08:configuration_update:reasoning={"effort":"low"}
-- request 2 (turn; Unchanged policy A) --
08:message/assistant:
09:message/assistant:
Plan ready.
09:message/user:
10:message/user:
Check the plan.
-- request 3 (turn; Policy B appends to existing history) --
10:message/assistant:
11:message/assistant:
Plan checked.
11:message/developer:
12:message/developer:
<scenario_instructions>scenario_prefix: B</scenario_instructions>
12:message/user:
13:message/user:
Update the plan.
-- request 4 (compaction; Compaction request) --
13:message/assistant:
14:message/assistant:
Plan updated.
14:message/user:
15:message/user:
You are performing a CONTEXT CHECKPOINT COMPACTION. Create a handoff summary for another LLM that will resume the task.
Include: