aKode fase 5: rinomina interna (crate akode-*, akode-rs/, akode-cli/, binario akode, AKODE_*, ~/.akode, snapshot)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-11 11:06:46 +01:00
parent df99318392
commit 86e7c72e5f
10383 changed files with 749164 additions and 749170 deletions

View File

@@ -0,0 +1,58 @@
---
source: cli/tests/daemon_startup.rs
expression: transition
---
Agent command center Group: Project g
All 0 Needs you 0 Working 0 Ready 0 Inactive 0 tab/shift+tab filter
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
No tasks yet │
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
? help ↑/↓ move enter open n new
--- Start a task ---
Folder access
[WORKSPACE]
Config, hooks, and exec policies from untrusted folders stay disabled. Trusted project folders can still contribute
settings. Skills still load, and tools follow your permission settings. Opening will not change saved trust.
› 1. Open restricted
2. Back to Agent Command Center
enter continue · esc back

View File

@@ -0,0 +1,6 @@
---
source: cli/tests/daemon_startup.rs
assertion_line: 325
expression: warning.trim()
---
⚠ Running without the shared background server: this Windows launcher requires embedded mode.

View File

@@ -0,0 +1,24 @@
---
source: cli/tests/doctor_enterprise_network.rs
expression: stdout
---
aKode Doctor v0.1.0
Notes
[XX] config config could not be loaded - Fix the reported config error, then rerun akode doctor.
-------------------------------------------------------------
Configuration
[XX] config config could not be loaded - Fix the reported config error, then rerun akode doctor.
feature flags 0 enabled · 0 overridden
error invalid configuration
file <AKODE_HOME>/config.toml
line 1
column 18
network diagnostics effective network configuration is unavailable
-------------------------------------------------------------
0 ok | 1 notes | 0 warn | 1 fail failed
--summary compact output --all expand truncated lists
--json redacted report

View File

@@ -0,0 +1,19 @@
---
source: cli/tests/doctor_enterprise_network.rs
expression: stdout
---
aKode Doctor v0.1.0
Configuration
[ok] config loaded
Connectivity
[ok] network network-related environment looks readable
[ok] websocket Responses WebSocket is not enabled for the active provider
[ok] reachability active provider endpoints are reachable over HTTP
-------------------------------------------------------------
4 ok | 0 warn | 0 fail ok
Run akode doctor without --summary for detailed diagnostics.
--all expand truncated lists --json redacted report

View File

@@ -0,0 +1,17 @@
---
source: cli/tests/doctor_path_safety.rs
expression: "serde_json::to_string_pretty(&check)?"
---
{
"category": "config",
"details": {
"column": "42",
"error": "invalid configuration",
"file": "FIXTURE/home/config.toml",
"line": "1"
},
"id": "config.load",
"remediation": "Fix the reported config error, then rerun akode doctor.",
"status": "fail",
"summary": "config could not be loaded"
}

View File

@@ -0,0 +1,14 @@
---
source: cli/tests/doctor_path_safety.rs
expression: "serde_json::to_string_pretty(&check)?"
---
{
"category": "config",
"details": {
"error": "invalid data"
},
"id": "config.load",
"remediation": "Fix the reported config error, then rerun akode doctor.",
"status": "fail",
"summary": "config could not be loaded"
}

View File

@@ -0,0 +1,17 @@
---
source: cli/tests/doctor_path_safety.rs
expression: "serde_json::to_string_pretty(&check)?"
---
{
"category": "config",
"details": {
"column": "16",
"error": "invalid configuration",
"file": "FIXTURE/home/config.toml",
"line": "9"
},
"id": "config.load",
"remediation": "Fix the reported config error, then rerun akode doctor.",
"status": "fail",
"summary": "config could not be loaded"
}

View File

@@ -0,0 +1,14 @@
---
source: cli/tests/doctor_path_safety.rs
expression: "serde_json::to_string_pretty(&check)?"
---
{
"category": "config",
"details": {
"error": "entity not found"
},
"id": "config.load",
"remediation": "Fix the reported config error, then rerun akode doctor.",
"status": "fail",
"summary": "config could not be loaded"
}

View File

@@ -0,0 +1,14 @@
---
source: cli/tests/doctor_path_safety.rs
expression: "serde_json::to_string_pretty(&details)?"
---
{
"operation": "resolve paths only; read/write access is not tested",
"path 1": "FIXTURE/workspace/probe-existing (read); path resolved (read/write access not tested)",
"path 1 source": "permissions.diagnostic.filesystem.FIXTURE/workspace/probe-existing in user (FIXTURE/home/config.toml)",
"path 2": "FIXTURE/workspace/probe-missing (write); missing (may be intentional)",
"path 2 source": "permissions.diagnostic.filesystem.FIXTURE/workspace/probe-missing in user (FIXTURE/home/config.toml)",
"paths checked": "2 of 2",
"permission profile": "diagnostic",
"probe budgets": "2 seconds per path, 8 seconds total, at most 32 paths"
}

View File

@@ -0,0 +1,14 @@
---
source: cli/tests/doctor_path_safety.rs
expression: "serde_json::to_string_pretty(&details)?"
---
{
"operation": "resolve paths only; read/write access is not tested",
"path 1": "FIXTURE/workspace/probe-existing (read); not probed on Windows (network authentication risk)",
"path 1 source": "permissions.diagnostic.filesystem.FIXTURE/workspace/probe-existing in user (FIXTURE/home/config.toml)",
"path 2": "FIXTURE/workspace/probe-missing (write); not probed on Windows (network authentication risk)",
"path 2 source": "permissions.diagnostic.filesystem.FIXTURE/workspace/probe-missing in user (FIXTURE/home/config.toml)",
"paths checked": "2 of 2",
"permission profile": "diagnostic",
"probe budgets": "2 seconds per path, 8 seconds total, at most 32 paths"
}

View File

@@ -0,0 +1,6 @@
---
source: cli/tests/doctor_path_safety.rs
expression: state_row
---
[XX] state FIXTURE/sqlite/logs_2.sqlite database failed integrity check
-> Move the damaged SQLite database aside, then restart the interactive CLI or app server so it can rebuild that runtime database from saved data. Other entry points may not rebuild automatically.

View File

@@ -0,0 +1,6 @@
---
source: cli/tests/doctor_path_safety.rs
expression: state_row
---
[XX] state FIXTURE/sqlite/logs_2.sqlite, FIXTURE/sqlite/goals_1.sqlite databases failed integrity check
-> Move the damaged SQLite database aside, then restart the interactive CLI or app server so it can rebuild that runtime database from saved data. Other entry points may not rebuild automatically.

View File

@@ -0,0 +1,12 @@
---
source: cli/tests/features.rs
expression: output
---
Error: failed to load configuration
Caused by:
0: [AKODE_HOME]/config.toml:<line>:<column>: unknown key `backslash` in keybinding `backslash`. Use a printable character (for example `a`), function keys (`f1`-`f24`), or one of: enter, tab, backspace, esc, delete, arrows, home/end, page-up/page-down, space, minus.
See the Codex keymap documentation for supported actions and examples.
1: unknown key `backslash` in keybinding `backslash`. Use a printable character (for example `a`), function keys (`f1`-`f24`), or one of: enter, tab, backspace, esc, delete, arrows, home/end, page-up/page-down, space, minus.
See the Codex keymap documentation for supported actions and examples.
in `tui.keymap.editor.insert_newline`

View File

@@ -0,0 +1,5 @@
---
source: cli/tests/features.rs
expression: "String::from_utf8(output)?"
---
Error: --add-dir is not supported with --remote. Configure additional workspace roots on the server.