Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 38 additions & 30 deletions .simplicio/architecture-inventory.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"schema": "simplicio.architecture-inventory/v1",
"version": 1,
"generated_at": "2026-06-01T05:04:23.593Z",
"generated_at": "2026-06-01T21:57:57.150Z",
"root": "/Users/wesleysimplicio/Projetos/ai/simplicio-dev-cli",
"source_project_map": ".simplicio/project-map.json",
"source_symbol_index": ".simplicio/symbol-index.json",
Expand Down Expand Up @@ -8730,6 +8730,7 @@
"._cache",
".bench",
".detect",
".doctor",
".dod",
".ecosystem",
".init",
Expand All @@ -8745,7 +8746,6 @@
".sprint_loader",
"__future__",
"argparse",
"json",
"pathlib"
],
"symbols": [
Expand Down Expand Up @@ -9020,20 +9020,24 @@
],
"imports": [
".hardware",
".providers",
"__future__",
"dataclasses",
"huggingface_hub",
"os",
"shutil",
"subprocess",
"typing"
"pathlib"
],
"symbols": [
"ModelSpec",
"ollama_present",
"ollama_list_installed",
"ollama_id",
"local_model_dir",
"model_file_path",
"_is_gguf_file",
"model_file_present",
"is_installed",
"pull",
"download",
"RecommendationResult",
"can_pull",
"to_dict",
"evaluate",
"ensure_recommended"
Expand Down Expand Up @@ -9374,9 +9378,10 @@
"_msgs",
"_inline_feedback",
"_is_local",
"_is_default_ollama",
"_is_default_local",
"_local_spec",
"_local_executor_dir",
"_is_gguf_file",
"_local_candidates",
"_resolve_local_path",
"_local_llama",
Expand All @@ -9389,7 +9394,6 @@
"_charge_if_budgeted",
"_generate_local_cached",
"_openai_compatible_generate",
"_generate_default_ollama_with_fallback",
"generate",
"info",
"planner_cfg",
Expand All @@ -9398,7 +9402,7 @@
"planner_complete",
"planner_info"
],
"summary": "Defines exported symbols: _cfg, _charge_if_budgeted, _cli_command, _generate_default_ollama_with_fallback, _generate_local_cached.",
"summary": "Defines exported symbols: _cfg, _charge_if_budgeted, _cli_command, _generate_local_cached, _inline_feedback.",
"evidence": [
{
"file": "simplicio/providers.py"
Expand Down Expand Up @@ -15556,7 +15560,7 @@
"roles": [],
"imports": [],
"symbols": [],
"summary": "Participates in the project implementation; inspect imports and symbols for exact usage.",
"summary": "Defines exported symbols: do.",
"evidence": [
{
"file": "simplicio_cli.egg-info/PKG-INFO"
Expand Down Expand Up @@ -16079,18 +16083,18 @@
"_profile",
"test_evaluate_picks_correct_spec_per_tier",
"test_evaluate_refuses_to_run_oversized_model",
"test_evaluate_marks_ollama_absent",
"test_apple_silicon_profile_can_run_minicpm5_at_24gb",
"test_ensure_recommended_does_not_pull_without_opt_in",
"fake_pull",
"test_ensure_recommended_pulls_with_explicit_opt_in",
"fake_pull",
"test_ensure_recommended_pulls_via_env_var",
"fake_pull",
"test_ensure_recommended_skips_pull_when_already_installed",
"fake_pull",
"test_ensure_recommended_refuses_pull_when_undersized",
"fake_pull"
"test_evaluate_marks_gguf_absent",
"test_apple_silicon_profile_can_run_qwen_gguf_at_24gb",
"test_ensure_recommended_does_not_download_without_opt_in",
"fake_download",
"test_ensure_recommended_downloads_with_explicit_opt_in",
"fake_download",
"test_ensure_recommended_downloads_via_env_var",
"fake_download",
"test_ensure_recommended_skips_download_when_already_installed",
"fake_download",
"test_ensure_recommended_refuses_download_when_undersized",
"fake_download"
],
"summary": "Defines domain, data or schema structures.",
"evidence": [
Expand Down Expand Up @@ -16314,6 +16318,7 @@
],
"imports": [
"os",
"pathlib",
"pytest",
"simplicio",
"simplicio._cache",
Expand All @@ -16325,7 +16330,7 @@
"symbols": [
"_clean",
"test_is_local_explicit_prefix",
"test_empty_config_uses_ollama_default_not_in_process_local",
"test_empty_config_uses_in_process_local_default",
"test_is_local_false_when_base_set",
"test_is_local_false_when_other_model_set",
"test_local_spec_default",
Expand All @@ -16342,15 +16347,16 @@
"test_resolve_local_path_existing_file",
"test_resolve_local_path_downloads_from_hf",
"test_resolve_local_path_prefers_executor_dir",
"test_resolve_local_path_skips_corrupt_executor_file",
"test_resolve_local_path_default_does_not_try_legacy_qwen25",
"test_resolve_local_path_no_hf_lib_raises",
"test_local_llama_missing_backend_raises",
"test_local_llama_loads_and_caches",
"test_local_llama_honours_ctx_threads_gpu",
"test_generate_routes_to_ollama_by_default",
"test_generate_routes_to_local_llama_by_default",
"fake_openai",
"test_generate_default_ollama_falls_back_to_qwen_gguf",
"fail_openai",
"fake_local",
"test_generate_default_local_uses_qwen_gguf",
"fake_local",
"test_generate_local_explicit_prefix",
"fake_local",
Expand Down Expand Up @@ -16399,7 +16405,7 @@
"test_info_reports_shell_out_modes",
"test_native_path_still_requires_key",
"test_no_model_with_base_raises_with_hint",
"test_no_config_at_all_routes_to_ollama_default"
"test_no_config_at_all_routes_to_local_llama_default"
],
"summary": "Verifies project behavior through automated tests.",
"evidence": [
Expand Down Expand Up @@ -16507,6 +16513,8 @@
"test_index_accepts_positional_root",
"fake_index_repo",
"test_env_export_quotes_dotenv_values",
"test_doctor_command_delegates_to_local_model_preflight",
"fake_doctor_main",
"test_run_auto_task_infers_target_from_goal",
"test_run_ambiguous_goal_requires_scope",
"test_run_scope_scratch_forwards_to_scratch_cli",
Expand Down Expand Up @@ -20029,7 +20037,7 @@
"files": 686,
"modules": 16,
"layers": 13,
"symbols": 1805,
"symbols": 1812,
"relationships": 1000,
"tests": 99
},
Expand Down
6 changes: 3 additions & 3 deletions .simplicio/call-graph.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"schema": "simplicio.call-graph/v1",
"version": 1,
"generated_at": "2026-06-01T05:04:23.593Z",
"generated_at": "2026-06-01T21:57:57.150Z",
"source_symbol_index": ".simplicio/symbol-index.json",
"edges": [
{
Expand Down Expand Up @@ -8950,8 +8950,8 @@
}
],
"counts": {
"edges": 3730,
"edges": 3735,
"imports": 150,
"calls": 3580
"calls": 3585
}
}
12 changes: 6 additions & 6 deletions .simplicio/index-state.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"counts": {
"changed_files": 23,
"changed_files": 19,
"files": 686,
"layers": 13,
"modules": 16,
"precedents": 250,
"relationships": 1000,
"symbols": 1805
"symbols": 1812
},
"schema": "simplicio.mapper-index-state/v1",
"signature": {
"head": "03e995a483669e3470b6be9553aebc180321bea7",
"head": "7ee60edeb99175a4ba9e9118d8cb553b2c800ab2",
"kind": "git",
"status_hash": "21323a8fa7a8f72eeb1c0e416419fe0be8b9495abfd5fe8cfc2d0b8616a17a45",
"tree_hash": "f66ce9936129b2e2f8b53342897e2080a66c1a4cb35d5872eca8237522a5636e"
"status_hash": "0beca92f92572d1cf59dea27a6b3492884cc5699ea01bd08853a079a9be7a861",
"tree_hash": "5bac91a905825c3f716b476fcdb7957755795e5cc92af5392d08a6e0f18dfc6c"
},
"updated_at": "2026-06-01T05:04:26Z"
"updated_at": "2026-06-01T21:57:58Z"
}
82 changes: 40 additions & 42 deletions .simplicio/precedent-index.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"schema": "simplicio.precedent-index/v1",
"version": 1,
"generated_at": "2026-06-01T05:04:23.593Z",
"generated_at": "2026-06-01T21:57:57.150Z",
"source_project_map": ".simplicio/project-map.json",
"items": [
{
Expand Down Expand Up @@ -218,9 +218,9 @@
"snippet": "```typescript\n// tests/unit/calculate-invoice-total.test.ts\ntest('aplica desconto quando cliente e VIP', () => {\n const invoice = makeInvoice({ items: [{ price: 100 }], customer: { tier: 'vip' } });\n expect(calculateInvoiceTotal(invoice)).toBe(90);"
},
{
"id": "166956a1bd091c6b",
"id": "4d1f5ffc82d15266",
"path": "CHANGELOG.md",
"line": 254,
"line": 264,
"language": "markdown",
"change_type": "error-handling",
"tags": [
Expand Down Expand Up @@ -258,6 +258,19 @@
"summary": "route precedent in README.md",
"snippet": "\n> Reproduce the new default set:\n> `BENCH_BASE_URL=https://router.huggingface.co/v1 BENCH_API_KEY=<hf-token>\n> BENCH_MODELS=\"Qwen/Qwen3-Coder-30B-A3B-Instruct,Qwen/Qwen3-Coder-Next\"\n> python3 bench/run_offline.py`."
},
{
"id": "d3c9cccb8b4a7333",
"path": "README.pt-BR.md",
"line": 219,
"language": "markdown",
"change_type": "route",
"tags": [
"markdown",
"readme"
],
"summary": "route precedent in README.pt-BR.md",
"snippet": "\n> Reproduce the new default set:\n> `BENCH_BASE_URL=https://router.huggingface.co/v1 BENCH_API_KEY=<hf-token>\n> BENCH_MODELS=\"Qwen/Qwen3-Coder-30B-A3B-Instruct,Qwen/Qwen3-Coder-Next\"\n> python3 bench/run_offline.py`."
},
{
"id": "98533d8a1a7fd947",
"path": "bench/CONSOLIDATED_REPORT.md",
Expand Down Expand Up @@ -1657,9 +1670,9 @@
"snippet": "\n@dataclass\nclass DetectResult:\n is_code_task: bool\n score: int"
},
{
"id": "7352f3281a9ad12f",
"id": "f607717260587f91",
"path": "simplicio/doctor.py",
"line": 23,
"line": 21,
"language": "python",
"change_type": "feature",
"tags": [
Expand Down Expand Up @@ -1741,9 +1754,9 @@
"snippet": "\n@dataclass\nclass IntentResult:\n scope: str\n confidence: float"
},
{
"id": "5ac7393621c8b503",
"id": "3552d415c23299fd",
"path": "simplicio/local_models.py",
"line": 29,
"line": 40,
"language": "python",
"change_type": "feature",
"tags": [
Expand All @@ -1754,7 +1767,7 @@
"models"
],
"summary": "feature precedent in simplicio/local_models.py",
"snippet": "\n@dataclass\nclass ModelSpec:\n tier: str\n ollama_id: str"
"snippet": "\n@dataclass\nclass ModelSpec:\n tier: str\n model_id: str"
},
{
"id": "a8b82053a7fe99ad",
Expand Down Expand Up @@ -1873,9 +1886,9 @@
"snippet": "# below stays the source of truth and is what pip-installed users get\n# until a wheel ships.\ntry:\n from simplicio_core import build_6layer_prompt as _rs_build\nexcept ImportError: # pragma: no cover - exercised at import time"
},
{
"id": "3b6a48872b2c4fe6",
"id": "20890634d0753b48",
"path": "simplicio/providers.py",
"line": 48,
"line": 46,
"language": "python",
"change_type": "feature",
"tags": [
Expand Down Expand Up @@ -3683,6 +3696,23 @@
"summary": "error-handling precedent in simplicio/utils/serialization.py",
"snippet": "from typing import Any\n\ntry: # optional fast path\n import orjson as _oj\n _HAS_ORJSON = True"
},
{
"id": "c7c06634143f64b7",
"path": "simplicio_cli.egg-info/PKG-INFO",
"line": 264,
"language": "text",
"change_type": "route",
"tags": [
"text",
"simplicio",
"cli",
"egg",
"info",
"pkg"
],
"summary": "route precedent in simplicio_cli.egg-info/PKG-INFO",
"snippet": "\n> Reproduce the new default set:\n> `BENCH_BASE_URL=https://router.huggingface.co/v1 BENCH_API_KEY=<hf-token>\n> BENCH_MODELS=\"Qwen/Qwen3-Coder-30B-A3B-Instruct,Qwen/Qwen3-Coder-Next\"\n> python3 bench/run_offline.py`."
},
{
"id": "2cb77abf86cd4d7c",
"path": "simplicio_cli.egg-info/SOURCES.txt",
Expand Down Expand Up @@ -4206,38 +4236,6 @@
],
"summary": "test precedent in tests/python/test_scratch_codegen_fastapi.py",
"snippet": "\n\ndef _stack(tmp_path: Path) -> Stack:\n return Stack(\n slug=\"py-fastapi\","
},
{
"id": "f5a96ce9e7bd69fe",
"path": "tests/python/test_scratch_codegen_go_gin.py",
"line": 31,
"language": "python",
"change_type": "test",
"tags": [
"test",
"python",
"scratch",
"codegen",
"gin"
],
"summary": "test precedent in tests/python/test_scratch_codegen_go_gin.py",
"snippet": "\n\ndef _go_binary() -> str | None:\n return shutil.which(\"go\") or (str(_PORTABLE_GO) if _PORTABLE_GO.is_file() else None)\n"
},
{
"id": "65779c7c369949cd",
"path": "tests/python/test_scratch_codegen_markdown.py",
"line": 13,
"language": "python",
"change_type": "test",
"tags": [
"test",
"python",
"scratch",
"codegen",
"markdown"
],
"summary": "test precedent in tests/python/test_scratch_codegen_markdown.py",
"snippet": "\n\ndef _stack(tmp_path: Path) -> Stack:\n return Stack(\n slug=\"php-vanilla\","
}
]
}
Loading
Loading